Bandits.condDistrib_reward''
No docstring.
Bandits.condDistrib_reward''.{u_1, u_2} {π : Type u_1} {Ξ© : Type u_2} {mπ : MeasurableSpace π} {mΞ© : MeasurableSpace Ξ©} {A : β β Ξ© β π} {R : β β Ξ© β β} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {alg : Learning.Algorithm π β} {Ξ½ : ProbabilityTheory.Kernel π β} [ProbabilityTheory.IsMarkovKernel Ξ½] [Countable π] (h : Learning.IsAlgEnvSeq A R alg (Learning.stationaryEnv Ξ½) P) (n : β) : βπ[fun Ο => R n (Prod.fst Ο) | fun Ο => A n (Prod.fst Ο); MeasureTheory.Measure.prod P (streamMeasure Ξ½)] =α΅[MeasureTheory.Measure.map (fun Ο => A n (Prod.fst Ο)) (MeasureTheory.Measure.prod P (streamMeasure Ξ½))] βΞ½Bandits.condDistrib_reward''.{u_1, u_2} {π : Type u_1} {Ξ© : Type u_2} {mπ : MeasurableSpace π} {mΞ© : MeasurableSpace Ξ©} {A : β β Ξ© β π} {R : β β Ξ© β β} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {alg : Learning.Algorithm π β} {Ξ½ : ProbabilityTheory.Kernel π β} [ProbabilityTheory.IsMarkovKernel Ξ½] [Countable π] (h : Learning.IsAlgEnvSeq A R alg (Learning.stationaryEnv Ξ½) P) (n : β) : βπ[fun Ο => R n (Prod.fst Ο) | fun Ο => A n (Prod.fst Ο); MeasureTheory.Measure.prod P (streamMeasure Ξ½)] =α΅[MeasureTheory.Measure.map (fun Ο => A n (Prod.fst Ο)) (MeasureTheory.Measure.prod P (streamMeasure Ξ½))] βΞ½
Code
lemma condDistrib_reward'' [Countable π]
(h : IsAlgEnvSeq A R alg (stationaryEnv Ξ½) P) (n : β) :
π[fun Ο β¦ R n Ο.1 | fun Ο β¦ A n Ο.1; π] =α΅[(π).map (fun Ο β¦ A n Ο.1)] Ξ½Proof
by
have hA := h.measurable_action
have hR := h.measurable_feedback
have h_ra' : π[R n | A n; P] =α΅[P.map (A n)] Ξ½ := h.condDistrib_feedback_stationaryEnv n
have h_law : (π).map (fun Ο β¦ A n Ο.1) = P.map (A n) := by
change ((π).map (A n β Prod.fst)) = _
rw [β Measure.map_map (by fun_prop) (by fun_prop), β Measure.fst, Measure.fst_prod]
rw [h_law]
have h_prod : π[fun Ο β¦ R n Ο.1 | fun Ο β¦ A n Ο.1; π]
=α΅[P.map (A n)] π[R n | A n; P] :=
condDistrib_fst_prod _ (by fun_prop) _
filter_upwards [h_ra', h_prod] with Ο h_eq h_prod
rw [h_prod, h_eq]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: 8 project declarations, 80 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.