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.Pert.Fourier.Adjoint |
| 2 | import YM.Pert.Fourier.Inversion |
| 3 | /-! Fourier inversion of the orbital free covariance on links. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Pert.Orb |
| 7 | open Lattice Complex Function BigOperators |
| 8 | variable {G : Gauge} {n : Side} |
| 9 | |
| 10 | def formElem (l : Links n) (u : G.Color) : Module.Dual ℝ ↥(LinkP G n) where |
| 11 | toFun A := inner ℝ (A.val l) u |
| 12 | map_add' A B := inner_add_left .. |
| 13 | map_smul' r A := real_inner_smul_left .. |
| 14 | /-- Green gradient link inverse for a unit *point* forcing on orbit. -/ |
| 15 | def ghostLink (l : Links n) (u : G.Color) (b : Links n) := if b.2=l.2 then ((Full.toroid (b.1-l.1)).re) • u else 0 |
| 16 | lemma ghost_image (l b : Links n) (u : G.Color) : ghostLink l u (image b)=ghostLink (image l) u b := by |
| 17 | unfold ghostLink image; dsimp |
| 18 | split |
| 19 | next h => congr 1; rw [show -b.1-step b.2-l.1 = -(b.1-(-l.1-step l.2)) by rw [h]; abel]; apply Full.toroid_even |
| 20 | next => rfl |
| 21 | |
| 22 | def response (l : Links n) (u : G.Color) : ↥(LinkP G n) := ⟨ghostLink l u - ghostLink (image l) u, fun b => show _ by simp [Pi.sub_apply,ghost_image,image_image]⟩ |
| 23 | lemma re_nfour : ((n.val:ℂ)^(-4:ℤ)).re = (n.val:ℝ)^(-4:ℤ) := by rw [show (n.val:ℂ)^(-4:ℤ) = ((n.val:ℝ)^(-4:ℤ):ℝ) by simp,Complex.ofReal_re] |
| 24 | lemma lap_shift (a : Site n) : lap (fun y : Site n => (Full.toroid y).re) a = -(if a=0 then 1 else 0) + (n.val:ℝ)^(-4:ℤ) := by |
| 25 | have he := congrArg reCLM (Full.lap_eq a) |
| 26 | simp only [map_sum,map_add,map_sub,apply_ite reCLM _, two_smul,reCLM_apply,one_re,zero_re,neg_re,re_nfour] at he |
| 27 | simpa only [lap,two_smul,apply_ite Complex.re _ , zero_re,one_re] using he |
| 28 | lemma lap_ghost (a : Links n) (u : G.Color) (i : Axis) (b : Site n) : lap (fun z : Site n => ghostLink a u (z,i)) b = |
| 29 | -(if b=a.1 ∧ i=a.2 then u else 0) + (if i=a.2 then ((n.val:ℝ)^(-4:ℤ)) • u else 0) := by |
| 30 | unfold ghostLink; dsimp |
| 31 | by_cases h : i=a.2 |
| 32 | · simp only [h, if_true, and_true] |
| 33 | unfold lap; simp only [← add_smul, ← Nat.cast_smul_eq_nsmul ℝ, smul_smul, ← sub_smul, ← Finset.sum_smul] |
| 34 | suffices hz : ((∑ l : Axis, ((Full.toroid (b+step l-a.1)).re +(Full.toroid (b-step l-a.1)).re - (2:ℝ)*(Full.toroid (b-a.1)).re)) : ℝ) = -(if b=a.1 then 1 else 0) + (n.val:ℝ)^(-4:ℤ) by split <;> simp_all only [if_true, if_false, and_true, and_false, ↓reduceIte, Nat.cast_ofNat,add_smul] <;> simp |
| 35 | let e := lap_shift (b-a.1) |
| 36 | have h1 (l : Axis) : b+step l-a.1=b-a.1+step l := by abel |
| 37 | have h2 (l : Axis) : b-step l-a.1=b-a.1-step l := by abel |
| 38 | simpa only [lap,h1,h2,nsmul_eq_mul,sub_eq_zero,Nat.cast_ofNat] using! e |
| 39 | simp [h,lap] |
| 40 | lemma inverse_eq (a : Links n) (u : G.Color) : kernelEquiv G n (response a u) = formElem a u := by |
| 41 | ext1 v |
| 42 | change form (response a u) v = inner ℝ (v.val a) u |
| 43 | rw [form_symm]; unfold form; change ((∑ x : Site n, ∑ i : Axis, ∑ j : Axis, _) + ∑ x : Site n, _) / 2 = _ |
| 44 | change ((∑ x : Site n, ∑ i : Axis, ∑ j : Axis, if i<j then inner ℝ (cur _ x i j) (cur (response a u).val x i j) else 0) + ∑ x : Site n, inner ℝ (divB v.val x) (divB _ x)) / 2 = _ |
| 45 | rw [total] |
| 46 | have hr (i : Axis) (x : Site n) : lap (row (response a u).val i) x = -(if x=a.1 ∧ i=a.2 then u else 0) + (if x=(image a).1 ∧ i=(image a).2 then u else 0) := by |
| 47 | have eqv (F H : Site n → G.Color) : lap (F-H) x=lap F x - lap H x := by unfold lap; rw [← Finset.sum_sub_distrib]; apply Finset.sum_congr rfl; intro j _; dsimp; rw [smul_sub]; abel |
| 48 | rw [show row _ i = ((row (ghostLink a u) i)-(row (ghostLink (image a) u) i)) from rfl, eqv]; change lap (fun z => ghostLink a u (z,i)) x - (lap (fun z => ghostLink (image a) u (z,i)) x) = _; rw [lap_ghost, lap_ghost,show (image a).2=a.2 from rfl]; abel |
| 49 | have hv : inner ℝ (v.val (image a)) u = - inner ℝ (v.val a) u := by rw [v.property,inner_neg_left] |
| 50 | simp only [hr,inner_add_right,inner_neg_right,Finset.sum_neg_distrib,Finset.sum_add_distrib]; rw [← Finset.sum_neg_distrib] |
| 51 | have he (a : Links n) : (∑ x, ∑ i, inner ℝ (v.val (x,i)) (if x=a.1 ∧ i=a.2 then u else 0)) = inner ℝ (v.val a) u := by |
| 52 | rw [Finset.sum_eq_single a.1]; rw [Finset.sum_eq_single a.2] |
| 53 | all_goals simp_all |
| 54 | simp only [Finset.sum_neg_distrib,neg_add_rev,neg_neg]; rw [he,he,hv]; ring |
| 55 | lemma covar_link (a b : Links n) (u t : G.Color) : covar (formElem a u) (formElem b t) = |
| 56 | inner ℝ u t * (if b.2=a.2 then (Full.toroid (b.1-a.1)).re - (Full.toroid (b.1+ a.1+step a.2)).re else 0) := by |
| 57 | rw [covar,←inverse_eq a u,LinearEquiv.symm_apply_apply] |
| 58 | dsimp [formElem,response,ghostLink]; rw [show b.1 - (image a).1 = b.1+a.1+step a.2 from by dsimp [image]; rw [show (-a.1-step a.2)=-(a.1+step a.2) by simp [neg_add,sub_eq_add_neg,add_comm],sub_neg_eq_add,add_assoc]] |
| 59 | split <;> simp_all [show (image a).2=a.2 from rfl, inner_sub_left,real_inner_smul_left]; ring |
| 60 | end YM.Pert.Orb |