Exact Lean source
PBWSymmetricFrameRateGram
formalization/Cloning/PBWSymmetricFrameRateGram.lean
Source hash: 9f13c5f29ebdfee197f1a79c13ac9b8f0fb03e277c085e09984fa6e09efeb7d1
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.
In the dependency map: Cartan sectors
Paper ↔ Lean correspondence in this module
Declarations in this module
1import Cloning.PBWSymmetricFrameRateBlocks
2
3/-! Explicit `N⁻¹/²` Gram-entry estimates and invertibility for every retained
4exact physical weight block, uniformly over the root-gap lower bound. -/
5noncomputable section
6open scoped ComplexOrder InnerProductSpace Topology BigOperators
7open Filter
8namespace Cloning.TensorLie
9open PBWSymmetricFrame
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1000000
12variable {d : ℕ}
13local instance (R : ℕ) (η : Fin d→ℤ) : DecidableEq (WeightOccupation d R η) := Classical.decEq _
14
15theorem eventually_weightGram_rate (R : ℕ) (c : ℝ) (hc : 0<c) :
16 ∃ C : ℝ,0≤C ∧ ∀ᶠ (N : ℕ) in atTop,
17 ∀ (mu : Fin d→ℕ) (hmu : Antitone mu),
18 (∀ a : PositiveRoot d,c*(N:ℝ)≤rootGap mu a) →
19 ∀ (η : Fin d→ℤ),
20 IsUnit (Matrix.gram ℂ (weightRawFrame mu hmu R η)) ∧
21 ∀ i j : WeightOccupation d R η,
22 ‖⟪weightRawFrame mu hmu R η i,weightRawFrame mu hmu R η j⟫_ℂ-
23 (if i=j then 1 else 0 : ℂ)‖≤C/Real.sqrt (N:ℝ) := by
24 classical
25 let words : HeightOccupation d R→List (PositiveRoot d) := fun k=>canonicalWord k.val
26 have hwords : ∀i j,(words i).Perm (words j)↔i=j := by
27 intro i j
28 simp only [words,canonicalWord_perm_iff,Subtype.val_inj]
29 have hlen : ∀i,(words i).length≤R := fun i=>
30 (length_le_loweringHeight _).trans (by rw [canonicalWord_height]; exact i.property)
31 let C := wordGramConstant R words*rootErrorRateConstant (R*d)/Real.sqrt c
32 let D : ℝ := Fintype.card (HeightOccupation d R)
33 have hC : 0≤C := div_nonneg
34 (mul_nonneg (wordGramConstant_nonneg _ _) (rootErrorRateConstant_nonneg _))
35 (Real.sqrt_nonneg c)
36 have hN : Tendsto (fun N : ℕ=>c*(N:ℝ)) atTop atTop :=
37 tendsto_natCast_atTop_atTop.const_mul_atTop hc
38 have hz : Tendsto (fun N : ℕ=>D^2*C/Real.sqrt (N:ℝ)) atTop (𝓝 0) :=
39 tendsto_const_nhds.div_atTop (Real.tendsto_sqrt_atTop.comp tendsto_natCast_atTop_atTop)
40 refine ⟨C,hC,?_⟩
41 filter_upwards [hN.eventually (eventually_ge_atTop (max 1 (2*((((R*d:ℕ):ℝ))+1)))),
42 hz.eventually (eventually_lt_nhds zero_lt_one)] with N hlarge hsmall
43 intro mu hmu hgap η
44 let v := weightRawFrame mu hmu R η
45 have herr : ∀i j,‖⟪v i,v j⟫_ℂ-(if i=j then 1 else 0 : ℂ)‖≤C/Real.sqrt (N:ℝ) := by
46 intro i j
47 have h := physical_words_gram_error_le R words hwords hlen mu hmu
48 ((le_max_right _ _).trans hlarge) hgap i.val j.val
49 have he : (i.val=j.val)↔i=j := Subtype.val_inj
50 rw [he] at h
51 apply h.trans
52 apply (mul_le_mul_of_nonneg_left
53 (rootError_le_div_sqrt (R*d) ((le_max_left _ _).trans hlarge))
54 (wordGramConstant_nonneg _ _)).trans_eq
55 rw [Real.sqrt_mul hc.le]
56 dsimp only [C]
57 ring
58 have hcard : (Fintype.card (WeightOccupation d R η):ℝ)≤D := by
59 dsimp only [D]
60 exact_mod_cast Fintype.card_le_of_injective
61 (fun k : WeightOccupation d R η=>k.val) Subtype.val_injective
62 have hbound : (Fintype.card (WeightOccupation d R η):ℝ)^2*(C/Real.sqrt (N:ℝ))≤
63 D^2*C/Real.sqrt (N:ℝ) := by
64 rw [mul_div_assoc]
65 apply mul_le_mul_of_nonneg_right _ (div_nonneg hC (Real.sqrt_nonneg _))
66 exact pow_le_pow_left₀ (Nat.cast_nonneg _) hcard 2
67 have hV := gram_isUnit_of_error (EuclideanSpace.basisFun (WeightOccupation d R η) ℂ)
68 v _ herr (hbound.trans_lt hsmall)
69 have h := hV.map (Matrix.toEuclideanCLM (n := WeightOccupation d R η) (𝕜 := ℂ)).symm
70 rw [←toEuclideanCLM_gram v] at h
71 refine ⟨?_,herr⟩
72 simpa only [StarAlgEquiv.symm_apply_apply] using h
73
74end Cloning.TensorLie