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.Ward.Genuine |
| 2 | import YM.Ward.Motion |
| 3 | import YM.Ward.PDE |
| 4 | |
| 5 | /-! |
| 6 | # Transverse angular vector input implies polar PDE jets, at collinear positions |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Ward |
| 11 | open Function Set Filter Complex Analysis Table |
| 12 | open scoped Topology NNReal ENNReal BigOperators ContDiff |
| 13 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 14 | variable (a b : Axis) |
| 15 | |
| 16 | def lift (p : PDE.V) := p.1 • basis a+p.2 • basis b |
| 17 | def put (p : PDE.V) : Points 2 := points ![lift a b p,0] |
| 18 | |
| 19 | def desc : PDE.V →L[ℝ] Points 2 := (ContinuousLinearMap.fst ℝ ℝ ℝ).smulRight (Points.direction 0 a)+ |
| 20 | (ContinuousLinearMap.snd ℝ ℝ ℝ).smulRight (Points.direction 0 b) |
| 21 | @[simp] lemma floor (p) : desc a b p = put a b p := by |
| 22 | ext k; fin_cases k <;> simp [desc,put,lift,Points.direction] |
| 23 | |
| 24 | lemma ranges {x : PDE.V} (hv : x∈ PDE.side) (h : b≠a) : put a b x∈conf _ := by |
| 25 | suffices he : lift a b x ≠ 0 by |
| 26 | intro i j; fin_cases i <;> fin_cases j <;> simp [put,he,Ne.symm he] |
| 27 | intro ht; have hh := congr_arg (fun x : E4 => x a) ht |
| 28 | simp [lift,Ne.symm h] at hh |
| 29 | exact (show 0<x.1 from hv).ne' hh |
| 30 | |
| 31 | def F (p : S.Tag × S.Tag) (x : PDE.V) : ℂ := pair p.1 p.2 (lift a b x) |
| 32 | lemma Fu (H : S.Hierarchy) (p : S.Tag × S.Tag) (h : b≠a) : PDE.C (F a b p) := by |
| 33 | rw [show F a b p=disc ![p.1,p.2] ∘ desc a b from funext (fun i => by simp; rfl)] |
| 34 | intro x hi |
| 35 | have hx : desc a b x∈conf _ := by rw [floor]; exact ranges _ _ hi h |
| 36 | exact (cont_disc H _ hx).comp x (desc a b).contDiff.contDiffAt |
| 37 | |
| 38 | def left (K : Ortho.Skew) (T : SpinRows S) (p : S.Tag × S.Tag) := (turns T K p.1,p.2) |
| 39 | def right (K : Ortho.Skew) (T : SpinRows S) (p : S.Tag × S.Tag) := (p.1,turns T K p.2) |
| 40 | |
| 41 | lemma in_vector (H : S.Hierarchy) (p : S.Tag × S.Tag) (h : b≠a) {x : PDE.V} (ht : x∈PDE.side) |
| 42 | (W : DiffPlan S) (g : W.Derivatives S) : |
| 43 | PDE.tangent (F a b p) x=x.1 • pair (rise W b p.1) p.2 (lift a b x)-x.2 • pair (rise W a p.1) p.2 (lift a b x) := by |
| 44 | have he (v : PDE.V) (c) (hw : desc a b v=Points.direction 0 c) : |
| 45 | D v (F a b p) x=pair (rise W c p.1) p.2 (lift a b x) := by |
| 46 | rw [show F a b p=disc ![p.1,p.2] ∘ desc a b from funext fun i => by simp;rfl] |
| 47 | have hx := ranges a b ht h |
| 48 | rw [D, fderiv_comp x (show DifferentiableAt ℝ (disc _) _ from |
| 49 | (floor a b x) ▸ (cont_disc H _ hx).differentiableAt (by simp)) (desc a b).differentiableAt, |
| 50 | (desc a b).fderiv, ContinuousLinearMap.comp_apply, hw, floor] |
| 51 | change D _ (disc ![p.1,p.2]) _=_ |
| 52 | rw [fromD W H g hx] |
| 53 | unfold pair |
| 54 | congr 2; funext j; fin_cases j <;> simp |
| 55 | unfold PDE.tangent |
| 56 | rw [he PDE.e a (by simp [PDE.e,desc] |
| 57 | ), he PDE.i b (by simp [PDE.i,desc])] |
| 58 | |
| 59 | lemma planeVec (h : b ≠ a) (x : PDE.V) (i : Axis) : M4.move (Ortho.plane b a).val (lift a b x) i= |
| 60 | if i=a then -x.2 else if i=b then x.1 else 0 := by |
| 61 | have hh (k : Axis) := M4.move_basis (Ortho.plane b a).val i k |
| 62 | unfold M4.move at * |
| 63 | simp only [lift,map_add,map_smul,PiLp.add_apply,PiLp.smul_apply,hh] |
| 64 | simp only [Ortho.plane, |
| 65 | Matrix.sub_apply,Matrix.single_apply] |
| 66 | clear hh |
| 67 | by_cases ht : i=a |
| 68 | · subst i; simp [h,Ne.symm h] |
| 69 | by_cases hw : i=b |
| 70 | · subst i; simp [h,Ne.symm h] |
| 71 | simp [h,Ne.symm h,ht,Ne.symm ht,hw,Ne.symm hw] |
| 72 | |
| 73 | lemma sigma (h : b≠a) (W : DiffPlan S) (T : SpinRows S) (H : S.Hierarchy) (g : W.Derivatives S) |
| 74 | (p : S.Tag × S.Tag) {x : PDE.V} (hx : x ∈ PDE.side) : |
| 75 | let K := Ortho.plane b a |
| 76 | PDE.law (left K T) (right K T) (F a b) p x=angular W T ![p.1,p.2] K (put a b x) := by |
| 77 | intro K |
| 78 | unfold PDE.law angular |
| 79 | rw [in_vector a b H p h hx W g]; unfold left right |
| 80 | rw [Fin.sum_univ_two] |
| 81 | let q : Fin 2 → S.Tag := ![p.1,p.2] |
| 82 | have he u : update q 0 u=![u,p.2] := by ext1 i;fin_cases i <;> simp [q] |
| 83 | have ht u : update q 1 u=![p.1,u] := by ext1 i;fin_cases i <;> simp [q] |
| 84 | dsimp only |
| 85 | unfold F pair |
| 86 | -- smul sums using basis |
| 87 | have hs g (z : Points 2) : M4.move K.val (put a b x 1) g=0 := by simp [M4.move,put] -- no z |
| 88 | change _= disc (update q 0 (turns T K (q 0))) (put a b x)+(∑ i, _)+ (disc (update q 1 (turns T K (q 1))) _+_) |
| 89 | simp_rw [show ∀ i, M4.move K.val (put a b x 1) i=0 from fun i => hs i 0,zero_smul,Finset.sum_const_zero, add_zero] |
| 90 | rw [ht,he] |
| 91 | change _= disc ![turns T K p.1,p.2] _+(∑ i, (M4.move K.val (lift a b x) i) • disc (update q 0 (rise W i (q 0))) (put a b x)) + _ |
| 92 | simp_rw [show ∀ i, M4.move K.val (lift a b x) i = _ from planeVec a b h x,he] |
| 93 | simp only [ite_smul,zero_smul,neg_smul] |
| 94 | have hw (f g : Axis → ℂ) : (∑ i, if i=a then f i else if i=b then g i else 0)=f a+g b := by |
| 95 | have he i : (if i=a then f i else if i=b then g i else 0)=(if i=a then f i else 0)+(if i=b then g i else 0) := by split_ifs <;> simp_all |
| 96 | simp_rw [he,Finset.sum_add_distrib];simp |
| 97 | rw [hw]; simp [q,put]; ring |
| 98 | |
| 99 | theorem realized (h : b≠a) (W : DiffPlan S) (T : SpinRows S) (H : S.Hierarchy) (g : W.Derivatives S) |
| 100 | (C : commutes W T) (Y : Collinear W T) |
| 101 | (p : S.Tag × S.Tag) (n : ℕ) (t : ℝ) (ht : 0<t) : |
| 102 | let K := Ortho.plane b a |
| 103 | PDE.tower (PDE.law (left K T) (right K T) (F a b) p) n (t,0)=0 := by |
| 104 | intro K |
| 105 | rw [← PDE.actual (f := PDE.law _ _ _ p) (PDE.regular (left K T) (right K T) (fun i => Fu a b H i h) p) |
| 106 | (x := (t,0)) (show _ from ht) n]; dsimp only |
| 107 | let z := put a b (t,0) |
| 108 | have hz y : put a b (t,y)=cast z 0 b y := by |
| 109 | ext i; fin_cases i <;> simp [put,lift,z,cast,Points.direction] |
| 110 | rw [show (fun y => PDE.law _ _ _ p (t,y))= angular W T ![p.1,p.2] K ∘ cast z 0 b from |
| 111 | funext (fun y => (sigma a b h W T H g p (x := (t,y)) (show _ from ht)).trans (by rw [hz];rfl))] |
| 112 | have hv : cast z 0 b 0 ∈ conf _ := by rw [start]; exact ranges a b ht h |
| 113 | refine jet_line W T H g C K _ z 0 b 0 hv (fun w => Y a _ _ _ _ hv ?_) n |
| 114 | rw [start]; intro i; fin_cases i |
| 115 | · exact ⟨t,by simp [z,put,lift]⟩ |
| 116 | exact ⟨0,by simp [z,put,lift]⟩ |
| 117 | end YM.Ward |