Exact Lean source
YoungFlatUniform
formalization/Cloning/YoungFlatUniform.lean
Source hash: 367f864eec7a0b3d649961d51a189689a9ca8d37ba77faa392cc4dd165d6f982
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
1import Cloning.YoungFlatLocal
2
3/-! Compact-uniform flat Young local convergence, including every chamber wall. -/
4noncomputable section
5open scoped BigOperators Topology Classical
6open Filter MeasureTheory
7namespace Cloning.YoungFlat
8open Cloning.YoungHyperplane Cloning.YoungGeneral
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1000000
11
12theorem continuous_limitDensity (d : ℕ) : Continuous (limitDensity d) := by
13 have hcoords : Continuous (fun x : rootSpace d ↦ fun i ↦ x.1 i) :=
14 continuous_pi fun i ↦ (PiLp.continuous_apply 2 _ i).comp continuous_subtype_val
15 apply Continuous.mul ?_ ((continuous_vandermondeFactor (d+1)).comp hcoords)
16 unfold covarianceGaussian GaussianAffinity.productDensity
17 apply continuous_finset_prod
18 intro i _
19 have hi := (PiLp.continuous_apply 2 _ i).comp
20 (covarianceEigenbasis d (flatSpectrum (d+1)) (flatSpectrum_sum _ (by omega))).repr.continuous
21 unfold GaussianAffinity.density
22 exact (Real.continuous_exp.comp ((hi.pow 2).const_mul _)).const_mul _
23
24/-- Genuine locally uniform flat-spectrum convergence is derived from moving-point CLT. -/
25theorem uniform_flatDensity_on_compact (d : ℕ) (K : Set (rootSpace d)) (hK : IsCompact K)
26 (ε : ℝ) (hε : 0 < ε) :
27 ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ x ∈ K, |flatDensity d N x-limitDensity d x| < ε := by
28 by_contra h
29 push_neg at h
30 have hbad k := h (max k 1)
31 choose n hn x hxK hb using hbad
32 obtain ⟨x₀, hx₀K, φ, hφ, hconv⟩ := hK.tendsto_subseq hxK
33 have hnlim : Tendsto n atTop atTop :=
34 tendsto_atTop_mono (fun k ↦ (le_max_left k 1).trans (hn k)) tendsto_id
35 have hn0 k : 0 < n (φ k) := by have h := hn (φ k); omega
36 have hx i : Tendsto (fun k ↦ (x (φ k)).1 i) atTop (𝓝 (x₀.1 i)) :=
37 ((PiLp.continuous_apply 2 _ i).comp continuous_subtype_val).continuousAt.tendsto.comp hconv
38 have hf := flatDensity_moving_tendsto d (fun k ↦ n (φ k))
39 (hnlim.comp hφ.tendsto_atTop) hn0 (fun k ↦ x (φ k)) x₀ hx
40 have hg := (continuous_limitDensity d).continuousAt.tendsto.comp hconv
41 have hh := (hf.sub hg).abs
42 simp only [sub_self, abs_zero] at hh
43 obtain ⟨k, hk⟩ := (hh.eventually (gt_mem_nhds hε)).exists
44 exact (not_lt_of_ge (hb (φ k))) hk
45
46/-- Local L¹ convergence on each compact set is a consequence, not a hypothesis. -/
47theorem flatDensity_l1_on_compact (d : ℕ) (K : Set (rootSpace d)) (hK : IsCompact K) :
48 Tendsto (fun N ↦ ∫ x in K, |flatDensity d N x-limitDensity d x|) atTop (𝓝 0) := by
49 have hg := (continuous_limitDensity d).continuousOn.integrableOn_compact (μ := volume) hK
50 have hvol : volume K ≠ ⊤ := hK.measure_ne_top
51 apply Metric.tendsto_nhds.mpr
52 intro ε hε
53 let δ := ε/(volume.real K+1)
54 have hδ : 0 < δ := by dsimp [δ]; positivity
55 obtain ⟨N₀, hN₀⟩ := uniform_flatDensity_on_compact d K hK δ hδ
56 filter_upwards [eventually_ge_atTop (max N₀ 1)] with N hN
57 have hn0 : 0 < N := by omega
58 have hb : (∫ x in K, |flatDensity d N x-limitDensity d x|) ≤ δ*volume.real K := by
59 have hi := ((integrable_flatDensity d N hn0).integrableOn.sub hg).abs
60 calc
61 _ ≤ ∫ _x in K, δ := by
62 apply setIntegral_mono_on hi (integrableOn_const hvol) hK.measurableSet
63 intro x hx
64 exact (hN₀ N (by omega) x hx).le
65 _ = _ := by rw [setIntegral_const]; simp only [smul_eq_mul]; ring
66 rw [Real.dist_eq, sub_zero, abs_of_nonneg (integral_nonneg (fun _ ↦ abs_nonneg _))]
67 apply hb.trans_lt
68 have hv : 0 ≤ volume.real K := ENNReal.toReal_nonneg
69 dsimp [δ]
70 have hden : 0 < volume.real K+1 := by positivity
71 rw [div_mul_eq_mul_div, div_lt_iff₀ hden]
72 nlinarith
73
74end Cloning.YoungFlat