Learning.IsAlgEnvSeq.memLp_means_action
No docstring.
Learning.IsAlgEnvSeq.memLp_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 π¨] [BorelSpace π¨] (h : IsAlgEnvSeq A Y alg env P) {n : β} {p : ENNReal} (hp1 : 1 β€ p) (hp_top : p β β€) (hint : MeasureTheory.MemLp (Y n) p P) : MeasureTheory.MemLp (fun Ο => Environment.means env A Y (A n Ο) n Ο) p PLearning.IsAlgEnvSeq.memLp_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 π¨] [BorelSpace π¨] (h : IsAlgEnvSeq A Y alg env P) {n : β} {p : ENNReal} (hp1 : 1 β€ p) (hp_top : p β β€) (hint : MeasureTheory.MemLp (Y n) p P) : MeasureTheory.MemLp (fun Ο => Environment.means env A Y (A n Ο) n Ο) p P
Code
lemma IsAlgEnvSeq.memLp_means_action [SecondCountableTopology π¨] [BorelSpace π¨]
(h : IsAlgEnvSeq A Y alg env P) {n : β} {p : ββ₯0β} (hp1 : 1 β€ p) (hp_top : p β β)
(hint : MemLp (Y n) p P) :
MemLp (fun Ο β¦ env.means A Y (A n Ο) n Ο) p PProof
by
have hp0 : p β 0 := by positivity
have hA := h.measurable_action
have h_hist := h.measurable_history
have hint' : MemLp id p (P.map (Y n)) := by
rwa [memLp_map_measure_iff (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.memLp_comp_iff hp0 hp_top (by fun_prop)]
at hint'
have hint'' := hint'.2.comp_aemeasurable (by fun_prop)
have h_eq Ο : env.Ξ½0 (A 0 Ο) = (env.Ξ½0 ββ Kernel.deterministic (A 0) (by fun_prop)) Ο := by
simp [Kernel.comp_deterministic_eq_comap]
rw [β integrable_norm_rpow_iff _ hp0 hp_top]
swap
Β· refine StronglyMeasurable.aestronglyMeasurable ?_
simp_rw [h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
simp only [id_eq] at hint''
refine Integrable.mono' hint'' ?_ ?_
Β· refine ((AEMeasurable.norm ?_).pow_const _).aestronglyMeasurable
refine (StronglyMeasurable.measurable ?_).aemeasurable
simp_rw [h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
Β· simp only [Real.norm_eq_abs, Function.comp_apply]
filter_upwards [ae_of_ae_map (hA 0).aemeasurable hint'.1] with Ο hΟ
rw [abs_of_nonneg (by positivity)]
exact norm_integral_rpow_le_integral_norm_rpow hp1 hp_top hΟ
| 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.memLp_comp_iff hp0 hp_top (by fun_prop)] at hint'
have hint'' := hint'.2.comp_aemeasurable (by fun_prop)
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]
rw [β integrable_norm_rpow_iff _ hp0 hp_top]
swap
Β· refine StronglyMeasurable.aestronglyMeasurable ?_
simp_rw [Kernel.sectR_apply, h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
simp only [id_eq] at hint''
refine Integrable.mono' hint'' ?_ ?_
Β· refine ((AEMeasurable.norm ?_).pow_const _).aestronglyMeasurable
refine (StronglyMeasurable.measurable ?_).aemeasurable
simp_rw [Kernel.sectR_apply, h_eq]
exact StronglyMeasurable.integral_kernel (by fun_prop)
Β· simp only [Real.norm_eq_abs, Function.comp_apply, Kernel.sectR_apply]
filter_upwards [ae_of_ae_map ((h_hist n).prodMk (hA (n + 1))).aemeasurable hint'.1]
with Ο hΟ
rw [abs_of_nonneg (by positivity)]
exact norm_integral_rpow_le_integral_norm_rpow hp1 hp_top hΟ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, 73 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.