Exact Lean source
TensorCloningUniversalFrequencies
formalization/Cloning/TensorCloningUniversalFrequencies.lean
Source hash: c80c3d47ef1b36ca09b96783f8795c326d9e2da72017ca8ebf212b80ef67b0d4
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.TensorCloningUniversalSupport
2
3/-! Retained randomized output copies have the correct physical row
4frequencies along arbitrary compact-spectrum subsequences. -/
5noncomputable section
6open scoped BigOperators Classical Topology
7namespace Cloning.TensorCloning
8open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral Cloning.YoungCompatibility Filter
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1200000
11
12theorem rounded_scaled_tendsto {d : ℕ} (n m : ℕ → ℕ) (hn : Tendsto n atTop atTop)
13 (mu nu : ℕ → Fin d → ℕ) (p : Fin d → ℝ) (γ C : ℝ)
14 (hgain : Tendsto (fun k ↦ (m k : ℝ)/(n k : ℝ)) atTop (𝓝 γ))
15 (hmu : ∀ a, Tendsto (fun k ↦ (mu k a : ℝ)/(n k : ℝ)) atTop (𝓝 (p a)))
16 (herr : ∀ᶠ k in atTop, ∀ a,
17 |(nu k a : ℝ) - ((m k : ℝ)/(n k : ℝ))*(mu k a : ℝ)| ≤
18 C*((((m k : ℝ)/(n k : ℝ))+1)/2)) (a : Fin d) :
19 Tendsto (fun k ↦ (nu k a : ℝ)/(n k : ℝ)) atTop (𝓝 (γ*p a)) := by
20 have hb : Tendsto (fun k ↦ (C*((((m k : ℝ)/(n k : ℝ))+1)/2))/(n k : ℝ))
21 atTop (𝓝 0) := ((hgain.add_const 1).div_const 2).const_mul C |>.div_atTop
22 (tendsto_natCast_atTop_atTop.comp hn)
23 have he : Tendsto (fun k ↦ (nu k a : ℝ)/(n k : ℝ) -
24 ((m k : ℝ)/(n k : ℝ))*((mu k a : ℝ)/(n k : ℝ))) atTop (𝓝 0) := by
25 apply tendsto_zero_iff_norm_tendsto_zero.mpr
26 apply squeeze_zero' (Eventually.of_forall fun k ↦ norm_nonneg _) ?_ hb
27 filter_upwards [herr, hn.eventually (eventually_gt_atTop 0)] with k hk hn0
28 have hnr : (0 : ℝ) < n k := by exact_mod_cast hn0
29 rw [Real.norm_eq_abs, show (nu k a : ℝ)/(n k : ℝ) -
30 ((m k : ℝ)/(n k : ℝ))*((mu k a : ℝ)/(n k : ℝ)) =
31 ((nu k a : ℝ) - ((m k : ℝ)/(n k : ℝ))*(mu k a : ℝ))/(n k : ℝ) by ring,
32 abs_div, abs_of_pos hnr]
33 exact div_le_div_of_nonneg_right (hk a) hnr.le
34 have h := he.add (hgain.mul (hmu a))
35 simpa only [sub_add_cancel, zero_add] using h
36
37theorem universalKeep_scaled_limits {d : ℕ} (hd : 1 ≤ d)
38 (K : Set (Fin (d+1) → ℝ)) (hK : IsCompact K)
39 (hp : ∀ p ∈ K, ∀ a, 0 < p a) (hord : ∀ p ∈ K, StrictAnti p)
40 (m : ℕ → ℕ) (γ : ℝ) (hγ : 1 < γ)
41 (hgain : Tendsto (fun n ↦ (m n : ℝ)/n) atTop (𝓝 γ))
42 (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
43 (pN : ℕ → Fin (d+1) → ℝ) (hpK : ∀ k, pN k ∈ K)
44 (p : Fin (d+1) → ℝ) (hplim : ∀ a, Tendsto (fun k ↦ pN k a) atTop (𝓝 (p a)))
45 (i : (k : ℕ) → SchurCopy (n k) (d+1))
46 (j : (k : ℕ) → SchurCopy (m (n k)) (d+1))
47 (hkeep : ∀ k, universalKeep (n k) (m (n k)) d (pN k) (i k) (j k)) :
48 (∀ a, Tendsto (fun k ↦ (((recursivePhysicalDecomposition (n k) (d+1)).get (i k)).weight a : ℝ)/(n k : ℝ))
49 atTop (𝓝 (p a))) ∧
50 (∀ a, Tendsto (fun k ↦ (((recursivePhysicalDecomposition (m (n k)) (d+1)).get (j k)).weight a : ℝ)/(n k : ℝ))
51 atTop (𝓝 (γ*p a))) := by
52 let mu : ℕ → Fin (d+1) → ℕ := fun k ↦ ((recursivePhysicalDecomposition (n k) (d+1)).get (i k)).weight
53 let nu : ℕ → Fin (d+1) → ℕ := fun k ↦ ((recursivePhysicalDecomposition (m (n k)) (d+1)).get (j k)).weight
54 have hm : ∀ a, Tendsto (fun k ↦ (mu k a : ℝ)/(n k : ℝ)) atTop (𝓝 (p a)) :=
55 typicalLabel_ratio_tendsto n hn mu pN p hplim (Eventually.of_forall (fun k ↦ (hkeep k).1))
56 refine ⟨hm, ?_⟩
57 have hs := hn.eventually (eventually_universalKeep_support hd K hK hp hord m γ hγ hgain)
58 apply rounded_scaled_tendsto n (fun k ↦ m (n k)) hn mu nu p γ (d : ℝ) (hgain.comp hn) hm
59 filter_upwards [hs] with k hk a
60 have hh := (hk (pN k) (hpK k) (i k) (j k) (hkeep k)).2 a
61 simpa only [integerCopyLabel, Int.cast_natCast, mu, nu] using hh
62
63end Cloning.TensorCloning