ProbabilityTheory.HasSubgaussianMGF.measure_sum_le_sum_le
No docstring.
ProbabilityTheory.HasSubgaussianMGF.measure_sum_le_sum_le.{u_1, u_2, u_3} {Ī© : Type u_1} {mĪ© : MeasurableSpace Ī©} {μ : MeasureTheory.Measure Ī©} {ι : Type u_2} {ι' : Type u_3} {X : ι ā Ī© ā ā} {cX : ι ā NNReal} {s : Finset ι} {Y : ι' ā Ī© ā ā} {cY : ι' ā NNReal} {t : Finset ι'} [MeasureTheory.IsFiniteMeasure μ] (hX_indep : iIndepFun X μ) (hY_indep : iIndepFun Y μ) (hX_subG : ā i ā s, HasSubgaussianMGF (fun Ļ => X i Ļ - ā« (x : Ī©), X i x āμ) (cX i) μ) (hY_subG : ā j ā t, HasSubgaussianMGF (fun Ļ => Y j Ļ - ā« (x : Ī©), Y j x āμ) (cY j) μ) (h_indep_sum : IndepFun (fun Ļ => ā i ā s, X i Ļ) (fun Ļ => ā j ā t, Y j Ļ) μ) (h_le : ā j ā t, ā« (x : Ī©), Y j x āμ ⤠ā i ā s, ā« (x : Ī©), X i x āμ) : MeasureTheory.Measure.real μ {Ļ | ā i ā s, X i Ļ ā¤ ā j ā t, Y j Ļ} ⤠Real.exp (-(ā j ā t, ā« (x : Ī©), Y j x āμ - ā i ā s, ā« (x : Ī©), X i x āμ) ^ 2 / (2 * (ā(ā i ā s, cX i) + ā(ā j ā t, cY j))))ProbabilityTheory.HasSubgaussianMGF.measure_sum_le_sum_le.{u_1, u_2, u_3} {Ī© : Type u_1} {mĪ© : MeasurableSpace Ī©} {μ : MeasureTheory.Measure Ī©} {ι : Type u_2} {ι' : Type u_3} {X : ι ā Ī© ā ā} {cX : ι ā NNReal} {s : Finset ι} {Y : ι' ā Ī© ā ā} {cY : ι' ā NNReal} {t : Finset ι'} [MeasureTheory.IsFiniteMeasure μ] (hX_indep : iIndepFun X μ) (hY_indep : iIndepFun Y μ) (hX_subG : ā i ā s, HasSubgaussianMGF (fun Ļ => X i Ļ - ā« (x : Ī©), X i x āμ) (cX i) μ) (hY_subG : ā j ā t, HasSubgaussianMGF (fun Ļ => Y j Ļ - ā« (x : Ī©), Y j x āμ) (cY j) μ) (h_indep_sum : IndepFun (fun Ļ => ā i ā s, X i Ļ) (fun Ļ => ā j ā t, Y j Ļ) μ) (h_le : ā j ā t, ā« (x : Ī©), Y j x āμ ⤠ā i ā s, ā« (x : Ī©), X i x āμ) : MeasureTheory.Measure.real μ {Ļ | ā i ā s, X i Ļ ā¤ ā j ā t, Y j Ļ} ⤠Real.exp (-(ā j ā t, ā« (x : Ī©), Y j x āμ - ā i ā s, ā« (x : Ī©), X i x āμ) ^ 2 / (2 * (ā(ā i ā s, cX i) + ā(ā j ā t, cY j))))
Code
lemma measure_sum_le_sum_le [IsFiniteMeasure μ]
(hX_indep : iIndepFun X μ) (hY_indep : iIndepFun Y μ)
(hX_subG : ā i ā s, HasSubgaussianMGF (fun Ļ ā¦ X i Ļ - μ[X i]) (cX i) μ)
(hY_subG : ā j ā t, HasSubgaussianMGF (fun Ļ ā¦ Y j Ļ - μ[Y j]) (cY j) μ)
(h_indep_sum : IndepFun (fun Ļ ā¦ ā i ā s, X i Ļ) (fun Ļ ā¦ ā j ā t, Y j Ļ) μ)
(h_le : ā j ā t, μ[Y j] ⤠ā i ā s, μ[X i]) :
μ.real {Ļ | ā i ā s, X i Ļ ā¤ ā j ā t, Y j Ļ}
⤠exp (- (ā j ā t, μ[Y j] - ā i ā s, μ[X i]) ^ 2
/ (2 * (ā i ā s, cX i + ā j ā t, cY j)))Proof
by
have hX_int i (his : i ā s) : Integrable (X i) μ := by
have h_int := (hX_subG i his).integrable
simp_rw [sub_eq_add_neg, integrable_add_const_iff] at h_int
exact h_int
have hY_int j (his : j ā t) : Integrable (Y j) μ := by
have h_int := (hY_subG j his).integrable
simp_rw [sub_eq_add_neg, integrable_add_const_iff] at h_int
exact h_int
refine (measureReal_le_le_exp
(cX := ā i ā s, cX i) (cY := ā j ā t, cY j) ?_ ?_ h_indep_sum ?_).trans_eq ?_
Ā· suffices HasSubgaussianMGF (fun Ļ ā¦ ā i ā s, (X i Ļ - μ[X i])) (ā i ā s, cX i) μ by
convert this
rw [integral_finsetSum _ hX_int, Finset.sum_sub_distrib]
refine sum_of_iIndepFun ?_ hX_subG
exact hX_indep.comp (g := fun i x ⦠x - μ[X i]) (by fun_prop)
Ā· suffices HasSubgaussianMGF (fun Ļ ā¦ ā j ā t, (Y j Ļ - μ[Y j])) (ā j ā t, cY j) μ by
convert this
rw [integral_finsetSum _ hY_int, Finset.sum_sub_distrib]
refine sum_of_iIndepFun ?_ hY_subG
exact hY_indep.comp (g := fun i x ⦠x - μ[Y i]) (by fun_prop)
Ā· rwa [integral_finsetSum _ hX_int, integral_finsetSum _ hY_int]
Ā· congr
Ā· rw [integral_finsetSum _ hY_int]
Ā· rw [integral_finsetSum _ hX_int]Actions: Source Ā· Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 2th 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
Nothing to draw. Its statement rests on no other declaration in this project, and names nothing from a package left unaudited ā so the graph is this declaration alone. That is the answer, not a missing picture.
Audit surface: 0 project declarations, 56 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.