Offline · exact source
Exact Lean source

TensorLANEmbeddingTypical

formalization/Cloning/TensorLANEmbeddingTypical.lean

Source hash: 7895bf84ccfef7282c39ff15946fb27b7fe6434cd1e2730d247821692f8813bc

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.TensorSchurDecompositionConcentration
2import Cloning.TensorLANEmbeddingTotal
3 
4/-! Typical physical labels have the diverging root gaps required by the
5literal sector/Fock frames, including arbitrary moving sample subsequences. -/
6noncomputable section
7open scoped BigOperators Topology Classical
8open Filter
9namespace Cloning.TensorLAN
10open Cloning.TensorLie Cloning.YoungGeneral
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1000000
13 
14private theorem finite_positive_lower_bound {ι : Type*} [Fintype ι]
15    (f : ι → ℝ) (hf : ∀ i, 0 < f i) : ∃ c > 0, ∀ i, c ≤ f i := by
16  have hs (s : Finset ι) : ∃ c > 0, ∀ i ∈ s, c ≤ f i := by
17    induction s using Finset.induction_on with
18    | empty => exact ⟨1, by norm_num, by simp⟩
19    | @insert a s ha ih =>
20      obtain ⟨c, hc, hs⟩ := ih
21      refine ⟨min c (f a), lt_min hc (hf a), ?_⟩
22      intro i hi
23      rcases Finset.mem_insert.mp hi with rfl | hi
24      · exact min_le_right _ _
25      · exact (min_le_left _ _).trans (hs i hi)
26  obtain ⟨c, hc, hs⟩ := hs Finset.univ
27  exact ⟨c, hc, fun i => hs i (Finset.mem_univ _)⟩
28 
29def TypicalLabel {d : ℕ} (N : ℕ) (p : Fin d → ℝ) (mu : Fin d → ℕ) : Prop :=
30  ∀ a, |(mu a : ℝ) - (N : ℝ) * p a| < (N : ℝ) * shrinkingRadius N
31 
32/-- No shape limit is assumed: it follows from the actual shrinking-window
33condition and convergence of the moving input spectrum. -/
34theorem typicalLabel_ratio_tendsto {d : ℕ} (n : ℕ → ℕ)
35    (hn : Tendsto n atTop atTop) (mu : ℕ → Fin d → ℕ)
36    (pN : ℕ → Fin d → ℝ) (p : Fin d → ℝ)
37    (hp : ∀ a, Tendsto (fun k => pN k a) atTop (𝓝 (p a)))
38    (htyp : ∀ᶠ k in atTop, TypicalLabel (n k) (pN k) (mu k)) (a : Fin d) :
39    Tendsto (fun k => (mu k a : ℝ) / (n k : ℝ)) atTop (𝓝 (p a)) := by
40  have herr : Tendsto (fun k => (mu k a : ℝ) / (n k : ℝ) - pN k a) atTop (𝓝 0) := by
41    apply tendsto_zero_iff_norm_tendsto_zero.mpr
42    apply squeeze_zero' (Eventually.of_forall fun k => norm_nonneg _) ?_
43      (shrinkingRadius_tendsto_zero.comp hn)
44    filter_upwards [htyp, hn.eventually (eventually_gt_atTop 0)] with k hk hnk
45    have hnreal : (0 : ℝ) < n k := by exact_mod_cast hnk
46    have he : (mu k a : ℝ) / (n k : ℝ) - pN k a =
47        ((mu k a : ℝ) - (n k : ℝ) * pN k a) / (n k : ℝ) := by
48      field_simp
49    rw [Real.norm_eq_abs, he, abs_div, abs_of_pos hnreal]
50    exact (div_lt_iff₀ hnreal).mpr (by simpa [mul_comm] using hk a) |>.le
51  simpa only [sub_add_cancel, zero_add] using herr.add (hp a)
52 
53/-- One positive constant works for every root. It depends only on the
54strict limiting spectrum, not on the sequence of typical labels. -/
55theorem typicalLabel_uniform_root_gap {d : ℕ} (p : Fin d → ℝ) (hord : StrictAnti p) :
56    ∃ c > 0, ∀ (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
57      (mu : ℕ → Fin d → ℕ) (pN : ℕ → Fin d → ℝ),
58      (∀ a, Tendsto (fun k => pN k a) atTop (𝓝 (p a))) →
59      (∀ᶠ k in atTop, TypicalLabel (n k) (pN k) (mu k)) →
60      ∀ᶠ k in atTop, ∀ a : PositiveRoot d,
61        c * (n k : ℝ) ≤ (mu k a.1.1 : ℝ) - (mu k a.1.2 : ℝ) := by
62  obtain ⟨c, hc, hcg⟩ := finite_positive_lower_bound
63    (fun a : PositiveRoot d => p a.1.1 - p a.1.2)
64    (fun a => sub_pos.mpr (hord a.2))
65  refine ⟨c / 2, by positivity, ?_⟩
66  intro n hn mu pN hp htyp
67  have hgap : ∀ᶠ k in atTop, ∀ a : PositiveRoot d,
68      c / 2 ≤ (mu k a.1.1 : ℝ) / n k - (mu k a.1.2 : ℝ) / n k := by
69    apply eventually_all.mpr
70    intro a
71    have ht := (typicalLabel_ratio_tendsto n hn mu pN p hp htyp a.1.1).sub
72      (typicalLabel_ratio_tendsto n hn mu pN p hp htyp a.1.2)
73    exact (ht.eventually (eventually_gt_nhds (by linarith [hcg a]))).mono fun k hk => hk.le
74  filter_upwards [hgap, hn.eventually (eventually_gt_atTop 0)] with k hk hnk a
75  have hnreal : (0 : ℝ) < n k := by exact_mod_cast hnk
76  have h := hk a
77  rw [← sub_div] at h
78  exact (le_div_iff₀ hnreal).mp h
79 
80end Cloning.TensorLAN