Learning.IsBayesAlgEnvSeq.condDistrib_history_eq_condDistrib_hist_withDensity
No docstring.
Learning.IsBayesAlgEnvSeq.condDistrib_history_eq_condDistrib_hist_withDensity.{u_1, u_2, u_3, u_4, u_5} {π : Type u_1} {π¨ : Type u_2} [MeasurableSpace π] [MeasurableSpace π¨] {π : Type u_3} [MeasurableSpace π] [StandardBorelSpace π] [Nonempty π] [StandardBorelSpace π¨] [Nonempty π¨] {Q : MeasureTheory.Measure π} {ΞΊ : ProbabilityTheory.Kernel (π Γ π) π¨} [ProbabilityTheory.IsMarkovKernel ΞΊ] {Ξ© : Type u_4} [MeasurableSpace Ξ©] {E : Ξ© β π} {A : β β Ξ© β π} {Y : β β Ξ© β π¨} {alg : Algorithm π π¨} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {Ξ©β : Type u_5} [MeasurableSpace Ξ©β] {Eβ : Ξ©β β π} {Aβ : β β Ξ©β β π} {Yβ : β β Ξ©β β π¨} {algβ : Algorithm π π¨} {Pβ : MeasureTheory.Measure Ξ©β} [MeasureTheory.IsProbabilityMeasure Pβ] (h : IsBayesAlgEnvSeq Q ΞΊ alg E A Y P) (hβ : IsBayesAlgEnvSeq Q ΞΊ algβ Eβ Aβ Yβ Pβ) (hc : Algorithm.AbsolutelyContinuous alg algβ) (n : β) : βπ[history A Y n | E; P] =α΅[Q] β(ProbabilityTheory.Kernel.withDensity π[history Aβ Yβ n | Eβ; Pβ] fun x => Algorithm.density alg algβ n)Learning.IsBayesAlgEnvSeq.condDistrib_history_eq_condDistrib_hist_withDensity.{u_1, u_2, u_3, u_4, u_5} {π : Type u_1} {π¨ : Type u_2} [MeasurableSpace π] [MeasurableSpace π¨] {π : Type u_3} [MeasurableSpace π] [StandardBorelSpace π] [Nonempty π] [StandardBorelSpace π¨] [Nonempty π¨] {Q : MeasureTheory.Measure π} {ΞΊ : ProbabilityTheory.Kernel (π Γ π) π¨} [ProbabilityTheory.IsMarkovKernel ΞΊ] {Ξ© : Type u_4} [MeasurableSpace Ξ©] {E : Ξ© β π} {A : β β Ξ© β π} {Y : β β Ξ© β π¨} {alg : Algorithm π π¨} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {Ξ©β : Type u_5} [MeasurableSpace Ξ©β] {Eβ : Ξ©β β π} {Aβ : β β Ξ©β β π} {Yβ : β β Ξ©β β π¨} {algβ : Algorithm π π¨} {Pβ : MeasureTheory.Measure Ξ©β} [MeasureTheory.IsProbabilityMeasure Pβ] (h : IsBayesAlgEnvSeq Q ΞΊ alg E A Y P) (hβ : IsBayesAlgEnvSeq Q ΞΊ algβ Eβ Aβ Yβ Pβ) (hc : Algorithm.AbsolutelyContinuous alg algβ) (n : β) : βπ[history A Y n | E; P] =α΅[Q] β(ProbabilityTheory.Kernel.withDensity π[history Aβ Yβ n | Eβ; Pβ] fun x => Algorithm.density alg algβ n)
Code
lemma condDistrib_history_eq_condDistrib_hist_withDensity (h : IsBayesAlgEnvSeq Q ΞΊ alg E A Y P)
(hβ : IsBayesAlgEnvSeq Q ΞΊ algβ Eβ Aβ Yβ Pβ) (hc : alg βͺβ algβ) (n : β) :
condDistrib (history A Y n) E P =α΅[Q]
((condDistrib (history Aβ Yβ n) Eβ Pβ).withDensity
(fun _ β¦ alg.density algβ n))Proof
by
filter_upwards [h.ae_IsAlgEnvSeq, hβ.ae_IsAlgEnvSeq, h.hasLaw_IT_hist n, hβ.hasLaw_IT_hist n]
with _ hae haeβ he heβ
rw [Kernel.withDensity_apply _ (by fun_prop), β he.map_eq, β heβ.map_eq]
exact (hae.hasLaw_history_withDensity haeβ hc n).map_eqActions: Source Β· Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 4th recorded change.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file Β· open it in the Lean web editor.
Dependency graph
Audit surface: 6 project declarations, 110 external constants
β Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.