Exact Lean source
YoungUniformLocalPhysicalLimit
formalization/Cloning/YoungUniformLocalPhysicalLimit.lean
Source hash: f97073d77f82bca21f89b54a73dca84fdb46e51994241b95fc930788701ad57a
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.YoungUniformLocalCharacter
2import Cloning.YoungUniformLocalSampleShape
3import Cloning.YoungUniformLocalDensity
4import Cloning.YoungUniformLocalScheffe
5
6/-! The actual smoothed physical Young law has the Gaussian local limit.
7This combines proved Stirling estimates, physical multiplicities, physical
8sector trace asymptotics and exact affine cell geometry. -/
9
10noncomputable section
11open scoped BigOperators Topology Classical
12open Filter MeasureTheory
13namespace Cloning.YoungHyperplane
14open Cloning.TensorLie Cloning.YoungGeneral Cloning.YoungMultinomial
15set_option backward.isDefEq.respectTransparency false
16set_option maxHeartbeats 1200000
17
18private theorem shape_count_from_cell (d N : ℕ) (hN : 0 < N)
19 (p : Fin (d + 1) → ℝ) (hp : ∑ i, p i = 1) (x : rootSpace d)
20 (μ : Shape (d + 1) N) (hs : ∑ i, (μ i).val = N)
21 (he : shapeLattice d N μ = sampleLabel d N p x) (i : Fin (d + 1)) :
22 ((μ i).val : ℝ) = N * (p i +
23 (sampleCenter d N p (sampleLabel d N p x)).1 i / Real.sqrt (N : ℝ)) := by
24 have hc := shapeLattice_apply d N μ hs i
25 rw [he] at hc
26 have hcast : ((sampleLabel d N p x).1 i : ℝ) = ((μ i).val : ℝ) := by exact_mod_cast hc
27 have ht := lattice_ratio_eq_center d N hN p hp (sampleLabel d N p x) i
28 rw [hcast] at ht
29 have hh := (div_eq_iff (by positivity : (N : ℝ) ≠ 0)).mp ht
30 exact hh.trans (mul_comm _ _)
31
32/-- Pointwise Gaussian convergence for actual smoothed physical Schur laws,
33including moving spectra and arbitrary divergent sample-size subsequences. -/
34theorem tensorYoungDensity_tendsto (d : ℕ) (n : ℕ → ℕ)
35 (hn : Tendsto n atTop atTop) (hn0 : ∀ k, 0 < n k)
36 (p : ℕ → Fin (d + 1) → ℝ) (hp : ∀ k, ∑ i, p k i = 1)
37 (hp0 : ∀ k i, 0 < p k i) (p₀ : Fin (d + 1) → ℝ) (hs₀ : ∑ i, p₀ i = 1)
38 (hp₀ : ∀ i, 0 < p₀ i) (hord : StrictAnti p₀)
39 (hlim : ∀ i, Tendsto (fun k ↦ p k i) atTop (𝓝 (p₀ i))) (x : rootSpace d) :
40 Tendsto (fun k ↦ tensorYoungDensity d (n k) (p k) (fun i ↦ (hp0 k i).le) (hp k) x)
41 atTop (𝓝 (covarianceGaussian d p₀ hs₀ x)) := by
42 let μ := fun k ↦ sampleShape d (n k) (p k) x
43 let c := fun k ↦ sampleCenter d (n k) (p k) (sampleLabel d (n k) (p k) x)
44 have hv := eventually_sampleShape_valid d n hn p hp p₀ hp₀ hord hlim x
45 have hμratio i : Tendsto (fun k ↦ ((μ k i).val : ℝ) / (n k : ℝ)) atTop (𝓝 (p₀ i)) :=
46 sampleShape_ratio_tendsto d n hn p hp p₀ hp₀ hord hlim x i
47 obtain ⟨a, ha, hpa, _⟩ := YoungCompatibility.compact_spectra_positive_gap
48 ({p₀} : Set (Fin (d + 1) → ℝ)) isCompact_singleton
49 (by intro q hq; have he : q = p₀ := Set.mem_singleton_iff.mp hq; simpa [he] using hp₀)
50 (by intro q hq; have he : q = p₀ := Set.mem_singleton_iff.mp hq; simpa [he] using hord)
51 have hpa0 i : a ≤ p₀ i := hpa p₀ (by simp) i
52 have hpbound : ∀ᶠ k in atTop, ∀ i, a / 2 ≤ p k i :=
53 eventually_all.mpr fun i ↦ ((hlim i).eventually
54 (eventually_gt_nhds (show a / 2 < p₀ i by linarith [hpa0 i]))).mono fun _ h ↦ h.le
55 have hcbound : ∀ᶠ k in atTop, ∀ i, |(c k).1 i| ≤ ‖x‖ + 1 := by
56 have hm := ((sample_mesh_tendsto_zero d).comp hn).eventually
57 (eventually_lt_nhds (by norm_num : (0 : ℝ) < 1))
58 filter_upwards [hm] with k hk i
59 have hxcoord j : |x.1 j| ≤ ‖x‖ := by simpa using PiLp.norm_apply_le x.1 j
60 have hh := sampleCenter_coordinate_bound d (n k) (by exact_mod_cast hn0 k)
61 (p k) (hp k) (sampleLabel d (n k) (p k) x) x
62 (mem_sampleCell_sampleLabel d (n k) (p k) x) ‖x‖ hxcoord i
63 simp only [Int.cast_natCast] at hh
64 exact hh.trans (by dsimp at hk; linarith)
65 have hm : Tendsto (fun k ↦ multinomialMass (n k) (p k) (fun i ↦ (μ k i).val) /
66 gaussianMass (n k) (p k) (fun i ↦ (c k).1 i)) atTop (𝓝 1) := by
67 apply Metric.tendsto_nhds.mpr
68 intro ε hε
69 obtain ⟨N₀, hN₀⟩ := uniform_multinomial_local_limit (ι := Fin (d + 1))
70 (a / 2) (‖x‖ + 1) (by positivity) (by positivity) ε hε
71 filter_upwards [hpbound, hcbound, hv, hn.eventually (eventually_ge_atTop N₀)] with k hpk hck hvk hnk
72 rw [Real.dist_eq]
73 exact hN₀ (n k) hnk (p k) (fun i ↦ (c k).1 i) (fun i ↦ (μ k i).val)
74 hpk (hp k) (c k).2 hck
75 (shape_count_from_cell d (n k) (hn0 k) (p k) (hp k) x (μ k) hvk.2.1 hvk.2.2)
76 have hc := tableauCorrection_tendsto (fun k i ↦ (μ k i).val) n p₀
77 (fun i ↦ (hp₀ i).ne') hn hμratio
78 have hz := physicalSectorCharacter_div_highest_tendsto n hn (fun k i ↦ (μ k i).val)
79 (hv.mono fun _ h ↦ h.1) p p₀ hp₀ hord hlim hμratio
80 have hprob : Tendsto (fun k ↦
81 (tensorYoungPMF (n k) (d + 1) (p k) (fun i ↦ (hp0 k i).le) (hp k) (μ k)).toReal /
82 gaussianMass (n k) (p k) (fun i ↦ (c k).1 i)) atTop (𝓝 1) := by
83 have ht := (hm.mul hc).mul hz
84 rw [one_mul, mul_inv_cancel₀ (spectralCorrection_pos p₀ hp₀ hord).ne'] at ht
85 apply ht.congr'
86 filter_upwards [hv] with k hk
87 exact (tensorYoungPMF_div_gaussianMass (d + 1) (n k) (p k) (fun i ↦ (c k).1 i)
88 (hp0 k) (hp k) (μ k) hk.1 hk.2.1).symm
89 have hg := covarianceGaussian_tendsto d p p₀ hp hs₀ hp0 hp₀ hlim c x
90 (fun i ↦ sampleLabel_center_tendsto d n hn p hp x i)
91 have ht := hprob.mul hg
92 simp only [one_mul] at ht
93 apply ht.congr'
94 filter_upwards [hv] with k hk
95 have hxcell : x ∈ sampleCell d (n k) (p k) (shapeLattice d (n k) (μ k)) := by
96 rw [hk.2.2]
97 exact mem_sampleCell_sampleLabel d (n k) (p k) x
98 rw [tensorYoungDensity_eq_on_cell d (n k) (hn0 k) (p k) (fun i ↦ (hp0 k i).le)
99 (hp k) (μ k) hk.2.1 x hxcell,
100 ← scaled_gaussianMass_eq_covarianceGaussian d (n k) (hn0 k) (p k) (hp k) (hp0 k) (c k)]
101 have hg0 : gaussianMass (n k) (p k) (fun i ↦ (c k).1 i) ≠ 0 := Real.exp_ne_zero _
102 field_simp
103
104end Cloning.YoungHyperplane