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.Next.MAXWELL.Studio |
| 2 | |
| 3 | /-! # A finite test for every weight: reflected point-pair -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Maxwell.Free |
| 7 | open Set Function Filter Tensor Analysis Table.Pairing Wick Factorization Fock |
| 8 | open scoped ContDiff Topology BigOperators ComplexOrder |
| 9 | variable {G : Gauge} |
| 10 | |
| 11 | def score (a : Axis) (x : E4) (p q : WickPol G) := |
| 12 | cabinet a (points fun _ : Fin 1 => x) (points fun _ : Fin 1 => x) (fun _ => p) (fun _ => q) |
| 13 | |
| 14 | section cert |
| 15 | variable (a : Axis) (x : E4) |
| 16 | private lemma fix (T : MultilinearMap ℂ (fun _ : Fin 1 => WickPol G) ℂ) (p) : |
| 17 | T.toLinearMap (fun _ => 0) 0 p=T (fun _ => p) := by |
| 18 | rw [MultilinearMap.toLinearMap_apply] |
| 19 | congr 1; ext1 i; fin_cases i; simp |
| 20 | |
| 21 | private def sideL (q : WickPol G) : WickPol G →ₗ[ℂ] ℂ := (towerL a |
| 22 | (points fun _ : Fin 1 => x) (points fun _ : Fin 1 => x) (fun _ => q)).toLinearMap (fun _ => 0) 0 |
| 23 | |
| 24 | private lemma fixL (p q : WickPol G) : sideL a x q p = star (score a x p q) := fix _ _ |
| 25 | |
| 26 | private def sideR (p : WickPol G) : WickPol G →ₗ[ℂ] ℂ := (towerR a |
| 27 | (points fun _ : Fin 1 => x) (points fun _ : Fin 1 => x) (fun _ => p)).toLinearMap (fun _ => 0) 0 |
| 28 | |
| 29 | private lemma fixR (p q : WickPol G) : sideR a x p q = score a x p q := fix _ _ |
| 30 | |
| 31 | lemma score_add (p q r : WickPol G) : score a x (p+q) r = score a x p r + score a x q r := by |
| 32 | apply star_injective; rw [star_add]; simp_rw [← fixL]; exact map_add _ _ _ |
| 33 | |
| 34 | lemma score_scale (p q : WickPol G) (c : ℂ) : score a x (c • p) q=star c * score a x p q := by |
| 35 | apply star_injective; rw [star_mul]; simp_rw [← fixL,map_smul,smul_eq_mul,star_star,mul_comm c] |
| 36 | |
| 37 | lemma score_extend (p q r : WickPol G) : score a x p (q+r) = score a x p q + score a x p r := by |
| 38 | simp_rw [← fixR]; exact map_add _ _ _ |
| 39 | |
| 40 | lemma score_rescale (p q : WickPol G) (c : ℂ) : score a x p (c • q)=c * score a x p q := by |
| 41 | simp_rw [← fixR]; exact map_smul _ _ _ |
| 42 | |
| 43 | /-- Explicit isometry formula in one finite polynomial chart (including scalar sector). -/ |
| 44 | lemma core (hx : 0 < x a) (s : Finset (Slot G)) (L : Matrix s s ℝ) |
| 45 | (h : mat a (fun i : s => ((x,coordF i.val):Limb G)) = star L * L) (p q : Fock.Space s) : |
| 46 | let I : Fock.Space s →ₐ[ℂ] WickPol G := MvPolynomial.rename (fun i : s => (i.val : Slot G)) |
| 47 | let T : Fock.Space s →ₐ[ℂ] Fock.Space s := MvPolynomial.aeval (fun i : s => synth fun j : s => ((L j i:ℝ):ℂ)) |
| 48 | score a x (I p) (I q) = form (T p) (T q) := by |
| 49 | intro I T |
| 50 | classical |
| 51 | let z : ↥s → Fin 1 := fun i => 0 |
| 52 | let e (i : ↥s) := coordF (i.val) |
| 53 | let X (r : List (↥s)) : Fock.Space s := (r.map MvPolynomial.X).prod |
| 54 | have he (r : List (↥s)) (i : Fin 1) : I (X r) = bag z e r i := by |
| 55 | induction r with |
| 56 | | nil => exact map_one I |
| 57 | | cons d r ih => |
| 58 | change I (MvPolynomial.X d * X r)=_ |
| 59 | rw [map_mul,ih,bag_cons,if_pos (Subsingleton.elim i (z d))] |
| 60 | rw [show e d = _ from rfl]; congr 1 |
| 61 | exact (MvPolynomial.rename_X _ _).trans (letter_coord _).symm |
| 62 | let Q (i : ↥s) := ((x,e i):Limb G) |
| 63 | let F (i j : ↥s) := linkEntry (Q i) (Q j) |
| 64 | let D := fun i : ↥s => fun j => ((L j i:ℝ):ℂ) |
| 65 | have ht (r : List (↥s)) : packet F D r=T (X r) := by |
| 66 | induction r with |
| 67 | | nil => rw [packet]; exact (map_one T).symm |
| 68 | | cons d r ih => |
| 69 | rw [packet_rule, ih, pulls]; simp only [show ∀ i, F d i = 0 from fun i => link_zero .., |
| 70 | zero_smul,Finset.sum_const_zero,add_zero] |
| 71 | change _ = T (MvPolynomial.X d * X r); rw [map_mul]; congr 1 |
| 72 | exact (MvPolynomial.aeval_X (fun i : s => synth (D i)) d).symm |
| 73 | have hv (r t) : score a x (I (X r)) (I (X t)) = form (T (X r)) (T (X t)) := by |
| 74 | unfold score |
| 75 | rw [funext (fun i => he r i), funext (fun i => he t i)] |
| 76 | have H : single (points fun _ : Fin 1 => x) a := ⟨injective_of_subsingleton _,fun i => hx⟩ |
| 77 | rw [cabinet_bag _ _ _ _ _ _ a (Table.Pairing.spans H H),← ht,← ht] |
| 78 | exact halves (bottomEntry a ∘ Q) Q _ F D (fun i j => link_ray a _ _) (fun i j => rfl) |
| 79 | (fun i j => entry_match a Q _ h i j (fun i => hx)) _ _ |
| 80 | have hm (u : ↥s →₀ ℕ) : ∃ r : List s, ∀ c : ℂ, MvPolynomial.monomial u c=c • X r := by |
| 81 | obtain ⟨L,hL,_,_⟩ := mon_list u |
| 82 | refine ⟨L,fun c => ?_⟩ |
| 83 | unfold X; rw [← hL]; simp only [MvPolynomial.coe_basisMonomials,MvPolynomial.smul_monomial,smul_eq_mul,mul_one] |
| 84 | induction p using MvPolynomial.induction_on' with |
| 85 | | add p r hp hr => rw [map_add,map_add, score_add,form_extend,hp,hr] |
| 86 | | monomial u c => |
| 87 | obtain ⟨r,hr⟩ := hm u |
| 88 | rw [hr c,map_smul,map_smul,score_scale,form_rescale]; congr 1 |
| 89 | induction q using MvPolynomial.induction_on' with |
| 90 | | add q w hq hw => rw [map_add,map_add, score_extend,form_add,hq,hw] |
| 91 | | monomial v d => |
| 92 | obtain ⟨t,hd⟩ := hm v; rw [hd d, map_smul,map_smul,score_rescale,form_scale,hv r t] |
| 93 | |
| 94 | lemma detects (hx : 0 < x a) (p : WickPol G) (hp : p≠0) : 0 < score a x p p := by |
| 95 | classical |
| 96 | let s := p.vars |
| 97 | let I : Fock.Space s →ₐ[ℂ] WickPol G := MvPolynomial.rename (fun i : s => i.val) |
| 98 | obtain ⟨P,hP⟩ := MvPolynomial.exists_rename_eq_of_vars_subset_range p (fun i : s => i.val) Subtype.val_injective |
| 99 | (fun x hx => ⟨⟨x,hx⟩,rfl⟩) |
| 100 | change I P=p at hP |
| 101 | have hu : P≠0 := fun H => hp (by conv_lhs => rw [← hP,H,map_zero]) |
| 102 | let Q (i : s) := ((x,coordF i.val):Limb G) |
| 103 | obtain ⟨L,hL⟩ := columns a Q (fun i => hx) |
| 104 | have hb : IsUnit L := by |
| 105 | have hw := (coordGram a x hx s).isUnit; change IsUnit (mat a Q) at hw |
| 106 | rw [hL,Matrix.isUnit_iff_isUnit_det, Matrix.det_mul, IsUnit.mul_iff] at hw |
| 107 | exact (Matrix.isUnit_iff_isUnit_det L).mpr hw.2 |
| 108 | let T : Fock.Space s →ₐ[ℂ] Fock.Space s := MvPolynomial.aeval (fun i : s => synth fun j : s => ((L j i:ℝ):ℂ)) |
| 109 | rw [← hP]; rw [show score a x (I P) (I P) = form (T P) (T P) from core a x hx s L hL P P] |
| 110 | exact form_strict _ (fun ht => hu (synth_inj L hb (show T P = T 0 from ht.trans (map_zero T).symm))) |
| 111 | end cert |
| 112 | end YM.Maxwell.Free |