Exact Lean source
TensorCloningUniversalSupport
formalization/Cloning/TensorCloningUniversalSupport.lean
Source hash: 50c8d8c63c5413937f55cd4cc3c09dfb80e90d2326693235df50812b8e2b21cb
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.TensorCloningUniversalProbability
2import Cloning.TensorCloningAchievabilityCompatibility
3
4/-! Actual retained universal transitions have the deterministic rounding
5error and admissible Cartan difference, uniformly on compact spectra. -/
6noncomputable section
7open scoped BigOperators Classical Topology
8namespace Cloning.TensorCloning
9open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral Cloning.YoungCompatibility Filter
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12
13theorem partitionCompatible_of_integer (n m d : ℕ)
14 (i : SchurCopy n (d+1)) (j : SchurCopy m (d+1))
15 (h : Compatible n m (integerCopyLabel n d i) (integerCopyLabel m d j)) :
16 PartitionCompatible ((recursivePhysicalDecomposition n (d+1)).get i).weight
17 ((recursivePhysicalDecomposition m (d+1)).get j).weight := by
18 have hle (a : Fin (d+1)) : ((recursivePhysicalDecomposition n (d+1)).get i).weight a ≤
19 ((recursivePhysicalDecomposition m (d+1)).get j).weight a := by
20 have ha := sub_nonneg.mp (h.1 a)
21 unfold integerCopyLabel at ha
22 exact_mod_cast ha
23 refine ⟨hle, ?_⟩
24 intro a b hab
25 have hh := h.2.1 hab
26 unfold integerCopyLabel at hh
27 have hh' : (((((recursivePhysicalDecomposition m (d+1)).get j).weight b -
28 ((recursivePhysicalDecomposition n (d+1)).get i).weight b : ℕ)) : ℤ) ≤
29 (((((recursivePhysicalDecomposition m (d+1)).get j).weight a -
30 ((recursivePhysicalDecomposition n (d+1)).get i).weight a : ℕ)) : ℤ) := by
31 simpa only [Nat.cast_sub (hle _)] using hh
32 exact_mod_cast hh'
33
34theorem eventually_universalKeep_support {d : ℕ} (hd : 1 ≤ d)
35 (K : Set (Fin (d+1) → ℝ)) (hK : IsCompact K)
36 (hp : ∀ p ∈ K, ∀ a, 0 < p a) (hord : ∀ p ∈ K, StrictAnti p)
37 (m : ℕ → ℕ) (γ : ℝ) (hγ : 1 < γ)
38 (hgain : Tendsto (fun n ↦ (m n : ℝ)/n) atTop (𝓝 γ)) :
39 ∀ᶠ n in atTop, ∀ p ∈ K, ∀ (i : SchurCopy n (d+1)) (j : SchurCopy (m n) (d+1)),
40 universalKeep n (m n) d p i j →
41 PartitionCompatible ((recursivePhysicalDecomposition n (d+1)).get i).weight
42 ((recursivePhysicalDecomposition (m n) (d+1)).get j).weight ∧
43 ∀ a, |(integerCopyLabel (m n) d j a : ℝ) -
44 ((m n : ℝ)/n) * (integerCopyLabel n d i a : ℝ)| ≤
45 (d : ℝ)*((((m n : ℝ)/n)+1)/2) := by
46 let mz : ℕ → ℤ := fun n ↦ if n = 0 then 0 else m n
47 have hmz n : (mz n : ℝ) = ((m n : ℝ)/n)*(n : ℝ) := by
48 by_cases hn : n = 0
49 · simp [mz, hn]
50 · simp [mz, hn, div_mul_cancel₀ _ (by exact_mod_cast hn : (n : ℝ) ≠ 0)]
51 obtain ⟨a, ha, hpos, hgap⟩ := compact_spectra_positive_gap K hK hp hord
52 have he := eventually_rounding_support_compatible hd mz (fun n ↦ (m n : ℝ)/n)
53 shrinkingRadius γ a ha hγ hgain shrinkingRadius_tendsto_zero hmz
54 filter_upwards [he, eventually_ge_atTop 1] with n hn hn0
55 intro p hpK i j hij
56 have hm : mz n = (m n : ℤ) := by simp [mz, show n ≠ 0 by omega]
57 have hrow (z : Fin d → ℤ)
58 (hz : YoungRounding.roundingPMF ((m n : ℝ)/n)
59 (fun a ↦ (integerCopyLabel n d i a.castSucc : ℝ)) z ≠ 0) :
60 Compatible n (m n) (integerCopyLabel n d i) (complete (m n) z) := by
61 have hh := hn p (hpos p hpK) (hgap p hpK) (integerCopyLabel n d i)
62 (integerCopyLabel_isYoung n d i).2.2
63 (fun a ↦ (show |(((recursivePhysicalDecomposition n (d+1)).get i).weight a : ℝ)-n*p a| <
64 n*shrinkingRadius n from hij.1 a).le) z hz
65 simpa only [hm] using hh
66 have hsupport := universalKeep_label_support n (m n) d p i j hij
67 rw [fallbackKernel_eq_raw_of_support _ _ _ _ hrow] at hsupport
68 obtain ⟨z, hz, hj⟩ := (PMF.mem_support_map_iff _ _ _).mp hsupport
69 have hc := hrow z hz
70 rw [hj] at hc
71 refine ⟨partitionCompatible_of_integer n (m n) d i j hc, ?_⟩
72 intro b
73 have hb := complete_rounding_support_error hd n (m n) (integerCopyLabel n d i)
74 ((m n : ℝ)/n) (by positivity) (integerCopyLabel_isYoung n d i).2.2
75 (by simpa only [hm] using hmz n) z hz b
76 rw [hj] at hb
77 simpa only [integerCopyLabel, Int.cast_natCast] using hb
78
79end Cloning.TensorCloning