The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.Kernel.Disintegration.Basic

19 declarations. Mathlib docs · Source

Disintegration of measures and kernels

This file defines predicates for a kernel to "disintegrate" a measure or a kernel. This kernel is also called the "conditional kernel" of the measure or kernel.

A measure ρ : Measure (α × Ω) is disintegrated by a kernel ρCond : Kernel α Ω if ρ.fst ⊗ₘ ρCond = ρ.

A kernel ρ : Kernel α (β × Ω) is disintegrated by a kernel κCond : Kernel (α × β) Ω if κ.fst ⊗ₖ κCond = κ.

Main definitions

  • MeasureTheory.Measure.IsCondKernel ρ ρCond: Predicate for the kernel ρCond to disintegrate the measure ρ.
  • ProbabilityTheory.Kernel.IsCondKernel κ κCond: Predicate for the kernel κ Cond to disintegrate the kernel κ.

Further, if κ is an s-finite kernel from a countable α such that each measure κ a is disintegrated by some kernel, then κ itself is disintegrated by a kernel, namely ProbabilityTheory.Kernel.condKernelCountable.

See also

Mathlib/Probability/Kernel/Disintegration/StandardBorel.lean for a construction of disintegrating kernels.

Disintegration of measures

This section provides a predicate for a kernel to disintegrate a measure.

Disintegration of kernels

This section provides a predicate for a kernel to disintegrate a kernel. It also proves that if κ is an s-finite kernel from a countable α such that each measure κ a is disintegrated by some kernel, then κ itself is disintegrated by a kernel, namely ProbabilityTheory.Kernel.condKernelCountable.

Predicate for a kernel to disintegrate a kernel

Existence of a disintegrating kernel in a countable space

theorem ProbabilityTheory.Kernel.condKernelCountable.congr_simp E1 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} [inst : Countable α] (κCond κCond_1 : α → ProbabilityTheory.Kernel β Ω)
  (e_κCond : κCond = κCond_1) (h_atom : ∀ (x y : α), x ∈ measurableAtom y → κCond x = κCond y),
  ProbabilityTheory.Kernel.condKernelCountable κCond h_atom = ProbabilityTheory.Kernel.condKernelCountable κCond_1 ⋯

class MeasureTheory.Measure.IsCondKernel E1 #

{α : Type u_1} →
  {Ω : Type u_3} →
    {mα : MeasurableSpace α} →
      {mΩ : MeasurableSpace Ω} → MeasureTheory.Measure (α × Ω) → ProbabilityTheory.Kernel α Ω → Prop

A kernel ρCond is a conditional kernel for a measure ρ if it disintegrates it in the sense that ρ.fst ⊗ₘ ρCond = ρ.

ctor MeasureTheory.Measure.IsCondKernel.mk E0 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} {ρ : MeasureTheory.Measure (α × Ω)}
  {ρCond : ProbabilityTheory.Kernel α Ω}, ρ.fst.compProd ρCond = ρ → ρ.IsCondKernel ρCond

theorem MeasureTheory.Measure.IsCondKernel.disintegrate E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} {ρ : MeasureTheory.Measure (α × Ω)}
  {ρCond : ProbabilityTheory.Kernel α Ω} [self : ρ.IsCondKernel ρCond], ρ.fst.compProd ρCond = ρ

theorem MeasureTheory.Measure.disintegrate E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} (ρ : MeasureTheory.Measure (α × Ω))
  (ρCond : ProbabilityTheory.Kernel α Ω) [ρ.IsCondKernel ρCond], ρ.fst.compProd ρCond = ρ

theorem MeasureTheory.Measure.IsCondKernel.isSFiniteKernel E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} (ρ : MeasureTheory.Measure (α × Ω))
  (ρCond : ProbabilityTheory.Kernel α Ω) [ρ.IsCondKernel ρCond], ρ ≠ 0 → ProbabilityTheory.IsSFiniteKernel ρCond

theorem MeasureTheory.Measure.IsCondKernel.apply_of_ne_zero E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} (ρ : MeasureTheory.Measure (α × Ω))
  (ρCond : ProbabilityTheory.Kernel α Ω) [ρ.IsCondKernel ρCond] [MeasureTheory.IsFiniteMeasure ρ]
  [MeasurableSingletonClass α] {x : α}, ρ.fst {x} ≠ 0 → ∀ (s : Set Ω), (ρCond x) s = (ρ.fst {x})⁻¹ * ρ ({x} ×ˢ s)

If the singleton {x} has non-zero mass for ρ.fst, then for all s : Set Ω, ρCond x s = (ρ.fst {x})⁻¹ * ρ ({x} ×ˢ s) .

theorem MeasureTheory.Measure.IsCondKernel.isProbabilityMeasure E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} (ρ : MeasureTheory.Measure (α × Ω))
  (ρCond : ProbabilityTheory.Kernel α Ω) [ρ.IsCondKernel ρCond] [MeasureTheory.IsFiniteMeasure ρ]
  [MeasurableSingletonClass α] {a : α}, ρ.fst {a} ≠ 0 → MeasureTheory.IsProbabilityMeasure (ρCond a)

