Mathlib.Probability.Kernel.Composition.Lemmas
7 declarations. Mathlib docs · Source
Lemmas relating different ways to compose measures and kernels
This file contains lemmas about the composition of measures and kernels that do not fit in any of the other files in this directory, because they involve several types of compositions/products.
theorem ProbabilityTheory.Kernel.prod_prodMkLeft_comp_prod_deterministic E1 #
∀ {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ}
{mδ : MeasurableSpace δ} {β' : Type u_5} {ε : Type u_6} {mβ' : MeasurableSpace β'} {mε : MeasurableSpace ε}
(κ : ProbabilityTheory.Kernel γ β) [ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel ε β')
[ProbabilityTheory.IsSFiniteKernel η] (ξ : ProbabilityTheory.Kernel (β × ε) δ) [ProbabilityTheory.IsSFiniteKernel ξ]
{f : γ → ε} (hf : Measurable f),
(ξ.prod (ProbabilityTheory.Kernel.prodMkLeft β η)).comp (κ.prod (ProbabilityTheory.Kernel.deterministic f hf)) =
(ξ.comp (κ.prod (ProbabilityTheory.Kernel.deterministic f hf))).prod
(η.comp (ProbabilityTheory.Kernel.deterministic f hf))
The composition of two product kernels (ξ ×ₖ η') ∘ₖ (κ ×ₖ ζ) is the product of the
compositions (ξ ∘ₖ (κ ×ₖ ζ)) ×ₖ (η' ∘ₖ (κ ×ₖ ζ)), if ζ is deterministic (of the form
.deterministic f hf) and η' does not depend on the output of κ.
That is, η' has the form η.prodMkLeft β for a kernel η.
If κ was deterministic, this would be true even if η.prodMkLeft β was a more general
kernel since κ ×ₖ Kernel.deterministic f hf would be deterministic and commute with copying.
Here κ is not deterministic, but it is discarded in one branch of the copy.
theorem ProbabilityTheory.Kernel.prod_prodMkRight_comp_deterministic_prod E1 #
∀ {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ}
{mδ : MeasurableSpace δ} {β' : Type u_5} {ε : Type u_6} {mβ' : MeasurableSpace β'} {mε : MeasurableSpace ε}
(κ : ProbabilityTheory.Kernel γ β) [ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel ε β')
[ProbabilityTheory.IsSFiniteKernel η] (ξ : ProbabilityTheory.Kernel (ε × β) δ) [ProbabilityTheory.IsSFiniteKernel ξ]
{f : γ → ε} (hf : Measurable f),
(ξ.prod (ProbabilityTheory.Kernel.prodMkRight β η)).comp ((ProbabilityTheory.Kernel.deterministic f hf).prod κ) =
(ξ.comp ((ProbabilityTheory.Kernel.deterministic f hf).prod κ)).prod
(η.comp (ProbabilityTheory.Kernel.deterministic f hf))
The composition of two product kernels (ξ ×ₖ η') ∘ₖ (ζ ×ₖ κ) is the product of the
compositions, (ξ ∘ₖ (ζ ×ₖ κ)) ×ₖ (η' ∘ₖ (ζ ×ₖ κ)), if ζ is deterministic (of the form
.deterministic f hf) and η' does not depend on the output of κ.
That is, η' has the form η.prodMkRight β for a kernel η.
If κ was deterministic, this would be true even if η.prodMkRight β was a more general
kernel since Kernel.deterministic f hf ×ₖ κ would be deterministic and commute with copying.
Here κ is not deterministic, but it is discarded in one branch of the copy.
theorem MeasureTheory.Measure.compProd_eq_parallelComp_comp_copy_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {μ : MeasureTheory.Measure α}
{κ : ProbabilityTheory.Kernel α β} [MeasureTheory.SFinite μ],
μ.compProd κ = (μ.bind ⇑(ProbabilityTheory.Kernel.copy α)).bind ⇑(ProbabilityTheory.Kernel.id.parallelComp κ)
theorem MeasureTheory.Measure.prod_comp_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure β} [MeasureTheory.SFinite ν]
{κ : ProbabilityTheory.Kernel β γ} [ProbabilityTheory.IsSFiniteKernel κ],
μ.prod (ν.bind ⇑κ) = (μ.prod ν).bind ⇑(ProbabilityTheory.Kernel.id.parallelComp κ)
theorem MeasureTheory.Measure.prod_comp_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {μ : MeasureTheory.Measure α} {ν : MeasureTheory.Measure β} [MeasureTheory.SFinite μ]
[MeasureTheory.SFinite ν] {κ : ProbabilityTheory.Kernel α γ} [ProbabilityTheory.IsSFiniteKernel κ],
(μ.bind ⇑κ).prod ν = (μ.prod ν).bind ⇑(κ.parallelComp ProbabilityTheory.Kernel.id)
theorem MeasureTheory.Measure.parallelComp_comp_compProd E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {μ : MeasureTheory.Measure α} {κ : ProbabilityTheory.Kernel α β}
[ProbabilityTheory.IsSFiniteKernel κ] {η : ProbabilityTheory.Kernel β γ} [ProbabilityTheory.IsSFiniteKernel η],
(μ.compProd κ).bind ⇑(ProbabilityTheory.Kernel.id.parallelComp η) = μ.compProd (η.comp κ)
theorem MeasureTheory.Measure.compProd_map E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {μ : MeasureTheory.Measure α} {κ : ProbabilityTheory.Kernel α β} [MeasureTheory.SFinite μ]
[ProbabilityTheory.IsSFiniteKernel κ] {f : β → γ},
Measurable f → μ.compProd (κ.map f) = MeasureTheory.Measure.map (Prod.map id f) (μ.compProd κ)