Exact Lean source
PBWSymmetricFrameRateBlocks
formalization/Cloning/PBWSymmetricFrameRateBlocks.lean
Source hash: 7bc3a79ee928effb25f175f94d396e9ec0acfa3d6641774cfc1f43381b0958dd
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
theorem
Cloning.TensorLie.length_le_loweringHeightdefinition Cloning.TensorLie.weightRawFramedefinition Cloning.TensorLie.weightSymmetricFrametheorem Cloning.TensorLie.weightRawFrame_spantheorem Cloning.TensorLie.weightSymmetricFrame_cartantheorem Cloning.TensorLie.eventually_weightSymmetricBasis_rate1import Cloning.PBWSymmetricFrameRatePhysical
2import Cloning.PBWSymmetricFrameRateWeightSpace
3
4/-! Symmetric ONBs of the actual exact Cartan-weight blocks, with one
5`N⁻¹/²` constant and one threshold for every block of retained height. -/
6noncomputable section
7open scoped ComplexOrder InnerProductSpace Topology BigOperators
8open Filter
9namespace Cloning.TensorLie
10open PBWSymmetricFrame Cloning.PCT
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1200000
13variable {d : ℕ}
14
15theorem length_le_loweringHeight (w : List (PositiveRoot d)) : w.length≤loweringHeight w := by
16 induction w with
17 | nil => rfl
18 | cons a w ih => have := a.height_pos; simp only [List.length_cons,loweringHeight]; omega
19
20def weightRawFrame (mu : Fin d→ℕ) (hmu : Antitone mu) (R : ℕ) (η : Fin d→ℤ)
21 (k : WeightOccupation d R η) : TensorRegister (∑a,mu a) (Fin d) :=
22 normalizedLoweringWord (partitionHighestTensor mu hmu) mu (canonicalWord k.val.val)
23
24def weightSymmetricFrame (mu : Fin d→ℕ) (hmu : Antitone mu) (R : ℕ) (η : Fin d→ℤ) :
25 WeightOccupation d R η→TensorRegister (∑a,mu a) (Fin d) :=
26 by classical exact symmetricFrame (weightRawFrame mu hmu R η)
27
28theorem weightRawFrame_span (mu : Fin d→ℕ) (hmu : Antitone mu)
29 (hgap : ∀a : PositiveRoot d,0<rootGap mu a)
30 (R : ℕ) (η : Fin d→ℤ) (hη : ∑a,(a.val:ℤ)*η a≤(R:ℤ)) :
31 Submodule.span ℂ (Set.range (weightRawFrame mu hmu R η))=
32 cyclicSector (partitionHighestTensor mu hmu) ⊓ cartanWeightSpace (∑a,mu a) mu η := by
33 rw [cyclicWeight_eq_cutoffWeight _ mu (partitionHighestTensor_cartan mu hmu) R η hη,
34 canonicalWeight_span _ mu (partitionHighestTensor_cartan mu hmu) R η]
35 exact span_normalizedLoweringWord_eq _ mu hgap _
36
37theorem weightSymmetricFrame_cartan (mu : Fin d→ℕ) (hmu : Antitone mu)
38 (R : ℕ) (η : Fin d→ℤ) (k : WeightOccupation d R η) (a : Fin d) :
39 collectiveGenerator (∑a,mu a) a a (weightSymmetricFrame mu hmu R η k)=
40 ((mu a:ℂ)+(η a:ℂ)) • weightSymmetricFrame mu hmu R η k := by
41 classical
42 unfold weightSymmetricFrame symmetricFrame
43 simp only [map_sum,map_smul,Finset.smul_sum]
44 apply Finset.sum_congr rfl
45 intro j _
46 rw [weightRawFrame,cartan_normalizedLoweringWord _ mu
47 (partitionHighestTensor_cartan mu hmu),j.property,smul_comm]
48
49/-- Uniform exact-weight version of the appendix PBW lemma. The finite
50dimensional Hilbert space, Gram inverse, ONB, completeness, and quantitative
51error all refer to the literal physical sector. -/
52theorem eventually_weightSymmetricBasis_rate (R : ℕ) (c : ℝ) (hc : 0<c) :
53 ∃ C : ℝ,0≤C ∧ ∀ᶠ (N : ℕ) in atTop,
54 ∀ (mu : Fin d→ℕ) (hmu : Antitone mu),
55 (∀ a : PositiveRoot d,c*(N:ℝ)≤rootGap mu a) →
56 ∀ (η : Fin d→ℤ), (∑a,(a.val:ℤ)*η a≤(R:ℤ)) →
57 ∃ b : OrthonormalBasis (WeightOccupation d R η) ℂ
58 ↥(cyclicSector (partitionHighestTensor mu hmu) ⊓ cartanWeightSpace (∑a,mu a) mu η),
59 (∀i,(b i : TensorRegister (∑a,mu a) (Fin d))=weightSymmetricFrame mu hmu R η i) ∧
60 ∀i,‖weightSymmetricFrame mu hmu R η i-weightRawFrame mu hmu R η i‖≤
61 C/Real.sqrt (N:ℝ) := by
62 classical
63 let words : HeightOccupation d R→List (PositiveRoot d) := fun k=>canonicalWord k.val
64 have hwords : ∀i j,(words i).Perm (words j)↔i=j := by
65 intro i j
66 simp only [words,canonicalWord_perm_iff,Subtype.val_inj]
67 have hlen : ∀i,(words i).length≤R := fun i=>
68 (length_le_loweringHeight _).trans (by rw [canonicalWord_height]; exact i.property)
69 let A := wordGramConstant R words*rootErrorRateConstant (R*d)/Real.sqrt c
70 let D : ℝ := Fintype.card (HeightOccupation d R)
71 let C := D^2*A
72 have hA : 0≤A := div_nonneg
73 (mul_nonneg (wordGramConstant_nonneg _ _) (rootErrorRateConstant_nonneg _))
74 (Real.sqrt_nonneg c)
75 have hC : 0≤C := mul_nonneg (sq_nonneg _) hA
76 have hN : Tendsto (fun N : ℕ=>c*(N:ℝ)) atTop atTop :=
77 tendsto_natCast_atTop_atTop.const_mul_atTop hc
78 have hz : Tendsto (fun N : ℕ=>C/Real.sqrt (N:ℝ)) atTop (𝓝 0) :=
79 tendsto_const_nhds.div_atTop (Real.tendsto_sqrt_atTop.comp tendsto_natCast_atTop_atTop)
80 refine ⟨C,hC,?_⟩
81 filter_upwards [hN.eventually (eventually_ge_atTop (max 1 (2*((((R*d:ℕ):ℝ))+1)))),
82 hz.eventually (eventually_lt_nhds zero_lt_one)] with N hlarge hsmall
83 intro mu hmu hgap η hη
84 have hpos : ∀a : PositiveRoot d,0<rootGap mu a := fun a=>
85 (by have := (le_max_left _ _).trans hlarge; linarith : 0<c*(N:ℝ)).trans_le (hgap a)
86 let v := weightRawFrame mu hmu R η
87 have herr : ∀i j,‖⟪v i,v j⟫_ℂ-(if i=j then 1 else 0 : ℂ)‖≤A/Real.sqrt (N:ℝ) := by
88 intro i j
89 have h := physical_words_gram_error_le R words hwords hlen mu hmu
90 ((le_max_right _ _).trans hlarge) hgap i.val j.val
91 have he : (i.val=j.val)↔i=j := Subtype.val_inj
92 rw [he] at h
93 apply h.trans
94 apply (mul_le_mul_of_nonneg_left
95 (rootError_le_div_sqrt (R*d) ((le_max_left _ _).trans hlarge))
96 (wordGramConstant_nonneg _ _)).trans_eq
97 rw [Real.sqrt_mul hc.le]
98 dsimp only [A]
99 ring
100 have hcard : (Fintype.card (WeightOccupation d R η):ℝ)≤D := by
101 dsimp only [D]
102 exact_mod_cast Fintype.card_le_of_injective
103 (fun k : WeightOccupation d R η=>k.val) Subtype.val_injective
104 have hbound : (Fintype.card (WeightOccupation d R η):ℝ)^2*(A/Real.sqrt (N:ℝ))≤
105 C/Real.sqrt (N:ℝ) := by
106 dsimp only [C]
107 rw [mul_div_assoc]
108 apply mul_le_mul_of_nonneg_right _ (div_nonneg hA (Real.sqrt_nonneg _))
109 exact pow_le_pow_left₀ (Nat.cast_nonneg _) hcard 2
110 obtain ⟨hon,hspan,he⟩ := symmetricFrame_properties v _ herr (hbound.trans_lt hsmall)
111 have hs : Submodule.span ℂ (Set.range (symmetricFrame v))=
112 cyclicSector (partitionHighestTensor mu hmu) ⊓ cartanWeightSpace (∑a,mu a) mu η :=
113 hspan.trans (weightRawFrame_span mu hmu hpos R η hη)
114 let S := cyclicSector (partitionHighestTensor mu hmu) ⊓ cartanWeightSpace (∑a,mu a) mu η
115 have hm (i : WeightOccupation d R η) : symmetricFrame v i∈S :=
116 hs.le (Submodule.subset_span (Set.mem_range_self i))
117 let f : WeightOccupation d R η→S := fun i=>⟨symmetricFrame v i,hm i⟩
118 have hf : Orthonormal ℂ f := by
119 rw [orthonormal_iff_ite]
120 exact orthonormal_iff_ite.mp hon
121 have hfs : Submodule.span ℂ (Set.range f)=⊤ :=
122 (Submodule.span_range_subtype_eq_top_iff S hm).mpr hs
123 let b : OrthonormalBasis (WeightOccupation d R η) ℂ S := OrthonormalBasis.mk hf hfs.ge
124 refine ⟨b,fun i=>?_,fun i=>?_⟩
125 · have hb : b i = f i := congrFun (OrthonormalBasis.coe_mk hf hfs.ge) i
126 exact congrArg (fun x : S => (x : TensorRegister (∑a,mu a) (Fin d))) hb
127 · exact (he i).trans hbound
128
129end Cloning.TensorLie