Exact Lean source
YoungFlatTightness
formalization/Cloning/YoungFlatTightness.lean
Source hash: 8fe9391c9a4926006686ef2efcc46c19c37f639c67d1537d0b47b150bed2f46f
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
theorem
Cloning.YoungFlat.cellCenter_error_norm_sq_letheorem Cloning.YoungFlat.norm_sq_le_cellCentertheorem Cloning.YoungFlat.integrable_norm_sqtheorem Cloning.YoungFlat.integral_norm_sq_letheorem Cloning.YoungFlat.smoothedMeasure_real_eq_integraltheorem Cloning.YoungFlat.flatDensity_tail_letheorem Cloning.YoungFlat.flatDensity_tight1import Cloning.YoungFlatMoment
2
3/-! Uniform tightness of the actual smoothed flat laws, from the physical Casimir moment. -/
4noncomputable section
5open scoped BigOperators Topology Classical
6open MeasureTheory Filter
7namespace Cloning.YoungFlat
8open Cloning.TensorLie Cloning.YoungHyperplane Cloning.YoungGeneral
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1400000
11
12theorem cellCenter_error_norm_sq_le (d N : ℕ) (hN : 0 < N) (x : rootSpace d) :
13 ‖x-cellCenter d N x‖^2 ≤ ((d+1 : ℕ) : ℝ)^3 := by
14 have hn : (1 : ℝ) ≤ N := by exact_mod_cast hN
15 have hs : (1 : ℝ) ≤ Real.sqrt N := by
16 simpa using Real.sqrt_le_sqrt hn
17 have hc i : |x.1 i-(cellCenter d N x).1 i| ≤ ((d+1 : ℕ) : ℝ) := by
18 have hh := sampleCenter_coordinate_distance d N (by exact_mod_cast hN)
19 (flatSpectrum (d+1)) (flatSpectrum_sum _ (by omega))
20 (sampleLabel d N (flatSpectrum (d+1)) x) x
21 (mem_sampleCell_sampleLabel d N (flatSpectrum (d+1)) x) i
22 rw [abs_sub_comm] at hh
23 refine hh.trans ?_
24 norm_cast
25 have ht : (0 : ℝ) < 2*Real.sqrt N := by positivity
26 apply (div_le_iff₀ ht).mpr
27 have hd : (0 : ℝ) ≤ d := Nat.cast_nonneg d
28 nlinarith
29 change ‖(x-cellCenter d N x).1‖^2 ≤ _
30 rw [EuclideanSpace.real_norm_sq_eq]
31 calc
32 _ ≤ ∑ _i : Fin (d+1), (((d+1 : ℕ) : ℝ)^2) := by
33 apply Finset.sum_le_sum
34 intro i _
35 change (x.1 i-(cellCenter d N x).1 i)^2 ≤ _
36 have hh := (sq_le_sq₀ (abs_nonneg _) (by positivity)).mpr (hc i)
37 simpa only [sq_abs] using hh
38 _ = _ := by simp; ring
39
40theorem norm_sq_le_cellCenter (d N : ℕ) (hN : 0 < N) (x : rootSpace d) :
41 ‖x‖^2 ≤ 2*‖cellCenter d N x‖^2+2*((d+1 : ℕ) : ℝ)^3 := by
42 have ht : ‖x‖ ≤ ‖x-cellCenter d N x‖+‖cellCenter d N x‖ := by
43 simpa using norm_add_le (x-cellCenter d N x) (cellCenter d N x)
44 have he := cellCenter_error_norm_sq_le d N hN x
45 have hn := norm_nonneg x
46 have hn₁ := norm_nonneg (x-cellCenter d N x)
47 have hn₂ := norm_nonneg (cellCenter d N x)
48 nlinarith [sq_nonneg (‖x-cellCenter d N x‖-‖cellCenter d N x‖)]
49
50theorem integrable_norm_sq (d N : ℕ) (hN : 0 < N) :
51 Integrable (fun x : rootSpace d ↦ ‖x‖^2) (smoothedMeasure d N) := by
52 letI : IsProbabilityMeasure (smoothedMeasure d N) :=
53 physicalSmoothedMeasure_isProbability d N hN _ _ _
54 apply ((integrable_cellCenter_norm_sq d N hN).const_mul 2 |>.add
55 (integrable_const (2*((d+1 : ℕ) : ℝ)^3))).mono'
56 (by fun_prop)
57 exact ae_of_all _ fun x ↦ by
58 rw [Real.norm_of_nonneg (sq_nonneg _)]
59 exact norm_sq_le_cellCenter d N hN x
60
61set_option backward.isDefEq.respectTransparency true in
62theorem integral_norm_sq_le (d N : ℕ) (hN : 0 < N) :
63 (∫ x : rootSpace d, ‖x‖^2 ∂smoothedMeasure d N) ≤
64 2*((d+1 : ℕ) : ℝ)+2*((d+1 : ℕ) : ℝ)^3 := by
65 letI : IsProbabilityMeasure (smoothedMeasure d N) :=
66 physicalSmoothedMeasure_isProbability d N hN _ _ _
67 calc
68 _ ≤ ∫ x, 2*‖cellCenter d N x‖^2+2*((d+1 : ℕ) : ℝ)^3 ∂smoothedMeasure d N :=
69 integral_mono (μ := smoothedMeasure d N)
70 (f := fun x : rootSpace d ↦ ‖x‖^2)
71 (g := fun x : rootSpace d ↦ 2*‖cellCenter d N x‖^2+2*((d+1 : ℕ) : ℝ)^3)
72 (integrable_norm_sq d N hN)
73 (((integrable_cellCenter_norm_sq d N hN).const_mul 2).add'' (integrable_const (μ := smoothedMeasure d N) (2*((d+1 : ℕ) : ℝ)^3)))
74 (norm_sq_le_cellCenter d N hN)
75 _ = 2*(∫ x, ‖cellCenter d N x‖^2 ∂smoothedMeasure d N)+2*((d+1 : ℕ) : ℝ)^3 := by
76 rw [integral_add ((integrable_cellCenter_norm_sq d N hN).const_mul 2) (integrable_const (μ := smoothedMeasure d N) (2*((d+1 : ℕ) : ℝ)^3)),
77 integral_const_mul, integral_const]
78 rw [measureReal_univ_eq_one]
79 simp only [one_smul]
80 _ ≤ _ := by linarith [integral_cellCenter_norm_sq_le d N hN]
81
82theorem smoothedMeasure_real_eq_integral (d N : ℕ) (hN : 0 < N)
83 (A : Set (rootSpace d)) (hA : MeasurableSet A) :
84 (smoothedMeasure d N).real A = ∫ x in A, flatDensity d N x := by
85 rw [measureReal_def, smoothedMeasure,
86 physicalSmoothedMeasure_apply d N hN _ _ _ A hA]
87 exact ENNReal.toReal_ofReal (integral_nonneg fun x ↦ flatDensity_nonneg d N x)
88
89theorem flatDensity_tail_le (d N : ℕ) (hN : 0 < N) (R : ℝ) (hR : 0 < R) :
90 (∫ x in (Metric.closedBall (0 : rootSpace d) R)ᶜ, flatDensity d N x) ≤
91 (2*((d+1 : ℕ) : ℝ)+2*((d+1 : ℕ) : ℝ)^3)/R^2 := by
92 letI : IsProbabilityMeasure (smoothedMeasure d N) :=
93 physicalSmoothedMeasure_isProbability d N hN _ _ _
94 rw [← smoothedMeasure_real_eq_integral d N hN _ Metric.isClosed_closedBall.measurableSet.compl]
95 have hs : (Metric.closedBall (0 : rootSpace d) R)ᶜ ⊆
96 {x : rootSpace d | R^2 ≤ ‖x‖^2} := by
97 intro x hx
98 simp only [Set.mem_compl_iff, Metric.mem_closedBall, dist_zero_right, not_le] at hx
99 change R^2 ≤ ‖x‖^2
100 nlinarith [norm_nonneg x]
101 have hm := mul_meas_ge_le_integral_of_nonneg
102 (ae_of_all (smoothedMeasure d N) fun x : rootSpace d ↦ sq_nonneg ‖x‖)
103 (integrable_norm_sq d N hN) (R^2)
104 apply (le_div_iff₀ (sq_pos_of_pos hR)).mpr
105 calc
106 _ = R^2*(smoothedMeasure d N).real (Metric.closedBall (0 : rootSpace d) R)ᶜ := by ring
107 _ ≤ R^2*(smoothedMeasure d N).real {x : rootSpace d | R^2 ≤ ‖x‖^2} :=
108 mul_le_mul_of_nonneg_left (measureReal_mono hs) (sq_nonneg R)
109 _ ≤ _ := hm.trans (integral_norm_sq_le d N hN)
110
111/-- Fixed compact sets capture uniformly all but any prescribed amount of physical mass. -/
112theorem flatDensity_tight (d : ℕ) (ε : ℝ) (hε : 0 < ε) :
113 ∃ K : Set (rootSpace d), IsCompact K ∧
114 ∀ N : ℕ, 0 < N → (∫ x in Kᶜ, flatDensity d N x) < ε := by
115 let C : ℝ := 2*((d+1 : ℕ) : ℝ)+2*((d+1 : ℕ) : ℝ)^3
116 let R : ℝ := Real.sqrt (C/ε+1)
117 have hC : 0 ≤ C := by dsimp [C]; positivity
118 have hR : 0 < R := by dsimp [R]; positivity
119 have hsq : R^2=C/ε+1 := Real.sq_sqrt (by positivity)
120 refine ⟨Metric.closedBall 0 R, isCompact_closedBall _ _, fun N hN ↦ ?_⟩
121 refine (flatDensity_tail_le d N hN R hR).trans_lt ?_
122 change C/R^2 < ε
123 apply (div_lt_iff₀ (sq_pos_of_pos hR)).mpr
124 rw [hsq]
125 have he : ε*(C/ε)=C := mul_div_cancel₀ C hε.ne'
126 nlinarith
127
128end Cloning.YoungFlat