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.Maxwell.Exterior |
| 2 | |
| 3 | /-! |
| 4 | # Maxwell+Bianchi shell (Euclidean) |
| 5 | |
| 6 | Take ordinary curl jets, no contact terms in covariance. |
| 7 | Real Lie coordinates, equation legs **without conjugation**. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Maxwell |
| 12 | open Tensor Analysis Function Set Filter |
| 13 | open scoped ContDiff Topology BigOperators |
| 14 | |
| 15 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 16 | variable {G : Gauge} {j : ℕ} |
| 17 | |
| 18 | def onShell (F : Type*) [NormedAddCommGroup F] [NormedSpace ℝ F] (j : ℕ) : Submodule ℝ (TwoJet F j) where |
| 19 | carrier := {Q | Q ∈ formSpace j F ∧ ∀ b x, ∑ a : Axis, grad a (diagonal (Q a b)) x = 0} |
| 20 | zero_mem' := by |
| 21 | refine ⟨Submodule.zero_mem _, ?_⟩ |
| 22 | intro b z |
| 23 | change ∑ a : Axis, fderiv ℝ (fun y : E4 => (0:F)) z (basis a) = _ |
| 24 | simp |
| 25 | add_mem' := by |
| 26 | rintro x y ⟨hx,h⟩ ⟨hy,H⟩ |
| 27 | refine ⟨Submodule.add_mem _ hx hy, ?_⟩ |
| 28 | intro b z |
| 29 | have he (a : Axis) : grad a (diagonal ((x+y) a b)) z = |
| 30 | grad a (diagonal (x a b)) z + grad a (diagonal (y a b)) z := by |
| 31 | change fderiv ℝ (diagonal (x a b) + diagonal (y a b)) z _ = _ |
| 32 | rw [fderiv_add ((diag_smooth _ ∞).differentiable (by simp) _) |
| 33 | ((diag_smooth _ ∞).differentiable (by simp) _)]; rfl |
| 34 | simp_rw [he, Finset.sum_add_distrib, h,H,add_zero] |
| 35 | smul_mem' := by |
| 36 | rintro t x ⟨hx,h⟩ |
| 37 | refine ⟨Submodule.smul_mem _ t hx, ?_⟩ |
| 38 | intro b z |
| 39 | have he (a : Axis) : grad a (diagonal ((t • x) a b)) z = t • grad a (diagonal (x a b)) z := by |
| 40 | change fderiv ℝ (t • diagonal (x a b)) z _ = _ |
| 41 | rw [fderiv_const_smul ((diag_smooth _ ∞).differentiable (by simp) _)]; rfl |
| 42 | simp_rw [he, ← Finset.smul_sum, h, smul_zero] |
| 43 | |
| 44 | abbrev Shell (G : Gauge) (j : ℕ) := ↥(onShell G.Color j) |
| 45 | |
| 46 | def gaugeJet : Shell G j →ₗ[ℝ] Labels.Taylor G j := |
| 47 | potential.symm.toLinearMap.comp <| Submodule.inclusion (p := onShell G.Color j) (fun _ h => h.1) |
| 48 | |
| 49 | theorem leg_injective : Injective (gaugeJet (G := G) (j := j)) := |
| 50 | potential.symm.injective.comp <| Submodule.inclusion_injective _ |
| 51 | |
| 52 | theorem match_leg (X : Shell G j) : takeCurl (gaugeJet X) = X.val := curl_inverse X.property.1 |
| 53 | |
| 54 | abbrev Field (F : Type*) := Axis → Axis → E4 → F |
| 55 | |
| 56 | /-- Equations on an open patch. -/ |
| 57 | structure WaveOn (U : Set E4) (f : Field F) : Prop where |
| 58 | smooth (a b : Axis) (x : E4) : x ∈ U → ContDiffAt ℝ ∞ (f a b) x |
| 59 | form (a b : Axis) (x : E4) : x ∈ U → f a b x = - f b a x |
| 60 | cycle (a b c : Axis) (x : E4) : x ∈ U → |
| 61 | grad a (f b c) x + grad b (f c a) x + grad c (f a b) x = 0 |
| 62 | divergence (b : Axis) (x : E4) : x ∈ U → ∑ a : Axis, grad a (f a b) x = 0 |
| 63 | |
| 64 | namespace WaveOn |
| 65 | variable {U : Set E4} {f : Field F} |
| 66 | |
| 67 | def nth (A : Field F) (j : ℕ) (z : E4) : TwoJet F j := fun a b => coeff (A a b) j z |
| 68 | |
| 69 | theorem nth_smooth (h : WaveOn U f) {x : E4} (hx : x ∈ U) : |
| 70 | ContDiffAt ℝ ∞ (nth f j) x := |
| 71 | contDiffAt_pi.mpr fun i => contDiffAt_pi.mpr fun l => coeff_smooth (h.smooth i l x hx) _ |
| 72 | |
| 73 | protected theorem jets (Uo : IsOpen U) (h : WaveOn U f) {x : E4} (hx : x ∈ U) : |
| 74 | nth f j x ∈ onShell F j := by |
| 75 | have hu := Uo.mem_nhds hx |
| 76 | constructor |
| 77 | · constructor |
| 78 | · intro i l; apply coeff_symm; exact (h.smooth i l x hx).of_le (WithTop.coe_le_coe.mpr le_top) |
| 79 | · intro i l |
| 80 | change coeff _ j x = -coeff _ j x |
| 81 | rw [← neg_coeff]; refine GermCoeff j ?_ |
| 82 | filter_upwards [hu] with y hy |
| 83 | exact h.form i l y hy |
| 84 | intro a b c z |
| 85 | cases j with |
| 86 | | zero => |
| 87 | have he (A : T E4 F 0) (a) : grad a (diagonal A) z = 0 := by |
| 88 | rw [show diagonal A = fun _ => diagonal A 0 from funext fun _ => congr_arg A (Subsingleton.elim ..)] |
| 89 | simp [grad,D] |
| 90 | rw [he, he, he]; simp |
| 91 | | succ j => |
| 92 | have he (a b c) : grad a (diagonal (coeff (f b c) (j+1) x)) z = |
| 93 | diagonal (coeff (grad a (f b c)) j x) z := slot_lower ((h.smooth b c x hx).of_le (WithTop.coe_le_coe.mpr le_top)) .. |
| 94 | unfold nth |
| 95 | rw [he a b c, he b c a, he c a b] |
| 96 | have hs (a b c) : ContDiffAt ℝ j (grad a (f b c)) x := |
| 97 | (grad_smooth _ (h.smooth b c x hx) (m := ∞) (by simp)).of_le (WithTop.coe_le_coe.mpr le_top) |
| 98 | have hr := coeff_add (show ContDiffAt ℝ j (grad a (f b c)+grad b (f c a)) x from |
| 99 | (hs a b c).add (hs b c a)) (hs c a b) |
| 100 | rw [coeff_add (hs a b c) (hs b c a)] at hr |
| 101 | have hz : grad a (f b c) + grad b (f c a) + grad c (f a b) =ᶠ[𝓝 x] fun _ => 0 := by |
| 102 | filter_upwards [hu] with w hw; exact h.cycle a b c w hw |
| 103 | exact congr_arg (fun A : T E4 F _ => diagonal A z) (hr.symm.trans ((GermCoeff j hz).trans (coeff_zero ..))) |
| 104 | intro b z |
| 105 | cases j with |
| 106 | | zero => |
| 107 | have he (A : T E4 F 0) (a) : grad a (diagonal A) z = 0 := by |
| 108 | rw [show diagonal A = fun _ => diagonal A 0 from funext fun _ => congr_arg A (Subsingleton.elim ..)] |
| 109 | simp [grad,D] |
| 110 | simp_rw [he] |
| 111 | exact Finset.sum_const_zero |
| 112 | | succ j => |
| 113 | have he (a) : grad a (diagonal (coeff (f a b) (j+1) x)) z = |
| 114 | diagonal (coeff (grad a (f a b)) j x) z := slot_lower ((h.smooth a b x hx).of_le (WithTop.coe_le_coe.mpr le_top)) .. |
| 115 | simp_rw [nth, he, Tensor.diagonal] |
| 116 | rw [← sum_apply, ← coeff_sum] |
| 117 | · have ht : (∑ a : Axis, grad a (f a b)) =ᶠ[𝓝 x] fun _ => 0 := by |
| 118 | filter_upwards [hu] with w hw |
| 119 | rw [Finset.sum_apply]; exact h.divergence b w hw |
| 120 | rw [GermCoeff j ht, coeff_zero]; rfl |
| 121 | intro i _ |
| 122 | exact (grad_smooth i (h.smooth i b x hx) (m := ∞) (by simp)).of_le (WithTop.coe_le_coe.mpr le_top) |
| 123 | |
| 124 | end WaveOn |
| 125 | end YM.Maxwell |