Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.RG.PathActions |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Ambient path polynomials |
| 6 | |
| 7 | Independent complex matrices for a link and its inverse. They will be evaluated |
| 8 | on the actual `G.mat` pairs in the real problem. Extend at arbitrary physical |
| 9 | configurations (for the ticket we only need analyticity near identity). |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace YM.Work.F02 |
| 16 | |
| 17 | open Lattice Wilson RG Metric |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff |
| 19 | |
| 20 | variable {G : Gauge} {n : Side} |
| 21 | |
| 22 | /-- Sup, product max, and Frobenius. -/ |
| 23 | abbrev Ambient (G : Gauge) (n : Side) := Edge (Site n) → G.Mat × G.Mat |
| 24 | |
| 25 | def physical (U : Config G n) : Ambient G n := |
| 26 | fun i => (G.mat (U i), G.mat (U i)⁻¹) |
| 27 | |
| 28 | /-- Negative branch uses an independent variable, *not* the adjoint at |
| 29 | complex values. -/ |
| 30 | def letter (M : Ambient G n) (d : Step) (x : Site n) := |
| 31 | if d.neg then (M (d.used x)).2 else (M (d.used x)).1 |
| 32 | |
| 33 | def stringMat (M : Ambient G n) (w : Walk) (x : Site n) : G.Mat := |
| 34 | (w.foldr (fun d (T : Site n → G.Mat) y => letter M d y * T (y + d.vec)) (fun _ => 1)) x |
| 35 | |
| 36 | lemma stringMat_cons (M : Ambient G n) (d : Step) (w : Walk) (x : Site n) : |
| 37 | stringMat M (d :: w) x = letter M d x * stringMat M w (x + d.vec) := rfl |
| 38 | |
| 39 | lemma letter_physical (U : Config G n) (d : Step) (x : Site n) : |
| 40 | letter (physical U) d x = G.mat (d.read U x) := by |
| 41 | unfold letter Step.read |
| 42 | split <;> rfl |
| 43 | |
| 44 | lemma stringMat_physical (U : Config G n) (w : Walk) (x : Site n) : |
| 45 | stringMat (physical U) w x = G.mat (travel U x w) := by |
| 46 | induction w generalizing x with |
| 47 | | nil => rfl |
| 48 | | cons d w ih => |
| 49 | rw [stringMat_cons, travel, G.mat_mul, letter_physical, ih] |
| 50 | |
| 51 | lemma stringMat_contDiff (w : Walk) (x : Site n) : |
| 52 | ContDiff ℂ ω fun M : Ambient G n => stringMat M w x := by |
| 53 | induction w generalizing x with |
| 54 | | nil => exact contDiff_const |
| 55 | | cons d w ih => |
| 56 | simp only [stringMat_cons] |
| 57 | refine ContDiff.mul ?_ (ih _) |
| 58 | unfold letter |
| 59 | split <;> first |
| 60 | | exact (contDiff_apply ℂ _ _).fst |
| 61 | | exact (contDiff_apply ℂ _ _).snd |
| 62 | |
| 63 | lemma stringMat_bound (U : Config G n) {R : ℝ} (hR : 0 ≤ R) (M : Ambient G n) |
| 64 | (hm : M ∈ closedBall (physical U) R) (w : Walk) (x : Site n) : |
| 65 | ‖stringMat M w x‖ ≤ (1 + R)^w.length * ‖(1 : G.Mat)‖ := by |
| 66 | induction w generalizing x with |
| 67 | | nil => simp [stringMat] |
| 68 | | cons d w ih => |
| 69 | have hj : ‖(M - physical U) (d.used x)‖ ≤ R := by |
| 70 | apply (norm_le_pi_norm _ _).trans |
| 71 | rwa [mem_closedBall, dist_eq_norm] at hm |
| 72 | have he : ‖letter M d x - letter (physical U) d x‖ ≤ R := by |
| 73 | unfold letter |
| 74 | rw [Prod.norm_def, max_le_iff] at hj |
| 75 | split |
| 76 | · exact hj.2 |
| 77 | · exact hj.1 |
| 78 | let T := stringMat M w (x + d.vec) |
| 79 | let Y := letter (physical U) d x |
| 80 | let D := letter M d x - Y |
| 81 | have hk : ‖Y * T‖ = ‖T‖ := by |
| 82 | unfold Y |
| 83 | rw [letter_physical] |
| 84 | exact Gauge.mul_frob_eq _ _ (G.mat_star_mul _) |
| 85 | calc |
| 86 | _ = ‖Y * T + D * T‖ := by |
| 87 | rw [stringMat_cons] |
| 88 | dsimp only [Y, D, T] |
| 89 | rw [sub_mul, add_sub_cancel] |
| 90 | _ ≤ ‖Y * T‖ + ‖D * T‖ := norm_add_le _ _ |
| 91 | _ ≤ ‖T‖ + R * ‖T‖ := by |
| 92 | rw [hk] |
| 93 | exact add_le_add_right ((norm_mul_le _ _).trans |
| 94 | (mul_le_mul_of_nonneg_right he (norm_nonneg _))) _ |
| 95 | _ = (1 + R) * ‖T‖ := by ring |
| 96 | _ ≤ (1 + R) * ((1 + R)^w.length * ‖(1 : G.Mat)‖) := |
| 97 | mul_le_mul_of_nonneg_left (ih _) (by positivity) |
| 98 | _ = _ := by rw [List.length_cons, pow_succ']; ring |
| 99 | |
| 100 | /-- Package a slot's full cover walk (transport there, go around the |
| 101 | plaquette, transport back). We will still use its true length on the torus. -/ |
| 102 | def slotWalk (a : Slot) : Walk := |
| 103 | (a.walk ++ square a.plaq.val.1 a.plaq.val.2) ++ Lattice.reverse a.walk |
| 104 | |
| 105 | lemma atSite_curvature (a : Slot) (U : Config G n) (x : Site n) : |
| 106 | a.atSite U x = G.curvature (travel U x (slotWalk a)) := by |
| 107 | have ht : travel (expandAt x U) 0 (slotWalk a) = travel U x (slotWalk a) := by |
| 108 | simp [travel_at] |
| 109 | rw [Slot.atSite, Slot.eval, ← G.curvature_conjugate, ← ht] |
| 110 | congr 1 |
| 111 | rw [slotWalk, travel_append, travel_append, stop_append, square_stop, |
| 112 | travel_reverse] |
| 113 | rfl |
| 114 | |
| 115 | /-- The amount by which we permit each letter to deviate in the Frobenius norm. |
| 116 | A loop for a transported slot can have up to twice the length budget of the slot. -/ |
| 117 | def radius (σ : ℝ) := Real.exp (σ / 2) - 1 |
| 118 | |
| 119 | lemma radius_pos {σ : ℝ} (hs : 0 < σ) : 0 < radius σ := |
| 120 | sub_pos.mpr <| by simpa only [Real.exp_zero] using |
| 121 | Real.exp_strictMono (half_pos hs) |
| 122 | |
| 123 | /-- Sup norm on the complex extension of the (finite-dimensional) color space. |
| 124 | On the real side we of course still use the original `G.Color`. -/ |
| 125 | abbrev CColor (G : Gauge) := G.ColorIndex → ℂ |
| 126 | |
| 127 | def colorUp (G : Gauge) : G.Color →L[ℝ] CColor G := |
| 128 | ContinuousLinearMap.pi fun i => |
| 129 | Complex.ofRealCLM.comp (PiLp.proj (𝕜 := ℝ) 2 (fun _ => ℝ) i) |
| 130 | |
| 131 | def colorReal (G : Gauge) : CColor G →L[ℝ] G.Color := |
| 132 | (PiLp.continuousLinearEquiv 2 ℝ _).symm.toContinuousLinearMap.comp |
| 133 | (ContinuousLinearMap.pi fun i => Complex.reCLM.comp |
| 134 | (ContinuousLinearMap.proj (R := ℝ) (φ := fun _ => ℂ) i)) |
| 135 | |
| 136 | lemma colorUp_apply (c : G.Color) (i : G.ColorIndex) : |
| 137 | colorUp G c i = (c i : ℂ) := rfl |
| 138 | |
| 139 | lemma colorReal_up (c : G.Color) : |
| 140 | colorReal G (colorUp G c) = c := rfl |
| 141 | |
| 142 | private def skewCoord (G : Gauge) (i : G.ColorIndex) : StrongDual ℝ G.Mat := |
| 143 | ((PiLp.proj (𝕜 := ℝ) 2 (fun _ => ℝ) i).comp G.projectColor.toContinuousLinearMap).comp |
| 144 | ((1/2 : ℝ) • (ContinuousLinearMap.id ℝ G.Mat - |
| 145 | (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).toContinuousLinearMap)) |
| 146 | |
| 147 | private lemma skewCoord_apply (M : G.Mat) (i : G.ColorIndex) : |
| 148 | skewCoord G i M = G.projectColor ((1/2 : ℝ) • (M - star M)) i := rfl |
| 149 | |
| 150 | /-- Extend the real projection *on skew matrices* to a complex linear map on matrices. -/ |
| 151 | def colorProject (G : Gauge) : G.Mat →L[ℂ] CColor G := |
| 152 | ContinuousLinearMap.pi fun i => StrongDual.extendRCLike (skewCoord G i) |
| 153 | |
| 154 | lemma colorProject_skew (M : G.Mat) (hm : star M = -M) : |
| 155 | colorProject G M = colorUp G (G.projectColor M) := by |
| 156 | have he : (1/2 : ℝ) • (M - star M) = M := by |
| 157 | rw [hm, sub_neg_eq_add, ← two_smul ℝ, smul_smul, div_mul_cancel₀ _ (two_ne_zero), one_smul] |
| 158 | have hp : star (Complex.I • M) = Complex.I • M := by |
| 159 | rw [star_smul, hm]; simp |
| 160 | funext i |
| 161 | rw [colorUp_apply] |
| 162 | change (StrongDual.extendRCLike (skewCoord G i) M : ℂ) = _ |
| 163 | rw [StrongDual.extendRCLike_apply] |
| 164 | change (skewCoord G i M : ℂ) - Complex.I * (skewCoord G i (Complex.I • M) : ℂ) = _ |
| 165 | rw [skewCoord_apply, skewCoord_apply, hp, he] |
| 166 | simp |
| 167 | |
| 168 | def slotMatrix (a : Slot) (x : Site n) (M : Ambient G n) := |
| 169 | let w := slotWalk a |
| 170 | (1/2 : ℝ) • (stringMat M w x - |
| 171 | stringMat M (Lattice.reverse w) (stop x w)) |
| 172 | |
| 173 | def slotExt (a : Slot) (x : Site n) (M : Ambient G n) := |
| 174 | colorProject G (slotMatrix a x M) |
| 175 | |
| 176 | lemma slotExt_physical (a : Slot) (x : Site n) (U : Config G n) : |
| 177 | slotExt a x (physical U) = colorUp G (a.atSite U x) := by |
| 178 | unfold slotExt slotMatrix |
| 179 | simp only [stringMat_physical, travel_reverse] |
| 180 | rw [atSite_curvature, colorProject_skew] |
| 181 | · rfl |
| 182 | · simp only [star_smul, star_trivial, G.mat_inv, star_sub, star_star, ← smul_neg, neg_sub] |
| 183 | |
| 184 | lemma slotExt_contDiff (a : Slot) (x : Site n) : |
| 185 | ContDiff ℂ ω (slotExt (G := G) a x) := by |
| 186 | refine (colorProject G).contDiff.comp ?_ |
| 187 | unfold slotMatrix |
| 188 | exact ((stringMat_contDiff _ _).sub (stringMat_contDiff _ _)).const_smul (1/2 : ℝ) |
| 189 | |
| 190 | -- Express the norm via a helper on normed spaces so it uses the indicated normed |
| 191 | -- space structures (the unbundled topology on matrices is used also with other norms). |
| 192 | private def complexOpNorm {X Y : Type*} [SeminormedAddCommGroup X] [NormedSpace ℂ X] |
| 193 | [SeminormedAddCommGroup Y] [NormedSpace ℂ Y] (f : X →L[ℂ] Y) : ℝ := |
| 194 | ‖f‖ |
| 195 | |
| 196 | def slotConst (G : Gauge) := |
| 197 | complexOpNorm (X := G.Mat) (Y := CColor G) (colorProject G) * ‖(1 : G.Mat)‖ |
| 198 | |
| 199 | lemma slotExt_bound (U : Config G n) {σ : ℝ} (hs : 0 < σ) (M : Ambient G n) |
| 200 | (hm : M ∈ closedBall (physical U) (radius σ)) (a : Slot) (x : Site n) : |
| 201 | ‖slotExt a x M‖ ≤ slotConst G * Real.exp (σ * a.length) := by |
| 202 | let B := Real.exp (σ * a.length) * ‖(1 : G.Mat)‖ |
| 203 | have hw (w : Walk) (y : Site n) (hh : w.length ≤ 2 * a.length) : |
| 204 | ‖stringMat M w y‖ ≤ B := by |
| 205 | apply (stringMat_bound U (radius_pos hs).le M hm w y).trans |
| 206 | refine mul_le_mul_of_nonneg_right ?_ (norm_nonneg _) |
| 207 | rw [radius, add_sub_cancel, ← Real.exp_nat_mul] |
| 208 | have he : (w.length : ℝ) ≤ 2 * a.length := by exact_mod_cast hh |
| 209 | apply Real.exp_monotone |
| 210 | nlinarith |
| 211 | have ht : (slotWalk a).length ≤ 2 * a.length := by |
| 212 | simp only [slotWalk, List.length_append, Lattice.reverse, List.length_map, List.length_reverse] |
| 213 | change a.walk.length + 4 + a.walk.length ≤ 2 * (a.walk.length + 4) |
| 214 | omega |
| 215 | have h1 := hw _ x ht |
| 216 | have h2 := hw (Lattice.reverse (slotWalk a)) (stop x (slotWalk a)) |
| 217 | (by simpa only [Lattice.reverse, List.length_map, List.length_reverse] using ht) |
| 218 | have hz : ‖slotMatrix a x M‖ ≤ B := calc |
| 219 | _ = (1/2 : ℝ) * ‖stringMat M (slotWalk a) x - |
| 220 | stringMat M (Lattice.reverse (slotWalk a)) (stop x (slotWalk a))‖ := by |
| 221 | unfold slotMatrix |
| 222 | rw [norm_smul, Real.norm_of_nonneg (by norm_num : (0 : ℝ) ≤ 1/2)] |
| 223 | _ ≤ _ := by |
| 224 | have hp := norm_sub_le (stringMat M (slotWalk a) x) |
| 225 | (stringMat M (Lattice.reverse (slotWalk a)) (stop x (slotWalk a))) |
| 226 | linarith |
| 227 | exact ((colorProject G).le_opNorm _).trans ((mul_le_mul_of_nonneg_left hz |
| 228 | (norm_nonneg _)).trans_eq (by unfold B slotConst complexOpNorm; ring)) |
| 229 | |
| 230 | variable {k : ℕ} |
| 231 | |
| 232 | def atomExt (a : Atom G k) (x : Site n) (M : Ambient G n) : ℂ := |
| 233 | ∑ b, (a.coeff b : ℂ) * ∏ i, slotExt (a.leg i) x M (b i) |
| 234 | |
| 235 | lemma atomExt_contDiff (a : Atom G k) (x : Site n) : |
| 236 | ContDiff ℂ ω (atomExt a x) := by |
| 237 | unfold atomExt |
| 238 | apply ContDiff.sum |
| 239 | intro b _ |
| 240 | refine contDiff_const.mul ?_ |
| 241 | apply contDiff_prod |
| 242 | exact fun i _ => (contDiff_apply ℂ _ _).comp (slotExt_contDiff (a.leg i) x) |
| 243 | |
| 244 | lemma atomExt_physical (a : Atom G k) (U : Config G n) (x : Site n) : |
| 245 | atomExt a x (physical U) = (a.unmasked U x : ℂ) := by |
| 246 | simp only [atomExt, slotExt_physical, colorUp_apply, Atom.unmasked, Atom.poly, |
| 247 | Complex.ofReal_sum, Complex.ofReal_prod, Complex.ofReal_mul] |
| 248 | |
| 249 | lemma atomExt_bound (a : Atom G k) (U : Config G n) {σ : ℝ} (hs : 0 < σ) (M : Ambient G n) |
| 250 | (hm : M ∈ closedBall (physical U) (radius σ)) (x : Site n) : |
| 251 | ‖atomExt a x M‖ ≤ a.budget σ * (slotConst G)^k := by |
| 252 | have he (i : Fin k) (j : G.ColorIndex) : |
| 253 | ‖slotExt (a.leg i) x M j‖ ≤ slotConst G * Real.exp (σ * (a.leg i).length) := |
| 254 | (norm_le_pi_norm _ j).trans (slotExt_bound U hs M hm (a.leg i) x) |
| 255 | unfold atomExt Atom.budget Atom.magnitude |
| 256 | rw [Finset.sum_mul, Finset.sum_mul] |
| 257 | refine (norm_sum_le _ _).trans (Finset.sum_le_sum fun b _ => ?_) |
| 258 | simp only [norm_mul, Complex.norm_real, Real.norm_eq_abs, norm_prod] |
| 259 | rw [mul_assoc] |
| 260 | refine mul_le_mul_of_nonneg_left ((Finset.prod_le_prod (fun _ _ => norm_nonneg _) |
| 261 | (fun i _ => he i (b i))).trans_eq ?_) (abs_nonneg _) |
| 262 | rw [Finset.prod_mul_distrib, ← Real.exp_sum, Atom.length, Nat.cast_sum, Finset.mul_sum] |
| 263 | simp [mul_comm] |
| 264 | |
| 265 | end YM.Work.F02 |