theorem MeasureTheory.Measure.IsCondKernel.isMarkovKernel E1 #

∀ {α : Type u_1} {Ω : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} (ρ : MeasureTheory.Measure (α × Ω))
  (ρCond : ProbabilityTheory.Kernel α Ω) [ρ.IsCondKernel ρCond] [MeasureTheory.IsFiniteMeasure ρ]
  [MeasurableSingletonClass α], (∀ (a : α), ρ.fst {a} ≠ 0) → ProbabilityTheory.IsMarkovKernel ρCond

class ProbabilityTheory.Kernel.IsCondKernel E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {Ω : Type u_3} →
      {mα : MeasurableSpace α} →
        {mβ : MeasurableSpace β} →
          {mΩ : MeasurableSpace Ω} → ProbabilityTheory.Kernel α (β × Ω) → ProbabilityTheory.Kernel (α × β) Ω → Prop

A kernel κCond is a conditional kernel for a kernel κ if it disintegrates it in the sense that κ.fst ⊗ₖ κCond = κ.

ctor ProbabilityTheory.Kernel.IsCondKernel.mk E0 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α (β × Ω)} {κCond : ProbabilityTheory.Kernel (α × β) Ω},
  κ.fst.compProd κCond = κ → κ.IsCondKernel κCond

theorem ProbabilityTheory.Kernel.IsCondKernel.disintegrate E1 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α (β × Ω)} {κCond : ProbabilityTheory.Kernel (α × β) Ω}
  [self : κ.IsCondKernel κCond], κ.fst.compProd κCond = κ

instance ProbabilityTheory.Kernel.instIsCondKernel_zero E0 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} (κCond : ProbabilityTheory.Kernel (α × β) Ω), ProbabilityTheory.Kernel.IsCondKernel 0 κCond

theorem ProbabilityTheory.Kernel.disintegrate E1 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} (κ : ProbabilityTheory.Kernel α (β × Ω)) (κCond : ProbabilityTheory.Kernel (α × β) Ω)
  [κ.IsCondKernel κCond], κ.fst.compProd κCond = κ

theorem ProbabilityTheory.Kernel.IsCondKernel.isProbabilityMeasure_ae E1 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} (κ : ProbabilityTheory.Kernel α (β × Ω)) (κCond : ProbabilityTheory.Kernel (α × β) Ω)
  [ProbabilityTheory.IsFiniteKernel κ.fst] [κ.IsCondKernel κCond] (a : α),
  ∀ᵐ (b : β) ∂κ.fst a, MeasureTheory.IsProbabilityMeasure (κCond (a, b))

A conditional kernel is almost everywhere a probability measure.

def ProbabilityTheory.Kernel.condKernelCountable E3 #

{α : Type u_1} →
  {β : Type u_2} →
    {Ω : Type u_3} →
      {mα : MeasurableSpace α} →
        {mβ : MeasurableSpace β} →
          {mΩ : MeasurableSpace Ω} →
            [Countable α] →
              (κCond : α → ProbabilityTheory.Kernel β Ω) →
                (∀ (x y : α), x ∈ measurableAtom y → κCond x = κCond y) → ProbabilityTheory.Kernel (α × β) Ω

Auxiliary definition for ProbabilityTheory.Kernel.condKernel.

A conditional kernel for κ : Kernel α (β × Ω) where α is countable and Ω is a measurable space.

theorem ProbabilityTheory.Kernel.condKernelCountable_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} [inst : Countable α] (κCond : α → ProbabilityTheory.Kernel β Ω)
  (h_atom : ∀ (x y : α), x ∈ measurableAtom y → κCond x = κCond y) (p : α × β),
  (ProbabilityTheory.Kernel.condKernelCountable κCond h_atom) p = (κCond p.1) p.2

instance ProbabilityTheory.Kernel.condKernelCountable.instIsMarkovKernel E0 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} [inst : Countable α] (κCond : α → ProbabilityTheory.Kernel β Ω)
  [∀ (a : α), ProbabilityTheory.IsMarkovKernel (κCond a)]
  (h_atom : ∀ (x y : α), x ∈ measurableAtom y → κCond x = κCond y),
  ProbabilityTheory.IsMarkovKernel (ProbabilityTheory.Kernel.condKernelCountable κCond h_atom)

instance ProbabilityTheory.Kernel.condKernelCountable.instIsCondKernel E0 #

∀ {α : Type u_1} {β : Type u_2} {Ω : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
  {mΩ : MeasurableSpace Ω} [inst : Countable α] (κCond : α → ProbabilityTheory.Kernel β Ω)
  [∀ (a : α), ProbabilityTheory.IsMarkovKernel (κCond a)]
  (h_atom : ∀ (x y : α), x ∈ measurableAtom y → κCond x = κCond y) (κ : ProbabilityTheory.Kernel α (β × Ω))
  [ProbabilityTheory.IsSFiniteKernel κ] [∀ (a : α), (κ a).IsCondKernel (κCond a)],
  κ.IsCondKernel (ProbabilityTheory.Kernel.condKernelCountable κCond h_atom)