Learning.IsAlgEnvSeq.integrable_means_action
No docstring.
Learning.IsAlgEnvSeq.integrable_means_action.{u_1, u_2, u_3} {Ξ© : Type u_1} {π : Type u_2} {π¨ : Type u_3} {mΞ© : MeasurableSpace Ξ©} {mπ : MeasurableSpace π} {mπ¨ : MeasurableSpace π¨} [NormedAddCommGroup π¨] [NormedSpace β π¨] {A : β β Ξ© β π} {Y : β β Ξ© β π¨} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsFiniteMeasure P] {alg : Algorithm π π¨} {env : Environment π π¨} [SecondCountableTopology π¨] [OpensMeasurableSpace π¨] (h : IsAlgEnvSeq A Y alg env P) {n : β} (hint : MeasureTheory.Integrable (Y n) P) : MeasureTheory.Integrable (fun Ο => Environment.means env A Y (A n Ο) n Ο) PLearning.IsAlgEnvSeq.integrable_means_action.{u_1, u_2, u_3} {Ξ© : Type u_1} {π : Type u_2} {π¨ : Type u_3} {mΞ© : MeasurableSpace Ξ©} {mπ : MeasurableSpace π} {mπ¨ : MeasurableSpace π¨} [NormedAddCommGroup π¨] [NormedSpace β π¨] {A : β β Ξ© β π} {Y : β β Ξ© β π¨} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsFiniteMeasure P] {alg : Algorithm π π¨} {env : Environment π π¨} [SecondCountableTopology π¨] [OpensMeasurableSpace π¨] (h : IsAlgEnvSeq A Y alg env P) {n : β} (hint : MeasureTheory.Integrable (Y n) P) : MeasureTheory.Integrable (fun Ο => Environment.means env A Y (A n Ο) n Ο) P
Code
lemma IsAlgEnvSeq.integrable_means_action [SecondCountableTopology π¨] [OpensMeasurableSpace π¨]
(h : IsAlgEnvSeq A Y alg env P) {n : β} (hint : Integrable (Y n) P) :
Integrable (fun Ο β¦ env.means A Y (A n Ο) n Ο) PProof
by
have hA := h.measurable_action
have h_hist := h.measurable_history
have hint' : Integrable id (P.map (Y n)) := by
rwa [integrable_map_measure (by fun_prop) (h.measurable_feedback _).aemeasurable]
unfold Environment.means Environment.measure
cases n with
| zero =>
simp only [βreduceIte, id_eq]
rw [h.hasLaw_feedback_zero_comp.map_eq, Measure.integrable_comp_iff (by fun_prop)] at hint'
have hint'' := hint'.2.comp_aemeasurable (by fun_prop)
simp only [id_eq] at hint''
refine Integrable.mono' hint'' ?_ ?_
Β· refine StronglyMeasurable.aestronglyMeasurable ?_
have h_eq Ο : env.Ξ½0 (A 0 Ο) =
(env.Ξ½0 ββ Kernel.deterministic (A 0) (by fun_prop)) Ο := by
simp [Kernel.comp_deterministic_eq_comap]
simp_rw [h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
Β· simp only [Function.comp_apply]
filter_upwards with Ο using norm_integral_le_integral_norm _
| succ n =>
simp only [Nat.add_eq_zero_iff, one_ne_zero, and_false, βreduceIte, Nat.add_one_sub_one, id_eq]
rw [(h.hasLaw_feedback_comp n).map_eq, Measure.integrable_comp_iff (by fun_prop)] at hint'
have hint'' := hint'.2.comp_aemeasurable (by fun_prop)
simp only [id_eq] at hint''
refine Integrable.mono' hint'' ?_ ?_
Β· refine StronglyMeasurable.aestronglyMeasurable ?_
have h_eq Ο : (env.feedback n) (history A Y n Ο, A (n + 1) Ο) =
(env.feedback n ββ
Kernel.deterministic (fun Ο β¦ (history A Y n Ο, A (n + 1) Ο)) (by fun_prop)) Ο := by
simp [Kernel.comp_deterministic_eq_comap]
simp_rw [Kernel.sectR_apply, h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
Β· simp only [Function.comp_apply]
filter_upwards with Ο using norm_integral_le_integral_norm _Actions: Source Β· Open Issue
New in v4.34.0-rc2-14-gf86702d (2026-08-25), and its meaning has not changed since.
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, 63 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.