Learning.IsBayesAlgEnvSeq.hasLaw_history_withDensity
No docstring.
Learning.IsBayesAlgEnvSeq.hasLaw_history_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 : β) : ProbabilityTheory.HasLaw (history A Y n) (MeasureTheory.Measure.withDensity (MeasureTheory.Measure.map (history Aβ Yβ n) Pβ) (Algorithm.density alg algβ n)) PLearning.IsBayesAlgEnvSeq.hasLaw_history_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 : β) : ProbabilityTheory.HasLaw (history A Y n) (MeasureTheory.Measure.withDensity (MeasureTheory.Measure.map (history Aβ Yβ n) Pβ) (Algorithm.density alg algβ n)) P
Code
lemma hasLaw_history_withDensity (h : IsBayesAlgEnvSeq Q ΞΊ alg E A Y P)
(hβ : IsBayesAlgEnvSeq Q ΞΊ algβ Eβ Aβ Yβ Pβ) (hc : alg βͺβ algβ) (n : β) :
HasLaw (history A Y n)
((Pβ.map (history Aβ Yβ n)).withDensity (alg.density algβ n)) P where
aemeasurableProof
(measurable_history h.measurable_action h.measurable_feedback n).aemeasurable
map_eq := by
have hA := h.measurable_action
have hY := h.measurable_feedback
have hAβ := hβ.measurable_action
have hYβ := hβ.measurable_feedback
have hE := h.measurable_param
have hEβ := hβ.measurable_param
rw [β condDistrib_comp_map hE.aemeasurable (by fun_prop), h.hasLaw_env.map_eq,
Measure.bind_congr_right (h.condDistrib_history_eq_condDistrib_hist_withDensity hβ hc n),
Kernel.comp_withDensity_eq_withDensity_comp (by fun_prop),
β hβ.hasLaw_env.map_eq, condDistrib_comp_map hEβ.aemeasurable (by fun_prop)]Actions: 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, 96 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.