Mathlib.Probability.Kernel.Composition.WithDensity
9 declarations. Mathlib docs · Source
theorem MeasureTheory.Measure.withDensity_comp E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨} {μ : MeasureTheory.Measure 𝓧}
{κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ] {f' : 𝓨 → ENNReal},
Measurable f' → (μ.bind ⇑κ).withDensity f' = μ.bind ⇑(κ.withDensity fun x b ↦ f' b)
theorem MeasureTheory.Measure.compProd_withDensity E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨} {μ : MeasureTheory.Measure 𝓧}
{κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ] {g : 𝓧 → 𝓨 → ENNReal}
[MeasureTheory.SFinite μ] [ProbabilityTheory.IsSFiniteKernel (κ.withDensity g)],
Measurable (Function.uncurry g) → μ.compProd (κ.withDensity g) = (μ.compProd κ).withDensity fun p ↦ g p.1 p.2
A composition-product of a measure with a kernel defined with withDensity is equal to the
withDensity of the composition-product.
theorem MeasureTheory.Measure.withDensity_compProd E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨} {μ : MeasureTheory.Measure 𝓧}
{κ : ProbabilityTheory.Kernel 𝓧 𝓨} [ProbabilityTheory.IsSFiniteKernel κ] {f : 𝓧 → ENNReal} [MeasureTheory.SFinite μ],
Measurable f → (μ.withDensity f).compProd κ = (μ.compProd κ).withDensity fun ab ↦ f ab.1
theorem MeasureTheory.Measure.withDensity_compProd_withDensity E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨} {μ : MeasureTheory.Measure 𝓧}
{κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ] {f : 𝓧 → ENNReal}
{g : 𝓧 → 𝓨 → ENNReal} [MeasureTheory.SFinite μ] [ProbabilityTheory.IsSFiniteKernel (κ.withDensity g)],
Measurable f →
Measurable (Function.uncurry g) →
(μ.withDensity f).compProd (κ.withDensity g) = (μ.compProd κ).withDensity fun ac ↦ f ac.1 * g ac.1 ac.2
theorem ProbabilityTheory.Kernel.withDensity_comp_left E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {𝓩 : Type u_3} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨}
{m𝓩 : MeasurableSpace 𝓩} {κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ]
{η : ProbabilityTheory.Kernel 𝓨 𝓩} [inst_1 : ProbabilityTheory.IsSFiniteKernel η] {f : 𝓧 → ENNReal},
Measurable f → ((η.comp κ).withDensity fun a x ↦ f a) = η.comp (κ.withDensity fun a x ↦ f a)
theorem ProbabilityTheory.Kernel.withDensity_comp_right E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {𝓩 : Type u_3} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨}
{m𝓩 : MeasurableSpace 𝓩} {κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ]
{η : ProbabilityTheory.Kernel 𝓨 𝓩} [inst_1 : ProbabilityTheory.IsSFiniteKernel η] {f : 𝓩 → ENNReal},
Measurable f → ((η.comp κ).withDensity fun x z ↦ f z) = (η.withDensity fun x z ↦ f z).comp κ
theorem ProbabilityTheory.Kernel.sectR_withDensity E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {𝓩 : Type u_3} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨}
{m𝓩 : MeasurableSpace 𝓩} {η : ProbabilityTheory.Kernel (𝓧 × 𝓨) 𝓩} [inst : ProbabilityTheory.IsSFiniteKernel η]
{g : 𝓧 × 𝓨 → 𝓩 → ENNReal},
Measurable (Function.uncurry g) → ∀ (a : 𝓧), (η.withDensity g).sectR a = (η.sectR a).withDensity fun b c ↦ g (a, b) c
theorem ProbabilityTheory.Kernel.compProd_withDensity E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {𝓩 : Type u_3} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨}
{m𝓩 : MeasurableSpace 𝓩} {κ : ProbabilityTheory.Kernel 𝓧 𝓨} [ProbabilityTheory.IsSFiniteKernel κ]
{η : ProbabilityTheory.Kernel (𝓧 × 𝓨) 𝓩} [inst : ProbabilityTheory.IsSFiniteKernel η] {g : 𝓧 × 𝓨 → 𝓩 → ENNReal},
Measurable (Function.uncurry g) →
∀ [ProbabilityTheory.IsSFiniteKernel (η.withDensity g)],
κ.compProd (η.withDensity g) = (κ.compProd η).withDensity fun a bc ↦ g (a, bc.1) bc.2
theorem ProbabilityTheory.Kernel.withDensity_compProd E1 #
∀ {𝓧 : Type u_1} {𝓨 : Type u_2} {𝓩 : Type u_3} {m𝓧 : MeasurableSpace 𝓧} {m𝓨 : MeasurableSpace 𝓨}
{m𝓩 : MeasurableSpace 𝓩} {κ : ProbabilityTheory.Kernel 𝓧 𝓨} [inst : ProbabilityTheory.IsSFiniteKernel κ]
{g : 𝓧 → 𝓨 → ENNReal} {η : ProbabilityTheory.Kernel (𝓧 × 𝓨) 𝓩} [ProbabilityTheory.IsSFiniteKernel η]
[ProbabilityTheory.IsSFiniteKernel (κ.withDensity g)],
Measurable (Function.uncurry g) → (κ.withDensity g).compProd η = (κ.compProd η).withDensity fun a bc ↦ g a bc.1