Offline · exact source
Exact Lean source

TensorCyclicPBW

formalization/Cloning/TensorCyclicPBW.lean

Source hash: d38a4f3ee3584070586330f601e399c78e8906f1c2f5c753310efb5261758982

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.TensorCyclicPartition
2import Cloning.TensorCyclicError
3import Cloning.TensorCCRBounds
4 
5/-! Physical cyclic cutoff invariants for the normalized root operators. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Topology
8open Filter
9namespace Cloning.TensorLie
10set_option maxHeartbeats 1000000
11set_option backward.isDefEq.respectTransparency false
12variable {n d : ℕ}
13 
14theorem normalizedAnnihilator_zero_cyclicCutoff
15    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
16    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
17    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
18    (a b : Fin d) (hab : a < b) {x : TensorRegister n (Fin d)}
19    (hx : x ∈ cyclicCutoff Ω 0) : normalizedAnnihilator n mu a b x = 0 := by
20  simp only [normalizedAnnihilator, ContinuousLinearMap.smul_apply,
21    raising_zero_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab hx, smul_zero]
22 
23theorem normalizedAnnihilator_lowers_cyclicCutoff
24    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
25    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
26    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
27    (a b : Fin d) (hab : a < b) (r : ℕ) {x : TensorRegister n (Fin d)}
28    (hx : x ∈ cyclicCutoff Ω (r + 1)) :
29    normalizedAnnihilator n mu a b x ∈ cyclicCutoff Ω r := by
30  change (Real.sqrt ((mu a : ℝ) - mu b))⁻¹ • collectiveGenerator n a b x ∈ _
31  rw [RCLike.real_smul_eq_coe_smul (K := ℂ)]
32  exact (cyclicCutoff Ω r).smul_mem _
33    (raising_lowers_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab r hx)
34 
35theorem normalizedCreator_raises_cyclicCutoff
36    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
37    (a : PositiveRoot d) (r : ℕ) {x : TensorRegister n (Fin d)}
38    (hx : x ∈ cyclicCutoff Ω r) :
39    normalizedCreator n mu a.val.1 a.val.2 x ∈ cyclicCutoff Ω ((r + d : ℕ) : ℤ) := by
40  change (Real.sqrt ((mu a.val.1 : ℝ) - mu a.val.2))⁻¹ •
41    collectiveGenerator n a.val.2 a.val.1 x ∈ _
42  rw [RCLike.real_smul_eq_coe_smul (K := ℂ)]
43  exact (cyclicCutoff Ω _).smul_mem _ (lowering_raises_cyclicCutoff Ω a r hx)
44 
45theorem partitionHighestTensor_inner_self (mu : Fin d → ℕ) (hmu : Antitone mu) :
46    ⟪partitionHighestTensor mu hmu, partitionHighestTensor mu hmu⟫_ℂ = 1 := by
47  rw [inner_self_eq_norm_sq_to_K, partitionHighestTensor_norm mu hmu]
48  norm_num
49 
50 
51/-- The normalized Gram estimate for literal physical roots on any actual highest
52tensor. Every filtration and CCR hypothesis of the abstract PBW theorem is
53proved above from the tensor generators and highest-weight identities. -/
54theorem physical_normalized_gram_error_le
55    {ι : Type*} [Fintype ι] [DecidableEq ι]
56    (root : ι → PositiveRoot d) (hinj : Function.Injective root)
57    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
58    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
59    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
60    (hnorm : ‖Ω‖ = 1) (L : ℕ) {δ : ℝ}
61    (hδ : 2 * (((L * d : ℕ) : ℝ) + 1) ≤ δ)
62    (hgap : ∀ i, δ ≤ (mu (root i).val.1 : ℝ) - mu (root i).val.2)
63    (u v : List ι) (hu : u.length ≤ L) (hv : v.length ≤ L) :
64    ‖⟪PBW.normalizedWord
65        (fun i => normalizedCreator n mu (root i).val.1 (root i).val.2) u Ω,
66      PBW.normalizedWord
67        (fun i => normalizedCreator n mu (root i).val.1 (root i).val.2) v Ω⟫_ℂ -
68      (if u.Perm v then 1 else 0 : ℂ)‖ ≤
69      (PBW.gramConstant L u.length : ℝ) *
70        (Real.sqrt (((L * d : ℕ) : ℝ) + 1) * Real.sqrt 2) ^ (2 * L) * rootError (L * d) δ := by
71  have hδpos : 0 < δ := by have := Nat.cast_nonneg (α := ℝ) (L * d); linarith
72  apply PBW.normalized_gram_error_le_of_root_filtration
73    (fun i => normalizedCreator n mu (root i).val.1 (root i).val.2)
74    (fun i => normalizedAnnihilator n mu (root i).val.1 (root i).val.2)
75    (fun r => cyclicCutoff Ω (r : ℤ)) (cyclicCutoff_nat_monotone Ω) Ω
76    (highest_mem_cyclicCutoff_zero Ω)
77    (by rw [inner_self_eq_norm_sq_to_K, hnorm]; norm_num)
78    (fun i => normalized_inner_adjoint mu (root i).val.1 (root i).val.2)
79    (fun i x hx => normalizedAnnihilator_zero_cyclicCutoff Ω mu hweight hraise
80      (root i).val.1 (root i).val.2 (root i).property hx)
81    (fun i r x hx => normalizedAnnihilator_lowers_cyclicCutoff Ω mu hweight hraise
82      (root i).val.1 (root i).val.2 (root i).property r hx)
83    d L
84    (fun i r x hx => normalizedCreator_raises_cyclicCutoff Ω mu (root i) r hx)
85    (rootError (L * d) δ) (rootError_nonneg _ _) (rootError_le_one _ hδ) _ u v hu hv
86  intro i j r hr x hx
87  have hpair : ((root i).val.1, (root i).val.2) = ((root j).val.1, (root j).val.2) ↔ i = j := by
88    constructor
89    · intro hh
90      apply hinj
91      exact Subtype.ext hh
92    · rintro rfl
93      rfl
94  have hh := normalized_CCR_norm_le Ω mu hweight hraise r hx
95    (root i).val.1 (root i).val.2 (root j).val.1 (root j).val.2 hδpos (hgap i) (hgap j)
96  have he : (if ((root i).val.1, (root i).val.2) = ((root j).val.1, (root j).val.2)
97      then (1 : ℂ) else 0) • x = (if i = j then x else 0) := by
98    simp only [hpair]
99    split_ifs <;> simp
100  rw [he] at hh
101  exact hh.trans (mul_le_mul_of_nonneg_right (rootError_mono hr hδpos.le) (norm_nonneg x))
102 
103/-- For an arbitrary partition, the physical normalized PBW Gram estimate has
104no assumed representation or local-CCR input. The root list may omit zero-gap
105blocks by selecting only roots whose weight gaps are at least `δ`. -/
106theorem partition_normalized_gram_error_le
107    {ι : Type*} [Fintype ι] [DecidableEq ι]
108    (root : ι → PositiveRoot d) (hinj : Function.Injective root)
109    (mu : Fin d → ℕ) (hmu : Antitone mu) (L : ℕ) {δ : ℝ}
110    (hδ : 2 * (((L * d : ℕ) : ℝ) + 1) ≤ δ)
111    (hgap : ∀ i, δ ≤ (mu (root i).val.1 : ℝ) - mu (root i).val.2)
112    (u v : List ι) (hu : u.length ≤ L) (hv : v.length ≤ L) :
113    ‖⟪PBW.normalizedWord
114        (fun i => normalizedCreator (∑ j, mu j) mu (root i).val.1 (root i).val.2) u
115          (partitionHighestTensor mu hmu),
116      PBW.normalizedWord
117        (fun i => normalizedCreator (∑ j, mu j) mu (root i).val.1 (root i).val.2) v
118          (partitionHighestTensor mu hmu)⟫_ℂ -
119      (if u.Perm v then 1 else 0 : ℂ)‖ ≤
120      (PBW.gramConstant L u.length : ℝ) *
121        (Real.sqrt (((L * d : ℕ) : ℝ) + 1) * Real.sqrt 2) ^ (2 * L) * rootError (L * d) δ :=
122  physical_normalized_gram_error_le root hinj _ mu
123    (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)
124    (partitionHighestTensor_norm mu hmu) L hδ hgap u v hu hv
125 
126end Cloning.TensorLie