Probabilistic powerdomain (sections 4.1–4.4) #
This file follows Sections 4.1–4.4 of [VKS19]. It records the basic structures (randomizations, expectation operators, sampling, scoring, closures under ω-sups).
Reals with the Lebesgue measure and a discrete ωCPO structure
- val : ℝ
The underlying real number
Instances For
Pull back the Lebesgue measure along val
Equations
- QuasiBorelSpaces.instMeasureSpaceR = { toMeasurableSpace := QuasiBorelSpaces.instMeasurableSpaceR, volume := MeasureTheory.Measure.comap QuasiBorelSpaces.R.val MeasureTheory.volume }
Discrete order on the randomness carrier
Equations
- One or more equations did not get rendered due to their size.
Trivial ωCPO on R: chains are constant by discreteness
Equations
- One or more equations did not get rendered due to their size.
ωQBS structure on R (compatibility axiom holds vacuously)
Equations
- One or more equations did not get rendered due to their size.
ωCPO on extended non-negative reals using the usual supremum of a chain
Equations
- One or more equations did not get rendered due to their size.
ωQBS structure on ENNReal
Equations
- One or more equations did not get rendered due to their size.
Trivial ωQBS on the unit type
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
ωQBS structure on lifted values
Equations
- One or more equations did not get rendered due to their size.
Randomizations of X are partial maps from the randomness source
Equations
Instances For
Expectation operators on X (the Giry-style exponential)
Instances For
Lift a weight to a partial result
Equations
- QuasiBorelSpaces.liftWeight X w (some x_1) = w x_1
- QuasiBorelSpaces.liftWeight X w none = 0
Instances For
Domain of a randomization
Equations
- QuasiBorelSpaces.dom X α = {r : QuasiBorelSpaces.R | α r ≠ none}
Instances For
Evaluate the expectation of a weight under a randomization
Equations
- QuasiBorelSpaces.E_map X α w = ∫⁻ (r : QuasiBorelSpaces.R), QuasiBorelSpaces.liftWeight X (fun (x : X) => w x) (α r)
Instances For
Bundle the expectation operator arising from a randomization
Equations
- QuasiBorelSpaces.E_op X α = ⟨{ toFun := fun (w : X →ω𝒒 ENNReal) => QuasiBorelSpaces.E_map X α w, monotone' := ⋯, map_ωSup' := ⋯ }, ⋯⟩
Instances For
The expectation morphism E : RX → JX
Equations
- QuasiBorelSpaces.E X = ⟨{ toFun := fun (α : QuasiBorelSpaces.RX X) => QuasiBorelSpaces.E_op X α, monotone' := ⋯, map_ωSup' := ⋯ }, ⋯⟩
Instances For
Monad unit on randomizations (Dirac)
Equations
Instances For
A measurable splitting of randomness as in the transfer principle
The splitting function
- measurable_φ : Measurable φ
The splitting function is measurable
- preserves_volume : MeasureTheory.Measure.map φ MeasureTheory.volume = MeasureTheory.volume.prod MeasureTheory.volume
Pushing forward Lebesgue along the split yields the product measure
Instances
A default instance of RandomSplit (placeholder for now)
Equations
- QuasiBorelSpaces.defaultRandomSplit = { φ := sorry, measurable_φ := QuasiBorelSpaces.defaultRandomSplit._proof_1, preserves_volume := QuasiBorelSpaces.defaultRandomSplit._proof_2 }
Monad bind on randomizations using the randomness splitting
Equations
- One or more equations did not get rendered due to their size.
Instances For
Monad unit on expectation operators
Equations
Instances For
Monad bind on expectation operators
Equations
Instances For
Expectation preserves the monad structure on randomizations
Predicate: expectation operator arising from a randomization
Equations
- QuasiBorelSpaces.Randomizable X μ = ∃ (α : QuasiBorelSpaces.RX X), μ = QuasiBorelSpaces.E_op X α
Instances For
Randomizable expectation operators as a subtype
Equations
Instances For
Randomizations valued in randomizations
Equations
Instances For
Extend E pointwise to random randomizations
Equations
- QuasiBorelSpaces.E_rand X β = ⟨{ toFun := fun (r : QuasiBorelSpaces.R) => QuasiBorelSpaces.E_op X (β r), monotone' := ⋯, map_ωSup' := ⋯ }, ⋯⟩
Instances For
Membership in the ω-sup-closure of randomizable operators
- randomizable
{X : Type u_1}
[OmegaQuasiBorelSpace X]
(α : RX X)
: InTX X (E_op X α)
Randomizable operators are in the closure
- sup
{X : Type u_1}
[OmegaQuasiBorelSpace X]
{c : OmegaCompletePartialOrder.Chain (JX X)}
: (∀ (n : ℕ), InTX X (c n)) → InTX X (OmegaCompletePartialOrder.ωSup c)
The closure is closed under ω-sups
Instances For
Membership in the ω-sup-closure of randomizable random operators
- randomizable
{X : Type u_1}
[OmegaQuasiBorelSpace X]
(β : MRX X)
: InMTX X (E_rand X β)
Randomizable random operators are in the closure
- sup
{X : Type u_1}
[OmegaQuasiBorelSpace X]
{c : OmegaCompletePartialOrder.Chain (MSX X)}
: (∀ (n : ℕ), InMTX X (c n)) → InMTX X (OmegaCompletePartialOrder.ωSup c)
The closure is closed under ω-sups
Instances For
Probabilistic powerdomain: smallest ω-subcpo of JX
Equations
- QuasiBorelSpaces.TX X = { μ : QuasiBorelSpaces.JX X // QuasiBorelSpaces.InTX X μ }
Instances For
Random elements of the powerdomain
Equations
- QuasiBorelSpaces.MTX X = { β : QuasiBorelSpaces.MSX X // QuasiBorelSpaces.InMTX X β }
Instances For
Order structure on T X inherited from the ambient JX
Equations
Order structure on M T X inherited from the ambient M JX
Equations
Equations
- QuasiBorelSpaces.TX.incl X t = ↑t
Instances For
Equations
- QuasiBorelSpaces.MTX.incl X t = ↑t
Instances For
Expectation factors through T
Equations
- QuasiBorelSpaces.E_T X α = ⟨QuasiBorelSpaces.E_op X α, ⋯⟩
Instances For
Pointwise extension of E_T to random randomizations
Equations
- QuasiBorelSpaces.E_MT X β = ⟨QuasiBorelSpaces.E_rand X β, ⋯⟩
Instances For
TX inherits an ωCPO structure from JX
Equations
- One or more equations did not get rendered due to their size.
TX is an ωQBS as a full subobject of JX
Equations
- QuasiBorelSpaces.instOmegaQuasiBorelSpaceTX X = { toOmegaCompletePartialOrder := inferInstance, toQuasiBorelSpace := inferInstance, isHom_ωSup := ⋯ }
MTX inherits an ωCPO structure from MSX
Equations
- One or more equations did not get rendered due to their size.
MTX is an ωQBS as a full subobject of MSX
Equations
- QuasiBorelSpaces.instOmegaQuasiBorelSpaceMTX X = { toOmegaCompletePartialOrder := inferInstance, toQuasiBorelSpace := inferInstance, isHom_ωSup := ⋯ }
Monad unit on T obtained by restriction
Equations
Instances For
Monad bind on T, restricting the J bind
Equations
- QuasiBorelSpaces.bind_T X t k = ⟨QuasiBorelSpaces.bind_J X ↑t fun (x : X) => ↑(k x), ⋯⟩
Instances For
(placeholder) The inclusion T ↪ J is a monad morphism (See theorem 4.3 of [VKS19])
Sampling lifted to the powerdomain
Equations
Instances For
Conditioning lifted to the powerdomain