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.Nonperturbative.Headlines |
| 2 | import YM.Next.FOUNDATIONS.SU2 |
| 3 | import YM.Gauge.Lie |
| 4 | |
| 5 | /-! Concrete application of the combined Wilson existence theorem to SU(2). |
| 6 | The matrices below span its real Lie algebra. Their commutators show that any |
| 7 | nonzero ideal contains all three. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Examples.SU2 |
| 11 | open Matrix Function Filter NormedSpace Asymptotics Next.Foundations |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical ComplexOrder |
| 13 | |
| 14 | private abbrev M := Matrix (Fin 2) (Fin 2) ℂ |
| 15 | private abbrev G:= SUtwo |
| 16 | private abbrev A : M:= !![Complex.I,0;0,-Complex.I] |
| 17 | private abbrev B : M:= !![0,1;-1,0] |
| 18 | private abbrev C : M:= !![0,Complex.I;Complex.I,0] |
| 19 | |
| 20 | private lemma lies (X:M) (hh:star X = -X)(ht:X*X= -(1:M)) |
| 21 | (h:∀ (c s:ℝ),s^2+c^2=1 → det (c • (1:M)+s • X)=1) : X∈ G.lie:= by |
| 22 | let f(z:ℝ): M:= Real.cos z • (1:M)+ Real.sin z • X |
| 23 | have hF : HasDerivAt f X 0:= by |
| 24 | have hh:= ((Real.hasDerivAt_cos 0).smul_const (1:M)).add ((Real.hasDerivAt_sin 0).smul_const X); simpa using! hh |
| 25 | refine G.tangent_generates (f:=f) hF (by change f 0 = (1:M); simp [f]) fun t=>?_ |
| 26 | let s:= Real.sin t; let c:= Real.cos t; have he:s^2+c^2=1:=Real.sin_sq_add_cos_sq t |
| 27 | have hz: f t ∈ unitary M:= by |
| 28 | apply Matrix.mem_unitaryGroup_iff.mpr |
| 29 | change (c • (1:M)+ s • X) * star (c • (1:M)+ s • X)= _ |
| 30 | rw [star_add,star_smul,star_smul,star_one, hh]; simp_rw [star_trivial]; rw [mul_add,add_mul,add_mul, smul_mul_smul_comm, smul_mul_smul_comm, smul_mul_smul_comm,smul_mul_smul_comm,one_mul,one_mul,mul_one,mul_neg,ht]; |
| 31 | rw[neg_neg]; |
| 32 | conv_rhs=> rw [← one_smul ℝ (1:M),← he] |
| 33 | module |
| 34 | let x : GaugeU G.n := ⟨f t,hz⟩; have hx:x∈ G.imageGroup:= h c s he |
| 35 | exact ⟨⟨x,hx⟩,rfl⟩ |
| 36 | |
| 37 | local macro "entry" : tactic => `(tactic| (ext i j; fin_cases i <;> fin_cases j <;> simp [Matrix.star_eq_conjTranspose, Complex.star_def,A,B,C,Matrix.mul_apply,Fin.sum_univ_two,Complex.mul_re,Complex.mul_im, Complex.neg_im])) |
| 38 | private lemma a_in : A∈ G.lie:=by |
| 39 | apply lies (X:=A) |
| 40 | · entry |
| 41 | · entry |
| 42 | intro c s he; rw [Matrix.det_fin_two]; norm_num [A,Complex.real_smul]; ring_nf; simp; exact_mod_cast ((add_comm (c^2) _).trans he : c^2+s^2=1) |
| 43 | private lemma b_in:B∈ G.lie:=by |
| 44 | apply lies (X:=B) |
| 45 | · entry |
| 46 | · entry |
| 47 | intro c s he; rw [Matrix.det_fin_two]; norm_num [B,Complex.real_smul];ring_nf; norm_cast; linarith only[he] |
| 48 | private abbrev comm(x y:M):M:=x*y-y*x |
| 49 | private lemma ab : comm A B=(2:ℝ) • C:=by unfold comm;rw [two_smul];entry |
| 50 | private lemma bc : comm B C=(2:ℝ) • A:=by unfold comm;rw [two_smul];entry;ring |
| 51 | private lemma ca : comm C A=(2:ℝ) • B:=by unfold comm;rw [two_smul];entry;ring |
| 52 | private lemma negs(x y:M): comm y x= -comm x y:=by unfold comm; abel |
| 53 | private lemma comb(x y z:M)(t:ℝ)(s:ℝ)(u:ℝ)(v : M) : comm x (t • y+s • z+u • v)=t • comm x y+s • comm x z+u • comm x v:=by unfold comm; simp only [add_mul,mul_add,smul_mul_assoc, mul_smul_comm,smul_sub]; abel |
| 54 | private lemma drank {L:Submodule ℝ M}{x:M}{c:ℝ}(h:c • x∈L)(he:c≠0):x∈L:=by simpa only[smul_smul,inv_mul_cancel₀ he,one_smul] using L.smul_mem c⁻¹ h |
| 55 | private lemma c_in:C∈ G.lie:=drank (c:=2) (ab ▸ (show comm A B∈G.lie from G.bracket_mem a_in b_in)) (by norm_num) |
| 56 | |
| 57 | private lemma trzero(X:M)(ht:X∈ G.lie): X 0 0+X 1 1=0:=by |
| 58 | let f(t:ℝ):= NormedSpace.exp (t • X) |
| 59 | have hV:HasDerivAt f X 0:=by simpa only[zero_smul,NormedSpace.exp_zero,one_mul] using! hasDerivAt_exp_smul_const X (0:ℝ) |
| 60 | have hv(t:ℝ):det (f t)=1:=by |
| 61 | obtain ⟨q,hp⟩:= (show G.Generates X from ht) t |
| 62 | change G.mat q=f t at hp; rw[← hp]; exact q.property |
| 63 | have hh(i j:Fin 2):HasDerivAt (fun t=> f t i j) (X i j) 0:=by |
| 64 | let A : M →L[ℝ] ℂ:= LinearMap.toContinuousLinearMap { toFun:=fun y=> y i j, map_add':=fun _ _ => rfl, map_smul':=fun _ _=> rfl } |
| 65 | exact A.hasFDerivAt.comp_hasDerivAt _ hV |
| 66 | have hz:= ((hh 0 0).mul (hh 1 1)).sub ((hh 0 1).mul (hh 1 0)); |
| 67 | have hH: HasDerivAt (fun t=> det (f t)) _ 0 := hz.congr_of_eventuallyEq (Eventually.of_forall (fun t=> Matrix.det_fin_two ..)) |
| 68 | simp_rw [hv] at hH; simpa only [show f 0=(1:M) by simp [f],Matrix.one_apply, ite_true, show ¬(1:Fin 2)=0 from by decide, show ¬(0:Fin 2)=1 from by decide, ite_false, zero_mul,mul_zero,one_mul,mul_one,sub_zero, zero_add, ↓reduceIte] using hH.unique (hasDerivAt_const ..) |
| 69 | private lemma express(X:M)(ht:X∈ G.lie):∃ a b c:ℝ, X=a • A+b • B+c • C:=by |
| 70 | have he:= trzero X ht |
| 71 | let a:=(X 0 0).im; let b:=(X 0 1).re; let c:=(X 0 1).im; refine ⟨a,b,c,?_⟩ |
| 72 | have hp(x y:Fin 2): (star (X y x))= -(X x y):= congr_fun (congr_fun (G.generates_skew ht) x) y |
| 73 | have hX: (X 1 1)= -(X 0 0):= (neg_eq_iff_add_eq_zero.mpr he).symm |
| 74 | have hY:(X 1 0)= -(star (X 0 1)):=by rw [hp,neg_neg] |
| 75 | have hz: (X 0 0).re=0:=by have hu:=congr_arg Complex.re (hp 0 0); simp only [Complex.star_def,Complex.conj_re,Complex.neg_re] at hu;linarith only[hu] |
| 76 | ext i j;fin_cases i<;> fin_cases j<;> simp [A,B,C,Complex.real_smul,hX,hY,a,b,c]<;> apply Complex.ext<;> simp[hz] |
| 77 | |
| 78 | /-- The defining representation of SU(2) has nonabelian simple real Lie algebra. -/ |
| 79 | theorem simple : SUtwo.Simple :=by |
| 80 | refine ⟨⟨A,a_in,B,b_in,?_⟩,?_⟩ |
| 81 | · change comm A B≠0; rw [ab]; refine smul_ne_zero (by norm_num:(2:ℝ)≠0) fun he=>?_; have hx:= congr_fun (congr_fun (show C=(0:M) from he) 0) 1; exact Complex.I_ne_zero hx |
| 82 | intro X h ht |
| 83 | by_cases hx:X=⊥; exact Or.inl hx |
| 84 | obtain ⟨v,hv,hP⟩:= (Submodule.ne_bot_iff ..).mp hx |
| 85 | obtain ⟨a,b,c,hC⟩:= express v (h hv); subst v |
| 86 | have hab : A∈X → (A∈X∧B∈X∧C∈X):= fun x=> ⟨x,drank (ca ▸ (show comm C A∈ X from ht C c_in A x)) (by norm_num), drank (c:= -2) (by rw [neg_smul,← ab,← negs];exact ht _ b_in _ x) (by norm_num)⟩ |
| 87 | have W(w:M)(hw:w∈G.lie)(v:M)(h:v∈X): v + (1/4:ℝ) • comm w (comm w v) ∈ X:= X.add_mem h (X.smul_mem _ (ht _ hw _ (ht _ hw _ h))) |
| 88 | have hu (U V W' : M)(hU:U∈G.lie)(he:comm U V=(2:ℝ) • W')(he':comm W' U=(2:ℝ) • V)(v:ℝ)(hV:v ≠0)(x y:ℝ)(hz:v • U+x • V+y • W'∈ X): U∈X:=by |
| 89 | have hx:= W U hU _ hz |
| 90 | rw [comb U U V v x y W',show comm U U=0 from sub_self _, he,negs W',he'] at hx |
| 91 | rw [show v • (0:M)+x • ( (2:ℝ) • W')+y • (-( (2:ℝ) • V))=(0:ℝ) • U+(x*2) • W'+(-y*2) • V from by module] at hx |
| 92 | rw[comb,show comm U U=0 from sub_self _,negs W', he, he'] at hx |
| 93 | refine drank (c:=v) ?_ hV |
| 94 | have he:v • U+x • V+y • W'+ (1/4:ℝ) • ((0:ℝ) • (0:M)+(x*2) • (-( (2:ℝ) • V))+(-y*2) • ( (2:ℝ) • W'))=v • U:=by module |
| 95 | rwa[he] at hx |
| 96 | have hp:A∈X:=by |
| 97 | by_cases hB:a=0 |
| 98 | swap; · exact hu A B C a_in ab ca a hB b c hv |
| 99 | by_cases hb:b=0 |
| 100 | swap; · have hy: B∈X:= hu B C A b_in bc ab b hb c a (by rw[add_comm, ← add_assoc]; exact hv) |
| 101 | exact drank (c:= -2) (by rw [neg_smul,← bc, ← negs]; exact ht _ c_in _ hy) (by norm_num) |
| 102 | have hc:c≠0:=fun h=> hP (by rw[hB,hb,h]; simp;rfl) |
| 103 | have hy: C∈X:= hu C A B c_in ca bc c hc a b (by rw[add_assoc,add_comm _ (_+_)]; exact hv) |
| 104 | exact drank (bc ▸ (show comm B C∈ X from ht _ b_in _ hy)) (by norm_num) |
| 105 | obtain ⟨hA,hB,hC⟩:= hab hp |
| 106 | refine Or.inr (le_antisymm h (fun x hx=>?_)); obtain ⟨a,b,c,h⟩:= express x hx; rw[h]; exact X.add_mem (X.add_mem (X.smul_mem a hA) (X.smul_mem b hB)) (X.smul_mem c hC) |
| 107 | |
| 108 | /-- All joint conclusions for SU(2) at unit blocking-kernel penalty. -/ |
| 109 | theorem existence : Nonperturbative.Headline.WilsonExistence.{0,0} SUtwo simple 1 := |
| 110 | Nonperturbative.existence SUtwo simple 1 zero_lt_one |
| 111 | |
| 112 | end YM.Examples.SU2 |