Mathlib.Probability.Kernel.Composition.Comp
36 declarations. Mathlib docs · Source
Composition of kernels
We define the composition η ∘ₖ κ of kernels κ : Kernel α β and η : Kernel β γ, which is
a kernel from α to γ.
Main definitions
comp (η : Kernel β γ) (κ : Kernel α β) : Kernel α γ: composition of 2 kernels. We define a notationη ∘ₖ κ = comp η κ.∫⁻ c, g c ∂((η ∘ₖ κ) a) = ∫⁻ b, ∫⁻ c, g c ∂(η b) ∂(κ a)- The monoid structure on
Kernel α αgiven by kernel composition.
Main statements
lintegral_comp: Lebesgue integral of a function against a composition of kernels.- Instances stating that
IsMarkovKernel,IsZeroOrMarkovKernel,IsFiniteKernelandIsSFiniteKernelare stable by composition. pow_add_apply_eq_lintegral: Chapman-Kolmogorov equations.
Notation
η ∘ₖ κ = ProbabilityTheory.Kernel.comp η κ
ae filter of the composition
Chapman-Kolmogorov Equations
def ProbabilityTheory.Kernel.comp E1 #
{α : Type u_1} →
{β : Type u_2} →
{γ : Type u_3} →
{mα : MeasurableSpace α} →
{mβ : MeasurableSpace β} →
{mγ : MeasurableSpace γ} →
ProbabilityTheory.Kernel β γ → ProbabilityTheory.Kernel α β → ProbabilityTheory.Kernel α γ
Composition of two kernels.
def ProbabilityTheory.«term_∘ₖ_» E1 #
Lean.TrailingParserDescr
Composition of two kernels.
theorem ProbabilityTheory.Kernel.comp_apply E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) (κ : ProbabilityTheory.Kernel α β) (a : α),
(η.comp κ) a = (κ a).bind ⇑η
theorem ProbabilityTheory.Kernel.comp_apply' E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) (κ : ProbabilityTheory.Kernel α β) (a : α) {s : Set γ},
MeasurableSet s → ((η.comp κ) a) s = ∫⁻ (b : β), (η b) s ∂κ a
theorem ProbabilityTheory.Kernel.comp_apply_univ_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) (η : ProbabilityTheory.Kernel β γ) (a : α),
((η.comp κ) a) Set.univ ≤ (κ a) Set.univ * η.bound
theorem ProbabilityTheory.Kernel.zero_comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β), ProbabilityTheory.Kernel.comp 0 κ = 0
theorem ProbabilityTheory.Kernel.comp_zero E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel β γ), κ.comp 0 = 0
theorem ProbabilityTheory.Kernel.id_comp E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} (κ : ProbabilityTheory.Kernel α β),
ProbabilityTheory.Kernel.id.comp κ = κ
theorem ProbabilityTheory.Kernel.comp_id E0 #
∀ {β : Type u_2} {γ : Type u_3} {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel β γ),
κ.comp ProbabilityTheory.Kernel.id = κ
theorem ProbabilityTheory.Kernel.ae_lt_top_of_comp_ne_top E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {s : Set γ} (a : α),
((η.comp κ) a) s ≠ ⊤ → ∀ᵐ (b : β) ∂κ a, (η b) s < ⊤
theorem ProbabilityTheory.Kernel.comp_null E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {s : Set γ} (a : α),
MeasurableSet s → (((η.comp κ) a) s = 0 ↔ (fun y ↦ (η y) s) =ᵐ[κ a] 0)
theorem ProbabilityTheory.Kernel.ae_null_of_comp_null E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {a : α} {s : Set γ},
((η.comp κ) a) s = 0 → (fun x ↦ (η x) s) =ᵐ[κ a] 0
theorem ProbabilityTheory.Kernel.ae_ae_of_ae_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {a : α} {p : γ → Prop},
(∀ᵐ (z : γ) ∂(η.comp κ) a, p z) → ∀ᵐ (y : β) ∂κ a, ∀ᵐ (z : γ) ∂η y, p z
theorem ProbabilityTheory.Kernel.ae_comp_of_ae_ae E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {a : α} {p : γ → Prop},
MeasurableSet {z | p z} → (∀ᵐ (y : β) ∂κ a, ∀ᵐ (z : γ) ∂η y, p z) → ∀ᵐ (z : γ) ∂(η.comp κ) a, p z
theorem ProbabilityTheory.Kernel.ae_comp_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {a : α} {p : γ → Prop},
MeasurableSet {z | p z} → ((∀ᵐ (z : γ) ∂(η.comp κ) a, p z) ↔ ∀ᵐ (y : β) ∂κ a, ∀ᵐ (z : γ) ∂η y, p z)
theorem ProbabilityTheory.Kernel.comp_restrict E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel β γ} {s : Set γ}
(hs : MeasurableSet s), (η.restrict hs).comp κ = (η.comp κ).restrict hs
theorem ProbabilityTheory.Kernel.lintegral_comp E3 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) (κ : ProbabilityTheory.Kernel α β) (a : α)
{g : γ → ENNReal}, Measurable g → ∫⁻ (c : γ), g c ∂(η.comp κ) a = ∫⁻ (b : β), ∫⁻ (c : γ), g c ∂η b ∂κ a
theorem ProbabilityTheory.Kernel.comp_assoc E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {δ : Type u_4} {mδ : MeasurableSpace δ} (ξ : ProbabilityTheory.Kernel γ δ)
(η : ProbabilityTheory.Kernel β γ) (κ : ProbabilityTheory.Kernel α β), (ξ.comp η).comp κ = ξ.comp (η.comp κ)
Composition of kernels is associative.
theorem ProbabilityTheory.Kernel.comp_discard' E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} (κ : ProbabilityTheory.Kernel α β),
(ProbabilityTheory.Kernel.discard β).comp κ =
{ toFun := fun a ↦ (κ a) Set.univ • MeasureTheory.Measure.dirac PUnit.unit, measurable' := ⋯ }
theorem ProbabilityTheory.Kernel.comp_discard E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsMarkovKernel κ], (ProbabilityTheory.Kernel.discard β).comp κ = ProbabilityTheory.Kernel.discard α
theorem ProbabilityTheory.Kernel.swap_copy E0 #
∀ {α : Type u_1} {mα : MeasurableSpace α},
(ProbabilityTheory.Kernel.swap α α).comp (ProbabilityTheory.Kernel.copy α) = ProbabilityTheory.Kernel.copy α
theorem ProbabilityTheory.Kernel.const_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (μ : MeasureTheory.Measure γ) (κ : ProbabilityTheory.Kernel α β),
⇑((ProbabilityTheory.Kernel.const β μ).comp κ) = fun a ↦ (κ a) Set.univ • μ
theorem ProbabilityTheory.Kernel.const_comp' E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (μ : MeasureTheory.Measure γ) (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsMarkovKernel κ], (ProbabilityTheory.Kernel.const β μ).comp κ = ProbabilityTheory.Kernel.const α μ
theorem ProbabilityTheory.Kernel.comp_add_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (μ κ : ProbabilityTheory.Kernel α β) (η : ProbabilityTheory.Kernel β γ),
η.comp (μ + κ) = η.comp μ + η.comp κ
theorem ProbabilityTheory.Kernel.comp_add_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (μ : ProbabilityTheory.Kernel α β) (κ η : ProbabilityTheory.Kernel β γ),
(κ + η).comp μ = κ.comp μ + η.comp μ
theorem ProbabilityTheory.Kernel.comp_sum_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {ι : Type u_4} [inst : Countable ι] (κ : ι → ProbabilityTheory.Kernel α β)
(η : ProbabilityTheory.Kernel β γ),
η.comp (ProbabilityTheory.Kernel.sum κ) = ProbabilityTheory.Kernel.sum fun i ↦ η.comp (κ i)
theorem ProbabilityTheory.Kernel.comp_sum_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} {ι : Type u_4} [inst : Countable ι] (κ : ProbabilityTheory.Kernel α β)
(η : ι → ProbabilityTheory.Kernel β γ),
(ProbabilityTheory.Kernel.sum η).comp κ = ProbabilityTheory.Kernel.sum fun i ↦ (η i).comp κ
theorem ProbabilityTheory.Kernel.copy_comp_apply_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} (κ : ProbabilityTheory.Kernel α β)
(a : α) {s t : Set β},
MeasurableSet s → MeasurableSet t → (((ProbabilityTheory.Kernel.copy β).comp κ) a) (s ×ˢ t) = (κ a) (s ∩ t)
instance ProbabilityTheory.Kernel.IsMarkovKernel.comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) [ProbabilityTheory.IsMarkovKernel η]
(κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsMarkovKernel κ], ProbabilityTheory.IsMarkovKernel (η.comp κ)
instance ProbabilityTheory.Kernel.IsZeroOrMarkovKernel.comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsZeroOrMarkovKernel κ]
(η : ProbabilityTheory.Kernel β γ) [ProbabilityTheory.IsZeroOrMarkovKernel η],
ProbabilityTheory.IsZeroOrMarkovKernel (η.comp κ)
instance ProbabilityTheory.Kernel.IsFiniteKernel.comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) [ProbabilityTheory.IsFiniteKernel η]
(κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsFiniteKernel κ], ProbabilityTheory.IsFiniteKernel (η.comp κ)
instance ProbabilityTheory.Kernel.IsSFiniteKernel.comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel β γ) [ProbabilityTheory.IsSFiniteKernel η]
(κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ], ProbabilityTheory.IsSFiniteKernel (η.comp κ)
instance ProbabilityTheory.Kernel.instMonoid E0 #
{α : Type u_1} → {mα : MeasurableSpace α} → Monoid (ProbabilityTheory.Kernel α α)
theorem ProbabilityTheory.Kernel.pow_add E1 #
∀ {α : Type u_1} {mα : MeasurableSpace α} (κ : ProbabilityTheory.Kernel α α) (m n : ℕ),
κ ^ (m + n) = (κ ^ m).comp (κ ^ n)
The Chapman-Kolmogorov equation, kernel composition version.
The n+m-step transition kernel is the composition of the n-step and m-step kernels.
Ref. Meyn-Tweedie Theorem 3.4.2, page 68
theorem ProbabilityTheory.Kernel.pow_add_apply_eq_lintegral E3 #
∀ {α : Type u_1} {mα : MeasurableSpace α} (κ : ProbabilityTheory.Kernel α α) (m n : ℕ) (a : α) {s : Set α},
MeasurableSet s → ((κ ^ (m + n)) a) s = ∫⁻ (b : α), ((κ ^ n) b) s ∂(κ ^ m) a
The Chapman-Kolmogorov equation, integral version.
theorem ProbabilityTheory.Kernel.pow_succ_apply_eq_lintegral E1 #
∀ {α : Type u_1} {mα : MeasurableSpace α} (κ : ProbabilityTheory.Kernel α α) (n : ℕ) (a : α) {s : Set α},
MeasurableSet s → ((κ ^ (n + 1)) a) s = ∫⁻ (b : α), (κ b) s ∂(κ ^ n) a
A version of the Chapman-Kolmogorov equation useful for paths.