Offline · exact source
Exact Lean source

TensorRootBounds

formalization/Cloning/TensorRootBounds.lean

Source hash: f3a84a336325fc2cb5d6d5fd7c3d3c668430a80ddf2365c4b2981f5eab22f19d

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.TensorCyclicOccupancy
2import Cloning.PBWRootGram
3 
4/-! Local raw-root norm estimates derived from actual Cartan occupancy and
5raising invariance. Zero highest-weight gaps are permitted in these bounds. -/
6noncomputable section
7open scoped InnerProductSpace
8namespace Cloning.TensorLie
9set_option maxHeartbeats 1000000
10set_option backward.isDefEq.respectTransparency false
11 
12section RawRecurrence
13variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
14 
15theorem creator_norm_sq_le_of_raw_commutator
16    (F A : H →L[ℂ] H)
17    (hadj : ∀ x y, ⟪F x, y⟫_ℂ = ⟪x, A y⟫_ℂ)
18    (B : ℝ) (x : H) (hdef : ‖A (F x) - F (A x)‖ ≤ B * ‖x‖) :
19    ‖F x‖ ^ 2 ≤ ‖A x‖ ^ 2 + B * ‖x‖ ^ 2 := by
20  have hF : (⟪x, A (F x)⟫_ℂ).re = ‖F x‖ ^ 2 := by
21    rw [← hadj]
22    exact (norm_sq_eq_re_inner (𝕜 := ℂ) (F x)).symm
23  have hA : (⟪x, F (A x)⟫_ℂ).re = ‖A x‖ ^ 2 := by
24    calc
25      _ = (⟪F (A x), x⟫_ℂ).re := inner_re_symm (𝕜 := ℂ) x (F (A x))
26      _ = _ := by rw [hadj]; exact (norm_sq_eq_re_inner (𝕜 := ℂ) (A x)).symm
27  have hh : (⟪x, A (F x) - F (A x)⟫_ℂ).re ≤ B * ‖x‖ ^ 2 := by
28    calc
29      _ ≤ ‖⟪x, A (F x) - F (A x)⟫_ℂ‖ := Complex.re_le_norm _
30      _ ≤ ‖x‖ * ‖A (F x) - F (A x)‖ := norm_inner_le_norm _ _
31      _ ≤ ‖x‖ * (B * ‖x‖) := mul_le_mul_of_nonneg_left hdef (norm_nonneg _)
32      _ = _ := by ring
33  simp only [inner_sub_right, Complex.sub_re, hF, hA] at hh
34  linarith
35 
36theorem creator_norm_sq_le_raw_cutoff
37    (F A : H →L[ℂ] H) (K : ℕ → Submodule ℂ H)
38    (hadj : ∀ x y, ⟪F x, y⟫_ℂ = ⟪x, A y⟫_ℂ)
39    (hzero : ∀ x ∈ K 0, A x = 0)
40    (hlower : ∀ r x, x ∈ K (r + 1) → A x ∈ K r)
41    (L : ℕ) (B : ℝ) (hB : 0 ≤ B)
42    (hcomm : ∀ r, r ≤ L → ∀ x ∈ K r, ‖A (F x) - F (A x)‖ ≤ B * ‖x‖)
43    (r : ℕ) (hr : r ≤ L) (x : H) (hx : x ∈ K r) :
44    ‖F x‖ ^ 2 ≤ ((r : ℝ) + 1) * B * ‖x‖ ^ 2 := by
45  induction r generalizing x with
46  | zero =>
47      have hh := creator_norm_sq_le_of_raw_commutator F A hadj B x (hcomm 0 hr x hx)
48      simpa [hzero x hx] using hh
49  | succ r ih =>
50      have hr' : r ≤ L := by omega
51      let C : ℝ := Real.sqrt (((r : ℝ) + 1) * B)
52      have hC : 0 ≤ C := Real.sqrt_nonneg _
53      have hCsq : C ^ 2 = ((r : ℝ) + 1) * B := Real.sq_sqrt (by positivity)
54      have hlocal : ∀ y ∈ K r, ‖F y‖ ≤ C * ‖y‖ := by
55        intro y hy
56        have hybound := ih hr' y hy
57        have hpos : 0 ≤ C * ‖y‖ := mul_nonneg hC (norm_nonneg _)
58        have heq : (C * ‖y‖) ^ 2 = ((r : ℝ) + 1) * B * ‖y‖ ^ 2 := by
59          rw [mul_pow, hCsq]
60        nlinarith [norm_nonneg (F y)]
61      have hAbound := PBW.annihilator_norm_le_from_local_creator F A (K r) C hC hadj hlocal
62        x (hlower r x hx)
63      have hAsq : ‖A x‖ ^ 2 ≤ ((r : ℝ) + 1) * B * ‖x‖ ^ 2 := by
64        have hh := (sq_le_sq₀ (norm_nonneg (A x)) (mul_nonneg hC (norm_nonneg x))).mpr hAbound
65        simpa [mul_pow, hCsq] using hh
66      have hh := creator_norm_sq_le_of_raw_commutator F A hadj B x (hcomm (r + 1) hr x hx)
67      simp only [Nat.cast_add, Nat.cast_one]
68      nlinarith
69end RawRecurrence
70 
71variable {n d : ℕ}
72 
73theorem collectiveGenerator_inner_adjoint (a b : Fin d) (x y : TensorRegister n (Fin d)) :
74    ⟪collectiveGenerator n b a x, y⟫_ℂ = ⟪x, collectiveGenerator n a b y⟫_ℂ := by
75  rw [← collectiveGenerator_adjoint b a, ContinuousLinearMap.adjoint_inner_right]
76 
77theorem root_diagonal_commutator (a b : Fin d) (x : TensorRegister n (Fin d)) :
78    collectiveGenerator n a b (collectiveGenerator n b a x) -
79      collectiveGenerator n b a (collectiveGenerator n a b x) =
80    collectiveGenerator n a a x - collectiveGenerator n b b x := by
81  have he := congrArg (fun T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) => T x)
82    (collectiveGenerator_commutator (n := n) a b b a)
83  simpa only [if_true, ContinuousLinearMap.sub_apply, ContinuousLinearMap.mul_apply] using he
84 
85theorem root_commutator_norm_le
86    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
87    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
88    (r : ℕ) {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω r) (a b : Fin d) :
89    ‖collectiveGenerator n a b (collectiveGenerator n b a x) -
90      collectiveGenerator n b a (collectiveGenerator n a b x)‖ ≤
91      (|(mu a : ℝ) - mu b| + 2 * r) * ‖x‖ := by
92  rw [root_diagonal_commutator]
93  let y := collectiveGenerator n a a x - collectiveGenerator n b b x
94  have he : y = (y - ((mu a : ℂ) - mu b) • x) + ((mu a : ℂ) - mu b) • x := by module
95  calc
96    ‖y‖ = ‖(y - ((mu a : ℂ) - mu b) • x) + ((mu a : ℂ) - mu b) • x‖ := congrArg norm he
97    _ ≤ ‖y - ((mu a : ℂ) - mu b) • x‖ + ‖((mu a : ℂ) - mu b) • x‖ := norm_add_le _ _
98    _ ≤ (2 * r : ℝ) * ‖x‖ + ‖((mu a : ℂ) - mu b) • x‖ :=
99      add_le_add (cartan_difference_defect_norm_le Ω mu hweight r hx a b) le_rfl
100    _ = _ := by
101      rw [norm_smul]
102      simp only [← Complex.ofReal_natCast, ← Complex.ofReal_sub, Complex.norm_real, Real.norm_eq_abs]
103      ring
104 
105/-- A raw lowering root has squared local norm at most
106`(R+1)(|mu_a-mu_b|+2R)`. In particular zero weight gaps require no division. -/
107theorem lowering_norm_sq_le_cyclicCutoff
108    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
109    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
110    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
111    (a b : Fin d) (hab : a < b) (r : ℕ) {x : TensorRegister n (Fin d)}
112    (hx : x ∈ cyclicCutoff Ω r) :
113    ‖collectiveGenerator n b a x‖ ^ 2 ≤
114      ((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r) * ‖x‖ ^ 2 := by
115  apply creator_norm_sq_le_raw_cutoff (collectiveGenerator n b a) (collectiveGenerator n a b)
116    (fun t => cyclicCutoff Ω (t : ℤ)) (collectiveGenerator_inner_adjoint a b)
117    (fun y hy => raising_zero_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab hy)
118    (fun t y hy => raising_lowers_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab t hy)
119    r (|(mu a : ℝ) - mu b| + 2 * r) (by positivity) _ r le_rfl x hx
120  intro t ht y hy
121  exact (root_commutator_norm_le Ω mu hweight t hy a b).trans (by gcongr)
122 
123theorem lowering_norm_le_cyclicCutoff
124    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
125    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
126    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
127    (a b : Fin d) (hab : a < b) (r : ℕ) {x : TensorRegister n (Fin d)}
128    (hx : x ∈ cyclicCutoff Ω r) :
129    ‖collectiveGenerator n b a x‖ ≤
130      Real.sqrt (((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r)) * ‖x‖ := by
131  have hb := lowering_norm_sq_le_cyclicCutoff Ω mu hweight hraise a b hab r hx
132  have he := Real.sq_sqrt (by positivity : 0 ≤ ((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r))
133  have hn : 0 ≤ Real.sqrt (((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r)) * ‖x‖ := by positivity
134  nlinarith [mul_pow (Real.sqrt (((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r))) ‖x‖ 2]
135 
136/-- The same local estimate holds for every off-diagonal raw root, in either orientation. -/
137theorem root_norm_le_cyclicCutoff
138    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
139    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
140    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
141    (a b : Fin d) (hab : a ≠ b) (r : ℕ) {x : TensorRegister n (Fin d)}
142    (hx : x ∈ cyclicCutoff Ω r) :
143    ‖collectiveGenerator n a b x‖ ≤
144      Real.sqrt (((r : ℝ) + 1) * (|(mu a : ℝ) - mu b| + 2 * r)) * ‖x‖ := by
145  rcases lt_or_gt_of_ne hab with hab | hba
146  · apply PBW.annihilator_norm_le_from_local_creator
147      (collectiveGenerator n b a) (collectiveGenerator n a b) (cyclicCutoff Ω r)
148      _ (Real.sqrt_nonneg _) (collectiveGenerator_inner_adjoint a b)
149      (fun y hy => lowering_norm_le_cyclicCutoff Ω mu hweight hraise a b hab r hy) x
150    exact PBW.annihilator_mem_same_cutoff (collectiveGenerator n a b)
151      (fun t => cyclicCutoff Ω (t : ℤ))
152      (fun i j hij => cyclicCutoff_monotone Ω (Int.ofNat_le.mpr hij))
153      (fun y hy => raising_zero_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab hy)
154      (fun t y hy => raising_lowers_cyclicCutoff Ω (fun i => (mu i : ℂ)) hweight hraise a b hab t hy)
155      r x hx
156  · simpa only [abs_sub_comm] using lowering_norm_le_cyclicCutoff Ω mu hweight hraise b a hba r hx
157 
158end Cloning.TensorLie