Exact Lean source
YoungUniformLocalGaussianTails
formalization/Cloning/YoungUniformLocalGaussianTails.lean
Source hash: 27be6628e2c2d008c0ee820712675b9162e77ad60ca746836e518d21c5192ca2
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
definition
Cloning.YoungHyperplane.gaussianEnvelopetheorem Cloning.YoungHyperplane.integrable_gaussianEnvelopetheorem Cloning.YoungHyperplane.covarianceGaussian_le_envelopetheorem Cloning.YoungHyperplane.gaussianEnvelope_tail_tendsto_zerotheorem Cloning.YoungHyperplane.covarianceGaussian_uniform_tails1import Cloning.YoungUniformLocalGaussian
2import Mathlib.Analysis.SpecialFunctions.Gaussian.FourierTransform
3
4/-! Uniform integrable domination and Gaussian tails on the actual Euclidean
5root hyperplane, derived from a uniform positive spectral lower bound. -/
6
7noncomputable section
8open scoped BigOperators Topology Classical
9open MeasureTheory Filter
10namespace Cloning.YoungHyperplane
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 800000
13
14def gaussianEnvelope (d : ℕ) (a : ℝ) (x : rootSpace d) : ℝ :=
15 Real.exp (-(d : ℝ) / 2 * Real.log (2 * Real.pi) - 1 / 2 * Real.log ((d : ℝ) + 1) -
16 1 / 2 * ((d : ℝ) + 1) * Real.log a) * Real.exp (-‖x‖ ^ 2 / 2)
17
18theorem integrable_gaussianEnvelope (d : ℕ) (a : ℝ) :
19 Integrable (gaussianEnvelope d a) volume := by
20 have h := GaussianFourier.integrable_cexp_neg_mul_sq_norm_add
21 (V := rootSpace d) (b := (1 / 2 : ℂ)) (by norm_num) 0 (0 : rootSpace d)
22 have hh : Integrable (fun x : rootSpace d ↦ Real.exp (-‖x‖ ^ 2 / 2)) volume := by
23 convert h.norm using 1
24 ext x
25 simp [Complex.norm_exp, ← Complex.ofReal_pow]
26 <;> ring
27 exact hh.const_mul _
28
29/-- A single integrable envelope dominates all normalized spectra bounded
30below by `a`; neither spectral eigenvectors nor a density tail is a premise. -/
31theorem covarianceGaussian_le_envelope (d : ℕ) (a : ℝ) (ha : 0 < a)
32 (p : Fin (d + 1) → ℝ) (hp : ∑ i, p i = 1) (hpa : ∀ i, a ≤ p i)
33 (x : rootSpace d) :
34 covarianceGaussian d p hp x ≤ gaussianEnvelope d a x := by
35 have hp0 i : 0 < p i := ha.trans_le (hpa i)
36 have hp1 i : p i ≤ 1 := by
37 rw [← hp]
38 exact Finset.single_le_sum (fun j _ ↦ (hp0 j).le) (Finset.mem_univ i)
39 have hl : ((d : ℝ) + 1) * Real.log a ≤ ∑ i, Real.log (p i) := by
40 have h := Finset.sum_le_sum (s := Finset.univ) (fun i _ ↦ Real.log_le_log ha (hpa i))
41 simpa using h
42 have hquad : ‖x‖ ^ 2 ≤ ∑ i, (x.1 i) ^ 2 / p i := by
43 change ‖x.1‖ ^ 2 ≤ _
44 rw [EuclideanSpace.norm_sq_eq]
45 apply Finset.sum_le_sum
46 intro i _
47 rw [Real.norm_eq_abs, sq_abs]
48 exact (le_div_iff₀ (hp0 i)).mpr (mul_le_of_le_one_right (sq_nonneg _) (hp1 i))
49 rw [covarianceGaussian_eq_exp d p hp hp0 x, gaussianEnvelope, ← Real.exp_add]
50 apply Real.exp_le_exp.mpr
51 nlinarith
52
53theorem gaussianEnvelope_tail_tendsto_zero (d : ℕ) (a : ℝ) :
54 Tendsto (fun n : ℕ ↦ ∫ x in (Metric.closedBall (0 : rootSpace d) (n : ℝ))ᶜ,
55 gaussianEnvelope d a x ∂volume) atTop (𝓝 0) := by
56 have ht := tendsto_setIntegral_of_antitone
57 (fun n : ℕ ↦ (Metric.isClosed_closedBall (x := (0 : rootSpace d)) (ε := (n : ℝ))).measurableSet.compl)
58 (show Antitone (fun n : ℕ ↦ (Metric.closedBall (0 : rootSpace d) (n : ℝ))ᶜ) by
59 intro m n hmn
60 exact Set.compl_subset_compl.mpr (Metric.closedBall_subset_closedBall (by exact_mod_cast hmn)))
61 ⟨0, (integrable_gaussianEnvelope d a).integrableOn⟩
62 have hempty : (⋂ n : ℕ, (Metric.closedBall (0 : rootSpace d) (n : ℝ))ᶜ) = ∅ := by
63 rw [← Set.compl_iUnion, Metric.iUnion_closedBall_nat, Set.compl_univ]
64 simpa only [hempty, setIntegral_empty] using ht
65
66/-- Uniform Gaussian tightness, with the common radius constructed from the
67explicit integrable envelope. -/
68theorem covarianceGaussian_uniform_tails (d : ℕ) (a : ℝ) (ha : 0 < a)
69 (ε : ℝ) (hε : 0 < ε) :
70 ∃ R : ℕ, ∀ (p : Fin (d + 1) → ℝ) (hp : ∑ i, p i = 1),
71 (∀ i, a ≤ p i) →
72 (∫ x in (Metric.closedBall (0 : rootSpace d) (R : ℝ))ᶜ,
73 covarianceGaussian d p hp x ∂volume) < ε := by
74 obtain ⟨R, hR⟩ := ((gaussianEnvelope_tail_tendsto_zero d a).eventually (gt_mem_nhds hε)).exists
75 refine ⟨R, ?_⟩
76 intro p hp hpa
77 apply lt_of_le_of_lt ?_ hR
78 exact integral_mono (integrable_covarianceGaussian d p hp (fun i ↦ ha.trans_le (hpa i))).integrableOn
79 (integrable_gaussianEnvelope d a).integrableOn (covarianceGaussian_le_envelope d a ha p hp hpa)
80
81end Cloning.YoungHyperplane