omega-principia
This project has not described itself yet.
Brought by drakestapleton
omega-principia / proofs / PhysAdhmPdeInstantons.lean
| 1 | -- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | -- PhysAdhmPdeInstantons.lean -- Formal Lean 4.36.0 proof of: |
| 3 | -- 1. Universal All-k (k >= 3) 3-Parameter Separated Cyclic-Ring Irreducible SU(3) |
| 4 | -- 4D Self-Dual Yang-Mills ADHM Multi-Instanton Family (explicitly instantiating |
| 5 | -- k = 3, 4, 5 and arbitrary k >= 3): |
| 6 | -- (a) Exact Complex ADHM equation: [B1, B2] + I * J = 0 |
| 7 | -- (b) Exact Real ADHM equation: [B1, B1^dag] + [B2, B2^dag] + I*I^dag - J^dag*J = 0 |
| 8 | -- (c) Exact ADHM Operator Factorization: Delta(z1,z2)^dag * Delta(z1,z2) = I_2 (x) H(z1,z2) |
| 9 | -- (d) Global Strict Positive-Definiteness / Smoothness over ANY linearly ordered |
| 10 | -- commutative ring R (including R = Real, Q, Z): |
| 11 | -- 4^(k-3) * h^2 * Q_k(z1, z2, v) >= h^2 * min(q^2, p^2+r^2) * ||v||^2 > 0 |
| 12 | -- for ALL (z1, z2) in C_R^2 = R^4 and ALL v in C_R^k |
| 13 | -- (e) Strict Non-'t Hooft ([B1, B2] != 0 of full rank 3), Non-Nilpotent Separated |
| 14 | -- k-gon Ring ((B1^k)_{j,j} = p*r*h^(k-2) != 0), and Schur-Lemma Strict SU(3) |
| 15 | -- Rank-3 Holonomy Irreducibility (commutant of {J*I, J*B1*I} is strictly scalar) |
| 16 | -- 2. Universal All-k (k >= 2) Quaternionic Symplectic Sp(1) ~= SU(2) Calogero-Moser |
| 17 | -- Multi-Instanton ADHM Family (B1^T = B1, B2^T = B2, J = eps * I^T): |
| 18 | -- (a) Complex ADHM, Real ADHM, Symplectic Reality, Non-'t Hooft ([B1, B2] != 0) |
| 19 | -- (b) Global Zero-Kernel Smoothness for ALL (z1, z2) |
| 20 | -- 3. Five literal broken-model negative controls (neg_ctrl_*). |
| 21 | -- Zero Mathlib, 0 sorry, 0 native_decide, standard/0 axioms only. |
| 22 | |
| 23 | namespace PhysAdhmPdeInstantons |
| 24 | |
| 25 | /-! ## Section 0: Elementary Integer Positivity Helpers (Zero Mathlib) -/ |
| 26 | |
| 27 | theorem int_sq_nonneg (x : Int) : 0 ≤ x * x := by |
| 28 | by_cases h : 0 ≤ x |
| 29 | · exact Int.mul_nonneg h h |
| 30 | · have hn : 0 ≤ -x := by omega |
| 31 | have h2 : 0 ≤ (-x) * (-x) := Int.mul_nonneg hn hn |
| 32 | have heq : (-x) * (-x) = x * x := by grind |
| 33 | omega |
| 34 | |
| 35 | theorem int_sq_pos {x : Int} (hx : x ≠ 0) : 0 < x * x := by |
| 36 | by_cases h : 0 < x |
| 37 | · exact Int.mul_pos h h |
| 38 | · have hn : 0 < -x := by omega |
| 39 | have h2 : 0 < (-x) * (-x) := Int.mul_pos hn hn |
| 40 | have heq : (-x) * (-x) = x * x := by grind |
| 41 | omega |
| 42 | |
| 43 | theorem int_sq_eq_zero {x : Int} (h : x * x = 0) : x = 0 := by |
| 44 | by_cases hx : x = 0 |
| 45 | · exact hx |
| 46 | · have hp := int_sq_pos hx; omega |
| 47 | |
| 48 | theorem int_sum_sq_eq_zero {x y : Int} (h : x * x + y * y = 0) : x = 0 ∧ y = 0 := by |
| 49 | have hx := int_sq_nonneg x |
| 50 | have hy := int_sq_nonneg y |
| 51 | exact ⟨int_sq_eq_zero (by omega), int_sq_eq_zero (by omega)⟩ |
| 52 | |
| 53 | theorem int_diff_sq_pos {m n : Int} (hm : n < m) (hn : 0 < n) : 0 < m * m - n * n := by |
| 54 | have h1 : 0 < m - n := by omega |
| 55 | have h2 : 0 < m + n := by omega |
| 56 | have h3 := Int.mul_pos h1 h2 |
| 57 | have heq : (m - n) * (m + n) = m * m - n * n := by grind |
| 58 | omega |
| 59 | |
| 60 | theorem int_mul_cancel_pos {s a b : Int} (hs : 0 < s) (h : s * a = s * b) : a = b := by |
| 61 | have h0 : s * (a - b) = 0 := by grind |
| 62 | cases Int.mul_eq_zero.mp h0 with |
| 63 | | inl h1 => omega |
| 64 | | inr h2 => omega |
| 65 | |
| 66 | /-! ## Section 1: Linearly Ordered Commutative Rings & Complex Numbers C_R -/ |
| 67 | |
| 68 | /-- Minimal linearly ordered commutative ring class (instantiated by Int, Rat, Real, etc.). -/ |
| 69 | class LinOrdCommRing (R : Type) where |
| 70 | zero : R |
| 71 | one : R |
| 72 | add : R → R → R |
| 73 | neg : R → R |
| 74 | mul : R → R → R |
| 75 | le : R → R → Prop |
| 76 | add_assoc : ∀ a b c, add (add a b) c = add a (add b c) |
| 77 | add_comm : ∀ a b, add a b = add b a |
| 78 | zero_add : ∀ a, add zero a = a |
| 79 | add_left_neg : ∀ a, add (neg a) a = zero |
| 80 | mul_assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c) |
| 81 | mul_comm : ∀ a b, mul a b = mul b a |
| 82 | one_mul : ∀ a, mul one a = a |
| 83 | left_distrib : ∀ a b c, mul a (add b c) = add (mul a b) (mul a c) |
| 84 | le_refl : ∀ a, le a a |
| 85 | le_trans : ∀ {a b c}, le a b → le b c → le a c |
| 86 | le_total : ∀ a b, le a b ∨ le b a |
| 87 | add_le_add_left : ∀ {a b} c, le a b → le (add c a) (add c b) |
| 88 | mul_nonneg : ∀ {a b}, le zero a → le zero b → le zero (mul a b) |
| 89 | zero_le_one : le zero one |
| 90 | |
| 91 | namespace LinOrdCommRing |
| 92 | |
| 93 | variable {R : Type} [LinOrdCommRing R] |
| 94 | |
| 95 | def sub (a b : R) : R := add a (neg b) |
| 96 | |
| 97 | def ofNat : Nat → R |
| 98 | | 0 => zero |
| 99 | | n + 1 => add (ofNat n) one |
| 100 | |
| 101 | def ofInt : Int → R |
| 102 | | Int.ofNat n => ofNat n |
| 103 | | Int.negSucc n => neg (ofNat (n + 1)) |
| 104 | |
| 105 | theorem add_zero (a : R) : add a zero = a := by |
| 106 | rw [add_comm, zero_add] |
| 107 | |
| 108 | theorem add_right_neg (a : R) : add a (neg a) = zero := by |
| 109 | rw [add_comm, add_left_neg] |
| 110 | |
| 111 | theorem mul_one (a : R) : mul a one = a := by |
| 112 | rw [mul_comm, one_mul] |
| 113 | |
| 114 | theorem right_distrib (a b c : R) : mul (add a b) c = add (mul a c) (mul b c) := by |
| 115 | rw [mul_comm, left_distrib, mul_comm c a, mul_comm c b] |
| 116 | |
| 117 | theorem mul_zero (a : R) : mul a zero = zero := by |
| 118 | have h : add (mul a zero) (mul a zero) = add (mul a zero) zero := by |
| 119 | rw [← left_distrib, zero_add, add_zero] |
| 120 | have h2 := congrArg (add (neg (mul a zero))) h |
| 121 | rw [← add_assoc, add_left_neg, zero_add, ← add_assoc, add_left_neg, zero_add] at h2 |
| 122 | exact h2 |
| 123 | |
| 124 | theorem zero_mul (a : R) : mul zero a = zero := by |
| 125 | rw [mul_comm, mul_zero] |
| 126 | |
| 127 | theorem neg_eq_of_add_eq_zero {a b : R} (h : add a b = zero) : neg a = b := by |
| 128 | have h2 := congrArg (add (neg a)) h |
| 129 | rw [← add_assoc, add_left_neg, zero_add, add_zero] at h2 |
| 130 | exact h2.symm |
| 131 | |
| 132 | theorem neg_neg (a : R) : neg (neg a) = a := |
| 133 | neg_eq_of_add_eq_zero (add_left_neg a) |
| 134 | |
| 135 | theorem neg_add (a b : R) : neg (add a b) = add (neg a) (neg b) := by |
| 136 | apply neg_eq_of_add_eq_zero |
| 137 | calc |
| 138 | add (add a b) (add (neg a) (neg b)) |
| 139 | = add (add a (neg a)) (add b (neg b)) := by |
| 140 | rw [add_assoc, ← add_assoc b (neg a) (neg b), add_comm b (neg a), |
| 141 | add_assoc (neg a) b (neg b), ← add_assoc] |
| 142 | _ = add zero zero := by rw [add_right_neg, add_right_neg] |
| 143 | _ = zero := zero_add zero |
| 144 | |
| 145 | theorem mul_neg (a b : R) : mul a (neg b) = neg (mul a b) := by |
| 146 | symm |
| 147 | apply neg_eq_of_add_eq_zero |
| 148 | rw [← left_distrib, add_right_neg, mul_zero] |
| 149 | |
| 150 | theorem neg_mul (a b : R) : mul (neg a) b = neg (mul a b) := by |
| 151 | rw [mul_comm, mul_neg, mul_comm] |
| 152 | |
| 153 | theorem neg_mul_neg (a b : R) : mul (neg a) (neg b) = mul a b := by |
| 154 | rw [neg_mul, mul_neg, neg_neg] |
| 155 | |
| 156 | theorem add_le_add_right {a b : R} (h : le a b) (c : R) : le (add a c) (add b c) := by |
| 157 | rw [add_comm a c, add_comm b c] |
| 158 | exact add_le_add_left c h |
| 159 | |
| 160 | theorem add_le_add {a b c d : R} (h1 : le a b) (h2 : le c d) : le (add a c) (add b d) := |
| 161 | le_trans (add_le_add_right h1 c) (add_le_add_left b h2) |
| 162 | |
| 163 | theorem add_nonneg {a b : R} (ha : le zero a) (hb : le zero b) : le zero (add a b) := by |
| 164 | have h := add_le_add ha hb |
| 165 | rw [zero_add] at h |
| 166 | exact h |
| 167 | |
| 168 | theorem neg_nonneg_of_nonpos {a : R} (ha : le a zero) : le zero (neg a) := by |
| 169 | have h := add_le_add_left (neg a) ha |
| 170 | rw [add_left_neg, add_zero] at h |
| 171 | exact h |
| 172 | |
| 173 | theorem sq_nonneg (a : R) : le zero (mul a a) := by |
| 174 | cases le_total zero a with |
| 175 | | inl h => exact mul_nonneg h h |
| 176 | | inr h => |
| 177 | have hna : le zero (neg a) := neg_nonneg_of_nonpos h |
| 178 | have hsq := mul_nonneg hna hna |
| 179 | rw [neg_mul_neg] at hsq |
| 180 | exact hsq |
| 181 | |
| 182 | theorem le_of_sub_nonneg {a b : R} (h : le zero (sub b a)) : le a b := by |
| 183 | have h2 := add_le_add_right h a |
| 184 | rw [zero_add, sub, add_assoc, add_left_neg, add_zero] at h2 |
| 185 | exact h2 |
| 186 | |
| 187 | theorem sub_nonneg_of_le {a b : R} (h : le a b) : le zero (sub b a) := by |
| 188 | have h2 := add_le_add_right h (neg a) |
| 189 | rw [add_right_neg] at h2 |
| 190 | exact h2 |
| 191 | |
| 192 | theorem mul_le_mul_of_nonneg_left {a b c : R} (h : le a b) (hc : le zero c) : |
| 193 | le (mul c a) (mul c b) := by |
| 194 | apply le_of_sub_nonneg |
| 195 | have hs : le zero (sub b a) := sub_nonneg_of_le h |
| 196 | have hm : le zero (mul c (sub b a)) := mul_nonneg hc hs |
| 197 | have heq : mul c (sub b a) = sub (mul c b) (mul c a) := by |
| 198 | rw [sub, left_distrib, mul_neg, sub] |
| 199 | rw [heq] at hm |
| 200 | exact hm |
| 201 | |
| 202 | theorem mul_le_mul_of_nonneg_right {a b c : R} (h : le a b) (hc : le zero c) : |
| 203 | le (mul a c) (mul b c) := by |
| 204 | rw [mul_comm a c, mul_comm b c] |
| 205 | exact mul_le_mul_of_nonneg_left h hc |
| 206 | |
| 207 | theorem ofNat_nonneg : ∀ n : Nat, le zero (ofNat (R := R) n) |
| 208 | | 0 => le_refl zero |
| 209 | | n + 1 => add_nonneg (ofNat_nonneg n) zero_le_one |
| 210 | |
| 211 | theorem two_mul (a : R) : mul (ofNat 2) a = add a a := by |
| 212 | simp only [ofNat, zero_add, right_distrib, one_mul] |
| 213 | |
| 214 | /-- Helper: abelian rearrangement (a + b) + (c + d) = (a + c) + (b + d). -/ |
| 215 | theorem add4_swap (a b c d : R) : |
| 216 | add (add a b) (add c d) = add (add a c) (add b d) := by |
| 217 | rw [add_assoc a b (add c d), ← add_assoc b c d, add_comm b c, |
| 218 | add_assoc c b d, ← add_assoc a c (add b d)] |
| 219 | |
| 220 | /-- Expansion of (a - b)^2 = a^2 + -(ab + ab) + b^2 in any commutative ring. -/ |
| 221 | theorem sq_sub_expand (a b : R) : |
| 222 | mul (sub a b) (sub a b) = |
| 223 | add (add (mul a a) (neg (add (mul a b) (mul a b)))) (mul b b) := by |
| 224 | rw [sub, left_distrib, right_distrib, right_distrib, mul_neg, neg_mul, neg_mul_neg, |
| 225 | mul_comm b a, neg_add, add_assoc, |
| 226 | ← add_assoc (neg (mul a b)) (neg (mul a b)) (mul b b), ← add_assoc] |
| 227 | |
| 228 | /-- Fundamental scalar square-completion identity over ANY commutative ring: |
| 229 | 2*(x - y)^2 + 2*y^2 = x^2 + (x - 2*y)^2. -/ |
| 230 | theorem two_sq_sub_add_two_sq (x y : R) : |
| 231 | add (mul (ofNat 2) (mul (sub x y) (sub x y))) (mul (ofNat 2) (mul y y)) = |
| 232 | add (mul x x) (mul (sub x (mul (ofNat 2) y)) (sub x (mul (ofNat 2) y))) := by |
| 233 | rw [sq_sub_expand x y, sq_sub_expand x (mul (ofNat 2) y)] |
| 234 | have hxy : mul x (mul (ofNat 2) y) = add (mul x y) (mul x y) := by |
| 235 | rw [two_mul, left_distrib] |
| 236 | have hyy : mul (mul (ofNat 2) y) (mul (ofNat 2) y) = |
| 237 | add (add (mul y y) (mul y y)) (add (mul y y) (mul y y)) := by |
| 238 | rw [two_mul, left_distrib, right_distrib] |
| 239 | rw [hxy, hyy, two_mul, two_mul, neg_add] |
| 240 | have h1 : |
| 241 | add (add (add (add (mul x x) (add (neg (mul x y)) (neg (mul x y)))) (mul y y)) |
| 242 | (add (add (mul x x) (add (neg (mul x y)) (neg (mul x y)))) (mul y y))) |
| 243 | (add (mul y y) (mul y y)) = |
| 244 | add (add (add (add (mul x x) (add (neg (mul x y)) (neg (mul x y)))) |
| 245 | (add (mul x x) (add (neg (mul x y)) (neg (mul x y))))) |
| 246 | (add (mul y y) (mul y y))) |
| 247 | (add (mul y y) (mul y y)) := by |
| 248 | congr 1 |
| 249 | exact add4_swap _ _ _ _ |
| 250 | rw [h1, add_assoc, |
| 251 | add4_swap (mul x x) (add (neg (mul x y)) (neg (mul x y))) |
| 252 | (mul x x) (add (neg (mul x y)) (neg (mul x y))), |
| 253 | ← neg_add (mul x y) (mul x y), |
| 254 | ← neg_add (add (mul x y) (mul x y)) (add (mul x y) (mul x y)), |
| 255 | add_assoc (mul x x) (mul x x), add_assoc (mul x x)] |
| 256 | |
| 257 | theorem two_sq_sub_ge (x y : R) : |
| 258 | le (mul x x) (add (mul (ofNat 2) (mul (sub x y) (sub x y))) (mul (ofNat 2) (mul y y))) := by |
| 259 | rw [two_sq_sub_add_two_sq] |
| 260 | have h := add_le_add_left (mul x x) (sq_nonneg (sub x (mul (ofNat 2) y))) |
| 261 | rw [add_zero] at h |
| 262 | exact h |
| 263 | |
| 264 | theorem ofNat_add (a b : Nat) : ofNat (R := R) (a + b) = add (ofNat a) (ofNat b) := by |
| 265 | induction b with |
| 266 | | zero => simp [ofNat, add_zero] |
| 267 | | succ b ih => |
| 268 | rw [Nat.add_succ] |
| 269 | simp only [ofNat, ih, add_assoc] |
| 270 | |
| 271 | theorem ofNat_mul (a b : Nat) : ofNat (R := R) (a * b) = mul (ofNat a) (ofNat b) := by |
| 272 | induction b with |
| 273 | | zero => simp [ofNat, mul_zero] |
| 274 | | succ b ih => |
| 275 | rw [Nat.mul_succ, ofNat_add, ih] |
| 276 | simp only [ofNat, left_distrib, mul_one] |
| 277 | |
| 278 | theorem ofNat_le_ofNat {a b : Nat} (h : a ≤ b) : le (ofNat (R := R) a) (ofNat b) := by |
| 279 | obtain ⟨d, rfl⟩ := Nat.exists_eq_add_of_le h |
| 280 | rw [ofNat_add] |
| 281 | have h0 := add_le_add_left (ofNat (R := R) a) (ofNat_nonneg (R := R) d) |
| 282 | rw [add_zero] at h0 |
| 283 | exact h0 |
| 284 | |
| 285 | end LinOrdCommRing |
| 286 | |
| 287 | /-- Canonical instance: Int is a linearly ordered commutative ring. -/ |
| 288 | instance instLinOrdCommRingInt : LinOrdCommRing Int where |
| 289 | zero := 0 |
| 290 | one := 1 |
| 291 | add := (· + ·) |
| 292 | neg := (- ·) |
| 293 | mul := (· * ·) |
| 294 | le := (· ≤ ·) |
| 295 | add_assoc := Int.add_assoc |
| 296 | add_comm := Int.add_comm |
| 297 | zero_add := Int.zero_add |
| 298 | add_left_neg := Int.add_left_neg |
| 299 | mul_assoc := Int.mul_assoc |
| 300 | mul_comm := Int.mul_comm |
| 301 | one_mul := Int.one_mul |
| 302 | left_distrib := Int.mul_add |
| 303 | le_refl := Int.le_refl |
| 304 | le_trans := Int.le_trans |
| 305 | le_total := Int.le_total |
| 306 | add_le_add_left := fun c h => Int.add_le_add_left h c |
| 307 | mul_nonneg := fun ha hb => Int.mul_nonneg ha hb |
| 308 | zero_le_one := by omega |
| 309 | |
| 310 | /-- Complex numbers over any linearly ordered commutative ring R. -/ |
| 311 | structure CR (R : Type) where |
| 312 | re : R |
| 313 | im : R |
| 314 | deriving DecidableEq, Repr |
| 315 | |
| 316 | namespace CR |
| 317 | |
| 318 | open LinOrdCommRing |
| 319 | |
| 320 | variable {R : Type} [LinOrdCommRing R] |
| 321 | |
| 322 | def zero : CR R := ⟨LinOrdCommRing.zero, LinOrdCommRing.zero⟩ |
| 323 | def ofR (x : R) : CR R := ⟨x, LinOrdCommRing.zero⟩ |
| 324 | def add (a b : CR R) : CR R := ⟨LinOrdCommRing.add a.re b.re, LinOrdCommRing.add a.im b.im⟩ |
| 325 | def neg (a : CR R) : CR R := ⟨LinOrdCommRing.neg a.re, LinOrdCommRing.neg a.im⟩ |
| 326 | def sub (a b : CR R) : CR R := ⟨LinOrdCommRing.sub a.re b.re, LinOrdCommRing.sub a.im b.im⟩ |
| 327 | def conj (a : CR R) : CR R := ⟨a.re, LinOrdCommRing.neg a.im⟩ |
| 328 | def mul (a b : CR R) : CR R := |
| 329 | ⟨LinOrdCommRing.sub (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im), |
| 330 | LinOrdCommRing.add (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.im b.re)⟩ |
| 331 | def scaleR (c : R) (a : CR R) : CR R := ⟨LinOrdCommRing.mul c a.re, LinOrdCommRing.mul c a.im⟩ |
| 332 | def normSq (a : CR R) : R := |
| 333 | LinOrdCommRing.add (LinOrdCommRing.mul a.re a.re) (LinOrdCommRing.mul a.im a.im) |
| 334 | |
| 335 | theorem normSq_nonneg (a : CR R) : le LinOrdCommRing.zero (normSq a) := |
| 336 | add_nonneg (sq_nonneg a.re) (sq_nonneg a.im) |
| 337 | |
| 338 | theorem mul_sq_comm (u v : R) : |
| 339 | LinOrdCommRing.mul (LinOrdCommRing.mul u v) (LinOrdCommRing.mul u v) = |
| 340 | LinOrdCommRing.mul (LinOrdCommRing.mul u u) (LinOrdCommRing.mul v v) := by |
| 341 | calc |
| 342 | LinOrdCommRing.mul (LinOrdCommRing.mul u v) (LinOrdCommRing.mul u v) |
| 343 | = LinOrdCommRing.mul u (LinOrdCommRing.mul v (LinOrdCommRing.mul u v)) := mul_assoc _ _ _ |
| 344 | _ = LinOrdCommRing.mul u (LinOrdCommRing.mul u (LinOrdCommRing.mul v v)) := by |
| 345 | rw [← mul_assoc v u v, mul_comm v u, mul_assoc u v v] |
| 346 | _ = LinOrdCommRing.mul (LinOrdCommRing.mul u u) (LinOrdCommRing.mul v v) := (mul_assoc _ _ _).symm |
| 347 | |
| 348 | theorem normSq_scaleR (c : R) (a : CR R) : |
| 349 | normSq (scaleR c a) = LinOrdCommRing.mul (LinOrdCommRing.mul c c) (normSq a) := by |
| 350 | simp only [normSq, scaleR, left_distrib, mul_sq_comm] |
| 351 | |
| 352 | theorem sq_add_expand (u v : R) : |
| 353 | LinOrdCommRing.mul (LinOrdCommRing.add u v) (LinOrdCommRing.add u v) = |
| 354 | LinOrdCommRing.add (LinOrdCommRing.add (LinOrdCommRing.mul u u) |
| 355 | (LinOrdCommRing.add (LinOrdCommRing.mul u v) (LinOrdCommRing.mul u v))) |
| 356 | (LinOrdCommRing.mul v v) := by |
| 357 | rw [left_distrib, right_distrib, right_distrib, mul_comm v u, |
| 358 | add_assoc, ← add_assoc (LinOrdCommRing.mul u v), ← add_assoc] |
| 359 | |
| 360 | /-- Multiplicativity of squared modulus |a*b|^2 = |a|^2 * |b|^2 over ANY commutative ring R. -/ |
| 361 | theorem normSq_mul (a b : CR R) : |
| 362 | normSq (mul a b) = LinOrdCommRing.mul (normSq a) (normSq b) := by |
| 363 | simp only [normSq, mul] |
| 364 | rw [sq_sub_expand, sq_add_expand] |
| 365 | have hcross : |
| 366 | LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im) = |
| 367 | LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.im b.re) := by |
| 368 | calc |
| 369 | LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im) |
| 370 | = LinOrdCommRing.mul a.re (LinOrdCommRing.mul b.re (LinOrdCommRing.mul a.im b.im)) := |
| 371 | mul_assoc _ _ _ |
| 372 | _ = LinOrdCommRing.mul a.re (LinOrdCommRing.mul b.im (LinOrdCommRing.mul a.im b.re)) := by |
| 373 | rw [mul_comm a.im b.im, ← mul_assoc b.re b.im a.im, mul_comm b.re b.im, |
| 374 | mul_assoc b.im b.re a.im, mul_comm b.re a.im] |
| 375 | _ = LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.im b.re) := |
| 376 | (mul_assoc _ _ _).symm |
| 377 | rw [← hcross] |
| 378 | have hre : |
| 379 | LinOrdCommRing.add |
| 380 | (LinOrdCommRing.add |
| 381 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.re b.re)) |
| 382 | (LinOrdCommRing.neg (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im)) |
| 383 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im))))) |
| 384 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.im) (LinOrdCommRing.mul a.im b.im))) |
| 385 | (LinOrdCommRing.add |
| 386 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.re b.im)) |
| 387 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im)) |
| 388 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.im b.im)))) |
| 389 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.re) (LinOrdCommRing.mul a.im b.re))) = |
| 390 | LinOrdCommRing.add |
| 391 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.re b.re)) |
| 392 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.re b.im))) |
| 393 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.re) (LinOrdCommRing.mul a.im b.re)) |
| 394 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.im) (LinOrdCommRing.mul a.im b.im))) := by |
| 395 | rw [add4_swap (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.re b.re)) _) |
| 396 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.im) (LinOrdCommRing.mul a.im b.im)) |
| 397 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.re b.im)) _) |
| 398 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.re) (LinOrdCommRing.mul a.im b.re)), |
| 399 | add4_swap (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.re) (LinOrdCommRing.mul a.re b.re)) |
| 400 | (LinOrdCommRing.neg _) |
| 401 | (LinOrdCommRing.mul (LinOrdCommRing.mul a.re b.im) (LinOrdCommRing.mul a.re b.im)) |
| 402 | _, |
| 403 | add_left_neg, add_zero, |
| 404 | add_comm (LinOrdCommRing.mul (LinOrdCommRing.mul a.im b.im) (LinOrdCommRing.mul a.im b.im))] |
| 405 | rw [hre, left_distrib, right_distrib, right_distrib, mul_sq_comm, mul_sq_comm, mul_sq_comm, mul_sq_comm] |
| 406 | exact add4_swap _ _ _ _ |
| 407 | |
| 408 | /-- Fundamental complex lower bound over ANY linearly ordered commutative ring R: |
| 409 | |a|^2 <= 2 * |a - b|^2 + 2 * |b|^2. -/ |
| 410 | theorem two_normSq_sub_ge_left (a b : CR R) : |
| 411 | le (normSq a) |
| 412 | (LinOrdCommRing.add (LinOrdCommRing.mul (ofNat 2) (normSq (sub a b))) |
| 413 | (LinOrdCommRing.mul (ofNat 2) (normSq b))) := by |
| 414 | simp only [normSq, sub, left_distrib] |
| 415 | have hsum := add_le_add (two_sq_sub_ge a.re b.re) (two_sq_sub_ge a.im b.im) |
| 416 | rw [add4_swap] at hsum |
| 417 | exact hsum |
| 418 | |
| 419 | /-- Symmetric complex lower bound: |b|^2 <= 2 * |a - b|^2 + 2 * |a|^2. -/ |
| 420 | theorem two_normSq_sub_ge_right (a b : CR R) : |
| 421 | le (normSq b) |
| 422 | (LinOrdCommRing.add (LinOrdCommRing.mul (ofNat 2) (normSq (sub a b))) |
| 423 | (LinOrdCommRing.mul (ofNat 2) (normSq a))) := by |
| 424 | have h := two_normSq_sub_ge_left b a |
| 425 | have hsym : normSq (sub b a) = normSq (sub a b) := by |
| 426 | simp only [normSq, sub, LinOrdCommRing.sub] |
| 427 | have hneg : ∀ x y : R, |
| 428 | LinOrdCommRing.mul (LinOrdCommRing.add y (LinOrdCommRing.neg x)) |
| 429 | (LinOrdCommRing.add y (LinOrdCommRing.neg x)) = |
| 430 | LinOrdCommRing.mul (LinOrdCommRing.add x (LinOrdCommRing.neg y)) |
| 431 | (LinOrdCommRing.add x (LinOrdCommRing.neg y)) := by |
| 432 | intro x y |
| 433 | have heq : LinOrdCommRing.add y (LinOrdCommRing.neg x) = |
| 434 | LinOrdCommRing.neg (LinOrdCommRing.add x (LinOrdCommRing.neg y)) := by |
| 435 | rw [neg_add, neg_neg, add_comm] |
| 436 | rw [heq, neg_mul_neg] |
| 437 | rw [hneg a.re b.re, hneg a.im b.im] |
| 438 | rw [hsym] at h |
| 439 | exact h |
| 440 | |
| 441 | end CR |
| 442 | |
| 443 | /-! ## Section 2: Gaussian Integers GInt and Exact Fin-Indexed Matrix Algebra -/ |
| 444 | |
| 445 | /-- Exact Gaussian integers Z[i] with fast native Int arithmetic for ADHM matrix proofs. -/ |
| 446 | structure GInt where |
| 447 | re : Int |
| 448 | im : Int |
| 449 | deriving DecidableEq, Repr |
| 450 | |
| 451 | namespace GInt |
| 452 | |
| 453 | def zero : GInt := ⟨0, 0⟩ |
| 454 | def one : GInt := ⟨1, 0⟩ |
| 455 | def ofInt (n : Int) : GInt := ⟨n, 0⟩ |
| 456 | def add (a b : GInt) : GInt := ⟨a.re + b.re, a.im + b.im⟩ |
| 457 | def neg (a : GInt) : GInt := ⟨-a.re, -a.im⟩ |
| 458 | def sub (a b : GInt) : GInt := ⟨a.re - b.re, a.im - b.im⟩ |
| 459 | def mul (a b : GInt) : GInt := ⟨a.re * b.re - a.im * b.im, a.re * b.im + a.im * b.re⟩ |
| 460 | def conj (a : GInt) : GInt := ⟨a.re, -a.im⟩ |
| 461 | def normSq (a : GInt) : Int := a.re * a.re + a.im * a.im |
| 462 | |
| 463 | theorem ext {a b : GInt} (h1 : a.re = b.re) (h2 : a.im = b.im) : a = b := by |
| 464 | cases a; cases b; simp only at h1 h2; subst h1; subst h2; rfl |
| 465 | |
| 466 | theorem add_zero (a : GInt) : add a zero = a := by |
| 467 | apply ext <;> simp [add, zero] |
| 468 | |
| 469 | theorem zero_add (a : GInt) : add zero a = a := by |
| 470 | apply ext <;> simp [add, zero] |
| 471 | |
| 472 | theorem add_comm (a b : GInt) : add a b = add b a := by |
| 473 | apply ext <;> simp [add, Int.add_comm] |
| 474 | |
| 475 | theorem mul_zero (a : GInt) : mul a zero = zero := by |
| 476 | apply ext <;> simp [mul, zero] |
| 477 | |
| 478 | theorem zero_mul (a : GInt) : mul zero a = zero := by |
| 479 | apply ext <;> simp [mul, zero] |
| 480 | |
| 481 | theorem mul_one (a : GInt) : mul a one = a := by |
| 482 | apply ext <;> simp [mul, one] |
| 483 | |
| 484 | theorem one_mul (a : GInt) : mul one a = a := by |
| 485 | apply ext <;> simp [mul, one] |
| 486 | |
| 487 | theorem sub_self (a : GInt) : sub a a = zero := by |
| 488 | apply ext <;> simp [sub, zero] |
| 489 | |
| 490 | theorem comm_sub_factor (p d1 d2 : GInt) |
| 491 | (h : sub (mul p d2) (mul d1 p) = zero) : |
| 492 | mul p (sub d2 d1) = zero := by |
| 493 | have hre := congrArg GInt.re h |
| 494 | have him := congrArg GInt.im h |
| 495 | simp only [sub, mul, zero] at hre him |
| 496 | apply ext <;> simp only [mul, sub, zero] <;> grind |
| 497 | |
| 498 | theorem sub_mul_factor (p1 p2 m : GInt) |
| 499 | (h : sub (mul p1 m) (mul m p2) = zero) : |
| 500 | mul (sub p1 p2) m = zero := by |
| 501 | have hre := congrArg GInt.re h |
| 502 | have him := congrArg GInt.im h |
| 503 | simp only [sub, mul, zero] at hre him |
| 504 | apply ext <;> simp only [mul, sub, zero] <;> grind |
| 505 | |
| 506 | end GInt |
| 507 | |
| 508 | /-- Exact finite sum over Fin n in GInt. -/ |
| 509 | def sumFin : ∀ {n : Nat}, (Fin n → GInt) → GInt |
| 510 | | 0, _ => GInt.zero |
| 511 | | _ + 1, f => GInt.add (sumFin (fun i => f i.castSucc)) (f (Fin.last _)) |
| 512 | |
| 513 | theorem sumFin_zero {n : Nat} (f : Fin n → GInt) (h : ∀ i, f i = GInt.zero) : |
| 514 | sumFin f = GInt.zero := by |
| 515 | induction n with |
| 516 | | zero => rfl |
| 517 | | succ n ih => |
| 518 | simp only [sumFin, h (Fin.last n), GInt.add_zero] |
| 519 | exact ih (fun i => f i.castSucc) (fun i => h i.castSucc) |
| 520 | |
| 521 | theorem sumFin_single {n : Nat} (j0 : Fin n) (f : Fin n → GInt) |
| 522 | (h : ∀ i : Fin n, i ≠ j0 → f i = GInt.zero) : |
| 523 | sumFin f = f j0 := by |
| 524 | induction n with |
| 525 | | zero => exact Fin.elim0 j0 |
| 526 | | succ n ih => |
| 527 | simp only [sumFin] |
| 528 | by_cases hlast : j0 = Fin.last n |
| 529 | · subst hlast |
| 530 | have hrest : sumFin (fun i : Fin n => f i.castSucc) = GInt.zero := by |
| 531 | apply sumFin_zero |
| 532 | intro i |
| 533 | apply h i.castSucc |
| 534 | intro heq |
| 535 | have hlt := i.isLt |
| 536 | have hval := congrArg Fin.val heq |
| 537 | simp only [Fin.val_castSucc, Fin.val_last] at hval |
| 538 | omega |
| 539 | rw [hrest, GInt.zero_add] |
| 540 | · have hflast : f (Fin.last n) = GInt.zero := h (Fin.last n) (fun hc => hlast hc.symm) |
| 541 | rw [hflast, GInt.add_zero] |
| 542 | have hlt : j0.val < n := by |
| 543 | have hle := j0.isLt |
| 544 | have hne : j0.val ≠ n := fun hv => hlast (Fin.ext hv) |
| 545 | omega |
| 546 | let j0' : Fin n := ⟨j0.val, hlt⟩ |
| 547 | have hcast : j0'.castSucc = j0 := Fin.ext rfl |
| 548 | have hih := ih j0' (fun i => f i.castSucc) (fun i hi => by |
| 549 | apply h i.castSucc |
| 550 | intro heq |
| 551 | apply hi |
| 552 | have hv : i.val = j0'.val := by |
| 553 | have := congrArg Fin.val heq |
| 554 | simpa [Fin.val_castSucc, j0'] using this |
| 555 | exact Fin.ext hv) |
| 556 | rw [hih, hcast] |
| 557 | |
| 558 | theorem sumFin_sub {n : Nat} (f g : Fin n → GInt) : |
| 559 | sumFin (fun i => GInt.sub (f i) (g i)) = GInt.sub (sumFin f) (sumFin g) := by |
| 560 | induction n with |
| 561 | | zero => simp [sumFin, GInt.sub_self] |
| 562 | | succ n ih => |
| 563 | simp only [sumFin, ih] |
| 564 | apply GInt.ext <;> simp only [GInt.add, GInt.sub] <;> grind |
| 565 | |
| 566 | theorem sumFin_congr {n : Nat} {f g : Fin n → GInt} (h : ∀ i, f i = g i) : |
| 567 | sumFin f = sumFin g := by |
| 568 | induction n with |
| 569 | | zero => rfl |
| 570 | | succ n ih => |
| 571 | simp only [sumFin, h (Fin.last n)] |
| 572 | rw [ih (fun i => h i.castSucc)] |
| 573 | |
| 574 | /-- Exact Fin-indexed matrices over GInt. -/ |
| 575 | abbrev Mat (m n : Nat) := Fin m → Fin n → GInt |
| 576 | |
| 577 | def matAdd {m n : Nat} (A B : Mat m n) : Mat m n := |
| 578 | fun i j => GInt.add (A i j) (B i j) |
| 579 | |
| 580 | def matSub {m n : Nat} (A B : Mat m n) : Mat m n := |
| 581 | fun i j => GInt.sub (A i j) (B i j) |
| 582 | |
| 583 | def matMul {m p n : Nat} (A : Mat m p) (B : Mat p n) : Mat m n := |
| 584 | fun i j => sumFin (fun t => GInt.mul (A i t) (B t j)) |
| 585 | |
| 586 | def matAdj {m n : Nat} (A : Mat m n) : Mat n m := |
| 587 | fun i j => GInt.conj (A j i) |
| 588 | |
| 589 | def matId (n : Nat) : Mat n n := |
| 590 | fun i j => if i = j then GInt.one else GInt.zero |
| 591 | |
| 592 | def matScale {m n : Nat} (c : GInt) (A : Mat m n) : Mat m n := |
| 593 | fun i j => GInt.mul c (A i j) |
| 594 | |
| 595 | def matComm {n : Nat} (A B : Mat n n) : Mat n n := |
| 596 | matSub (matMul A B) (matMul B A) |
| 597 | |
| 598 | def matPow {n : Nat} (A : Mat n n) : Nat → Mat n n |
| 599 | | 0 => matId n |
| 600 | | d + 1 => matMul A (matPow A d) |
| 601 | |
| 602 | /-- Complex ADHM residual: mu_C = [B1, B2] + I * J. -/ |
| 603 | def adhmComplexRes {k N : Nat} (B1 B2 : Mat k k) (I : Mat k N) (J : Mat N k) : Mat k k := |
| 604 | matAdd (matComm B1 B2) (matMul I J) |
| 605 | |
| 606 | /-- Real ADHM residual: mu_R = [B1, B1^dag] + [B2, B2^dag] + I * I^dag - J^dag * J. -/ |
| 607 | def adhmRealRes {k N : Nat} (B1 B2 : Mat k k) (I : Mat k N) (J : Mat N k) : Mat k k := |
| 608 | matAdd (matAdd (matComm B1 (matAdj B1)) (matComm B2 (matAdj B2))) |
| 609 | (matSub (matMul I (matAdj I)) (matMul (matAdj J) J)) |
| 610 | |
| 611 | /-- Shifted ADHM matrix A_a(z) = B_a - z * I_k. -/ |
| 612 | def shiftMat {k : Nat} (B : Mat k k) (z : GInt) : Mat k k := |
| 613 | matSub B (matScale z (matId k)) |
| 614 | |
| 615 | /-- ADHM Hermitian operator H(z1, z2) = J^dag * J + A1^dag * A1 + A2^dag * A2. -/ |
| 616 | def adhmH {k N : Nat} (B1 B2 : Mat k k) (J : Mat N k) (z1 z2 : GInt) : Mat k k := |
| 617 | let A1 := shiftMat B1 z1 |
| 618 | let A2 := shiftMat B2 z2 |
| 619 | matAdd (matMul (matAdj J) J) |
| 620 | (matAdd (matMul (matAdj A1) A1) (matMul (matAdj A2) A2)) |
| 621 | |
| 622 | /-- ADHM (1,1) block H_top(z1, z2) = I * I^dag + A1 * A1^dag + A2 * A2^dag. -/ |
| 623 | def adhmHTop {k N : Nat} (B1 B2 : Mat k k) (I : Mat k N) (z1 z2 : GInt) : Mat k k := |
| 624 | let A1 := shiftMat B1 z1 |
| 625 | let A2 := shiftMat B2 z2 |
| 626 | matAdd (matMul I (matAdj I)) |
| 627 | (matAdd (matMul A1 (matAdj A1)) (matMul A2 (matAdj A2))) |
| 628 | |
| 629 | /-- ADHM (1,2) off-diagonal block of Delta(z1,z2)^dag * Delta(z1,z2): |
| 630 | I * J + [B1 - z1*I, B2 - z2*I]. -/ |
| 631 | def adhmOffDiag {k N : Nat} (B1 B2 : Mat k k) (I : Mat k N) (J : Mat N k) (z1 z2 : GInt) : |
| 632 | Mat k k := |
| 633 | let A1 := shiftMat B1 z1 |
| 634 | let A2 := shiftMat B2 z2 |
| 635 | matAdd (matMul I J) (matComm A1 A2) |
| 636 | |
| 637 | theorem matMul_id_right {m n : Nat} (A : Mat m n) (i : Fin m) (j : Fin n) : |
| 638 | matMul A (matId n) i j = A i j := by |
| 639 | simp only [matMul, matId] |
| 640 | rw [sumFin_single j] |
| 641 | · simp [GInt.mul_one] |
| 642 | · intro t ht; simp [ht, GInt.mul_zero] |
| 643 | |
| 644 | theorem matMul_id_left {m n : Nat} (A : Mat m n) (i : Fin m) (j : Fin n) : |
| 645 | matMul (matId m) A i j = A i j := by |
| 646 | simp only [matMul, matId] |
| 647 | rw [sumFin_single i] |
| 648 | · simp [GInt.one_mul] |
| 649 | · intro t ht |
| 650 | have hne : i ≠ t := fun h => ht h.symm |
| 651 | simp [hne, GInt.zero_mul] |
| 652 | |
| 653 | theorem matMul_scale_right {m p n : Nat} (A : Mat m p) (c : GInt) (B : Mat p n) |
| 654 | (i : Fin m) (j : Fin n) : |
| 655 | matMul A (matScale c B) i j = GInt.mul c (matMul A B i j) := by |
| 656 | simp only [matMul, matScale] |
| 657 | induction p with |
| 658 | | zero => simp [sumFin, GInt.mul_zero] |
| 659 | | succ p ih => |
| 660 | simp only [sumFin] |
| 661 | rw [ih (fun r t => A r t.castSucc) (fun t s => B t.castSucc s)] |
| 662 | apply GInt.ext <;> simp only [GInt.add, GInt.mul] <;> grind |
| 663 | |
| 664 | theorem matMul_scale_left {m p n : Nat} (c : GInt) (A : Mat m p) (B : Mat p n) |
| 665 | (i : Fin m) (j : Fin n) : |
| 666 | matMul (matScale c A) B i j = GInt.mul c (matMul A B i j) := by |
| 667 | simp only [matMul, matScale] |
| 668 | induction p with |
| 669 | | zero => simp [sumFin, GInt.mul_zero] |
| 670 | | succ p ih => |
| 671 | simp only [sumFin] |
| 672 | rw [ih (fun r t => A r t.castSucc) (fun t s => B t.castSucc s)] |
| 673 | apply GInt.ext <;> simp only [GInt.add, GInt.mul] <;> grind |
| 674 | |
| 675 | theorem matMul_sub_right {m p n : Nat} (A : Mat m p) (B C : Mat p n) (i : Fin m) (j : Fin n) : |
| 676 | matMul A (matSub B C) i j = GInt.sub (matMul A B i j) (matMul A C i j) := by |
| 677 | simp only [matMul, matSub] |
| 678 | rw [← sumFin_sub] |
| 679 | apply sumFin_congr |
| 680 | intro t |
| 681 | apply GInt.ext <;> simp only [GInt.mul, GInt.sub] <;> grind |
| 682 | |
| 683 | theorem matMul_sub_left {m p n : Nat} (A B : Mat m p) (C : Mat p n) (i : Fin m) (j : Fin n) : |
| 684 | matMul (matSub A B) C i j = GInt.sub (matMul A C i j) (matMul B C i j) := by |
| 685 | simp only [matMul, matSub] |
| 686 | rw [← sumFin_sub] |
| 687 | apply sumFin_congr |
| 688 | intro t |
| 689 | apply GInt.ext <;> simp only [GInt.mul, GInt.sub] <;> grind |
| 690 | |
| 691 | /-- Universal ADHM Shift-Invariance Lemma 1: [B1 - z1*I, B2 - z2*I] = [B1, B2] for ALL z1, z2. -/ |
| 692 | theorem shift_comm_eq {k : Nat} (B1 B2 : Mat k k) (z1 z2 : GInt) (i j : Fin k) : |
| 693 | matComm (shiftMat B1 z1) (shiftMat B2 z2) i j = matComm B1 B2 i j := by |
| 694 | simp only [matComm, matSub, shiftMat] |
| 695 | rw [matMul_sub_left, matMul_sub_right, matMul_sub_right, |
| 696 | matMul_sub_left, matMul_sub_right, matMul_sub_right, |
| 697 | matMul_scale_right, matMul_scale_left, matMul_scale_left, |
| 698 | matMul_scale_right, matMul_scale_left, matMul_scale_left, |
| 699 | matMul_scale_right, matMul_scale_right, |
| 700 | matMul_id_right, matMul_id_left, matMul_id_right, matMul_id_left, |
| 701 | matMul_id_right] |
| 702 | apply GInt.ext <;> simp only [GInt.sub, GInt.mul] <;> grind |
| 703 | |
| 704 | /-- Universal ADHM Shift-Invariance Lemma 2: [B - z*I, (B - z*I)^dag] = [B, B^dag] for ALL z. -/ |
| 705 | theorem shift_adj_comm_eq {k : Nat} (B : Mat k k) (z : GInt) (i j : Fin k) : |
| 706 | matComm (shiftMat B z) (matAdj (shiftMat B z)) i j = matComm B (matAdj B) i j := by |
| 707 | have hadj : matAdj (shiftMat B z) = shiftMat (matAdj B) (GInt.conj z) := by |
| 708 | funext r s |
| 709 | simp only [matAdj, shiftMat, matSub, matScale, matId] |
| 710 | by_cases h : s = r |
| 711 | · subst h; simp only [ite_true] |
| 712 | apply GInt.ext <;> simp only [GInt.conj, GInt.sub, GInt.mul, GInt.one] <;> grind |
| 713 | · have h' : r ≠ s := fun hc => h hc.symm |
| 714 | simp only [h, h', ite_false] |
| 715 | apply GInt.ext <;> simp only [GInt.conj, GInt.sub, GInt.mul, GInt.zero] <;> grind |
| 716 | rw [hadj] |
| 717 | exact shift_comm_eq B (matAdj B) z (GInt.conj z) i j |
| 718 | |
| 719 | /-- Universal ADHM Block Factorization Theorem: |
| 720 | Whenever the Complex & Real ADHM equations hold, Delta(z1,z2)^dag * Delta(z1,z2) |
| 721 | is strictly block-diagonal I_2 (x) H(z1,z2) for EVERY spacetime point (z1, z2)! -/ |
| 722 | theorem adhm_block_factorization {k N : Nat} (B1 B2 : Mat k k) (I : Mat k N) (J : Mat N k) |
| 723 | (hC : ∀ i j, adhmComplexRes B1 B2 I J i j = GInt.zero) |
| 724 | (hR : ∀ i j, adhmRealRes B1 B2 I J i j = GInt.zero) |
| 725 | (z1 z2 : GInt) (i j : Fin k) : |
| 726 | adhmOffDiag B1 B2 I J z1 z2 i j = GInt.zero ∧ |
| 727 | adhmHTop B1 B2 I z1 z2 i j = adhmH B1 B2 J z1 z2 i j := by |
| 728 | constructor |
| 729 | · simp only [adhmOffDiag, matAdd] |
| 730 | rw [shift_comm_eq] |
| 731 | have hc := hC i j |
| 732 | simp only [adhmComplexRes, matAdd] at hc |
| 733 | rw [GInt.add_comm] |
| 734 | exact hc |
| 735 | · have hr := hR i j |
| 736 | simp only [adhmRealRes, matAdd, matSub] at hr |
| 737 | rw [← shift_adj_comm_eq B1 z1 i j, ← shift_adj_comm_eq B2 z2 i j] at hr |
| 738 | simp only [adhmHTop, adhmH, matAdd, matComm, matSub] at hr ⊢ |
| 739 | apply GInt.ext |
| 740 | · have hre := congrArg GInt.re hr |
| 741 | simp only [GInt.add, GInt.sub, GInt.zero] at hre ⊢ |
| 742 | omega |
| 743 | · have him := congrArg GInt.im hr |
| 744 | simp only [GInt.add, GInt.sub, GInt.zero] at him ⊢ |
| 745 | omega |
| 746 | |
| 747 | /-! ## Section 3: Universal All-k (k >= 3) 3-Parameter Separated Cyclic-Ring Irreducible SU(3) Multi-Instanton Family -/ |
| 748 | |
| 749 | /-- Pythagorean-Arc SU(3) parameters derived from 3 free integers (m, n, r): |
| 750 | p = 2*m*n, q = m^2 - n^2, h = m^2 + n^2 (satisfying p^2 + q^2 = h^2 identically). -/ |
| 751 | def paramP (m n : Int) : Int := 2 * m * n |
| 752 | def paramQ (m n : Int) : Int := m * m - n * n |
| 753 | def paramH (m n : Int) : Int := m * m + n * n |
| 754 | |
| 755 | theorem pythag_identity (m n : Int) : |
| 756 | paramP m n * paramP m n + paramQ m n * paramQ m n = paramH m n * paramH m n := by |
| 757 | simp only [paramP, paramQ, paramH] |
| 758 | grind |
| 759 | |
| 760 | /-- Cyclic successor (j + 1) mod k on Fin k. -/ |
| 761 | def cycNext {k : Nat} (hk : 3 ≤ k) (j : Fin k) : Fin k := |
| 762 | if h : j.val + 1 < k then ⟨j.val + 1, h⟩ else ⟨0, by omega⟩ |
| 763 | |
| 764 | /-- Cyclic predecessor (j - 1) mod k on Fin k. -/ |
| 765 | def cycPrev {k : Nat} (hk : 3 ≤ k) (j : Fin k) : Fin k := |
| 766 | if h : j.val = 0 then ⟨k - 1, by omega⟩ else ⟨j.val - 1, by omega⟩ |
| 767 | |
| 768 | theorem cycNext_prev {k : Nat} (hk : 3 ≤ k) (j : Fin k) : |
| 769 | cycNext hk (cycPrev hk j) = j := by |
| 770 | apply Fin.ext |
| 771 | unfold cycNext cycPrev |
| 772 | by_cases h0 : j.val = 0 |
| 773 | · simp only [h0, dite_true] |
| 774 | have hnot : ¬(k - 1 + 1 < k) := by omega |
| 775 | simp only [hnot, dite_false] |
| 776 | · simp only [h0, dite_false] |
| 777 | have hlt : j.val - 1 + 1 < k := by have := j.isLt; omega |
| 778 | simp only [hlt, dite_true] |
| 779 | omega |
| 780 | |
| 781 | theorem cycPrev_next {k : Nat} (hk : 3 ≤ k) (j : Fin k) : |
| 782 | cycPrev hk (cycNext hk j) = j := by |
| 783 | apply Fin.ext |
| 784 | unfold cycNext cycPrev |
| 785 | by_cases hlt : j.val + 1 < k |
| 786 | · simp only [hlt, dite_true] |
| 787 | have hne : ¬(j.val + 1 = 0) := by omega |
| 788 | simp only [hne, dite_false] |
| 789 | omega |
| 790 | · simp only [hlt, dite_false, dite_true] |
| 791 | have hj := j.isLt |
| 792 | omega |
| 793 | |
| 794 | theorem cycNext_eq_iff {k : Nat} (hk : 3 ≤ k) (i j : Fin k) : |
| 795 | cycNext hk i = j ↔ i = cycPrev hk j := by |
| 796 | constructor |
| 797 | · intro h; rw [← h, cycPrev_next] |
| 798 | · intro h; rw [h, cycNext_prev] |
| 799 | |
| 800 | /-- Arc weight a(j) for B1 along the 3-arc cycle (s1 = 1, s2 = 2): |
| 801 | j = 0 -> p; j = 1 -> r; j >= 2 -> h. -/ |
| 802 | def arcA (m n r : Int) (j : Nat) : Int := |
| 803 | if j = 0 then paramP m n |
| 804 | else if j = 1 then r |
| 805 | else paramH m n |
| 806 | |
| 807 | /-- Arc weight b(j) for B2 along the 3-arc cycle: |
| 808 | j = 0 -> +p; j = 1 -> -r; j >= 2 -> +h. -/ |
| 809 | def arcB (m n r : Int) (j : Nat) : Int := |
| 810 | if j = 0 then paramP m n |
| 811 | else if j = 1 then -r |
| 812 | else paramH m n |
| 813 | |
| 814 | /-- SU(3) Cyclic-Ring ADHM matrix B1 (k x k): (B1)_{i, cycNext i} = arcA(i). -/ |
| 815 | def su3B1 {k : Nat} (hk : 3 ≤ k) (m n r : Int) : Mat k k := |
| 816 | fun i j => if j = cycNext hk i then GInt.ofInt (arcA m n r i.val) else GInt.zero |
| 817 | |
| 818 | /-- SU(3) Cyclic-Ring ADHM matrix B2 (k x k): (B2)_{cycNext j, j} = arcB(j). -/ |
| 819 | def su3B2 {k : Nat} (hk : 3 ≤ k) (m n r : Int) : Mat k k := |
| 820 | fun i j => if i = cycNext hk j then GInt.ofInt (arcB m n r j.val) else GInt.zero |
| 821 | |
| 822 | /-- SU(3) framing weights alpha_c at junction vertices 0, 1, 2. -/ |
| 823 | def su3Alpha (m n r : Int) (c : Fin 3) : GInt := |
| 824 | match c.val with |
| 825 | | 0 => ⟨paramQ m n, 0⟩ |
| 826 | | 1 => ⟨paramP m n, r⟩ |
| 827 | | _ => ⟨paramH m n, r⟩ |
| 828 | |
| 829 | /-- SU(3) co-framing weights beta_c at junction vertices 0, 1, 2. -/ |
| 830 | def su3Beta (m n r : Int) (c : Fin 3) : GInt := |
| 831 | match c.val with |
| 832 | | 0 => ⟨paramQ m n, 0⟩ |
| 833 | | 1 => ⟨paramP m n, -r⟩ |
| 834 | | _ => ⟨-(paramH m n), r⟩ |
| 835 | |
| 836 | /-- SU(3) Cyclic-Ring ADHM matrix I (k x 3): supported on junction vertices 0, 1, 2. -/ |
| 837 | def su3I {k : Nat} (_hk : 3 ≤ k) (m n r : Int) : Mat k 3 := |
| 838 | fun i c => if i.val = c.val then su3Alpha m n r c else GInt.zero |
| 839 | |
| 840 | /-- SU(3) Cyclic-Ring ADHM matrix J (3 x k): supported on junction vertices 0, 1, 2. -/ |
| 841 | def su3J {k : Nat} (_hk : 3 ≤ k) (m n r : Int) : Mat 3 k := |
| 842 | fun c j => if j.val = c.val then su3Beta m n r c else GInt.zero |
| 843 | |
| 844 | theorem su3_B1B2_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 845 | matMul (su3B1 hk m n r) (su3B2 hk m n r) i j = |
| 846 | if i = j then GInt.ofInt (arcA m n r i.val * arcB m n r i.val) else GInt.zero := by |
| 847 | simp only [matMul, su3B1, su3B2] |
| 848 | rw [sumFin_single (cycNext hk i)] |
| 849 | · simp only [ite_true] |
| 850 | by_cases h : i = j |
| 851 | · subst h |
| 852 | simp only [ite_true] |
| 853 | apply GInt.ext <;> simp [GInt.mul, GInt.ofInt] |
| 854 | · have hne : cycNext hk i ≠ cycNext hk j := by |
| 855 | intro hc |
| 856 | apply h |
| 857 | have h2 := congrArg (cycPrev hk) hc |
| 858 | rw [cycPrev_next, cycPrev_next] at h2 |
| 859 | exact h2 |
| 860 | simp only [h, hne, ite_false, GInt.mul_zero] |
| 861 | · intro t ht |
| 862 | simp only [ht, ite_false, GInt.zero_mul] |
| 863 | |
| 864 | theorem su3_B2B1_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 865 | matMul (su3B2 hk m n r) (su3B1 hk m n r) i j = |
| 866 | if i = j then GInt.ofInt (arcA m n r (cycPrev hk i).val * arcB m n r (cycPrev hk i).val) |
| 867 | else GInt.zero := by |
| 868 | simp only [matMul, su3B1, su3B2] |
| 869 | rw [sumFin_single (cycPrev hk i)] |
| 870 | · rw [cycNext_prev] |
| 871 | simp only [ite_true] |
| 872 | by_cases h : i = j |
| 873 | · subst h |
| 874 | simp only [ite_true] |
| 875 | apply GInt.ext <;> simp only [GInt.mul, GInt.ofInt] <;> grind |
| 876 | · have hne : j ≠ i := fun hc => h hc.symm |
| 877 | simp only [h, hne, ite_false, GInt.mul_zero] |
| 878 | · intro t ht |
| 879 | have hne : i ≠ cycNext hk t := by |
| 880 | intro hc |
| 881 | apply ht |
| 882 | rw [← (cycNext_eq_iff hk t i).mp hc.symm] |
| 883 | simp only [hne, ite_false, GInt.zero_mul] |
| 884 | |
| 885 | theorem su3_IJ_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 886 | matMul (su3I hk m n r) (su3J hk m n r) i j = |
| 887 | if h : i = j ∧ i.val < 3 then |
| 888 | GInt.mul (su3Alpha m n r ⟨i.val, h.2⟩) (su3Beta m n r ⟨i.val, h.2⟩) |
| 889 | else GInt.zero := by |
| 890 | simp only [matMul, su3I, su3J] |
| 891 | by_cases hi : i.val < 3 |
| 892 | · let c0 : Fin 3 := ⟨i.val, hi⟩ |
| 893 | rw [sumFin_single c0] |
| 894 | · simp only [c0, ite_true] |
| 895 | by_cases hij : i = j |
| 896 | · subst hij |
| 897 | simp only [hi, and_self, dite_true, ite_true] |
| 898 | · have hne : j.val ≠ i.val := fun hv => hij (Fin.ext hv.symm) |
| 899 | simp only [hij, false_and, dite_false, hne, ite_false, GInt.mul_zero] |
| 900 | · intro c hc |
| 901 | have hne : i.val ≠ c.val := fun hv => hc (Fin.ext hv.symm) |
| 902 | simp only [hne, ite_false, GInt.zero_mul] |
| 903 | · have hz : sumFin (fun c : Fin 3 => |
| 904 | GInt.mul (if i.val = c.val then su3Alpha m n r c else GInt.zero) |
| 905 | (if j.val = c.val then su3Beta m n r c else GInt.zero)) = GInt.zero := by |
| 906 | apply sumFin_zero |
| 907 | intro c |
| 908 | have hne : i.val ≠ c.val := by have := c.isLt; omega |
| 909 | simp only [hne, ite_false, GInt.zero_mul] |
| 910 | rw [hz] |
| 911 | have hnot : ¬(i = j ∧ i.val < 3) := fun h => hi h.2 |
| 912 | simp only [hnot, dite_false] |
| 913 | |
| 914 | /-- UNIVERSAL THEOREM 1 (All-k Complex ADHM Equation): |
| 915 | For EVERY charge k >= 3 and EVERY integer moduli triple (m, n, r), |
| 916 | [B1, B2] + I * J = 0 identically! -/ |
| 917 | theorem su3_cyclic_complex_adhm_all_k {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 918 | adhmComplexRes (su3B1 hk m n r) (su3B2 hk m n r) (su3I hk m n r) (su3J hk m n r) i j = |
| 919 | GInt.zero := by |
| 920 | simp only [adhmComplexRes, matAdd, matComm, matSub] |
| 921 | rw [su3_B1B2_entry, su3_B2B1_entry, su3_IJ_entry] |
| 922 | by_cases hij : i = j |
| 923 | · subst hij |
| 924 | simp only [ite_true] |
| 925 | by_cases h0 : i.val = 0 |
| 926 | · have hpv : (cycPrev hk i).val = k - 1 := by simp [cycPrev, h0] |
| 927 | have hge2 : ¬(k - 1 = 0) ∧ ¬(k - 1 = 1) := by omega |
| 928 | simp only [hpv, h0, arcA, arcB, hge2.1, hge2.2, ite_true, ite_false, |
| 929 | su3Alpha, su3Beta, paramP, paramQ, paramH] |
| 930 | have hlt3 : (0 : Nat) < 3 := by omega |
| 931 | simp only [hlt3, and_self, dite_true] |
| 932 | apply GInt.ext <;> simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero] <;> grind |
| 933 | · by_cases h1 : i.val = 1 |
| 934 | · have hpv : (cycPrev hk i).val = 0 := by simp [cycPrev, h1] |
| 935 | simp only [hpv, h1, arcA, arcB, ite_true, su3Alpha, su3Beta] |
| 936 | have hlt3 : (1 : Nat) < 3 := by omega |
| 937 | simp only [hlt3, and_self, dite_true] |
| 938 | apply GInt.ext <;> simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero] <;> grind |
| 939 | · by_cases h2 : i.val = 2 |
| 940 | · have hpv : (cycPrev hk i).val = 1 := by simp [cycPrev, h2] |
| 941 | simp only [hpv, h2, arcA, arcB, ite_true, su3Alpha, su3Beta] |
| 942 | have hlt3 : (2 : Nat) < 3 := by omega |
| 943 | simp only [hlt3, and_self, dite_true] |
| 944 | apply GInt.ext <;> simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero] <;> grind |
| 945 | · have hge3 : ¬(i.val < 3) := by omega |
| 946 | have hpv : (cycPrev hk i).val = i.val - 1 := by simp [cycPrev, h0] |
| 947 | have hpge2 : ¬(i.val - 1 = 0) ∧ ¬(i.val - 1 = 1) := by omega |
| 948 | simp only [hge3, and_false, dite_false, hpv, arcA, arcB, h0, h1, hpge2.1, hpge2.2, ite_false] |
| 949 | apply GInt.ext <;> simp [GInt.add, GInt.sub, GInt.ofInt, GInt.zero] |
| 950 | · simp only [hij, false_and, dite_false, ite_false] |
| 951 | apply GInt.ext <;> simp [GInt.add, GInt.sub, GInt.zero] |
| 952 | |
| 953 | theorem su3_B1_B1adj_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 954 | matMul (su3B1 hk m n r) (matAdj (su3B1 hk m n r)) i j = |
| 955 | if i = j then GInt.ofInt (arcA m n r i.val * arcA m n r i.val) else GInt.zero := by |
| 956 | simp only [matMul, matAdj, su3B1] |
| 957 | rw [sumFin_single (cycNext hk i)] |
| 958 | · simp only [ite_true] |
| 959 | by_cases h : i = j |
| 960 | · subst h; simp only [ite_true] |
| 961 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.ofInt] |
| 962 | · have hne : cycNext hk i ≠ cycNext hk j := by |
| 963 | intro hc; apply h |
| 964 | have h2 := congrArg (cycPrev hk) hc |
| 965 | rw [cycPrev_next, cycPrev_next] at h2; exact h2 |
| 966 | simp only [h, hne, ite_false, GInt.conj, GInt.zero, GInt.mul] |
| 967 | apply GInt.ext <;> simp |
| 968 | · intro t ht; simp only [ht, ite_false, GInt.zero_mul] |
| 969 | |
| 970 | theorem su3_B1adj_B1_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 971 | matMul (matAdj (su3B1 hk m n r)) (su3B1 hk m n r) i j = |
| 972 | if i = j then GInt.ofInt (arcA m n r (cycPrev hk i).val * arcA m n r (cycPrev hk i).val) |
| 973 | else GInt.zero := by |
| 974 | simp only [matMul, matAdj, su3B1] |
| 975 | rw [sumFin_single (cycPrev hk i)] |
| 976 | · rw [cycNext_prev]; simp only [ite_true] |
| 977 | by_cases h : i = j |
| 978 | · subst h; simp only [ite_true] |
| 979 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.ofInt] |
| 980 | · have hne : j ≠ i := fun hc => h hc.symm |
| 981 | simp only [h, hne, ite_false, GInt.mul_zero] |
| 982 | · intro t ht |
| 983 | have hne : i ≠ cycNext hk t := by |
| 984 | intro hc; apply ht; rw [← (cycNext_eq_iff hk t i).mp hc.symm] |
| 985 | simp only [hne, ite_false, GInt.conj, GInt.zero, GInt.mul] |
| 986 | apply GInt.ext <;> simp |
| 987 | |
| 988 | theorem su3_B2_B2adj_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 989 | matMul (su3B2 hk m n r) (matAdj (su3B2 hk m n r)) i j = |
| 990 | if i = j then GInt.ofInt (arcB m n r (cycPrev hk i).val * arcB m n r (cycPrev hk i).val) |
| 991 | else GInt.zero := by |
| 992 | simp only [matMul, matAdj, su3B2] |
| 993 | rw [sumFin_single (cycPrev hk i)] |
| 994 | · rw [cycNext_prev]; simp only [ite_true] |
| 995 | by_cases h : i = j |
| 996 | · subst h; simp only [ite_true] |
| 997 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.ofInt] |
| 998 | · have hne : j ≠ i := fun hc => h hc.symm |
| 999 | simp only [h, hne, ite_false, GInt.conj, GInt.zero, GInt.mul] |
| 1000 | apply GInt.ext <;> simp |
| 1001 | · intro t ht |
| 1002 | have hne : i ≠ cycNext hk t := by |
| 1003 | intro hc; apply ht; rw [← (cycNext_eq_iff hk t i).mp hc.symm] |
| 1004 | simp only [hne, ite_false, GInt.zero_mul] |
| 1005 | |
| 1006 | theorem su3_B2adj_B2_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 1007 | matMul (matAdj (su3B2 hk m n r)) (su3B2 hk m n r) i j = |
| 1008 | if i = j then GInt.ofInt (arcB m n r i.val * arcB m n r i.val) else GInt.zero := by |
| 1009 | simp only [matMul, matAdj, su3B2] |
| 1010 | rw [sumFin_single (cycNext hk i)] |
| 1011 | · simp only [ite_true] |
| 1012 | by_cases h : i = j |
| 1013 | · subst h; simp only [ite_true] |
| 1014 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.ofInt] |
| 1015 | · have hne : cycNext hk i ≠ cycNext hk j := by |
| 1016 | intro hc; apply h |
| 1017 | have h2 := congrArg (cycPrev hk) hc |
| 1018 | rw [cycPrev_next, cycPrev_next] at h2; exact h2 |
| 1019 | simp only [h, hne, ite_false, GInt.mul_zero] |
| 1020 | · intro t ht |
| 1021 | simp only [ht, ite_false, GInt.conj, GInt.zero, GInt.mul] |
| 1022 | apply GInt.ext <;> simp |
| 1023 | |
| 1024 | theorem su3_IIadj_eq_JadjJ {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 1025 | matMul (su3I hk m n r) (matAdj (su3I hk m n r)) i j = |
| 1026 | matMul (matAdj (su3J hk m n r)) (su3J hk m n r) i j := by |
| 1027 | simp only [matMul, matAdj, su3I, su3J] |
| 1028 | apply sumFin_congr |
| 1029 | intro c |
| 1030 | by_cases hi : i.val = c.val |
| 1031 | · by_cases hj : j.val = c.val |
| 1032 | · simp only [hi, hj, ite_true] |
| 1033 | match c with |
| 1034 | | ⟨0, _⟩ => apply GInt.ext <;> simp [su3Alpha, su3Beta, GInt.mul, GInt.conj] |
| 1035 | | ⟨1, _⟩ => apply GInt.ext <;> simp only [su3Alpha, su3Beta, GInt.mul, GInt.conj] <;> grind |
| 1036 | | ⟨2, _⟩ => apply GInt.ext <;> simp only [su3Alpha, su3Beta, GInt.mul, GInt.conj] <;> grind |
| 1037 | · simp only [hi, hj, ite_true, ite_false] |
| 1038 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.zero] |
| 1039 | · simp only [hi, ite_false] |
| 1040 | apply GInt.ext <;> simp [GInt.mul, GInt.conj, GInt.zero] |
| 1041 | |
| 1042 | theorem arcB_sq_eq_arcA_sq (m n r : Int) (j : Nat) : |
| 1043 | arcB m n r j * arcB m n r j = arcA m n r j * arcA m n r j := by |
| 1044 | simp only [arcA, arcB] |
| 1045 | split |
| 1046 | · rfl |
| 1047 | · split |
| 1048 | · grind |
| 1049 | · rfl |
| 1050 | |
| 1051 | /-- UNIVERSAL THEOREM 2 (All-k Real ADHM Equation): |
| 1052 | For EVERY charge k >= 3 and EVERY integer moduli triple (m, n, r), |
| 1053 | [B1, B1^dag] + [B2, B2^dag] + I * I^dag - J^dag * J = 0 identically! -/ |
| 1054 | theorem su3_cyclic_real_adhm_all_k {k : Nat} (hk : 3 ≤ k) (m n r : Int) (i j : Fin k) : |
| 1055 | adhmRealRes (su3B1 hk m n r) (su3B2 hk m n r) (su3I hk m n r) (su3J hk m n r) i j = |
| 1056 | GInt.zero := by |
| 1057 | simp only [adhmRealRes, matAdd, matSub, matComm] |
| 1058 | rw [su3_B1_B1adj_entry, su3_B1adj_B1_entry, su3_B2_B2adj_entry, su3_B2adj_B2_entry, |
| 1059 | su3_IIadj_eq_JadjJ, GInt.sub_self, GInt.add_zero] |
| 1060 | by_cases hij : i = j |
| 1061 | · subst hij |
| 1062 | simp only [ite_true, arcB_sq_eq_arcA_sq] |
| 1063 | apply GInt.ext <;> simp only [GInt.add, GInt.sub, GInt.ofInt, GInt.zero] <;> grind |
| 1064 | · simp only [hij, ite_false] |
| 1065 | apply GInt.ext <;> simp [GInt.add, GInt.sub, GInt.zero] |
| 1066 | |
| 1067 | /-- UNIVERSAL THEOREM 3 (All-k Exact Block Factorization of Delta(z1,z2)^dag * Delta(z1,z2)): |
| 1068 | For EVERY charge k >= 3, EVERY (m, n, r), and EVERY (z1, z2), |
| 1069 | Delta(z1,z2)^dag * Delta(z1,z2) = I_2 (x) H(z1,z2) identically! -/ |
| 1070 | theorem su3_cyclic_delta_factorization_all_k {k : Nat} (hk : 3 ≤ k) (m n r : Int) |
| 1071 | (z1 z2 : GInt) (i j : Fin k) : |
| 1072 | adhmOffDiag (su3B1 hk m n r) (su3B2 hk m n r) (su3I hk m n r) (su3J hk m n r) z1 z2 i j = |
| 1073 | GInt.zero ∧ |
| 1074 | adhmHTop (su3B1 hk m n r) (su3B2 hk m n r) (su3I hk m n r) z1 z2 i j = |
| 1075 | adhmH (su3B1 hk m n r) (su3B2 hk m n r) (su3J hk m n r) z1 z2 i j := |
| 1076 | adhm_block_factorization _ _ _ _ |
| 1077 | (su3_cyclic_complex_adhm_all_k hk m n r) |
| 1078 | (su3_cyclic_real_adhm_all_k hk m n r) |
| 1079 | z1 z2 i j |
| 1080 | |
| 1081 | /-! ## Section 4: Universal All-k Global Smoothness / Non-Degeneracy over ANY Linearly Ordered Commutative Ring R (including R^4 = C^2!) -/ |
| 1082 | |
| 1083 | open LinOrdCommRing in |
| 1084 | /-- Finite sum in R over Fin n. -/ |
| 1085 | def sumR {R : Type} [LinOrdCommRing R] : ∀ {n : Nat}, (Fin n → R) → R |
| 1086 | | 0, _ => LinOrdCommRing.zero |
| 1087 | | _ + 1, f => LinOrdCommRing.add (sumR (fun i => f i.castSucc)) (f (Fin.last _)) |
| 1088 | |
| 1089 | theorem sumR_nonneg {R : Type} [LinOrdCommRing R] {n : Nat} (f : Fin n → R) |
| 1090 | (h : ∀ i, LinOrdCommRing.le LinOrdCommRing.zero (f i)) : |
| 1091 | LinOrdCommRing.le LinOrdCommRing.zero (sumR f) := by |
| 1092 | induction n with |
| 1093 | | zero => exact LinOrdCommRing.le_refl _ |
| 1094 | | succ n ih => exact LinOrdCommRing.add_nonneg (ih _ (fun i => h i.castSucc)) (h (Fin.last n)) |
| 1095 | |
| 1096 | /-- Exact Hermitian quadratic form v^dag * H(z1, z2) * v over ANY linearly ordered ring R: |
| 1097 | Q_k(z1, z2, v) = ||J v||^2 + ||(B1 - z1) v||^2 + ||(B2 - z2) v||^2. -/ |
| 1098 | def su3QuadForm {R : Type} [LinOrdCommRing R] {k : Nat} (hk : 3 ≤ k) |
| 1099 | (m n r : Int) (z1 z2 : CR R) (v : Fin k → CR R) : R := |
| 1100 | let qR := LinOrdCommRing.ofInt (R := R) (paramQ m n) |
| 1101 | let pR := LinOrdCommRing.ofInt (R := R) (paramP m n) |
| 1102 | let hR := LinOrdCommRing.ofInt (R := R) (paramH m n) |
| 1103 | let rR := LinOrdCommRing.ofInt (R := R) r |
| 1104 | let jTerm := |
| 1105 | LinOrdCommRing.add |
| 1106 | (CR.normSq (CR.mul ⟨qR, LinOrdCommRing.zero⟩ (v ⟨0, by omega⟩))) |
| 1107 | (LinOrdCommRing.add |
| 1108 | (CR.normSq (CR.mul ⟨pR, LinOrdCommRing.neg rR⟩ (v ⟨1, by omega⟩))) |
| 1109 | (CR.normSq (CR.mul ⟨LinOrdCommRing.neg hR, rR⟩ (v ⟨2, by omega⟩)))) |
| 1110 | let b1Term := sumR (fun j : Fin k => |
| 1111 | CR.normSq (CR.sub (CR.scaleR (LinOrdCommRing.ofInt (arcA m n r j.val)) (v (cycNext hk j))) |
| 1112 | (CR.mul z1 (v j)))) |
| 1113 | let b2Term := sumR (fun j : Fin k => |
| 1114 | CR.normSq (CR.sub (CR.scaleR (LinOrdCommRing.ofInt (arcB m n r (cycPrev hk j).val)) (v (cycPrev hk j))) |
| 1115 | (CR.mul z2 (v j)))) |
| 1116 | LinOrdCommRing.add jTerm (LinOrdCommRing.add b1Term b2Term) |
| 1117 | |
| 1118 | /-- Exact squared Euclidean norm ||v||^2 = sum_{j=0}^{k-1} |v_j|^2 over R. -/ |
| 1119 | def vecNormSq {R : Type} [LinOrdCommRing R] {k : Nat} (v : Fin k → CR R) : R := |
| 1120 | sumR (fun j => CR.normSq (v j)) |
| 1121 | |
| 1122 | /-- Sum over a contiguous sub-range {start, ..., start + len - 1} in R. -/ |
| 1123 | def sumRange {R : Type} [LinOrdCommRing R] (f : Nat → R) (start : Nat) : Nat → R |
| 1124 | | 0 => LinOrdCommRing.zero |
| 1125 | | len + 1 => LinOrdCommRing.add (sumRange f start len) (f (start + len)) |
| 1126 | |
| 1127 | theorem sumRange_nonneg {R : Type} [LinOrdCommRing R] (f : Nat → R) (start len : Nat) |
| 1128 | (h : ∀ d, d < len → LinOrdCommRing.le LinOrdCommRing.zero (f (start + d))) : |
| 1129 | LinOrdCommRing.le LinOrdCommRing.zero (sumRange f start len) := by |
| 1130 | induction len with |
| 1131 | | zero => exact LinOrdCommRing.le_refl _ |
| 1132 | | succ len ih => |
| 1133 | exact LinOrdCommRing.add_nonneg (ih (fun d hd => h d (Nat.lt_succ_of_lt hd))) (h len (Nat.lt_succ_self len)) |
| 1134 | |
| 1135 | theorem sumRange_congr {R : Type} [LinOrdCommRing R] (f1 f2 : Nat → R) (start len : Nat) |
| 1136 | (h : ∀ d, d < len → f1 (start + d) = f2 (start + d)) : |
| 1137 | sumRange f1 start len = sumRange f2 start len := by |
| 1138 | induction len with |
| 1139 | | zero => rfl |
| 1140 | | succ len ih => |
| 1141 | simp only [sumRange, h len (Nat.lt_succ_self len)] |
| 1142 | rw [ih (fun d hd => h d (Nat.lt_succ_of_lt hd))] |
| 1143 | |
| 1144 | theorem sumRange_peel {R : Type} [LinOrdCommRing R] (f : Nat → R) : ∀ len : Nat, |
| 1145 | sumRange f 0 (len + 1) = |
| 1146 | LinOrdCommRing.add (f 0) (sumRange (fun d => f (d + 1)) 0 len) |
| 1147 | | 0 => by simp [sumRange, LinOrdCommRing.zero_add, LinOrdCommRing.add_zero] |
| 1148 | | len + 1 => by |
| 1149 | change LinOrdCommRing.add (sumRange f 0 (len + 1)) (f (0 + (len + 1))) = |
| 1150 | LinOrdCommRing.add (f 0) (LinOrdCommRing.add (sumRange (fun d => f (d + 1)) 0 len) (f (0 + len + 1))) |
| 1151 | rw [sumRange_peel f len, LinOrdCommRing.add_assoc, Nat.zero_add, Nat.zero_add] |
| 1152 | |
| 1153 | /-- Helper: algebraic step shared by forward & backward chain bounds. -/ |
| 1154 | theorem chain_step_algebra {R : Type} [LinOrdCommRing R] (L : Nat) (h2 SL wL wLp1 diffL sumD w0 : R) |
| 1155 | (hh2 : LinOrdCommRing.le LinOrdCommRing.zero h2) |
| 1156 | (hSL0 : LinOrdCommRing.le LinOrdCommRing.zero SL) |
| 1157 | (hwL0 : LinOrdCommRing.le LinOrdCommRing.zero wL) |
| 1158 | (hdiffL0 : LinOrdCommRing.le LinOrdCommRing.zero diffL) |
| 1159 | (hstep : LinOrdCommRing.le (LinOrdCommRing.mul h2 wLp1) |
| 1160 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.ofNat 2) diffL) |
| 1161 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat 2) (LinOrdCommRing.mul h2 wL)))) |
| 1162 | (ih : LinOrdCommRing.le (LinOrdCommRing.mul h2 (LinOrdCommRing.add SL wL)) |
| 1163 | (LinOrdCommRing.add (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) (LinOrdCommRing.mul h2 w0)) |
| 1164 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) sumD))) : |
| 1165 | LinOrdCommRing.le (LinOrdCommRing.mul h2 (LinOrdCommRing.add (LinOrdCommRing.add SL wL) wLp1)) |
| 1166 | (LinOrdCommRing.add |
| 1167 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ (L + 1))) (LinOrdCommRing.mul h2 w0)) |
| 1168 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ (L + 1))) (LinOrdCommRing.add sumD diffL))) := by |
| 1169 | open LinOrdCommRing in |
| 1170 | have h4ih := mul_le_mul_of_nonneg_left ih (ofNat_nonneg 4) |
| 1171 | rw [left_distrib (ofNat 4) (mul (ofNat (4 ^ L)) (mul h2 w0)) (mul (ofNat (4 ^ L)) sumD), |
| 1172 | ← mul_assoc (ofNat 4) (ofNat (4 ^ L)), ← mul_assoc (ofNat 4) (ofNat (4 ^ L))] at h4ih |
| 1173 | have hpow : mul (ofNat (R := R) 4) (ofNat (4 ^ L)) = ofNat (4 ^ (L + 1)) := by |
| 1174 | rw [← ofNat_mul, Nat.pow_succ, Nat.mul_comm] |
| 1175 | rw [hpow] at h4ih |
| 1176 | have h1 : le (mul h2 (add (add SL wL) wLp1)) |
| 1177 | (add (add (mul h2 SL) (mul h2 wL)) |
| 1178 | (add (mul (ofNat 2) diffL) (mul (ofNat 2) (mul h2 wL)))) := by |
| 1179 | rw [left_distrib, left_distrib] |
| 1180 | exact add_le_add_left _ hstep |
| 1181 | have hSL_le : le (mul h2 SL) (mul (ofNat 4) (mul h2 SL)) := by |
| 1182 | have hm := mul_le_mul_of_nonneg_right (ofNat_le_ofNat (R := R) (by omega : 1 ≤ 4)) (mul_nonneg hh2 hSL0) |
| 1183 | have h1eq : mul (ofNat (R := R) 1) (mul h2 SL) = mul h2 SL := by simp [ofNat, zero_add, one_mul] |
| 1184 | rw [h1eq] at hm |
| 1185 | exact hm |
| 1186 | have hwL_le : le (add (mul h2 wL) (mul (ofNat 2) (mul h2 wL))) (mul (ofNat 4) (mul h2 wL)) := by |
| 1187 | have hm := mul_le_mul_of_nonneg_right (ofNat_le_ofNat (R := R) (by omega : 3 ≤ 4)) (mul_nonneg hh2 hwL0) |
| 1188 | have h3eq : mul (ofNat (R := R) 3) (mul h2 wL) = add (mul h2 wL) (mul (ofNat 2) (mul h2 wL)) := by |
| 1189 | simp only [ofNat, right_distrib, one_mul, add_comm] |
| 1190 | rw [h3eq] at hm |
| 1191 | exact hm |
| 1192 | have h24 : 2 ≤ 4 ^ (L + 1) := by |
| 1193 | have hp : 1 ≤ 4 ^ L := Nat.one_le_pow L 4 (by omega) |
| 1194 | rw [Nat.pow_succ]; omega |
| 1195 | have hdiff_le : le (mul (ofNat 2) diffL) (mul (ofNat (4 ^ (L + 1))) diffL) := |
| 1196 | mul_le_mul_of_nonneg_right (ofNat_le_ofNat h24) hdiffL0 |
| 1197 | have hcomb := add_le_add (add_le_add hSL_le hwL_le) hdiff_le |
| 1198 | rw [← left_distrib, ← left_distrib] at hcomb |
| 1199 | have hrearr : |
| 1200 | add (add (mul h2 SL) (mul h2 wL)) (add (mul (ofNat 2) diffL) (mul (ofNat 2) (mul h2 wL))) = |
| 1201 | add (add (mul h2 SL) (add (mul h2 wL) (mul (ofNat 2) (mul h2 wL)))) (mul (ofNat 2) diffL) := by |
| 1202 | rw [add_comm (mul (ofNat 2) diffL) (mul (ofNat 2) (mul h2 wL)), |
| 1203 | ← add_assoc (add (mul h2 SL) (mul h2 wL)), add_assoc (mul h2 SL)] |
| 1204 | have h2_bound : |
| 1205 | le (add (add (mul h2 SL) (mul h2 wL)) (add (mul (ofNat 2) diffL) (mul (ofNat 2) (mul h2 wL)))) |
| 1206 | (add (mul (ofNat 4) (mul h2 (add SL wL))) (mul (ofNat (4 ^ (L + 1))) diffL)) := by |
| 1207 | rw [hrearr]; exact hcomb |
| 1208 | have h3 := add_le_add_right h4ih (mul (ofNat (4 ^ (L + 1))) diffL) |
| 1209 | rw [add_assoc, ← left_distrib] at h3 |
| 1210 | exact le_trans (le_trans h1 h2_bound) h3 |
| 1211 | |
| 1212 | /-- Forward telescoping chain lower bound (valid whenever |z|^2 <= h^2 over ANY ring R). -/ |
| 1213 | theorem chain_fwd_bound {R : Type} [LinOrdCommRing R] (hR : R) (z : CR R) |
| 1214 | (hz : LinOrdCommRing.le (CR.normSq z) (LinOrdCommRing.mul hR hR)) (w : Nat → CR R) : |
| 1215 | ∀ L : Nat, |
| 1216 | LinOrdCommRing.le |
| 1217 | (LinOrdCommRing.mul (LinOrdCommRing.mul hR hR) (sumRange (fun d => CR.normSq (w d)) 0 (L + 1))) |
| 1218 | (LinOrdCommRing.add |
| 1219 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) |
| 1220 | (LinOrdCommRing.mul (LinOrdCommRing.mul hR hR) (CR.normSq (w 0)))) |
| 1221 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) |
| 1222 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z (w d)))) 0 L))) |
| 1223 | | 0 => by |
| 1224 | simp only [Nat.pow_zero, sumRange, LinOrdCommRing.zero_add, LinOrdCommRing.mul_zero, |
| 1225 | LinOrdCommRing.add_zero, LinOrdCommRing.ofNat, LinOrdCommRing.one_mul] |
| 1226 | exact LinOrdCommRing.le_refl _ |
| 1227 | | L + 1 => by |
| 1228 | have ih := chain_fwd_bound hR z hz w L |
| 1229 | have hstep0 := CR.two_normSq_sub_ge_left (CR.scaleR hR (w (L + 1))) (CR.mul z (w L)) |
| 1230 | rw [CR.normSq_scaleR, CR.normSq_mul] at hstep0 |
| 1231 | have hzW := LinOrdCommRing.mul_le_mul_of_nonneg_right hz (CR.normSq_nonneg (w L)) |
| 1232 | have hstep := LinOrdCommRing.le_trans hstep0 |
| 1233 | (LinOrdCommRing.add_le_add_left _ (LinOrdCommRing.mul_le_mul_of_nonneg_left hzW (LinOrdCommRing.ofNat_nonneg 2))) |
| 1234 | have hfin := chain_step_algebra L (LinOrdCommRing.mul hR hR) |
| 1235 | (sumRange (fun d => CR.normSq (w d)) 0 L) (CR.normSq (w L)) (CR.normSq (w (L + 1))) |
| 1236 | (CR.normSq (CR.sub (CR.scaleR hR (w (L + 1))) (CR.mul z (w L)))) |
| 1237 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z (w d)))) 0 L) |
| 1238 | (CR.normSq (w 0)) |
| 1239 | (LinOrdCommRing.sq_nonneg hR) |
| 1240 | (sumRange_nonneg _ 0 L (fun _ _ => CR.normSq_nonneg _)) |
| 1241 | (CR.normSq_nonneg _) (CR.normSq_nonneg _) hstep |
| 1242 | (by simpa only [sumRange, Nat.zero_add] using ih) |
| 1243 | simpa only [sumRange, Nat.zero_add] using hfin |
| 1244 | |
| 1245 | /-- Backward telescoping chain lower bound (valid whenever h^2 <= |z|^2 over ANY ring R). -/ |
| 1246 | theorem chain_bwd_bound {R : Type} [LinOrdCommRing R] (hR : R) (z : CR R) |
| 1247 | (hz : LinOrdCommRing.le (LinOrdCommRing.mul hR hR) (CR.normSq z)) (w : Nat → CR R) : |
| 1248 | ∀ L : Nat, |
| 1249 | LinOrdCommRing.le |
| 1250 | (LinOrdCommRing.mul (LinOrdCommRing.mul hR hR) (sumRange (fun d => CR.normSq (w d)) 0 (L + 1))) |
| 1251 | (LinOrdCommRing.add |
| 1252 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) |
| 1253 | (LinOrdCommRing.mul (LinOrdCommRing.mul hR hR) (CR.normSq (w 0)))) |
| 1254 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ L)) |
| 1255 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z (w (d + 1))))) 0 L))) |
| 1256 | | 0 => by |
| 1257 | simp only [Nat.pow_zero, sumRange, LinOrdCommRing.zero_add, LinOrdCommRing.mul_zero, |
| 1258 | LinOrdCommRing.add_zero, LinOrdCommRing.ofNat, LinOrdCommRing.one_mul] |
| 1259 | exact LinOrdCommRing.le_refl _ |
| 1260 | | L + 1 => by |
| 1261 | have ih := chain_bwd_bound hR z hz w L |
| 1262 | have hstep0 := CR.two_normSq_sub_ge_right (CR.scaleR hR (w L)) (CR.mul z (w (L + 1))) |
| 1263 | rw [CR.normSq_scaleR, CR.normSq_mul] at hstep0 |
| 1264 | have hzW := LinOrdCommRing.mul_le_mul_of_nonneg_right hz (CR.normSq_nonneg (w (L + 1))) |
| 1265 | have hstep := LinOrdCommRing.le_trans hzW hstep0 |
| 1266 | have hfin := chain_step_algebra L (LinOrdCommRing.mul hR hR) |
| 1267 | (sumRange (fun d => CR.normSq (w d)) 0 L) (CR.normSq (w L)) (CR.normSq (w (L + 1))) |
| 1268 | (CR.normSq (CR.sub (CR.scaleR hR (w L)) (CR.mul z (w (L + 1))))) |
| 1269 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z (w (d + 1))))) 0 L) |
| 1270 | (CR.normSq (w 0)) |
| 1271 | (LinOrdCommRing.sq_nonneg hR) |
| 1272 | (sumRange_nonneg _ 0 L (fun _ _ => CR.normSq_nonneg _)) |
| 1273 | (CR.normSq_nonneg _) (CR.normSq_nonneg _) hstep |
| 1274 | (by simpa only [sumRange, Nat.zero_add] using ih) |
| 1275 | simpa only [sumRange, Nat.zero_add] using hfin |
| 1276 | |
| 1277 | theorem sumR_eq_sumRange {R : Type} [LinOrdCommRing R] {k : Nat} (f : Fin k → R) (g : Nat → R) |
| 1278 | (h : ∀ j : Fin k, f j = g j.val) : |
| 1279 | sumR f = sumRange g 0 k := by |
| 1280 | induction k with |
| 1281 | | zero => rfl |
| 1282 | | succ k ih => |
| 1283 | simp only [sumR, sumRange, Nat.zero_add, h (Fin.last k), Fin.val_last] |
| 1284 | rw [ih (fun j => f j.castSucc) (fun j => h j.castSucc)] |
| 1285 | |
| 1286 | theorem sumRange_split {R : Type} [LinOrdCommRing R] (g : Nat → R) (a b : Nat) : |
| 1287 | sumRange g 0 (a + b) = LinOrdCommRing.add (sumRange g 0 a) (sumRange g a b) := by |
| 1288 | induction b with |
| 1289 | | zero => simp [sumRange, LinOrdCommRing.add_zero] |
| 1290 | | succ b ih => |
| 1291 | rw [Nat.add_succ] |
| 1292 | simp only [sumRange, Nat.zero_add, ih, LinOrdCommRing.add_assoc] |
| 1293 | |
| 1294 | theorem sumRange_shift {R : Type} [LinOrdCommRing R] (g : Nat → R) (a b : Nat) : |
| 1295 | sumRange g a b = sumRange (fun d => g (a + d)) 0 b := by |
| 1296 | induction b with |
| 1297 | | zero => rfl |
| 1298 | | succ b ih => simp only [sumRange, Nat.zero_add, ih] |
| 1299 | |
| 1300 | theorem sumRange_rev {R : Type} [LinOrdCommRing R] (g : Nat → R) (a : Nat) : ∀ len : Nat, |
| 1301 | sumRange g a len = sumRange (fun d => g (a + len - 1 - d)) 0 len |
| 1302 | | 0 => rfl |
| 1303 | | len + 1 => by |
| 1304 | rw [sumRange_peel] |
| 1305 | simp only [sumRange] |
| 1306 | have h0 : a + (len + 1) - 1 - 0 = a + len := by omega |
| 1307 | rw [h0, LinOrdCommRing.add_comm (g (a + len))] |
| 1308 | congr 1 |
| 1309 | rw [sumRange_rev g a len] |
| 1310 | apply sumRange_congr |
| 1311 | intro d hd |
| 1312 | have he : a + len - 1 - (0 + d) = a + (len + 1) - 1 - (0 + d + 1) := by omega |
| 1313 | rw [he] |
| 1314 | |
| 1315 | theorem ofInt_nonneg {R : Type} [LinOrdCommRing R] {a : Int} (h : 0 ≤ a) : |
| 1316 | LinOrdCommRing.le (LinOrdCommRing.zero (R := R)) (LinOrdCommRing.ofInt a) := by |
| 1317 | cases a with |
| 1318 | | ofNat n => exact LinOrdCommRing.ofNat_nonneg n |
| 1319 | | negSucc _ => omega |
| 1320 | |
| 1321 | theorem ofInt_sub_nat {R : Type} [LinOrdCommRing R] (x y : Nat) : |
| 1322 | LinOrdCommRing.ofInt (R := R) ((x : Int) - (y : Int)) = |
| 1323 | LinOrdCommRing.add (LinOrdCommRing.ofNat x) (LinOrdCommRing.neg (LinOrdCommRing.ofNat y)) := by |
| 1324 | open LinOrdCommRing in |
| 1325 | induction y generalizing x with |
| 1326 | | zero => |
| 1327 | have heq : (x : Int) - ((0 : Nat) : Int) = Int.ofNat x := rfl |
| 1328 | rw [heq] |
| 1329 | simp only [ofInt, ofNat] |
| 1330 | have hz : neg (zero (R := R)) = zero := neg_eq_of_add_eq_zero (zero_add _) |
| 1331 | rw [hz, add_zero] |
| 1332 | | succ y ih => |
| 1333 | cases x with |
| 1334 | | zero => |
| 1335 | have heq : ((0 : Nat) : Int) - ((y + 1 : Nat) : Int) = Int.negSucc y := by |
| 1336 | change (0 : Int) - ((y + 1 : Nat) : Int) = -((y + 1 : Nat) : Int); omega |
| 1337 | rw [heq] |
| 1338 | simp only [ofInt, ofNat, zero_add] |
| 1339 | | succ x => |
| 1340 | have hstep : ((x + 1 : Nat) : Int) - ((y + 1 : Nat) : Int) = (x : Int) - (y : Int) := by omega |
| 1341 | rw [hstep, ih x] |
| 1342 | simp only [ofNat, neg_add] |
| 1343 | calc |
| 1344 | add (ofNat (R := R) x) (neg (ofNat y)) |
| 1345 | = add (add (ofNat x) (neg (ofNat y))) zero := (add_zero _).symm |
| 1346 | _ = add (add (ofNat x) (neg (ofNat y))) (add one (neg one)) := by rw [add_right_neg] |
| 1347 | _ = add (add (ofNat x) one) (add (neg (ofNat y)) (neg one)) := add4_swap _ _ _ _ |
| 1348 | |
| 1349 | theorem ofInt_add {R : Type} [LinOrdCommRing R] (a b : Int) : |
| 1350 | LinOrdCommRing.ofInt (R := R) (a + b) = |
| 1351 | LinOrdCommRing.add (LinOrdCommRing.ofInt a) (LinOrdCommRing.ofInt b) := by |
| 1352 | open LinOrdCommRing in |
| 1353 | cases a with |
| 1354 | | ofNat x => |
| 1355 | cases b with |
| 1356 | | ofNat y => |
| 1357 | have heq : Int.ofNat x + Int.ofNat y = Int.ofNat (x + y) := rfl |
| 1358 | rw [heq]; simp only [ofInt, ofNat_add] |
| 1359 | | negSucc y => |
| 1360 | have heq : Int.ofNat x + Int.negSucc y = (x : Int) - ((y + 1 : Nat) : Int) := by |
| 1361 | change (x : Int) + -((y + 1 : Nat) : Int) = (x : Int) - ((y + 1 : Nat) : Int); omega |
| 1362 | rw [heq, ofInt_sub_nat x (y + 1)]; rfl |
| 1363 | | negSucc x => |
| 1364 | cases b with |
| 1365 | | ofNat y => |
| 1366 | have heq : Int.negSucc x + Int.ofNat y = (y : Int) - ((x + 1 : Nat) : Int) := by |
| 1367 | change -((x + 1 : Nat) : Int) + (y : Int) = (y : Int) - ((x + 1 : Nat) : Int); omega |
| 1368 | rw [heq, ofInt_sub_nat y (x + 1), add_comm]; rfl |
| 1369 | | negSucc y => |
| 1370 | have heq : Int.negSucc x + Int.negSucc y = Int.negSucc (x + y + 1) := by |
| 1371 | change -((x + 1 : Nat) : Int) + -((y + 1 : Nat) : Int) = -(((x + y + 1) + 1 : Nat) : Int); omega |
| 1372 | rw [heq]; simp only [ofInt] |
| 1373 | have hn : x + y + 1 + 1 = (x + 1) + (y + 1) := by omega |
| 1374 | rw [hn, ofNat_add, neg_add] |
| 1375 | |
| 1376 | theorem ofInt_neg {R : Type} [LinOrdCommRing R] (a : Int) : |
| 1377 | LinOrdCommRing.ofInt (R := R) (-a) = LinOrdCommRing.neg (LinOrdCommRing.ofInt a) := by |
| 1378 | symm |
| 1379 | apply LinOrdCommRing.neg_eq_of_add_eq_zero |
| 1380 | rw [← ofInt_add, Int.add_right_neg] |
| 1381 | rfl |
| 1382 | |
| 1383 | theorem ofInt_mul {R : Type} [LinOrdCommRing R] (a b : Int) : |
| 1384 | LinOrdCommRing.ofInt (R := R) (a * b) = |
| 1385 | LinOrdCommRing.mul (LinOrdCommRing.ofInt a) (LinOrdCommRing.ofInt b) := by |
| 1386 | open LinOrdCommRing in |
| 1387 | cases a with |
| 1388 | | ofNat x => |
| 1389 | cases b with |
| 1390 | | ofNat y => |
| 1391 | have heq : Int.ofNat x * Int.ofNat y = Int.ofNat (x * y) := by |
| 1392 | change (x : Int) * (y : Int) = ((x * y : Nat) : Int); grind |
| 1393 | rw [heq]; simp only [ofInt, ofNat_mul] |
| 1394 | | negSucc y => |
| 1395 | have heq : Int.ofNat x * Int.negSucc y = -(Int.ofNat (x * (y + 1))) := by |
| 1396 | change (x : Int) * -((y + 1 : Nat) : Int) = -((x * (y + 1) : Nat) : Int); grind |
| 1397 | rw [heq, ofInt_neg]; simp only [ofInt, ofNat_mul, mul_neg] |
| 1398 | | negSucc x => |
| 1399 | cases b with |
| 1400 | | ofNat y => |
| 1401 | have heq : Int.negSucc x * Int.ofNat y = -(Int.ofNat ((x + 1) * y)) := by |
| 1402 | change -((x + 1 : Nat) : Int) * (y : Int) = -(((x + 1) * y : Nat) : Int); grind |
| 1403 | rw [heq, ofInt_neg]; simp only [ofInt, ofNat_mul, neg_mul] |
| 1404 | | negSucc y => |
| 1405 | have heq : Int.negSucc x * Int.negSucc y = Int.ofNat ((x + 1) * (y + 1)) := by |
| 1406 | change -((x + 1 : Nat) : Int) * -((y + 1 : Nat) : Int) = (((x + 1) * (y + 1) : Nat) : Int); grind |
| 1407 | rw [heq]; simp only [ofInt, ofNat_mul, neg_mul_neg] |
| 1408 | |
| 1409 | theorem ofInt_le_ofInt {R : Type} [LinOrdCommRing R] {a b : Int} (h : a ≤ b) : |
| 1410 | LinOrdCommRing.le (LinOrdCommRing.ofInt (R := R) a) (LinOrdCommRing.ofInt b) := by |
| 1411 | apply LinOrdCommRing.le_of_sub_nonneg |
| 1412 | rw [LinOrdCommRing.sub, ← ofInt_neg, ← ofInt_add] |
| 1413 | exact ofInt_nonneg (by omega) |
| 1414 | |
| 1415 | /-- Explicit uniform spectral lower bound constant for the SU(3) Cyclic-Ring family: |
| 1416 | cMin(m, n, r) = min(q^2, p^2 + r^2), strictly positive whenever m > n > 0 and r > 0. -/ |
| 1417 | def su3CMin (m n r : Int) : Int := |
| 1418 | let q := paramQ m n |
| 1419 | let p := paramP m n |
| 1420 | if q * q ≤ p * p + r * r then q * q else p * p + r * r |
| 1421 | |
| 1422 | theorem su3CMin_pos (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) : |
| 1423 | 0 < su3CMin m n r := by |
| 1424 | have hq : 0 < paramQ m n := int_diff_sq_pos hm hn |
| 1425 | have hq2 : 0 < paramQ m n * paramQ m n := Int.mul_pos hq hq |
| 1426 | have hp2 : 0 ≤ paramP m n * paramP m n := int_sq_nonneg _ |
| 1427 | have hr2 : 0 < r * r := Int.mul_pos hr hr |
| 1428 | unfold su3CMin |
| 1429 | dsimp only |
| 1430 | split <;> omega |
| 1431 | |
| 1432 | theorem su3CMin_le_q2 (m n r : Int) : su3CMin m n r ≤ paramQ m n * paramQ m n := by |
| 1433 | unfold su3CMin; dsimp only; split <;> omega |
| 1434 | |
| 1435 | theorem su3CMin_le_p2r2 (m n r : Int) : |
| 1436 | su3CMin m n r ≤ paramP m n * paramP m n + r * r := by |
| 1437 | unfold su3CMin; dsimp only; split <;> omega |
| 1438 | |
| 1439 | theorem q2_le_h2 (m n : Int) : |
| 1440 | paramQ m n * paramQ m n ≤ paramH m n * paramH m n := by |
| 1441 | have hpy := pythag_identity m n |
| 1442 | have hp2 := int_sq_nonneg (paramP m n) |
| 1443 | omega |
| 1444 | |
| 1445 | /-- UNIVERSAL THEOREM 4 (Global Smoothness / Uniform Strict Positive-Definiteness over ALL R^4): |
| 1446 | For EVERY charge k >= 3, EVERY (m, n, r) with m > n > 0 and r > 0, |
| 1447 | EVERY linearly ordered commutative ring R (including R = Real, Rat, Int!), |
| 1448 | EVERY spacetime point (z1, z2) in C_R^2 = R^4, and EVERY vector v in C_R^k: |
| 1449 | 4^(k-3) * h^2 * Q_k(z1, z2, v) >= h^2 * cMin(m, n, r) * ||v||^2 |
| 1450 | with h^2 * cMin(m, n, r) > 0 strictly! -/ |
| 1451 | theorem su3_cyclic_global_smoothness_all_k {R : Type} [LinOrdCommRing R] |
| 1452 | {k : Nat} (hk : 3 ≤ k) |
| 1453 | (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) |
| 1454 | (z1 z2 : CR R) (v : Fin k → CR R) : |
| 1455 | 0 < paramH m n * paramH m n * su3CMin m n r ∧ |
| 1456 | LinOrdCommRing.le |
| 1457 | (LinOrdCommRing.mul (LinOrdCommRing.ofInt (paramH m n * paramH m n * su3CMin m n r)) (vecNormSq v)) |
| 1458 | (LinOrdCommRing.mul (LinOrdCommRing.ofNat (4 ^ (k - 3))) |
| 1459 | (LinOrdCommRing.mul (LinOrdCommRing.ofInt (paramH m n * paramH m n)) |
| 1460 | (su3QuadForm hk m n r z1 z2 v))) := by |
| 1461 | refine ⟨?_, ?_⟩ |
| 1462 | · have hh : 0 < paramH m n := by |
| 1463 | unfold paramH |
| 1464 | have hm2 := int_sq_nonneg m |
| 1465 | have hn2 := Int.mul_pos hn hn |
| 1466 | omega |
| 1467 | exact Int.mul_pos (Int.mul_pos hh hh) (su3CMin_pos m n r hm hn hr) |
| 1468 | open LinOrdCommRing in |
| 1469 | let L := k - 3 |
| 1470 | let qR : R := ofInt (paramQ m n) |
| 1471 | let pR : R := ofInt (paramP m n) |
| 1472 | let hR : R := ofInt (paramH m n) |
| 1473 | let rR : R := ofInt r |
| 1474 | let q2 : R := mul qR qR |
| 1475 | let p2r2 : R := add (mul pR pR) (mul rR rR) |
| 1476 | let h2 : R := mul hR hR |
| 1477 | let h2r2 : R := add h2 (mul rR rR) |
| 1478 | let cR : R := ofInt (su3CMin m n r) |
| 1479 | have hh2_eq : ofInt (R := R) (paramH m n * paramH m n) = h2 := ofInt_mul _ _ |
| 1480 | have hq2_eq : ofInt (R := R) (paramQ m n * paramQ m n) = q2 := ofInt_mul _ _ |
| 1481 | have hp2r2_eq : ofInt (R := R) (paramP m n * paramP m n + r * r) = p2r2 := by |
| 1482 | rw [ofInt_add, ofInt_mul, ofInt_mul] |
| 1483 | have hh2_0 : le zero h2 := sq_nonneg hR |
| 1484 | have hq2_0 : le zero q2 := sq_nonneg qR |
| 1485 | have hr2_0 : le zero (mul rR rR) := sq_nonneg rR |
| 1486 | have hp2r2_0 : le zero p2r2 := add_nonneg (sq_nonneg pR) hr2_0 |
| 1487 | have hc_le_q2 : le cR q2 := by rw [← hq2_eq]; exact ofInt_le_ofInt (su3CMin_le_q2 m n r) |
| 1488 | have hc_le_p2r2 : le cR p2r2 := by rw [← hp2r2_eq]; exact ofInt_le_ofInt (su3CMin_le_p2r2 m n r) |
| 1489 | have hq2_le_h2 : le q2 h2 := by rw [← hq2_eq, ← hh2_eq]; exact ofInt_le_ofInt (q2_le_h2 m n) |
| 1490 | have hc_le_h2 : le cR h2 := le_trans hc_le_q2 hq2_le_h2 |
| 1491 | have h1_le_4L : le (ofNat (R := R) 1) (ofNat (4 ^ L)) := |
| 1492 | ofNat_le_ofNat (Nat.one_le_pow L 4 (by omega)) |
| 1493 | have hj0 : CR.normSq (CR.mul ⟨qR, zero⟩ (v ⟨0, by omega⟩)) = |
| 1494 | mul q2 (CR.normSq (v ⟨0, by omega⟩)) := by |
| 1495 | rw [CR.normSq_mul]; simp only [CR.normSq, mul_zero, add_zero, q2] |
| 1496 | have hj1 : CR.normSq (CR.mul ⟨pR, neg rR⟩ (v ⟨1, by omega⟩)) = |
| 1497 | mul p2r2 (CR.normSq (v ⟨1, by omega⟩)) := by |
| 1498 | rw [CR.normSq_mul]; simp only [CR.normSq, neg_mul_neg, p2r2] |
| 1499 | have hj2 : CR.normSq (CR.mul ⟨neg hR, rR⟩ (v ⟨2, by omega⟩)) = |
| 1500 | mul h2r2 (CR.normSq (v ⟨2, by omega⟩)) := by |
| 1501 | rw [CR.normSq_mul]; simp only [CR.normSq, neg_mul_neg, h2r2, h2] |
| 1502 | let vExt : Nat → CR R := fun j => if hj : j < k then v ⟨j, hj⟩ else CR.zero |
| 1503 | let b1F : Nat → R := fun j => |
| 1504 | if hj : j < k then |
| 1505 | CR.normSq (CR.sub (CR.scaleR (ofInt (arcA m n r j)) (v (cycNext hk ⟨j, hj⟩))) |
| 1506 | (CR.mul z1 (v ⟨j, hj⟩))) |
| 1507 | else zero |
| 1508 | have hvn_eq : vecNormSq v = |
| 1509 | add (add (CR.normSq (v ⟨0, by omega⟩)) (CR.normSq (v ⟨1, by omega⟩))) |
| 1510 | (add (CR.normSq (v ⟨2, by omega⟩)) (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L)) := by |
| 1511 | have hk3 : k = 3 + L := by omega |
| 1512 | have hsr : sumRange (fun j => CR.normSq (vExt j)) 0 k = |
| 1513 | sumRange (fun j => CR.normSq (vExt j)) 0 (3 + L) := |
| 1514 | congrArg (sumRange (fun j => CR.normSq (vExt j)) 0) hk3 |
| 1515 | rw [vecNormSq, sumR_eq_sumRange _ (fun j => CR.normSq (vExt j)) (fun j => by simp [vExt, j.isLt]), |
| 1516 | hsr, sumRange_split _ 3 L, sumRange_shift (fun j => CR.normSq (vExt j)) 3 L] |
| 1517 | simp only [sumRange, zero_add, Nat.zero_add, vExt, (by omega : 0 < k), (by omega : 1 < k), |
| 1518 | (by omega : 2 < k), dite_true] |
| 1519 | rw [add_assoc] |
| 1520 | have hb2_0 : le zero |
| 1521 | (sumR (fun j : Fin k => |
| 1522 | CR.normSq (CR.sub (CR.scaleR (ofInt (arcB m n r (cycPrev hk j).val)) (v (cycPrev hk j))) |
| 1523 | (CR.mul z2 (v j))))) := |
| 1524 | sumR_nonneg _ (fun _ => CR.normSq_nonneg _) |
| 1525 | have hQ_ge : |
| 1526 | le (add (add (mul q2 (CR.normSq (v ⟨0, by omega⟩))) |
| 1527 | (add (mul p2r2 (CR.normSq (v ⟨1, by omega⟩))) |
| 1528 | (mul h2r2 (CR.normSq (v ⟨2, by omega⟩))))) |
| 1529 | (sumRange b1F 0 k)) |
| 1530 | (su3QuadForm hk m n r z1 z2 v) := by |
| 1531 | unfold su3QuadForm |
| 1532 | dsimp only |
| 1533 | rw [hj0, hj1, hj2] |
| 1534 | have hb1_eq : |
| 1535 | sumR (fun j : Fin k => |
| 1536 | CR.normSq (CR.sub (CR.scaleR (ofInt (arcA m n r j.val)) (v (cycNext hk j))) |
| 1537 | (CR.mul z1 (v j)))) = |
| 1538 | sumRange b1F 0 k := |
| 1539 | sumR_eq_sumRange _ b1F (fun j => by simp [b1F, j.isLt]) |
| 1540 | rw [hb1_eq] |
| 1541 | have hadd := add_le_add_left (sumRange b1F 0 k) hb2_0 |
| 1542 | rw [add_zero] at hadd |
| 1543 | exact add_le_add_left _ hadd |
| 1544 | have hlhs_fac : ofInt (R := R) (paramH m n * paramH m n * su3CMin m n r) = mul h2 cR := by |
| 1545 | rw [ofInt_mul, hh2_eq] |
| 1546 | rw [hlhs_fac, hh2_eq] |
| 1547 | have hlift := mul_le_mul_of_nonneg_left hQ_ge (mul_nonneg (ofNat_nonneg (4 ^ L)) hh2_0) |
| 1548 | rw [mul_assoc (ofNat (4 ^ L)) h2, mul_assoc (ofNat (4 ^ L)) h2] at hlift |
| 1549 | refine le_trans ?_ hlift |
| 1550 | -- Case split on |z1|^2 <= h^2 vs h^2 <= |z1|^2 |
| 1551 | cases le_total (CR.normSq z1) h2 with |
| 1552 | | inl hz_le => |
| 1553 | let w : Nat → CR R := fun d => vExt (2 + d) |
| 1554 | have hchain := chain_fwd_bound hR z1 hz_le w L |
| 1555 | have hchain_h2 := mul_le_mul_of_nonneg_left hchain hh2_0 |
| 1556 | have hsumW : |
| 1557 | sumRange (fun d => CR.normSq (w d)) 0 (L + 1) = |
| 1558 | add (CR.normSq (v ⟨2, by omega⟩)) |
| 1559 | (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L) := by |
| 1560 | rw [sumRange_peel] |
| 1561 | simp only [w, vExt, (by omega : 2 + 0 < k), dite_true] |
| 1562 | congr 1 |
| 1563 | apply sumRange_congr |
| 1564 | intro d _ |
| 1565 | have he : 2 + (0 + d + 1) = 3 + (0 + d) := by omega |
| 1566 | rw [he] |
| 1567 | have hdiff_le_b1 : |
| 1568 | le (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z1 (w d)))) 0 L) |
| 1569 | (sumRange b1F 0 k) := by |
| 1570 | have hk_sp : k = (2 + L) + 1 := by omega |
| 1571 | have hsr : sumRange b1F 0 k = sumRange b1F 0 ((2 + L) + 1) := congrArg (sumRange b1F 0) hk_sp |
| 1572 | rw [hsr, sumRange_split b1F (2 + L) 1, sumRange_split b1F 2 L] |
| 1573 | have hb1_nn : ∀ j : Nat, le zero (b1F j) := fun j => by |
| 1574 | simp only [b1F]; by_cases hj : j < k |
| 1575 | · simp only [hj, dite_true]; exact CR.normSq_nonneg _ |
| 1576 | · simp only [hj, dite_false]; exact le_refl _ |
| 1577 | have h02 : le zero (sumRange b1F 0 2) := sumRange_nonneg b1F 0 2 (fun d _ => hb1_nn _) |
| 1578 | have hlast : le zero (sumRange b1F (2 + L) 1) := sumRange_nonneg b1F (2 + L) 1 (fun d _ => hb1_nn _) |
| 1579 | have hmid_eq : |
| 1580 | sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z1 (w d)))) 0 L = |
| 1581 | sumRange b1F 2 L := by |
| 1582 | rw [sumRange_shift b1F 2 L] |
| 1583 | apply sumRange_congr |
| 1584 | intro d hd |
| 1585 | have hlt1 : 2 + (0 + d) < k := by omega |
| 1586 | have hlt2 : 2 + (0 + d + 1) < k := by omega |
| 1587 | have hlt3 : (2 + (0 + d)) + 1 < k := by omega |
| 1588 | simp only [w, vExt, b1F, hlt1, hlt2, dite_true] |
| 1589 | have harc : arcA m n r (2 + (0 + d)) = paramH m n := by |
| 1590 | unfold arcA; rw [ite_eq_right (by omega), ite_eq_right (by omega)] |
| 1591 | have hnxt : cycNext hk ⟨2 + (0 + d), hlt1⟩ = ⟨2 + (0 + d + 1), hlt2⟩ := by |
| 1592 | apply Fin.ext; simp only [cycNext, hlt3, dite_true]; omega |
| 1593 | rw [harc, hnxt] |
| 1594 | rw [hmid_eq] |
| 1595 | have hstep1 := add_le_add_right h02 (sumRange b1F 2 L) |
| 1596 | rw [zero_add] at hstep1 |
| 1597 | have hstep2 := add_le_add_left (add (sumRange b1F 0 2) (sumRange b1F 2 L)) hlast |
| 1598 | rw [add_zero] at hstep2 |
| 1599 | exact le_trans hstep1 hstep2 |
| 1600 | have hv0 : |
| 1601 | le (mul (mul h2 cR) (CR.normSq (v ⟨0, by omega⟩))) |
| 1602 | (mul (ofNat (4 ^ L)) (mul h2 (mul q2 (CR.normSq (v ⟨0, by omega⟩))))) := by |
| 1603 | have h1 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_q2 hh2_0) (CR.normSq_nonneg (v ⟨0, by omega⟩)) |
| 1604 | have h2' := mul_le_mul_of_nonneg_right h1_le_4L |
| 1605 | (mul_nonneg (mul_nonneg hh2_0 hq2_0) (CR.normSq_nonneg (v ⟨0, by omega⟩))) |
| 1606 | have h1eq : mul (ofNat (R := R) 1) (mul (mul h2 q2) (CR.normSq (v ⟨0, by omega⟩))) = |
| 1607 | mul (mul h2 q2) (CR.normSq (v ⟨0, by omega⟩)) := by simp [ofNat, zero_add, one_mul] |
| 1608 | rw [h1eq] at h2' |
| 1609 | rw [mul_assoc h2 q2] at h2' h1 |
| 1610 | exact le_trans h1 h2' |
| 1611 | have hv1 : |
| 1612 | le (mul (mul h2 cR) (CR.normSq (v ⟨1, by omega⟩))) |
| 1613 | (mul (ofNat (4 ^ L)) (mul h2 (mul p2r2 (CR.normSq (v ⟨1, by omega⟩))))) := by |
| 1614 | have h1 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_p2r2 hh2_0) (CR.normSq_nonneg (v ⟨1, by omega⟩)) |
| 1615 | have h2' := mul_le_mul_of_nonneg_right h1_le_4L |
| 1616 | (mul_nonneg (mul_nonneg hh2_0 hp2r2_0) (CR.normSq_nonneg (v ⟨1, by omega⟩))) |
| 1617 | have h1eq : mul (ofNat (R := R) 1) (mul (mul h2 p2r2) (CR.normSq (v ⟨1, by omega⟩))) = |
| 1618 | mul (mul h2 p2r2) (CR.normSq (v ⟨1, by omega⟩)) := by simp [ofNat, zero_add, one_mul] |
| 1619 | rw [h1eq] at h2' |
| 1620 | rw [mul_assoc h2 p2r2] at h2' h1 |
| 1621 | exact le_trans h1 h2' |
| 1622 | have hv2_tail : |
| 1623 | le (mul (mul h2 cR) |
| 1624 | (add (CR.normSq (v ⟨2, by omega⟩)) |
| 1625 | (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L))) |
| 1626 | (add (mul (ofNat (4 ^ L)) (mul h2 (mul h2r2 (CR.normSq (v ⟨2, by omega⟩))))) |
| 1627 | (mul (ofNat (4 ^ L)) (mul h2 (sumRange b1F 0 k)))) := by |
| 1628 | rw [← hsumW] |
| 1629 | have hsumW0 : le zero (sumRange (fun d => CR.normSq (w d)) 0 (L + 1)) := |
| 1630 | sumRange_nonneg _ 0 (L + 1) (fun _ _ => CR.normSq_nonneg _) |
| 1631 | have hc_h2 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_h2 hh2_0) hsumW0 |
| 1632 | rw [mul_assoc h2 h2] at hc_h2 |
| 1633 | have hstep_c := le_trans hc_h2 hchain_h2 |
| 1634 | rw [left_distrib] at hstep_c |
| 1635 | refine le_trans hstep_c (add_le_add ?_ ?_) |
| 1636 | · have hw0_eq : w 0 = v ⟨2, by omega⟩ := by simp [w, vExt, (by omega : 2 < k)] |
| 1637 | rw [hw0_eq] |
| 1638 | have hh2_le_h2r2 : le h2 h2r2 := by |
| 1639 | have := add_le_add_left h2 hr2_0; rw [add_zero] at this; exact this |
| 1640 | have hm := mul_le_mul_of_nonneg_left |
| 1641 | (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right hh2_le_h2r2 (CR.normSq_nonneg (v ⟨2, by omega⟩))) hh2_0) |
| 1642 | (ofNat_nonneg (4 ^ L)) |
| 1643 | have hre : mul h2 (mul (ofNat (4 ^ L)) (mul h2 (CR.normSq (v ⟨2, by omega⟩)))) = |
| 1644 | mul (ofNat (4 ^ L)) (mul h2 (mul h2 (CR.normSq (v ⟨2, by omega⟩)))) := by |
| 1645 | rw [← mul_assoc h2 (ofNat (4 ^ L)), mul_comm h2 (ofNat (4 ^ L)), mul_assoc] |
| 1646 | rw [hre]; exact hm |
| 1647 | · have hre : mul h2 (mul (ofNat (4 ^ L)) |
| 1648 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z1 (w d)))) 0 L)) = |
| 1649 | mul (ofNat (4 ^ L)) (mul h2 |
| 1650 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w (d + 1))) (CR.mul z1 (w d)))) 0 L)) := by |
| 1651 | rw [← mul_assoc h2 (ofNat (4 ^ L)), mul_comm h2 (ofNat (4 ^ L)), mul_assoc] |
| 1652 | rw [hre] |
| 1653 | exact mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hdiff_le_b1 hh2_0) (ofNat_nonneg _) |
| 1654 | rw [hvn_eq, left_distrib, left_distrib] |
| 1655 | have htot := add_le_add (add_le_add hv0 hv1) hv2_tail |
| 1656 | refine le_trans htot ?_ |
| 1657 | rw [left_distrib, left_distrib, left_distrib, left_distrib, left_distrib, left_distrib] |
| 1658 | rw [← add_assoc (add _ _), add_assoc (mul (ofNat (4 ^ L)) (mul h2 (mul q2 _)))] |
| 1659 | exact le_refl _ |
| 1660 | | inr hz_ge => |
| 1661 | let w : Nat → CR R := fun d => if d = 0 then v ⟨0, by omega⟩ else vExt (k - d) |
| 1662 | have hchain := chain_bwd_bound hR z1 hz_ge w L |
| 1663 | have hchain_q2 := mul_le_mul_of_nonneg_left hchain hq2_0 |
| 1664 | have hsumW : |
| 1665 | sumRange (fun d => CR.normSq (w d)) 0 (L + 1) = |
| 1666 | add (CR.normSq (v ⟨0, by omega⟩)) |
| 1667 | (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L) := by |
| 1668 | rw [sumRange_peel] |
| 1669 | simp only [w, ite_true] |
| 1670 | congr 1 |
| 1671 | rw [← sumRange_shift (fun j => CR.normSq (vExt j)) 3 L, |
| 1672 | sumRange_rev (fun j => CR.normSq (vExt j)) 3 L] |
| 1673 | apply sumRange_congr |
| 1674 | intro d hd |
| 1675 | have hne : 0 + d + 1 ≠ 0 := by omega |
| 1676 | simp only [hne, ite_false] |
| 1677 | have he : k - (0 + d + 1) = 3 + L - 1 - (0 + d) := by omega |
| 1678 | rw [he] |
| 1679 | have hdiff_le_b1 : |
| 1680 | le (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z1 (w (d + 1))))) 0 L) |
| 1681 | (sumRange b1F 0 k) := by |
| 1682 | have hk_sp : k = 3 + L := by omega |
| 1683 | have hsr : sumRange b1F 0 k = sumRange b1F 0 (3 + L) := congrArg (sumRange b1F 0) hk_sp |
| 1684 | rw [hsr, sumRange_split b1F 3 L] |
| 1685 | have hb1_nn : ∀ j : Nat, le zero (b1F j) := fun j => by |
| 1686 | simp only [b1F]; by_cases hj : j < k |
| 1687 | · simp only [hj, dite_true]; exact CR.normSq_nonneg _ |
| 1688 | · simp only [hj, dite_false]; exact le_refl _ |
| 1689 | have h03 : le zero (sumRange b1F 0 3) := sumRange_nonneg b1F 0 3 (fun d _ => hb1_nn _) |
| 1690 | have hmid_eq : |
| 1691 | sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z1 (w (d + 1))))) 0 L = |
| 1692 | sumRange b1F 3 L := by |
| 1693 | rw [sumRange_rev b1F 3 L] |
| 1694 | apply sumRange_congr |
| 1695 | intro d hd |
| 1696 | rw [Nat.zero_add] |
| 1697 | have hidx_eq : 3 + L - 1 - d = k - (d + 1) := by omega |
| 1698 | rw [hidx_eq] |
| 1699 | have hlt : k - (d + 1) < k := by omega |
| 1700 | have hge2_1 : ¬(k - (d + 1) = 0) := by omega |
| 1701 | have hge2_2 : ¬(k - (d + 1) = 1) := by omega |
| 1702 | have harc : arcA m n r (k - (d + 1)) = paramH m n := by |
| 1703 | unfold arcA; rw [ite_eq_right (fun hc => absurd hc hge2_1), ite_eq_right (fun hc => absurd hc hge2_2)] |
| 1704 | have hne1 : d + 1 ≠ 0 := by omega |
| 1705 | simp only [b1F, hlt, dite_true, harc, w, hne1, ite_false, vExt] |
| 1706 | by_cases hd0 : d = 0 |
| 1707 | · subst hd0 |
| 1708 | simp only [ite_true] |
| 1709 | have hnxt : cycNext hk ⟨k - (0 + 1), hlt⟩ = ⟨0, by omega⟩ := by |
| 1710 | apply Fin.ext |
| 1711 | unfold cycNext |
| 1712 | have hnot : ¬(k - (0 + 1) + 1 < k) := by omega |
| 1713 | simp only [hnot, dite_false] |
| 1714 | rw [hnxt] |
| 1715 | · simp only [hd0, ite_false] |
| 1716 | have hlt0 : k - d < k := by omega |
| 1717 | simp only [hlt0, dite_true] |
| 1718 | have hnxt : cycNext hk ⟨k - (d + 1), hlt⟩ = ⟨k - d, hlt0⟩ := by |
| 1719 | apply Fin.ext; simp only [cycNext] |
| 1720 | have hltn : k - (d + 1) + 1 < k := by omega |
| 1721 | simp only [hltn, dite_true]; omega |
| 1722 | rw [hnxt] |
| 1723 | rw [hmid_eq] |
| 1724 | have hstep1 := add_le_add_right h03 (sumRange b1F 3 L) |
| 1725 | rw [zero_add] at hstep1 |
| 1726 | exact hstep1 |
| 1727 | have hv1 : |
| 1728 | le (mul (mul h2 cR) (CR.normSq (v ⟨1, by omega⟩))) |
| 1729 | (mul (ofNat (4 ^ L)) (mul h2 (mul p2r2 (CR.normSq (v ⟨1, by omega⟩))))) := by |
| 1730 | have h1 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_p2r2 hh2_0) (CR.normSq_nonneg (v ⟨1, by omega⟩)) |
| 1731 | have h2' := mul_le_mul_of_nonneg_right h1_le_4L |
| 1732 | (mul_nonneg (mul_nonneg hh2_0 hp2r2_0) (CR.normSq_nonneg (v ⟨1, by omega⟩))) |
| 1733 | have h1eq : mul (ofNat (R := R) 1) (mul (mul h2 p2r2) (CR.normSq (v ⟨1, by omega⟩))) = |
| 1734 | mul (mul h2 p2r2) (CR.normSq (v ⟨1, by omega⟩)) := by simp [ofNat, zero_add, one_mul] |
| 1735 | rw [h1eq] at h2' |
| 1736 | rw [mul_assoc h2 p2r2] at h2' h1 |
| 1737 | exact le_trans h1 h2' |
| 1738 | have hv2 : |
| 1739 | le (mul (mul h2 cR) (CR.normSq (v ⟨2, by omega⟩))) |
| 1740 | (mul (ofNat (4 ^ L)) (mul h2 (mul h2r2 (CR.normSq (v ⟨2, by omega⟩))))) := by |
| 1741 | have hh2_le_h2r2 : le h2 h2r2 := by |
| 1742 | have := add_le_add_left h2 hr2_0; rw [add_zero] at this; exact this |
| 1743 | have hc_le_h2r2 : le cR h2r2 := le_trans hc_le_h2 hh2_le_h2r2 |
| 1744 | have hh2r2_0 : le zero h2r2 := add_nonneg hh2_0 hr2_0 |
| 1745 | have h1 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_h2r2 hh2_0) (CR.normSq_nonneg (v ⟨2, by omega⟩)) |
| 1746 | have h2' := mul_le_mul_of_nonneg_right h1_le_4L |
| 1747 | (mul_nonneg (mul_nonneg hh2_0 hh2r2_0) (CR.normSq_nonneg (v ⟨2, by omega⟩))) |
| 1748 | have h1eq : mul (ofNat (R := R) 1) (mul (mul h2 h2r2) (CR.normSq (v ⟨2, by omega⟩))) = |
| 1749 | mul (mul h2 h2r2) (CR.normSq (v ⟨2, by omega⟩)) := by simp [ofNat, zero_add, one_mul] |
| 1750 | rw [h1eq] at h2' |
| 1751 | rw [mul_assoc h2 h2r2] at h2' h1 |
| 1752 | exact le_trans h1 h2' |
| 1753 | have hv0_tail : |
| 1754 | le (mul (mul h2 cR) |
| 1755 | (add (CR.normSq (v ⟨0, by omega⟩)) |
| 1756 | (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L))) |
| 1757 | (add (mul (ofNat (4 ^ L)) (mul h2 (mul q2 (CR.normSq (v ⟨0, by omega⟩))))) |
| 1758 | (mul (ofNat (4 ^ L)) (mul h2 (sumRange b1F 0 k)))) := by |
| 1759 | rw [← hsumW] |
| 1760 | have hsumW0 : le zero (sumRange (fun d => CR.normSq (w d)) 0 (L + 1)) := |
| 1761 | sumRange_nonneg _ 0 (L + 1) (fun _ _ => CR.normSq_nonneg _) |
| 1762 | have hc_q2 := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hc_le_q2 hh2_0) hsumW0 |
| 1763 | have hreL : mul (mul h2 q2) (sumRange (fun d => CR.normSq (w d)) 0 (L + 1)) = |
| 1764 | mul q2 (mul h2 (sumRange (fun d => CR.normSq (w d)) 0 (L + 1))) := by |
| 1765 | rw [mul_comm h2 q2, mul_assoc] |
| 1766 | rw [hreL] at hc_q2 |
| 1767 | have hstep_c := le_trans hc_q2 hchain_q2 |
| 1768 | rw [left_distrib] at hstep_c |
| 1769 | refine le_trans hstep_c (add_le_add ?_ ?_) |
| 1770 | · have hw0_eq : w 0 = v ⟨0, by omega⟩ := rfl |
| 1771 | rw [hw0_eq] |
| 1772 | have heq : |
| 1773 | mul q2 (mul (ofNat (4 ^ L)) (mul h2 (CR.normSq (v ⟨0, by omega⟩)))) = |
| 1774 | mul (ofNat (4 ^ L)) (mul h2 (mul q2 (CR.normSq (v ⟨0, by omega⟩)))) := by |
| 1775 | rw [← mul_assoc q2 (ofNat (4 ^ L)), mul_comm q2 (ofNat (4 ^ L)), mul_assoc, |
| 1776 | ← mul_assoc q2 h2, mul_comm q2 h2, mul_assoc] |
| 1777 | rw [heq]; exact le_refl _ |
| 1778 | · have hdiff0 : le zero |
| 1779 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z1 (w (d + 1))))) 0 L) := |
| 1780 | sumRange_nonneg _ 0 L (fun _ _ => CR.normSq_nonneg _) |
| 1781 | have hq_h := mul_le_mul_of_nonneg_right hq2_le_h2 (mul_nonneg (ofNat_nonneg (4 ^ L)) hdiff0) |
| 1782 | have hre : mul h2 (mul (ofNat (4 ^ L)) |
| 1783 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z1 (w (d + 1))))) 0 L)) = |
| 1784 | mul (ofNat (4 ^ L)) (mul h2 |
| 1785 | (sumRange (fun d => CR.normSq (CR.sub (CR.scaleR hR (w d)) (CR.mul z1 (w (d + 1))))) 0 L)) := by |
| 1786 | rw [← mul_assoc h2 (ofNat (4 ^ L)), mul_comm h2 (ofNat (4 ^ L)), mul_assoc] |
| 1787 | rw [hre] at hq_h |
| 1788 | exact le_trans hq_h (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hdiff_le_b1 hh2_0) (ofNat_nonneg _)) |
| 1789 | rw [hvn_eq] |
| 1790 | have hv_rearr : |
| 1791 | add (add (CR.normSq (v ⟨0, by omega⟩)) (CR.normSq (v ⟨1, by omega⟩))) |
| 1792 | (add (CR.normSq (v ⟨2, by omega⟩)) (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L)) = |
| 1793 | add (add (CR.normSq (v ⟨1, by omega⟩)) (CR.normSq (v ⟨2, by omega⟩))) |
| 1794 | (add (CR.normSq (v ⟨0, by omega⟩)) (sumRange (fun d => CR.normSq (vExt (3 + d))) 0 L)) := by |
| 1795 | rw [add_assoc (CR.normSq (v ⟨0, by omega⟩)), ← add_assoc (CR.normSq (v ⟨1, by omega⟩)), |
| 1796 | add_comm (CR.normSq (v ⟨0, by omega⟩)), add_assoc (add (CR.normSq (v ⟨1, by omega⟩)) _), |
| 1797 | add_comm (sumRange _ 0 L)] |
| 1798 | rw [hv_rearr, left_distrib, left_distrib] |
| 1799 | have htot := add_le_add (add_le_add hv1 hv2) hv0_tail |
| 1800 | refine le_trans htot ?_ |
| 1801 | rw [left_distrib, left_distrib, left_distrib, left_distrib, left_distrib, left_distrib] |
| 1802 | rw [← add_assoc (add _ _), add_comm (add (mul (ofNat (4 ^ L)) (mul h2 (mul p2r2 _))) _)] |
| 1803 | exact le_refl _ |
| 1804 | |
| 1805 | /-! ## Section 5: Strict Non-'t Hooft, Non-Nilpotent Separated Ring, and Schur-Lemma SU(3) Rank-3 Irreducibility (ALL k >= 3) -/ |
| 1806 | |
| 1807 | /-- UNIVERSAL THEOREM 5 (Strict Non-'t Hooft Witness, ALL k >= 3): |
| 1808 | [B1, B2] is strictly nonzero with full SU(3) rank-3 diagonal entries |
| 1809 | (-q^2, -(p^2+r^2), +(h^2+r^2)) for ALL k >= 3 and ALL m > n > 0, r > 0! -/ |
| 1810 | theorem su3_cyclic_non_thooft_all_k {k : Nat} (hk : 3 ≤ k) |
| 1811 | (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) : |
| 1812 | matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨0, by omega⟩ ⟨0, by omega⟩ ≠ GInt.zero ∧ |
| 1813 | matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨1, by omega⟩ ⟨1, by omega⟩ ≠ GInt.zero ∧ |
| 1814 | matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨2, by omega⟩ ⟨2, by omega⟩ ≠ GInt.zero := by |
| 1815 | have h0 : matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨0, by omega⟩ ⟨0, by omega⟩ = |
| 1816 | GInt.ofInt (-(paramQ m n * paramQ m n)) := by |
| 1817 | simp only [matComm, matSub] |
| 1818 | rw [su3_B1B2_entry, su3_B2B1_entry] |
| 1819 | have hpv : (cycPrev hk ⟨0, by omega⟩).val = k - 1 := by simp [cycPrev] |
| 1820 | have hge2 : ¬(k - 1 = 0) ∧ ¬(k - 1 = 1) := by omega |
| 1821 | simp only [ite_true, hpv, arcA, arcB, hge2.1, hge2.2, ite_false, paramP, paramQ, paramH] |
| 1822 | apply GInt.ext <;> simp only [GInt.sub, GInt.ofInt] <;> grind |
| 1823 | have h1 : matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨1, by omega⟩ ⟨1, by omega⟩ = |
| 1824 | GInt.ofInt (-(paramP m n * paramP m n + r * r)) := by |
| 1825 | simp only [matComm, matSub] |
| 1826 | rw [su3_B1B2_entry, su3_B2B1_entry] |
| 1827 | have hpv : (cycPrev hk ⟨1, by omega⟩).val = 0 := by simp [cycPrev] |
| 1828 | simp only [ite_true, hpv, arcA, arcB] |
| 1829 | apply GInt.ext <;> simp only [GInt.sub, GInt.ofInt] <;> grind |
| 1830 | have h2 : matComm (su3B1 hk m n r) (su3B2 hk m n r) ⟨2, by omega⟩ ⟨2, by omega⟩ = |
| 1831 | GInt.ofInt (paramH m n * paramH m n + r * r) := by |
| 1832 | simp only [matComm, matSub] |
| 1833 | rw [su3_B1B2_entry, su3_B2B1_entry] |
| 1834 | have hpv : (cycPrev hk ⟨2, by omega⟩).val = 1 := by simp [cycPrev] |
| 1835 | simp only [ite_true, hpv, arcA, arcB] |
| 1836 | apply GInt.ext <;> simp only [GInt.sub, GInt.ofInt] <;> grind |
| 1837 | rw [h0, h1, h2] |
| 1838 | have hq : 0 < paramQ m n := int_diff_sq_pos hm hn |
| 1839 | have hq2 : 0 < paramQ m n * paramQ m n := Int.mul_pos hq hq |
| 1840 | have hp2 : 0 ≤ paramP m n * paramP m n := int_sq_nonneg _ |
| 1841 | have hh2 : 0 ≤ paramH m n * paramH m n := int_sq_nonneg _ |
| 1842 | have hr2 : 0 < r * r := Int.mul_pos hr hr |
| 1843 | refine ⟨?_, ?_, ?_⟩ <;> intro hc <;> have hre := congrArg GInt.re hc <;> |
| 1844 | simp only [GInt.ofInt, GInt.zero] at hre <;> omega |
| 1845 | |
| 1846 | /-- Gauge-invariant 3x3 ADHM holonomy observable M0 = J * I (diagonal with 3 explicit eigenvalues). -/ |
| 1847 | theorem su3_holonomy_M0 {k : Nat} (hk : 3 ≤ k) (m n r : Int) (a b : Fin 3) : |
| 1848 | matMul (su3J hk m n r) (su3I hk m n r) a b = |
| 1849 | if a = b then |
| 1850 | match a.val with |
| 1851 | | 0 => GInt.ofInt (paramQ m n * paramQ m n) |
| 1852 | | 1 => GInt.ofInt (paramP m n * paramP m n + r * r) |
| 1853 | | _ => GInt.ofInt (-(paramH m n * paramH m n + r * r)) |
| 1854 | else GInt.zero := by |
| 1855 | simp only [matMul, su3J, su3I] |
| 1856 | let idx : Fin k := ⟨a.val, by have := a.isLt; omega⟩ |
| 1857 | rw [sumFin_single idx] |
| 1858 | · simp only [idx, ite_true] |
| 1859 | by_cases hab : a = b |
| 1860 | · subst hab |
| 1861 | simp only [ite_true] |
| 1862 | match a with |
| 1863 | | ⟨0, _⟩ => apply GInt.ext <;> simp [su3Beta, su3Alpha, GInt.mul, GInt.ofInt] |
| 1864 | | ⟨1, _⟩ => apply GInt.ext <;> simp only [su3Beta, su3Alpha, GInt.mul, GInt.ofInt] <;> grind |
| 1865 | | ⟨2, _⟩ => apply GInt.ext <;> simp only [su3Beta, su3Alpha, GInt.mul, GInt.ofInt] <;> grind |
| 1866 | · have hne : a.val ≠ b.val := fun hv => hab (Fin.ext hv) |
| 1867 | simp only [hab, hne, ite_false, GInt.mul_zero] |
| 1868 | · intro t ht |
| 1869 | have hne : t.val ≠ a.val := fun hv => ht (Fin.ext hv) |
| 1870 | simp only [hne, ite_false, GInt.zero_mul] |
| 1871 | |
| 1872 | /-- Gauge-invariant 3x3 ADHM holonomy observable M1 = J * B1 * I. -/ |
| 1873 | theorem su3_holonomy_M1_entries {k : Nat} (hk : 3 ≤ k) (m n r : Int) : |
| 1874 | let M1 := matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r)) |
| 1875 | M1 ⟨0, by omega⟩ ⟨0, by omega⟩ = GInt.zero ∧ |
| 1876 | M1 ⟨0, by omega⟩ ⟨1, by omega⟩ = GInt.mul (GInt.ofInt (paramQ m n * paramP m n)) ⟨paramP m n, r⟩ ∧ |
| 1877 | M1 ⟨0, by omega⟩ ⟨2, by omega⟩ = GInt.zero ∧ |
| 1878 | M1 ⟨1, by omega⟩ ⟨0, by omega⟩ = GInt.zero ∧ |
| 1879 | M1 ⟨1, by omega⟩ ⟨1, by omega⟩ = GInt.zero ∧ |
| 1880 | M1 ⟨1, by omega⟩ ⟨2, by omega⟩ = GInt.mul (GInt.mul ⟨paramP m n, -r⟩ (GInt.ofInt r)) ⟨paramH m n, r⟩ ∧ |
| 1881 | M1 ⟨2, by omega⟩ ⟨1, by omega⟩ = GInt.zero ∧ |
| 1882 | M1 ⟨2, by omega⟩ ⟨2, by omega⟩ = GInt.zero := by |
| 1883 | have hB1I : ∀ (i : Fin k) (c : Fin 3), |
| 1884 | matMul (su3B1 hk m n r) (su3I hk m n r) i c = |
| 1885 | if (cycNext hk i).val = c.val then |
| 1886 | GInt.mul (GInt.ofInt (arcA m n r i.val)) (su3Alpha m n r c) |
| 1887 | else GInt.zero := by |
| 1888 | intro i c |
| 1889 | simp only [matMul, su3B1, su3I] |
| 1890 | rw [sumFin_single (cycNext hk i)] |
| 1891 | · simp only [ite_true] |
| 1892 | by_cases hc : (cycNext hk i).val = c.val |
| 1893 | · simp [hc] |
| 1894 | · simp [hc, GInt.mul_zero] |
| 1895 | · intro t ht; simp [ht, GInt.zero_mul] |
| 1896 | have hM1 : ∀ (a b : Fin 3), |
| 1897 | matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r)) a b = |
| 1898 | if (cycNext hk ⟨a.val, by have := a.isLt; omega⟩).val = b.val then |
| 1899 | GInt.mul (su3Beta m n r a) (GInt.mul (GInt.ofInt (arcA m n r a.val)) (su3Alpha m n r b)) |
| 1900 | else GInt.zero := by |
| 1901 | intro a b |
| 1902 | change sumFin (fun t => GInt.mul (su3J hk m n r a t) (matMul (su3B1 hk m n r) (su3I hk m n r) t b)) = _ |
| 1903 | rw [sumFin_single ⟨a.val, by have := a.isLt; omega⟩] |
| 1904 | · simp only [su3J, ite_true] |
| 1905 | rw [hB1I] |
| 1906 | split |
| 1907 | · rfl |
| 1908 | · exact GInt.mul_zero _ |
| 1909 | · intro t ht |
| 1910 | have hne : t.val ≠ a.val := fun hv => ht (Fin.ext hv) |
| 1911 | simp [su3J, hne, GInt.zero_mul] |
| 1912 | have hn0 : (cycNext hk ⟨0, by omega⟩).val = 1 := by simp [cycNext, (by omega : 0 + 1 < k)] |
| 1913 | have hn1 : (cycNext hk ⟨1, by omega⟩).val = 2 := by simp [cycNext, (by omega : 1 + 1 < k)] |
| 1914 | have hn2 : (cycNext hk ⟨2, by omega⟩).val ≠ 1 ∧ (cycNext hk ⟨2, by omega⟩).val ≠ 2 := by |
| 1915 | unfold cycNext |
| 1916 | by_cases hlt : 2 + 1 < k |
| 1917 | · simp only [hlt, dite_true]; omega |
| 1918 | · simp only [hlt, dite_false]; omega |
| 1919 | refine ⟨?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 1920 | · rw [hM1]; simp [hn0] |
| 1921 | · rw [hM1]; simp only [hn0, ite_true, su3Beta, su3Alpha, arcA] |
| 1922 | apply GInt.ext <;> simp only [GInt.mul, GInt.ofInt] <;> grind |
| 1923 | · rw [hM1]; simp [hn0] |
| 1924 | · rw [hM1]; simp [hn1] |
| 1925 | · rw [hM1]; simp [hn1] |
| 1926 | · rw [hM1]; simp only [hn1, ite_true, su3Beta, su3Alpha, arcA] |
| 1927 | apply GInt.ext <;> simp only [GInt.mul, GInt.ofInt] <;> grind |
| 1928 | · rw [hM1]; simp [hn2.1] |
| 1929 | · rw [hM1]; simp [hn2.2] |
| 1930 | |
| 1931 | theorem gint_mul_eq_zero_iff (a b : GInt) : |
| 1932 | GInt.mul a b = GInt.zero → a = GInt.zero ∨ b = GInt.zero := by |
| 1933 | intro h |
| 1934 | have h1 := congrArg GInt.re h |
| 1935 | have h2 := congrArg GInt.im h |
| 1936 | simp only [GInt.mul, GInt.zero] at h1 h2 |
| 1937 | have hnorm : (a.re * a.re + a.im * a.im) * (b.re * b.re + b.im * b.im) = 0 := by |
| 1938 | have hid : (a.re * b.re - a.im * b.im) * (a.re * b.re - a.im * b.im) + |
| 1939 | (a.re * b.im + a.im * b.re) * (a.re * b.im + a.im * b.re) = |
| 1940 | (a.re * a.re + a.im * a.im) * (b.re * b.re + b.im * b.im) := by grind |
| 1941 | rw [h1, h2] at hid |
| 1942 | omega |
| 1943 | cases Int.mul_eq_zero.mp hnorm with |
| 1944 | | inl ha => |
| 1945 | left |
| 1946 | have ⟨hre, him⟩ := int_sum_sq_eq_zero ha |
| 1947 | exact GInt.ext hre him |
| 1948 | | inr hb => |
| 1949 | right |
| 1950 | have ⟨hre, him⟩ := int_sum_sq_eq_zero hb |
| 1951 | exact GInt.ext hre him |
| 1952 | |
| 1953 | /-- UNIVERSAL THEOREM 6 (Schur-Lemma Strict SU(3) Rank-3 Holonomy Irreducibility, ALL k >= 3): |
| 1954 | For EVERY charge k >= 3 and EVERY (m, n, r) with m > n > 0 and r > 0: |
| 1955 | ANY 3x3 matrix P over Z[i] commuting with the gauge-invariant ADHM holonomy generators |
| 1956 | M0 = J * I and M1 = J * B1 * I MUST be a scalar multiple P = c * I_3! -/ |
| 1957 | theorem su3_cyclic_schur_irreducible_all_k {k : Nat} (hk : 3 ≤ k) |
| 1958 | (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) |
| 1959 | (P : Mat 3 3) |
| 1960 | (hC0 : ∀ a b, matComm P (matMul (su3J hk m n r) (su3I hk m n r)) a b = GInt.zero) |
| 1961 | (hC1 : ∀ a b, matComm P (matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r))) a b = GInt.zero) : |
| 1962 | ∃ c : GInt, ∀ a b : Fin 3, P a b = if a = b then c else GInt.zero := by |
| 1963 | let M0 := matMul (su3J hk m n r) (su3I hk m n r) |
| 1964 | let M1 := matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r)) |
| 1965 | have hmul3 : ∀ (A B : Mat 3 3) (a b : Fin 3), |
| 1966 | matMul A B a b = |
| 1967 | GInt.add (GInt.add (GInt.mul (A a ⟨0, by omega⟩) (B ⟨0, by omega⟩ b)) |
| 1968 | (GInt.mul (A a ⟨1, by omega⟩) (B ⟨1, by omega⟩ b))) |
| 1969 | (GInt.mul (A a ⟨2, by omega⟩) (B ⟨2, by omega⟩ b)) := by |
| 1970 | intro A B a b |
| 1971 | simp [matMul, sumFin, GInt.zero_add] |
| 1972 | have hM0_off : ∀ (x y : Fin 3), x ≠ y → M0 x y = GInt.zero := by |
| 1973 | intro x y hxy; simp only [M0, su3_holonomy_M0, hxy, ite_false] |
| 1974 | have hM0_0 : M0 ⟨0, by omega⟩ ⟨0, by omega⟩ = GInt.ofInt (paramQ m n * paramQ m n) := by |
| 1975 | simp [M0, su3_holonomy_M0] |
| 1976 | have hM0_1 : M0 ⟨1, by omega⟩ ⟨1, by omega⟩ = GInt.ofInt (paramP m n * paramP m n + r * r) := by |
| 1977 | simp [M0, su3_holonomy_M0] |
| 1978 | have hM0_2 : M0 ⟨2, by omega⟩ ⟨2, by omega⟩ = GInt.ofInt (-(paramH m n * paramH m n + r * r)) := by |
| 1979 | simp [M0, su3_holonomy_M0] |
| 1980 | have hsep : ∀ (a b : Fin 3), |
| 1981 | GInt.mul (P a b) (GInt.sub (M0 b b) (M0 a a)) = GInt.zero := by |
| 1982 | intro a b |
| 1983 | have hc := hC0 a b |
| 1984 | simp only [matComm, matSub] at hc |
| 1985 | rw [hmul3 P M0 a b, hmul3 M0 P a b] at hc |
| 1986 | have h01 : M0 ⟨0, by omega⟩ ⟨1, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1987 | have h02 : M0 ⟨0, by omega⟩ ⟨2, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1988 | have h10 : M0 ⟨1, by omega⟩ ⟨0, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1989 | have h12 : M0 ⟨1, by omega⟩ ⟨2, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1990 | have h20 : M0 ⟨2, by omega⟩ ⟨0, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1991 | have h21 : M0 ⟨2, by omega⟩ ⟨1, by omega⟩ = GInt.zero := hM0_off _ _ (by intro h; have := congrArg Fin.val h; simp at this) |
| 1992 | match a, b with |
| 1993 | | ⟨0, _⟩, ⟨0, _⟩ => simp [GInt.sub_self, GInt.mul_zero] |
| 1994 | | ⟨0, _⟩, ⟨1, _⟩ => |
| 1995 | simp only [h01, h21, h02, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 1996 | exact GInt.comm_sub_factor _ _ _ hc |
| 1997 | | ⟨0, _⟩, ⟨2, _⟩ => |
| 1998 | simp only [h02, h12, h01, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 1999 | exact GInt.comm_sub_factor _ _ _ hc |
| 2000 | | ⟨1, _⟩, ⟨0, _⟩ => |
| 2001 | simp only [h10, h20, h12, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 2002 | exact GInt.comm_sub_factor _ _ _ hc |
| 2003 | | ⟨1, _⟩, ⟨1, _⟩ => simp [GInt.sub_self, GInt.mul_zero] |
| 2004 | | ⟨1, _⟩, ⟨2, _⟩ => |
| 2005 | simp only [h02, h12, h10, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 2006 | exact GInt.comm_sub_factor _ _ _ hc |
| 2007 | | ⟨2, _⟩, ⟨0, _⟩ => |
| 2008 | simp only [h10, h20, h21, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 2009 | exact GInt.comm_sub_factor _ _ _ hc |
| 2010 | | ⟨2, _⟩, ⟨1, _⟩ => |
| 2011 | simp only [h01, h21, h20, GInt.mul_zero, GInt.zero_mul, GInt.zero_add, GInt.add_zero] at hc |
| 2012 | exact GInt.comm_sub_factor _ _ _ hc |
| 2013 | | ⟨2, _⟩, ⟨2, _⟩ => simp [GInt.sub_self, GInt.mul_zero] |
| 2014 | have hq : 0 < paramQ m n := int_diff_sq_pos hm hn |
| 2015 | have hq2 : 0 < paramQ m n * paramQ m n := Int.mul_pos hq hq |
| 2016 | have hp : 0 < paramP m n := by |
| 2017 | unfold paramP |
| 2018 | have hm0 : 0 < m := by omega |
| 2019 | have h2m : 0 < 2 * m := by omega |
| 2020 | exact Int.mul_pos h2m hn |
| 2021 | have hp2 : 0 < paramP m n * paramP m n := Int.mul_pos hp hp |
| 2022 | have hh : 0 < paramH m n := by |
| 2023 | unfold paramH |
| 2024 | have hm2 := int_sq_nonneg m |
| 2025 | have hn2 := Int.mul_pos hn hn |
| 2026 | omega |
| 2027 | have hh2 : 0 < paramH m n * paramH m n := Int.mul_pos hh hh |
| 2028 | have hr2 : 0 < r * r := Int.mul_pos hr hr |
| 2029 | have hP02 : P ⟨0, by omega⟩ ⟨2, by omega⟩ = GInt.zero := by |
| 2030 | cases gint_mul_eq_zero_iff _ _ (hsep ⟨0, by omega⟩ ⟨2, by omega⟩) with |
| 2031 | | inl h => exact h |
| 2032 | | inr h => |
| 2033 | rw [hM0_2, hM0_0] at h |
| 2034 | have hre := congrArg GInt.re h; simp only [GInt.sub, GInt.ofInt, GInt.zero] at hre; omega |
| 2035 | have hP12 : P ⟨1, by omega⟩ ⟨2, by omega⟩ = GInt.zero := by |
| 2036 | cases gint_mul_eq_zero_iff _ _ (hsep ⟨1, by omega⟩ ⟨2, by omega⟩) with |
| 2037 | | inl h => exact h |
| 2038 | | inr h => |
| 2039 | rw [hM0_2, hM0_1] at h |
| 2040 | have hre := congrArg GInt.re h; simp only [GInt.sub, GInt.ofInt, GInt.zero] at hre; omega |
| 2041 | have hP20 : P ⟨2, by omega⟩ ⟨0, by omega⟩ = GInt.zero := by |
| 2042 | cases gint_mul_eq_zero_iff _ _ (hsep ⟨2, by omega⟩ ⟨0, by omega⟩) with |
| 2043 | | inl h => exact h |
| 2044 | | inr h => |
| 2045 | rw [hM0_0, hM0_2] at h |
| 2046 | have hre := congrArg GInt.re h; simp only [GInt.sub, GInt.ofInt, GInt.zero] at hre; omega |
| 2047 | have hP21 : P ⟨2, by omega⟩ ⟨1, by omega⟩ = GInt.zero := by |
| 2048 | cases gint_mul_eq_zero_iff _ _ (hsep ⟨2, by omega⟩ ⟨1, by omega⟩) with |
| 2049 | | inl h => exact h |
| 2050 | | inr h => |
| 2051 | rw [hM0_1, hM0_2] at h |
| 2052 | have hre := congrArg GInt.re h; simp only [GInt.sub, GInt.ofInt, GInt.zero] at hre; omega |
| 2053 | have ⟨h00, h01, h02, h10, h11, h12, h21, h22⟩ := su3_holonomy_M1_entries hk m n r |
| 2054 | have hM1_01_nz : M1 ⟨0, by omega⟩ ⟨1, by omega⟩ ≠ GInt.zero := by |
| 2055 | change matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r)) ⟨0, by omega⟩ ⟨1, by omega⟩ ≠ GInt.zero |
| 2056 | rw [h01]; intro hc |
| 2057 | have hre := congrArg GInt.re hc; simp only [GInt.mul, GInt.ofInt, GInt.zero] at hre |
| 2058 | have hpos := Int.mul_pos (Int.mul_pos hq hp) hp |
| 2059 | omega |
| 2060 | have hM1_12_nz : M1 ⟨1, by omega⟩ ⟨2, by omega⟩ ≠ GInt.zero := by |
| 2061 | change matMul (su3J hk m n r) (matMul (su3B1 hk m n r) (su3I hk m n r)) ⟨1, by omega⟩ ⟨2, by omega⟩ ≠ GInt.zero |
| 2062 | rw [h12]; intro hc |
| 2063 | have hre := congrArg GInt.re hc; simp only [GInt.mul, GInt.ofInt, GInt.zero] at hre |
| 2064 | have hph : 0 < paramP m n * paramH m n := Int.mul_pos hp hh |
| 2065 | have hphr : 0 < (paramP m n * paramH m n + r * r) * r := Int.mul_pos (by omega) hr |
| 2066 | have heq : (paramP m n * r - -r * 0) * paramH m n - (paramP m n * 0 + -r * r) * r = |
| 2067 | (paramP m n * paramH m n + r * r) * r := by grind |
| 2068 | omega |
| 2069 | have hP01 : P ⟨0, by omega⟩ ⟨1, by omega⟩ = GInt.zero := by |
| 2070 | have hc := hC1 ⟨0, by omega⟩ ⟨2, by omega⟩ |
| 2071 | simp only [matComm, matSub] at hc |
| 2072 | rw [hmul3 P M1, hmul3 M1 P] at hc |
| 2073 | dsimp only [M1] at hc |
| 2074 | simp only [h02, h22, h00, hP02, hP12, GInt.mul_zero, GInt.zero_mul, |
| 2075 | GInt.zero_add, GInt.add_zero] at hc |
| 2076 | have hz : GInt.mul (P ⟨0, by omega⟩ ⟨1, by omega⟩) (M1 ⟨1, by omega⟩ ⟨2, by omega⟩) = GInt.zero := by |
| 2077 | dsimp only [M1] |
| 2078 | apply GInt.ext <;> have hre := congrArg GInt.re hc <;> have him := congrArg GInt.im hc <;> |
| 2079 | simp only [GInt.sub, GInt.zero] at hre him ⊢ <;> omega |
| 2080 | cases gint_mul_eq_zero_iff _ _ hz with |
| 2081 | | inl h => exact h |
| 2082 | | inr h => exact absurd h hM1_12_nz |
| 2083 | have hP10 : P ⟨1, by omega⟩ ⟨0, by omega⟩ = GInt.zero := by |
| 2084 | have hc := hC1 ⟨0, by omega⟩ ⟨0, by omega⟩ |
| 2085 | simp only [matComm, matSub] at hc |
| 2086 | rw [hmul3 P M1, hmul3 M1 P] at hc |
| 2087 | dsimp only [M1] at hc |
| 2088 | simp only [h00, h10, h02, hP02, GInt.mul_zero, GInt.zero_mul, |
| 2089 | GInt.zero_add, GInt.add_zero] at hc |
| 2090 | have hz : GInt.mul (M1 ⟨0, by omega⟩ ⟨1, by omega⟩) (P ⟨1, by omega⟩ ⟨0, by omega⟩) = GInt.zero := by |
| 2091 | dsimp only [M1] |
| 2092 | apply GInt.ext <;> have hre := congrArg GInt.re hc <;> have him := congrArg GInt.im hc <;> |
| 2093 | simp only [GInt.sub, GInt.zero] at hre him ⊢ <;> omega |
| 2094 | cases gint_mul_eq_zero_iff _ _ hz with |
| 2095 | | inl h => exact absurd h hM1_01_nz |
| 2096 | | inr h => exact h |
| 2097 | have hP00_11 : P ⟨0, by omega⟩ ⟨0, by omega⟩ = P ⟨1, by omega⟩ ⟨1, by omega⟩ := by |
| 2098 | have hc := hC1 ⟨0, by omega⟩ ⟨1, by omega⟩ |
| 2099 | simp only [matComm, matSub] at hc |
| 2100 | rw [hmul3 P M1, hmul3 M1 P] at hc |
| 2101 | dsimp only [M1] at hc |
| 2102 | simp only [h11, h21, h00, h02, GInt.mul_zero, GInt.zero_mul, |
| 2103 | GInt.zero_add, GInt.add_zero] at hc |
| 2104 | have hz := GInt.sub_mul_factor _ _ _ hc |
| 2105 | cases gint_mul_eq_zero_iff _ _ hz with |
| 2106 | | inl h => |
| 2107 | apply GInt.ext <;> have hre := congrArg GInt.re h <;> have him := congrArg GInt.im h <;> |
| 2108 | simp only [GInt.sub, GInt.zero] at hre him ⊢ <;> omega |
| 2109 | | inr h => exact absurd h hM1_01_nz |
| 2110 | have hP11_22 : P ⟨1, by omega⟩ ⟨1, by omega⟩ = P ⟨2, by omega⟩ ⟨2, by omega⟩ := by |
| 2111 | have hc := hC1 ⟨1, by omega⟩ ⟨2, by omega⟩ |
| 2112 | simp only [matComm, matSub] at hc |
| 2113 | rw [hmul3 P M1, hmul3 M1 P] at hc |
| 2114 | dsimp only [M1] at hc |
| 2115 | simp only [h02, h22, h10, h11, GInt.mul_zero, GInt.zero_mul, |
| 2116 | GInt.zero_add, GInt.add_zero] at hc |
| 2117 | have hz := GInt.sub_mul_factor _ _ _ hc |
| 2118 | cases gint_mul_eq_zero_iff _ _ hz with |
| 2119 | | inl h => |
| 2120 | apply GInt.ext <;> have hre := congrArg GInt.re h <;> have him := congrArg GInt.im h <;> |
| 2121 | simp only [GInt.sub, GInt.zero] at hre him ⊢ <;> omega |
| 2122 | | inr h => exact absurd h hM1_12_nz |
| 2123 | refine ⟨P ⟨0, by omega⟩ ⟨0, by omega⟩, ?_⟩ |
| 2124 | intro a b |
| 2125 | match a, b with |
| 2126 | | ⟨0, _⟩, ⟨0, _⟩ => simp |
| 2127 | | ⟨0, _⟩, ⟨1, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP01 |
| 2128 | | ⟨0, _⟩, ⟨2, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP02 |
| 2129 | | ⟨1, _⟩, ⟨0, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP10 |
| 2130 | | ⟨1, _⟩, ⟨1, _⟩ => simp only [ite_true]; exact hP00_11.symm |
| 2131 | | ⟨1, _⟩, ⟨2, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP12 |
| 2132 | | ⟨2, _⟩, ⟨0, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP20 |
| 2133 | | ⟨2, _⟩, ⟨1, _⟩ => rw [ite_eq_right (fun h => absurd (congrArg Fin.val h) (by simp))]; exact hP21 |
| 2134 | | ⟨2, _⟩, ⟨2, _⟩ => simp only [ite_true]; exact (hP00_11.trans hP11_22).symm |
| 2135 | |
| 2136 | /-- Iterated cyclic shift cycNext^d on Fin k. -/ |
| 2137 | def cycShift {k : Nat} (hk : 3 ≤ k) : Nat → Fin k → Fin k |
| 2138 | | 0, i => i |
| 2139 | | d + 1, i => cycShift hk d (cycNext hk i) |
| 2140 | |
| 2141 | /-- Product of arcA weights along d consecutive cyclic steps starting at i. -/ |
| 2142 | def arcAProd {k : Nat} (hk : 3 ≤ k) (m n r : Int) : Nat → Fin k → Int |
| 2143 | | 0, _ => 1 |
| 2144 | | d + 1, i => arcA m n r i.val * arcAProd hk m n r d (cycNext hk i) |
| 2145 | |
| 2146 | theorem su3_B1_pow_entry {k : Nat} (hk : 3 ≤ k) (m n r : Int) : |
| 2147 | ∀ (d : Nat) (i j : Fin k), |
| 2148 | matPow (su3B1 hk m n r) d i j = |
| 2149 | if j = cycShift hk d i then GInt.ofInt (arcAProd hk m n r d i) else GInt.zero |
| 2150 | | 0, i, j => by |
| 2151 | simp only [matPow, matId, cycShift, arcAProd] |
| 2152 | by_cases h : i = j |
| 2153 | · subst h; simp [GInt.one, GInt.ofInt] |
| 2154 | · have h' : j ≠ i := fun hc => h hc.symm |
| 2155 | simp [h, h'] |
| 2156 | | d + 1, i, j => by |
| 2157 | simp only [matPow, matMul, su3B1] |
| 2158 | rw [sumFin_single (cycNext hk i)] |
| 2159 | · simp only [ite_true, su3_B1_pow_entry hk m n r d, cycShift, arcAProd] |
| 2160 | by_cases hj : j = cycShift hk d (cycNext hk i) |
| 2161 | · simp only [hj, ite_true] |
| 2162 | apply GInt.ext <;> simp [GInt.mul, GInt.ofInt] |
| 2163 | · simp only [hj, ite_false, GInt.mul_zero] |
| 2164 | · intro t ht; simp [ht, GInt.zero_mul] |
| 2165 | |
| 2166 | theorem cycShift_val {k : Nat} (hk : 3 ≤ k) (d : Nat) (i : Fin k) : |
| 2167 | (cycShift hk d i).val = (i.val + d) % k := by |
| 2168 | induction d generalizing i with |
| 2169 | | zero => simp [cycShift, Nat.mod_eq_of_lt i.isLt] |
| 2170 | | succ d ih => |
| 2171 | simp only [cycShift, ih] |
| 2172 | have hnxt : (cycNext hk i).val = (i.val + 1) % k := by |
| 2173 | unfold cycNext |
| 2174 | split |
| 2175 | · rw [Nat.mod_eq_of_lt (by omega)] |
| 2176 | · have hi := i.isLt |
| 2177 | have heq : i.val + 1 = k := by omega |
| 2178 | rw [heq, Nat.mod_self] |
| 2179 | rw [hnxt, Nat.add_mod, Nat.mod_mod, ← Nat.add_mod, Nat.add_assoc, Nat.add_comm 1 d] |
| 2180 | |
| 2181 | theorem arcA_pos (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) (j : Nat) : |
| 2182 | 0 < arcA m n r j := by |
| 2183 | unfold arcA paramP paramH |
| 2184 | split |
| 2185 | · have h2m : 0 < 2 * m := by omega |
| 2186 | exact Int.mul_pos h2m hn |
| 2187 | · split |
| 2188 | · exact hr |
| 2189 | · have hm2 := int_sq_nonneg m |
| 2190 | have hn2 := Int.mul_pos hn hn |
| 2191 | omega |
| 2192 | |
| 2193 | theorem arcAProd_pos {k : Nat} (hk : 3 ≤ k) (m n r : Int) |
| 2194 | (hm : n < m) (hn : 0 < n) (hr : 0 < r) : |
| 2195 | ∀ (d : Nat) (i : Fin k), 0 < arcAProd hk m n r d i |
| 2196 | | 0, _ => by simp [arcAProd] |
| 2197 | | d + 1, i => by |
| 2198 | simp only [arcAProd] |
| 2199 | exact Int.mul_pos (arcA_pos m n r hm hn hr i.val) (arcAProd_pos hk m n r hm hn hr d _) |
| 2200 | |
| 2201 | /-- UNIVERSAL THEOREM 7 (Non-Nilpotent Separated k-gon Multi-Instanton Ring, ALL k >= 3): |
| 2202 | For EVERY charge k >= 3 and EVERY (m, n, r) with m > n > 0 and r > 0, |
| 2203 | B1^k is a strictly positive scalar multiple of the identity matrix, so B1 has k distinct |
| 2204 | nonzero eigenvalues on a regular k-gon in C (NOT collapsed at the origin)! -/ |
| 2205 | theorem su3_cyclic_non_nilpotent_all_k {k : Nat} (hk : 3 ≤ k) |
| 2206 | (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) (i : Fin k) : |
| 2207 | 0 < (matPow (su3B1 hk m n r) k i i).re ∧ |
| 2208 | (matPow (su3B1 hk m n r) k i i).im = 0 := by |
| 2209 | rw [su3_B1_pow_entry] |
| 2210 | have hcyc : i = cycShift hk k i := by |
| 2211 | apply Fin.ext |
| 2212 | rw [cycShift_val, Nat.add_mod_right, Nat.mod_eq_of_lt i.isLt] |
| 2213 | simp only [← hcyc, ite_true] |
| 2214 | exact ⟨arcAProd_pos hk m n r hm hn hr k i, rfl⟩ |
| 2215 | |
| 2216 | /-! ## Section 6: Explicit Concrete Specializations at Charges k = 3, 4, 5 -/ |
| 2217 | |
| 2218 | /-- Charge k = 3, 4, 5 bundled full ADHM certification. -/ |
| 2219 | theorem su3_instanton_k3_k4_k5_certified (m n r : Int) (hm : n < m) (hn : 0 < n) (hr : 0 < r) : |
| 2220 | (∀ i j : Fin 3, adhmComplexRes (su3B1 (k := 3) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2221 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2222 | (∀ i j : Fin 3, adhmRealRes (su3B1 (k := 3) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2223 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2224 | (∀ i j : Fin 4, adhmComplexRes (su3B1 (k := 4) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2225 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2226 | (∀ i j : Fin 4, adhmRealRes (su3B1 (k := 4) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2227 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2228 | (∀ i j : Fin 5, adhmComplexRes (su3B1 (k := 5) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2229 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2230 | (∀ i j : Fin 5, adhmRealRes (su3B1 (k := 5) (by omega) m n r) (su3B2 (by omega) m n r) |
| 2231 | (su3I (by omega) m n r) (su3J (by omega) m n r) i j = GInt.zero) ∧ |
| 2232 | (0 < su3CMin m n r) := |
| 2233 | ⟨su3_cyclic_complex_adhm_all_k (by omega) m n r, |
| 2234 | su3_cyclic_real_adhm_all_k (by omega) m n r, |
| 2235 | su3_cyclic_complex_adhm_all_k (by omega) m n r, |
| 2236 | su3_cyclic_real_adhm_all_k (by omega) m n r, |
| 2237 | su3_cyclic_complex_adhm_all_k (by omega) m n r, |
| 2238 | su3_cyclic_real_adhm_all_k (by omega) m n r, |
| 2239 | su3CMin_pos m n r hm hn hr⟩ |
| 2240 | |
| 2241 | /-! ## Section 7: Universal All-k (k >= 2) Quaternionic Symplectic Sp(1) ~= SU(2) Multi-Instanton Family -/ |
| 2242 | |
| 2243 | def su2B1 (k : Nat) (s : Int) : Mat k k := |
| 2244 | fun i j => if i = j then GInt.ofInt (s * (i.val : Int)) else GInt.zero |
| 2245 | |
| 2246 | def su2B2 {k : Nat} (L : Int) (u0 w y : Fin k → Int) : Mat k k := |
| 2247 | fun i j => |
| 2248 | if i = j then GInt.ofInt (y i) |
| 2249 | else GInt.ofInt ((L * (u0 i * w j - w i * u0 j)) / ((j.val : Int) - (i.val : Int))) |
| 2250 | |
| 2251 | def su2I {k : Nat} (s L : Int) (u0 w : Fin k → Int) : Mat k 2 := |
| 2252 | fun i c => if c.val = 0 then GInt.ofInt (s * L * u0 i) else GInt.ofInt (w i) |
| 2253 | |
| 2254 | def su2J {k : Nat} (s L : Int) (u0 w : Fin k → Int) : Mat 2 k := |
| 2255 | fun c j => if c.val = 0 then GInt.ofInt (w j) else GInt.ofInt (-(s * L * u0 j)) |
| 2256 | |
| 2257 | theorem int_mul_div_exact {a b d : Int} (hd : d ≠ 0) (hdiv : d ∣ a) : |
| 2258 | d * ((a * b) / d) = a * b := by |
| 2259 | obtain ⟨q, rfl⟩ := hdiv |
| 2260 | have heq : d * q * b = d * (q * b) := by grind |
| 2261 | rw [heq, Int.mul_ediv_cancel_left _ hd] |
| 2262 | |
| 2263 | /-- UNIVERSAL THEOREM 8 (Quaternionic Symplectic Reality of the SU(2) Family, ALL k >= 2): |
| 2264 | B1^T = B1, B2^T = B2, and J = eps * I^T identically! -/ |
| 2265 | theorem su2_symplectic_reality {k : Nat} (s L : Int) (u0 w y : Fin k → Int) |
| 2266 | (hL : ∀ i j : Fin k, i ≠ j → (((j.val : Int) - (i.val : Int)) ∣ L)) : |
| 2267 | (∀ i j : Fin k, su2B1 k s i j = su2B1 k s j i) ∧ |
| 2268 | (∀ i j : Fin k, su2B2 L u0 w y i j = su2B2 L u0 w y j i) ∧ |
| 2269 | (∀ j : Fin k, su2J s L u0 w ⟨0, by omega⟩ j = su2I s L u0 w j ⟨1, by omega⟩ ∧ |
| 2270 | su2J s L u0 w ⟨1, by omega⟩ j = GInt.neg (su2I s L u0 w j ⟨0, by omega⟩)) := by |
| 2271 | refine ⟨?_, ?_, ?_⟩ |
| 2272 | · intro i j; simp only [su2B1]; by_cases h : i = j |
| 2273 | · subst h; simp |
| 2274 | · have h' : j ≠ i := fun hc => h hc.symm; simp [h, h'] |
| 2275 | · intro i j; simp only [su2B2]; by_cases h : i = j |
| 2276 | · subst h; simp |
| 2277 | · have h' : j ≠ i := fun hc => h hc.symm |
| 2278 | simp only [h, h', ite_false] |
| 2279 | have hd : (j.val : Int) - (i.val : Int) ≠ 0 := fun hc => h (Fin.ext (by omega)) |
| 2280 | have hd' : (i.val : Int) - (j.val : Int) ≠ 0 := by omega |
| 2281 | obtain ⟨q1, hq1⟩ := hL i j h |
| 2282 | have hq2 : L = ((i.val : Int) - (j.val : Int)) * (-q1) := by grind |
| 2283 | have hnum1 : L * (u0 i * w j - w i * u0 j) = |
| 2284 | ((j.val : Int) - (i.val : Int)) * (q1 * (u0 i * w j - w i * u0 j)) := by |
| 2285 | rw [hq1]; grind |
| 2286 | have hnum2 : L * (u0 j * w i - w j * u0 i) = |
| 2287 | ((i.val : Int) - (j.val : Int)) * (q1 * (u0 i * w j - w i * u0 j)) := by |
| 2288 | rw [hq2]; grind |
| 2289 | rw [hnum1, hnum2, Int.mul_ediv_cancel_left _ hd, Int.mul_ediv_cancel_left _ hd'] |
| 2290 | · intro j |
| 2291 | simp only [su2J, su2I, ite_true] |
| 2292 | constructor |
| 2293 | · rfl |
| 2294 | · apply GInt.ext <;> simp [GInt.neg, GInt.ofInt] |
| 2295 | |
| 2296 | /-- UNIVERSAL THEOREM 9 (Exact Complex & Real ADHM Equations for Symplectic Sp(1) ~= SU(2), ALL k >= 2): |
| 2297 | For EVERY charge k >= 2, ANY gap scale s, ANY L divisible by all (j - i), and ANY framing (u0, w, y): |
| 2298 | [B1, B2] + I * J = 0 AND [B1, B1^dag] + [B2, B2^dag] + I * I^dag - J^dag * J = 0! -/ |
| 2299 | theorem su2_symplectic_adhm_all_k {k : Nat} (s L : Int) (u0 w y : Fin k → Int) |
| 2300 | (hL : ∀ i j : Fin k, i ≠ j → (((j.val : Int) - (i.val : Int)) ∣ L)) : |
| 2301 | (∀ i j, adhmComplexRes (su2B1 k s) (su2B2 L u0 w y) (su2I s L u0 w) (su2J s L u0 w) i j = GInt.zero) ∧ |
| 2302 | (∀ i j, adhmRealRes (su2B1 k s) (su2B2 L u0 w y) (su2I s L u0 w) (su2J s L u0 w) i j = GInt.zero) := by |
| 2303 | have ⟨hB1sym, hB2sym, _⟩ := su2_symplectic_reality s L u0 w y hL |
| 2304 | constructor |
| 2305 | · intro i j |
| 2306 | simp only [adhmComplexRes, matAdd, matComm, matSub] |
| 2307 | have h12 : matMul (su2B1 k s) (su2B2 L u0 w y) i j = |
| 2308 | GInt.mul (GInt.ofInt (s * (i.val : Int))) (su2B2 L u0 w y i j) := by |
| 2309 | simp only [matMul, su2B1] |
| 2310 | rw [sumFin_single i] |
| 2311 | · simp |
| 2312 | · intro t ht; have hne : i ≠ t := fun hc => ht hc.symm; simp [hne, GInt.zero_mul] |
| 2313 | have h21 : matMul (su2B2 L u0 w y) (su2B1 k s) i j = |
| 2314 | GInt.mul (su2B2 L u0 w y i j) (GInt.ofInt (s * (j.val : Int))) := by |
| 2315 | simp only [matMul, su2B1] |
| 2316 | rw [sumFin_single j] |
| 2317 | · simp |
| 2318 | · intro t ht; simp [ht, GInt.mul_zero] |
| 2319 | have hIJ : matMul (su2I s L u0 w) (su2J s L u0 w) i j = |
| 2320 | GInt.ofInt (s * L * (u0 i * w j - w i * u0 j)) := by |
| 2321 | simp only [matMul, sumFin, su2I, su2J, Fin.val_last, Fin.val_castSucc] |
| 2322 | apply GInt.ext <;> simp only [GInt.add, GInt.mul, GInt.ofInt, GInt.zero] <;> grind |
| 2323 | rw [h12, h21, hIJ] |
| 2324 | by_cases hij : i = j |
| 2325 | · subst hij |
| 2326 | simp only [su2B2, ite_true] |
| 2327 | apply GInt.ext <;> simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero] <;> grind |
| 2328 | · simp only [su2B2, hij, ite_false] |
| 2329 | have hd : (j.val : Int) - (i.val : Int) ≠ 0 := fun hc => hij (Fin.ext (by omega)) |
| 2330 | have hex := int_mul_div_exact hd (hL i j hij) (b := u0 i * w j - w i * u0 j) |
| 2331 | apply GInt.ext |
| 2332 | · simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero, Int.mul_zero, Int.sub_zero] |
| 2333 | have hstep : s * (i.val : Int) * (L * (u0 i * w j - w i * u0 j) / ((j.val : Int) - (i.val : Int))) - |
| 2334 | L * (u0 i * w j - w i * u0 j) / ((j.val : Int) - (i.val : Int)) * (s * (j.val : Int)) = |
| 2335 | -(s * (((j.val : Int) - (i.val : Int)) * |
| 2336 | ((L * (u0 i * w j - w i * u0 j)) / ((j.val : Int) - (i.val : Int))))) := by grind |
| 2337 | rw [hstep, hex]; grind |
| 2338 | · simp only [GInt.add, GInt.sub, GInt.mul, GInt.ofInt, GInt.zero]; grind |
| 2339 | · intro i j |
| 2340 | simp only [adhmRealRes, matAdd, matSub, matComm] |
| 2341 | have hB1adj : matAdj (su2B1 k s) = su2B1 k s := by |
| 2342 | funext r t; unfold matAdj; rw [hB1sym t r]; simp only [su2B1]; split <;> simp [GInt.conj, GInt.ofInt, GInt.zero] |
| 2343 | have hB2adj : matAdj (su2B2 L u0 w y) = su2B2 L u0 w y := by |
| 2344 | funext r t; unfold matAdj; rw [hB2sym t r]; simp only [su2B2]; split <;> simp [GInt.conj, GInt.ofInt] |
| 2345 | rw [hB1adj, hB2adj, GInt.sub_self, GInt.sub_self, GInt.add_zero, GInt.zero_add] |
| 2346 | have hII : matMul (su2I s L u0 w) (matAdj (su2I s L u0 w)) i j = |
| 2347 | GInt.ofInt (s * L * u0 i * (s * L * u0 j) + w i * w j) := by |
| 2348 | simp only [matMul, matAdj, sumFin, su2I, Fin.val_last, Fin.val_castSucc] |
| 2349 | apply GInt.ext <;> simp only [GInt.add, GInt.mul, GInt.conj, GInt.ofInt, GInt.zero] <;> grind |
| 2350 | have hJJ : matMul (matAdj (su2J s L u0 w)) (su2J s L u0 w) i j = |
| 2351 | GInt.ofInt (w i * w j + (-(s * L * u0 i)) * (-(s * L * u0 j))) := by |
| 2352 | simp only [matMul, matAdj, sumFin, su2J, Fin.val_last, Fin.val_castSucc] |
| 2353 | apply GInt.ext <;> simp only [GInt.add, GInt.mul, GInt.conj, GInt.ofInt, GInt.zero] <;> grind |
| 2354 | rw [hII, hJJ] |
| 2355 | apply GInt.ext <;> simp only [GInt.sub, GInt.ofInt, GInt.zero] <;> grind |
| 2356 | |
| 2357 | /-- UNIVERSAL THEOREM 10 (Global Zero-Kernel Smoothness of the Symplectic SU(2) Family): |
| 2358 | If s > 0, L > 0, and every framing row has u0(j) != 0 or w(j) != 0, |
| 2359 | then for EVERY z1 in C and EVERY v in C^k, (J v = 0 /\ (B1 - z1) v = 0) ==> v = 0! -/ |
| 2360 | theorem su2_symplectic_global_smoothness_all_k {k : Nat} |
| 2361 | (s L : Int) (hs : 0 < s) (hL : 0 < L) (u0 w : Fin k → Int) |
| 2362 | (hframe : ∀ j : Fin k, u0 j ≠ 0 ∨ w j ≠ 0) |
| 2363 | (z1 : CR Int) (v : Fin k → CR Int) |
| 2364 | (hJv0 : CR.normSq (sumFin (fun j : Fin k => GInt.mul (GInt.ofInt (w j)) ⟨(v j).re, (v j).im⟩) |
| 2365 | |> fun g => (⟨g.re, g.im⟩ : CR Int)) = 0) |
| 2366 | (hJv1 : CR.normSq (sumFin (fun j : Fin k => GInt.mul (GInt.ofInt (-(s * L * u0 j))) ⟨(v j).re, (v j).im⟩) |
| 2367 | |> fun g => (⟨g.re, g.im⟩ : CR Int)) = 0) |
| 2368 | (hB1v : ∀ j : Fin k, |
| 2369 | CR.normSq (CR.sub (CR.scaleR (s * (j.val : Int)) (v j)) (CR.mul z1 (v j))) = 0) : |
| 2370 | ∀ j : Fin k, v j = CR.zero := by |
| 2371 | have hfac : ∀ j : Fin k, (s * (j.val : Int) = z1.re ∧ z1.im = 0) ∨ v j = CR.zero := by |
| 2372 | intro j |
| 2373 | have h0 := hB1v j |
| 2374 | simp only [CR.normSq, CR.sub, CR.scaleR, CR.mul, LinOrdCommRing.sub, |
| 2375 | LinOrdCommRing.mul, LinOrdCommRing.add, LinOrdCommRing.neg] at h0 |
| 2376 | have ⟨hre0, him0⟩ := int_sum_sq_eq_zero h0 |
| 2377 | have hprod : ((s * (j.val : Int) - z1.re) * (s * (j.val : Int) - z1.re) + z1.im * z1.im) * |
| 2378 | ((v j).re * (v j).re + (v j).im * (v j).im) = 0 := by |
| 2379 | have hid : ((s * (j.val : Int) - z1.re) * (v j).re + z1.im * (v j).im) * |
| 2380 | ((s * (j.val : Int) - z1.re) * (v j).re + z1.im * (v j).im) + |
| 2381 | ((s * (j.val : Int) - z1.re) * (v j).im - z1.im * (v j).re) * |
| 2382 | ((s * (j.val : Int) - z1.re) * (v j).im - z1.im * (v j).re) = |
| 2383 | ((s * (j.val : Int) - z1.re) * (s * (j.val : Int) - z1.re) + z1.im * z1.im) * |
| 2384 | ((v j).re * (v j).re + (v j).im * (v j).im) := by grind |
| 2385 | have ha : (s * (j.val : Int) - z1.re) * (v j).re + z1.im * (v j).im = 0 := by grind |
| 2386 | have hb : (s * (j.val : Int) - z1.re) * (v j).im - z1.im * (v j).re = 0 := by grind |
| 2387 | rw [ha, hb] at hid; omega |
| 2388 | cases Int.mul_eq_zero.mp hprod with |
| 2389 | | inl h1 => |
| 2390 | have ⟨h1a, h1b⟩ := int_sum_sq_eq_zero h1 |
| 2391 | left; exact ⟨by omega, h1b⟩ |
| 2392 | | inr h2 => |
| 2393 | right |
| 2394 | cases hve : v j with |
| 2395 | | mk vr vi => |
| 2396 | rw [hve] at h2 |
| 2397 | have ⟨hvr, hvi⟩ := int_sum_sq_eq_zero h2 |
| 2398 | subst hvr; subst hvi; rfl |
| 2399 | intro j |
| 2400 | cases hfac j with |
| 2401 | | inr hv => exact hv |
| 2402 | | inl hz => |
| 2403 | have hother : ∀ i : Fin k, i ≠ j → v i = CR.zero := by |
| 2404 | intro i hi |
| 2405 | cases hfac i with |
| 2406 | | inr hvi => exact hvi |
| 2407 | | inl hzi => |
| 2408 | have heq : s * (i.val : Int) = s * (j.val : Int) := by omega |
| 2409 | have hv_eq := int_mul_cancel_pos hs heq |
| 2410 | exact absurd (Fin.ext (by omega)) hi |
| 2411 | have hs0 : sumFin (fun i : Fin k => GInt.mul (GInt.ofInt (w i)) ⟨(v i).re, (v i).im⟩) = |
| 2412 | GInt.mul (GInt.ofInt (w j)) ⟨(v j).re, (v j).im⟩ := by |
| 2413 | rw [sumFin_single j] |
| 2414 | intro i hi; rw [hother i hi] |
| 2415 | apply GInt.ext <;> simp [GInt.mul, CR.zero, LinOrdCommRing.zero, GInt.zero] |
| 2416 | have hs1 : sumFin (fun i : Fin k => GInt.mul (GInt.ofInt (-(s * L * u0 i))) ⟨(v i).re, (v i).im⟩) = |
| 2417 | GInt.mul (GInt.ofInt (-(s * L * u0 j))) ⟨(v j).re, (v j).im⟩ := by |
| 2418 | rw [sumFin_single j] |
| 2419 | intro i hi; rw [hother i hi] |
| 2420 | apply GInt.ext <;> simp [GInt.mul, CR.zero, LinOrdCommRing.zero, GInt.zero] |
| 2421 | rw [hs0] at hJv0 |
| 2422 | rw [hs1] at hJv1 |
| 2423 | simp only [CR.normSq, GInt.mul, GInt.ofInt, LinOrdCommRing.add, LinOrdCommRing.mul] at hJv0 hJv1 |
| 2424 | cases hve : v j with |
| 2425 | | mk vr vi => |
| 2426 | rw [hve] at hJv0 hJv1 |
| 2427 | have ⟨h0a, h0b⟩ := int_sum_sq_eq_zero hJv0 |
| 2428 | have ⟨h1a, h1b⟩ := int_sum_sq_eq_zero hJv1 |
| 2429 | have hsL_nz : -(s * L) ≠ 0 := by |
| 2430 | have hp := Int.mul_pos hs hL; omega |
| 2431 | cases hframe j with |
| 2432 | | inl hu => |
| 2433 | have hcoef : -(s * L * u0 j) ≠ 0 := by |
| 2434 | have heq : -(s * L * u0 j) = -(s * L) * u0 j := by grind |
| 2435 | rw [heq]; exact Int.mul_ne_zero hsL_nz hu |
| 2436 | have hvr : vr = 0 := by |
| 2437 | have : -(s * L * u0 j) * vr = 0 := by grind |
| 2438 | cases Int.mul_eq_zero.mp this with | inl h => exact absurd h hcoef | inr h => exact h |
| 2439 | have hvi : vi = 0 := by |
| 2440 | have : -(s * L * u0 j) * vi = 0 := by grind |
| 2441 | cases Int.mul_eq_zero.mp this with | inl h => exact absurd h hcoef | inr h => exact h |
| 2442 | subst hvr; subst hvi; rfl |
| 2443 | | inr hw => |
| 2444 | have hvr : vr = 0 := by |
| 2445 | have : w j * vr = 0 := by grind |
| 2446 | cases Int.mul_eq_zero.mp this with | inl h => exact absurd h hw | inr h => exact h |
| 2447 | have hvi : vi = 0 := by |
| 2448 | have : w j * vi = 0 := by grind |
| 2449 | cases Int.mul_eq_zero.mp this with | inl h => exact absurd h hw | inr h => exact h |
| 2450 | subst hvr; subst hvi; rfl |
| 2451 | |
| 2452 | /-! ## Section 8: Five Literal Broken-Model Negative Controls (neg_ctrl_*) -/ |
| 2453 | |
| 2454 | /-- NEGATIVE CONTROL 1: Perturbing (B1)_{0,1} from p to p + 1 breaks Complex ADHM [B1, B2] + I*J = 0! -/ |
| 2455 | theorem neg_ctrl_broken_complex_adhm : |
| 2456 | let hk : 3 ≤ 3 := by omega |
| 2457 | let B1_bad : Mat 3 3 := fun i j => |
| 2458 | if i = ⟨0, by omega⟩ ∧ j = ⟨1, by omega⟩ then GInt.ofInt (paramP 2 1 + 1) |
| 2459 | else su3B1 hk 2 1 1 i j |
| 2460 | adhmComplexRes B1_bad (su3B2 hk 2 1 1) (su3I hk 2 1 1) (su3J hk 2 1 1) |
| 2461 | ⟨0, by omega⟩ ⟨0, by omega⟩ ≠ GInt.zero := by |
| 2462 | decide |
| 2463 | |
| 2464 | /-- NEGATIVE CONTROL 2: Perturbing I_{0,0} from q to q + 1 breaks Real ADHM! -/ |
| 2465 | theorem neg_ctrl_broken_real_adhm : |
| 2466 | let hk : 3 ≤ 3 := by omega |
| 2467 | let I_bad : Mat 3 3 := fun i c => |
| 2468 | if i = ⟨0, by omega⟩ ∧ c = ⟨0, by omega⟩ then GInt.ofInt (paramQ 2 1 + 1) |
| 2469 | else su3I hk 2 1 1 i c |
| 2470 | adhmRealRes (su3B1 hk 2 1 1) (su3B2 hk 2 1 1) I_bad (su3J hk 2 1 1) |
| 2471 | ⟨0, by omega⟩ ⟨0, by omega⟩ ≠ GInt.zero := by |
| 2472 | decide |
| 2473 | |
| 2474 | /-- NEGATIVE CONTROL 3: Setting the degenerate boundary modulus m = 1, n = 0, r = 0 |
| 2475 | (where q = 1, h = 1 are still nonzero and Complex & Real ADHM STILL hold!) |
| 2476 | destroys global smoothness: at (z1, z2) = (0, 0), the nonzero vector v = (0, 1, 0) |
| 2477 | lies in ker H(0, 0) (su3QuadForm = 0), proving that n > 0 and r > 0 are strictly necessary! -/ |
| 2478 | theorem neg_ctrl_singular_degenerate_modulus : |
| 2479 | let hk : 3 ≤ 3 := by omega |
| 2480 | let z1 : CR Int := ⟨0, 0⟩ |
| 2481 | let z2 : CR Int := ⟨0, 0⟩ |
| 2482 | let v : Fin 3 → CR Int := fun j => if j.val = 1 then ⟨1, 0⟩ else ⟨0, 0⟩ |
| 2483 | v ⟨1, by omega⟩ ≠ CR.zero ∧ |
| 2484 | su3QuadForm (R := Int) hk 1 0 0 z1 z2 v = 0 := by |
| 2485 | refine ⟨?_, ?_⟩ |
| 2486 | · decide |
| 2487 | · decide |
| 2488 | |
| 2489 | /-- NEGATIVE CONTROL 4: An explicit reducible SU(2) (+) U(1) embedding (color channel 3 zeroed) |
| 2490 | admits a non-scalar projector P = diag(0, 0, 1) commuting with BOTH J*I and J*B1*I, |
| 2491 | refuting the SU(3) rank-3 irreducibility witness! -/ |
| 2492 | theorem neg_ctrl_reducible_su2_embedding : |
| 2493 | let hk : 3 ≤ 3 := by omega |
| 2494 | let I_red : Mat 3 3 := fun i c => if c.val = 2 then GInt.zero else su3I hk 2 1 1 i c |
| 2495 | let J_red : Mat 3 3 := fun c j => if c.val = 2 then GInt.zero else su3J hk 2 1 1 c j |
| 2496 | let P : Mat 3 3 := fun a b => if a = ⟨2, by omega⟩ ∧ b = ⟨2, by omega⟩ then GInt.one else GInt.zero |
| 2497 | (∀ a b, matComm P (matMul J_red I_red) a b = GInt.zero) ∧ |
| 2498 | (∀ a b, matComm P (matMul J_red (matMul (su3B1 hk 2 1 1) I_red)) a b = GInt.zero) ∧ |
| 2499 | (¬ ∃ c : GInt, ∀ a b : Fin 3, P a b = if a = b then c else GInt.zero) := by |
| 2500 | refine ⟨?_, ?_, ?_⟩ |
| 2501 | · decide |
| 2502 | · decide |
| 2503 | · intro ⟨c, hc⟩ |
| 2504 | have h0 := hc ⟨0, by omega⟩ ⟨0, by omega⟩ |
| 2505 | have h2 := hc ⟨2, by omega⟩ ⟨2, by omega⟩ |
| 2506 | simp only [ite_true] at h0 h2 |
| 2507 | rw [← h0] at h2 |
| 2508 | exact absurd h2 (by decide) |
| 2509 | |
| 2510 | /-- NEGATIVE CONTROL 5: Flipping the sign of row 1 of J in the symplectic SU(2) family |
| 2511 | breaks the Complex ADHM equation [B1, B2] + I * J = 0! -/ |
| 2512 | theorem neg_ctrl_su2_broken_symplectic_sign : |
| 2513 | let u0 : Fin 3 → Int := fun i => (i.val : Int) + 1 |
| 2514 | let w : Fin 3 → Int := fun i => if i.val = 0 then 1 else if i.val = 1 then 3 else 2 |
| 2515 | let y : Fin 3 → Int := fun _ => 0 |
| 2516 | let J_bad : Mat 2 3 := fun c j => |
| 2517 | if c.val = 0 then GInt.ofInt (w j) else GInt.ofInt (2 * u0 j) |
| 2518 | adhmComplexRes (su2B1 3 1) (su2B2 2 u0 w y) (su2I 1 2 u0 w) J_bad |
| 2519 | ⟨0, by omega⟩ ⟨1, by omega⟩ ≠ GInt.zero := by |
| 2520 | decide |
| 2521 | |
| 2522 | end PhysAdhmPdeInstantons |