Exact Lean source
YoungDimensionMomentRateAsymptotics
formalization/Cloning/YoungDimensionMomentRateAsymptotics.lean
Source hash: 9c8a358a9b05b2d161bd764dc56d4682fc08aaaf4d90e4fb5c1cb02a3ef622ab
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.YoungDimensionMomentRate
2
3/-! Big-O endpoints for the derived physical dimension moments. -/
4noncomputable section
5open scoped BigOperators Classical Topology
6open Filter Asymptotics
7namespace Cloning.TensorLie
8open Cloning.YoungGeneral
9set_option maxHeartbeats 1000000
10
11private theorem mean_sub_one_abs_le {ι : Type*} [Fintype ι] (P : PMF ι) (f : ι→ℝ) :
12 |(∑i,(P i).toReal*f i)-1|≤∑i,(P i).toReal*|f i-1| := by
13 have hs : ∑i,(P i).toReal=1 := by
14 simpa only [tsum_fintype,Cloning.YoungCompatibility.probability] using
15 Cloning.YoungCompatibility.tsum_probability P
16 have he : (∑i,(P i).toReal*f i)-1=∑i,(P i).toReal*(f i-1) := by
17 simp only [mul_sub,mul_one,Finset.sum_sub_distrib,hs]
18 rw [he]
19 exact (Finset.abs_sum_le_sum_abs _ _).trans_eq (by
20 apply Finset.sum_congr rfl
21 intro i _
22 rw [abs_mul,abs_of_nonneg ENNReal.toReal_nonneg])
23
24/-- Both physical dimension moments have relative rate O(1/N). -/
25theorem tensorFlatYoungPMF_dimension_moments_isBigO (r k : ℕ) (hr : 0<r) :
26 (fun N : ℕ => (∑mu,(tensorFlatYoungPMF N r hr mu).toReal*
27 normalizedDimension r k N mu)-1) =O[atTop] (fun N : ℕ=>1/(N:ℝ)) ∧
28 (fun N : ℕ => (∑mu,(tensorFlatYoungPMF N r hr mu).toReal*
29 inverseNormalizedDimension r k N mu)-1) =O[atTop] (fun N : ℕ=>1/(N:ℝ)) := by
30 constructor
31 · apply IsBigO.of_bound (dimensionMomentRateConstant r k)
32 filter_upwards [eventually_ge_atTop 1] with N hN
33 have h := (mean_sub_one_abs_le (tensorFlatYoungPMF N r hr)
34 (normalizedDimension r k N)).trans (tensorFlatYoungPMF_mean_dimension_error_le r k N hr hN)
35 simpa only [Real.norm_eq_abs,abs_of_nonneg (by positivity : (0:ℝ)≤1/(N:ℝ)),mul_one_div] using h
36 · apply IsBigO.of_bound (2*dimensionMomentRateConstant r k+1)
37 filter_upwards [tensorFlatYoungPMF_mean_inverse_dimension_error_le r k hr] with N hN
38 have h := (mean_sub_one_abs_le (tensorFlatYoungPMF N r hr)
39 (inverseNormalizedDimension r k N)).trans hN
40 simpa only [Real.norm_eq_abs,abs_of_nonneg (by positivity : (0:ℝ)≤1/(N:ℝ)),mul_one_div] using h
41
42end Cloning.TensorLie