Mathlib.Probability.Kernel.Composition.Prod
38 declarations. Mathlib docs · Source
def ProbabilityTheory.Kernel.prod E1 #
{α : Type u_1} →
{β : Type u_2} →
{mα : MeasurableSpace α} →
{mβ : MeasurableSpace β} →
{γ : Type u_4} →
{mγ : MeasurableSpace γ} →
ProbabilityTheory.Kernel α β → ProbabilityTheory.Kernel α γ → ProbabilityTheory.Kernel α (β × γ)
Product of two kernels. This is meaningful only when the kernels are s-finite.
def ProbabilityTheory.«term_×ₖ_» E1 #
Lean.TrailingParserDescr
Product of two kernels. This is meaningful only when the kernels are s-finite.
theorem ProbabilityTheory.Kernel.parallelComp_comp_copy E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) (η : ProbabilityTheory.Kernel α γ),
(κ.parallelComp η).comp (ProbabilityTheory.Kernel.copy α) = κ.prod η
theorem ProbabilityTheory.Kernel.zero_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (η : ProbabilityTheory.Kernel α γ), ProbabilityTheory.Kernel.prod 0 η = 0
theorem ProbabilityTheory.Kernel.prod_zero E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β), κ.prod 0 = 0
theorem ProbabilityTheory.Kernel.prod_of_not_isSFiniteKernel_left E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} (η : ProbabilityTheory.Kernel α γ),
¬ProbabilityTheory.IsSFiniteKernel κ → κ.prod η = 0
theorem ProbabilityTheory.Kernel.prod_of_not_isSFiniteKernel_right E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) {η : ProbabilityTheory.Kernel α γ},
¬ProbabilityTheory.IsSFiniteKernel η → κ.prod η = 0
theorem ProbabilityTheory.Kernel.prod_apply' E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η] (a : α) {s : Set (β × γ)},
MeasurableSet s → ((κ.prod η) a) s = ∫⁻ (b : β), (η a) (Prod.mk b ⁻¹' s) ∂κ a
theorem ProbabilityTheory.Kernel.prod_apply E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η] (a : α), (κ.prod η) a = (κ a).prod (η a)
theorem ProbabilityTheory.Kernel.prod_apply_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} {η : ProbabilityTheory.Kernel α γ}
[ProbabilityTheory.IsSFiniteKernel κ] [ProbabilityTheory.IsSFiniteKernel η] {s : Set β} {t : Set γ} {a : α},
((κ.prod η) a) (s ×ˢ t) = (κ a) s * (η a) t
theorem ProbabilityTheory.Kernel.prod_const E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (μ : MeasureTheory.Measure β) [MeasureTheory.SFinite μ] (ν : MeasureTheory.Measure γ)
[MeasureTheory.SFinite ν],
(ProbabilityTheory.Kernel.const α μ).prod (ProbabilityTheory.Kernel.const α ν) =
ProbabilityTheory.Kernel.const α (μ.prod ν)
theorem ProbabilityTheory.Kernel.lintegral_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η] (a : α) {g : β × γ → ENNReal},
Measurable g → ∫⁻ (c : β × γ), g c ∂(κ.prod η) a = ∫⁻ (b : β), ∫⁻ (c : γ), g (b, c) ∂η a ∂κ a
theorem ProbabilityTheory.Kernel.lintegral_prod_symm E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η] (a : α) {g : β × γ → ENNReal},
Measurable g → ∫⁻ (c : β × γ), g c ∂(κ.prod η) a = ∫⁻ (c : γ), ∫⁻ (b : β), g (b, c) ∂κ a ∂η a
theorem ProbabilityTheory.Kernel.lintegral_deterministic_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {f : α → β} (hf : Measurable f) (κ : ProbabilityTheory.Kernel α γ)
[ProbabilityTheory.IsSFiniteKernel κ] (a : α) {g : β × γ → ENNReal},
Measurable g →
∫⁻ (p : β × γ), g p ∂((ProbabilityTheory.Kernel.deterministic f hf).prod κ) a = ∫⁻ (c : γ), g (f a, c) ∂κ a
theorem ProbabilityTheory.Kernel.lintegral_prod_deterministic E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {f : α → γ} (hf : Measurable f) (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (a : α) {g : β × γ → ENNReal},
Measurable g →
∫⁻ (p : β × γ), g p ∂(κ.prod (ProbabilityTheory.Kernel.deterministic f hf)) a = ∫⁻ (b : β), g (b, f a) ∂κ a
theorem ProbabilityTheory.Kernel.lintegral_id_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {f : α × β → ENNReal},
Measurable f →
∀ (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ] (a : α),
∫⁻ (p : α × β), f p ∂(ProbabilityTheory.Kernel.id.prod κ) a = ∫⁻ (b : β), f (a, b) ∂κ a
theorem ProbabilityTheory.Kernel.lintegral_prod_id E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {f : α × β → ENNReal},
Measurable f →
∀ (κ : ProbabilityTheory.Kernel β α) [ProbabilityTheory.IsSFiniteKernel κ] (b : β),
∫⁻ (p : α × β), f p ∂(κ.prod ProbabilityTheory.Kernel.id) b = ∫⁻ (a : α), f (a, b) ∂κ b
theorem ProbabilityTheory.Kernel.deterministic_prod_apply' E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {f : α → β} (mf : Measurable f) (κ : ProbabilityTheory.Kernel α γ)
[ProbabilityTheory.IsSFiniteKernel κ] (a : α) {s : Set (β × γ)},
MeasurableSet s → (((ProbabilityTheory.Kernel.deterministic f mf).prod κ) a) s = (κ a) (Prod.mk (f a) ⁻¹' s)
theorem ProbabilityTheory.Kernel.id_prod_apply' E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (a : α) {s : Set (α × β)},
MeasurableSet s → ((ProbabilityTheory.Kernel.id.prod κ) a) s = (κ a) (Prod.mk a ⁻¹' s)
instance ProbabilityTheory.Kernel.IsMarkovKernel.prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsMarkovKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsMarkovKernel η], ProbabilityTheory.IsMarkovKernel (κ.prod η)
instance ProbabilityTheory.Kernel.IsZeroOrMarkovKernel.prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [h : ProbabilityTheory.IsZeroOrMarkovKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsZeroOrMarkovKernel η],
ProbabilityTheory.IsZeroOrMarkovKernel (κ.prod η)
instance ProbabilityTheory.Kernel.IsFiniteKernel.prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsFiniteKernel η], ProbabilityTheory.IsFiniteKernel (κ.prod η)
instance ProbabilityTheory.Kernel.IsSFiniteKernel.prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) (η : ProbabilityTheory.Kernel α γ),
ProbabilityTheory.IsSFiniteKernel (κ.prod η)
theorem ProbabilityTheory.Kernel.fst_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsMarkovKernel η], (κ.prod η).fst = κ
theorem ProbabilityTheory.Kernel.snd_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsMarkovKernel κ]
(η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η], (κ.prod η).snd = η
theorem ProbabilityTheory.Kernel.comap_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel β γ)
[ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel β δ) [ProbabilityTheory.IsSFiniteKernel η]
{f : α → β} (hf : Measurable f), (κ.prod η).comap f hf = (κ.comap f hf).prod (η.comap f hf)
theorem ProbabilityTheory.Kernel.map_prod_map E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} {ε : Type u_6} {mε : MeasurableSpace ε}
(κ : ProbabilityTheory.Kernel α β) [ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel α δ)
[ProbabilityTheory.IsSFiniteKernel η] {f : β → γ},
Measurable f → ∀ {g : δ → ε}, Measurable g → (κ.map f).prod (η.map g) = (κ.prod η).map (Prod.map f g)
theorem ProbabilityTheory.Kernel.map_prod_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η]
{f : β → δ}, Measurable f → (κ.map f).prod η = (κ.prod η).map (Prod.map f id)
theorem ProbabilityTheory.Kernel.comap_prod_swap E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
(η : ProbabilityTheory.Kernel γ δ) [ProbabilityTheory.IsSFiniteKernel κ] [ProbabilityTheory.IsSFiniteKernel η],
((ProbabilityTheory.Kernel.prodMkRight α η).prod (ProbabilityTheory.Kernel.prodMkLeft γ κ)).comap Prod.swap ⋯ =
((ProbabilityTheory.Kernel.prodMkRight γ κ).prod (ProbabilityTheory.Kernel.prodMkLeft α η)).map Prod.swap
theorem ProbabilityTheory.Kernel.map_prod_swap E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} (κ : ProbabilityTheory.Kernel α β) (η : ProbabilityTheory.Kernel α γ)
[ProbabilityTheory.IsSFiniteKernel κ] [ProbabilityTheory.IsSFiniteKernel η], (κ.prod η).map Prod.swap = η.prod κ
theorem ProbabilityTheory.Kernel.prodComm_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} [ProbabilityTheory.IsSFiniteKernel κ]
{η : ProbabilityTheory.Kernel α γ} [ProbabilityTheory.IsSFiniteKernel η],
(κ.prod η).map ⇑MeasurableEquiv.prodComm = η.prod κ
theorem ProbabilityTheory.Kernel.swap_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {κ : ProbabilityTheory.Kernel α β} [ProbabilityTheory.IsSFiniteKernel κ]
{η : ProbabilityTheory.Kernel α γ} [ProbabilityTheory.IsSFiniteKernel η],
(ProbabilityTheory.Kernel.swap β γ).comp (κ.prod η) = η.prod κ
theorem ProbabilityTheory.Kernel.deterministic_prod_deterministic E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {f : α → β} {g : α → γ} (hf : Measurable f) (hg : Measurable g),
(ProbabilityTheory.Kernel.deterministic f hf).prod (ProbabilityTheory.Kernel.deterministic g hg) =
ProbabilityTheory.Kernel.deterministic (fun a ↦ (f a, g a)) ⋯
theorem ProbabilityTheory.Kernel.id_prod_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β},
ProbabilityTheory.Kernel.id =
(ProbabilityTheory.Kernel.deterministic Prod.fst ⋯).prod (ProbabilityTheory.Kernel.deterministic Prod.snd ⋯)
theorem ProbabilityTheory.Kernel.prodAssoc_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η]
(ξ : ProbabilityTheory.Kernel α δ) [ProbabilityTheory.IsSFiniteKernel ξ],
((κ.prod ξ).prod η).map ⇑MeasurableEquiv.prodAssoc = κ.prod (ξ.prod η)
theorem ProbabilityTheory.Kernel.prodAssoc_symm_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
{mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsSFiniteKernel η]
(ξ : ProbabilityTheory.Kernel α δ) [ProbabilityTheory.IsSFiniteKernel ξ],
(κ.prod (ξ.prod η)).map ⇑MeasurableEquiv.prodAssoc.symm = (κ.prod ξ).prod η
theorem ProbabilityTheory.Kernel.prod_const_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {δ : Type u_6} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (η : ProbabilityTheory.Kernel β γ) [ProbabilityTheory.IsSFiniteKernel η]
(μ : MeasureTheory.Measure δ) [MeasureTheory.SFinite μ],
(η.prod (ProbabilityTheory.Kernel.const β μ)).comp κ = (η.comp κ).prod (ProbabilityTheory.Kernel.const α μ)
theorem ProbabilityTheory.Kernel.const_prod_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4}
{mγ : MeasurableSpace γ} {δ : Type u_6} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β)
[ProbabilityTheory.IsSFiniteKernel κ] (μ : MeasureTheory.Measure γ) [MeasureTheory.SFinite μ]
(η : ProbabilityTheory.Kernel β δ) [ProbabilityTheory.IsSFiniteKernel η],
((ProbabilityTheory.Kernel.const β μ).prod η).comp κ = (ProbabilityTheory.Kernel.const α μ).prod (η.comp κ)