Exact Lean source
YoungUniformLocalLabels
formalization/Cloning/YoungUniformLocalLabels.lean
Source hash: b68724663d3956121f579636c668093f564a22b6d75f5425764df7ff8d0ef5cc
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.sampleLabeltheorem Cloning.YoungHyperplane.mem_sampleCell_sampleLabeltheorem Cloning.YoungHyperplane.sampleLabel_center_tendstotheorem Cloning.YoungHyperplane.lattice_ratio_eq_centertheorem Cloning.YoungHyperplane.sampleLabel_ratio_tendstotheorem Cloning.YoungHyperplane.eventually_sampleLabel_partition1import Cloning.YoungUniformLocalCells
2import Cloning.YoungUniformLocalPhysicalLattice
3
4/-! Actual rounded lattice labels and their moving-parameter central limits. -/
5noncomputable section
6open scoped BigOperators Topology Classical
7open Filter
8namespace Cloning.YoungHyperplane
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 800000
11
12/-- The unique concrete cell label of a root-space point. -/
13def sampleLabel (d N : ℕ) (p : Fin (d + 1) → ℝ) (x : rootSpace d) : Lattice d (N : ℤ) :=
14 latticeCoordinates d N (YoungRounding.round
15 (fun i ↦ Real.sqrt (N : ℝ) * x.1 i.castSucc + (N : ℝ) * p i.castSucc))
16
17theorem mem_sampleCell_sampleLabel (d N : ℕ) (p : Fin (d + 1) → ℝ) (x : rootSpace d) :
18 x ∈ sampleCell d N p (sampleLabel d N p x) := by
19 unfold sampleCell sampleLabel
20 simp only [Set.mem_setOf_eq, Equiv.symm_apply_apply]
21 exact (YoungRounding.round_eq_iff _ _).mp rfl
22
23/-- Cell centers converge to the sampled point, uniformly enough to allow an
24arbitrary moving spectrum and arbitrary divergent sample sizes. -/
25theorem sampleLabel_center_tendsto (d : ℕ) (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
26 (p : ℕ → Fin (d + 1) → ℝ) (hp : ∀ k, ∑ i, p k i = 1) (x : rootSpace d)
27 (i : Fin (d + 1)) :
28 Tendsto (fun k ↦ (sampleCenter d (n k) (p k) (sampleLabel d (n k) (p k) x)).1 i)
29 atTop (𝓝 (x.1 i)) := by
30 apply tendsto_sub_nhds_zero_iff.mp
31 apply tendsto_zero_iff_norm_tendsto_zero.mpr
32 apply squeeze_zero' (Eventually.of_forall fun _ ↦ norm_nonneg _) ?_
33 ((sample_mesh_tendsto_zero d).comp hn)
34 filter_upwards [hn.eventually (eventually_gt_atTop 0)] with k hk
35 simpa only [Real.norm_eq_abs, Int.cast_natCast] using
36 sampleCenter_coordinate_distance d (n k) (by exact_mod_cast hk) (p k) (hp k)
37 (sampleLabel d (n k) (p k) x) x (mem_sampleCell_sampleLabel d (n k) (p k) x) i
38
39theorem lattice_ratio_eq_center (d N : ℕ) (hN : 0 < N)
40 (p : Fin (d + 1) → ℝ) (hp : ∑ i, p i = 1) (μ : Lattice d (N : ℤ))
41 (i : Fin (d + 1)) :
42 (μ.1 i : ℝ) / N = p i + (sampleCenter d N p μ).1 i / Real.sqrt (N : ℝ) := by
43 have hn : (0 : ℝ) < N := by exact_mod_cast hN
44 rw [sampleCenter_apply d N p hp μ]
45 simp only [Int.cast_natCast]
46 rw [div_div, ← pow_two, Real.sq_sqrt hn.le]
47 field_simp
48 ring
49
50/-- Actual rounded counts divided by sample size track every moving spectrum
51with a positive limiting normalization. -/
52theorem sampleLabel_ratio_tendsto (d : ℕ) (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
53 (p : ℕ → Fin (d + 1) → ℝ) (hp : ∀ k, ∑ i, p k i = 1)
54 (p₀ : Fin (d + 1) → ℝ) (hlim : ∀ i, Tendsto (fun k ↦ p k i) atTop (𝓝 (p₀ i)))
55 (x : rootSpace d) (i : Fin (d + 1)) :
56 Tendsto (fun k ↦ ((sampleLabel d (n k) (p k) x).1 i : ℝ) / (n k : ℝ))
57 atTop (𝓝 (p₀ i)) := by
58 have hc := (sampleLabel_center_tendsto d n hn p hp x i).mul
59 (YoungMultinomial.inv_sqrt_nat_tendsto_zero.comp hn)
60 simp only [mul_zero] at hc
61 have ht := (hlim i).add hc
62 simp only [add_zero] at ht
63 apply ht.congr'
64 filter_upwards [hn.eventually (eventually_gt_atTop 0)] with k hk
65 rw [lattice_ratio_eq_center d (n k) hk (p k) (hp k)]
66 rfl
67
68/-- Strict limiting positivity and ordering become genuine integer partition
69constraints on all sufficiently fine sampled cells. -/
70theorem eventually_sampleLabel_partition (d : ℕ) (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
71 (p : ℕ → Fin (d + 1) → ℝ) (hp : ∀ k, ∑ i, p k i = 1)
72 (p₀ : Fin (d + 1) → ℝ) (hp₀ : ∀ i, 0 < p₀ i) (hord : StrictAnti p₀)
73 (hlim : ∀ i, Tendsto (fun k ↦ p k i) atTop (𝓝 (p₀ i))) (x : rootSpace d) :
74 ∀ᶠ k in atTop,
75 (∀ i, 0 ≤ (sampleLabel d (n k) (p k) x).1 i) ∧
76 Antitone (sampleLabel d (n k) (p k) x).1 := by
77 have hpos : ∀ᶠ k in atTop, ∀ i,
78 0 < ((sampleLabel d (n k) (p k) x).1 i : ℝ) / (n k : ℝ) :=
79 eventually_all.mpr fun i ↦ (sampleLabel_ratio_tendsto d n hn p hp p₀ hlim x i).eventually
80 (eventually_gt_nhds (hp₀ i))
81 have hanti : ∀ᶠ k in atTop, ∀ i j, i < j →
82 ((sampleLabel d (n k) (p k) x).1 j : ℝ) / (n k : ℝ) <
83 ((sampleLabel d (n k) (p k) x).1 i : ℝ) / (n k : ℝ) := by
84 apply eventually_all.mpr
85 intro i
86 apply eventually_all.mpr
87 intro j
88 by_cases hij : i < j
89 · have hd := (sampleLabel_ratio_tendsto d n hn p hp p₀ hlim x i).sub
90 (sampleLabel_ratio_tendsto d n hn p hp p₀ hlim x j)
91 filter_upwards [hd.eventually (eventually_gt_nhds (sub_pos.mpr (hord hij)))] with k hk
92 intro _
93 exact sub_pos.mp hk
94 · exact Eventually.of_forall fun _ h ↦ (hij h).elim
95 filter_upwards [hpos, hanti, hn.eventually (eventually_gt_atTop 0)] with k hkpos hkant hk
96 have hnk : (0 : ℝ) < n k := by exact_mod_cast hk
97 constructor
98 · intro i
99 exact_mod_cast (le_of_lt ((div_pos_iff_of_pos_right hnk).mp (hkpos i)))
100 · intro i j hij
101 rcases eq_or_lt_of_le hij with rfl | hlt
102 · rfl
103 · have h := (div_lt_div_iff_of_pos_right hnk).mp (hkant i j hlt)
104 exact_mod_cast h.le
105
106end Cloning.YoungHyperplane