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.TraceExtension.Pi.Lens |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Kits |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Audience Metric Lamp Det Loft MeasureTheory Source Source.Drops Work Planned.PrimaryIntegral295 Place Parts Next.Foundations WardBin StressFlux Labels |
| 6 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius InnerProductSpace Classical |
| 7 | variable {G:Gauge}{n:Side} (d i b:Axis)(a:G.ColorIndex) |
| 8 | open Complex |
| 9 | set_option maxHeartbeats 700000 in |
| 10 | lemma tier_five(w s t i j:Axis)(J: Jet G): unitK J (pairDeriv G w s t i j)=↑(inner ℝ (curl0 w s (J 0)) (curl1 t i j (J 1))):=by |
| 11 | let P:= pairDeriv G w s t i j |
| 12 | have hv(u:ℝ): Labels.read (scaleJet J u) P.val=u^(5:ℕ) • Labels.read J P.val:= scaled_grade u J P (productPol_grade _ _) |
| 13 | have hx:= deriv_read J P.val 5; |
| 14 | have he: leading 5 (fun t=> Labels.read (scaleJet J t) P.val)=Labels.read J P.val:=by rw [funext hv,lead_monomial]; simp |
| 15 | rw[leading,hx, inv_smul_smul₀ (by positivity)] at he; exact he.trans (pairDeriv_value ..) |
| 16 | lemma lag_sum(S:Signed)(x:RawOne G)(h:G.Simple): (∑ b,lag (S.perm d) (S.perm i) b a (x.val b))=∑ b,lag d i b a (x.val b):=by |
| 17 | rw[← Equiv.sum_comp S.perm]; refine sum_congr rfl fun b _=>?_; have hx: tensor S.ortho (x.val b)=sign S b • x.val (S.perm b):= x.property.2 .. |
| 18 | have hz: x.val (S.perm b)=sign S b • tensor S.ortho (x.val b):=by rw [hx]; exact (sign_sign S b (x.val (S.perm b))).symm |
| 19 | rw[hz];exact clamp _ _ _ _ S _ h |
| 20 | lemma prism (x:RawOne G)(h:G.Simple): archK a x.val=(12:ℂ)*∑ b,lag 0 1 b a (x.val b):=by |
| 21 | let U : ℂ:=∑ b, lag 0 1 b a (x.val b); rw[arch_pay]; unfold suite |
| 22 | have ht(i d:Axis) (hp:d≠i): (∑ b,lag d i b a (x.val b))= U:=by |
| 23 | obtain ⟨s,hm,he⟩:=permTrip 0 1 d i (by decide) hp; let S:=platey s; have hS:= lag_sum 0 1 a S x h; change ∑ b,lag (s 0) (s 1) b a (x.val b)=_ at hS; rwa [hm,he] at hS |
| 24 | rw [show (∑ d:Axis,∑ i:Axis,_)=(∑ d:Axis,∑ i:Axis,if d=i then 0 else U) from ?_]; rotate_left |
| 25 | · refine sum_congr rfl fun d _=>sum_congr rfl fun i _=>?_ ; by_cases h:d=i<;> simp only[h,↓reduceIte]; exact ht i d h |
| 26 | change _=12*U; simp only [Fin.sum_univ_four]; simp; ring |
| 27 | -- faster algebra using closed forms curl from Θ. define θ. |
| 28 | abbrev cof (p:Track)(i r t:Axis):ℝ:= (p r)*(basis t i)-(p t)*(basis r i) |
| 29 | private lemma ivg (a b:Axis)(v:ℝ): basis a b*v=if b=a then v else 0:=by simp[basis_eq,ite_mul] |
| 30 | lemma recoil0 (p:Track)(v:G.Color)(r t:Axis): curl0 r t (Xtune p i v)= cof p i r t • v:=by |
| 31 | rw[curl0_value,glance1,glance1,axe_t,axe_t]; unfold cof; module |
| 32 | lemma recoil1 (p:Track)(v:G.Color)(r t k:Axis): curl1 k r t (Ytune p i v)= (2*p k*cof p i r t) • v:=by |
| 33 | rw[curl1,curled_deriv]; let U:= Ytune p i v |
| 34 | have hx(z j:Axis):Maxwell.grad z (U.value j) (basis k)= |
| 35 | (2/3:ℝ) • (((basis j i)*(2*p k*p z)) • v - (basis z i*p k*p j + basis k i*p z*p j) • v):=by |
| 36 | have he:= (tracks p).hasFDerivAt (x:=basis k); have hu:= (Maxwell.compAxis i).hasFDerivAt (x:=basis k) |
| 37 | unfold Maxwell.grad Analysis.D; rw [funext (glance2 p i v j)] |
| 38 | let c:ℝ:=2/3; let F(x:E4):= c • ((basis j i*(tracks p x)^2) • v-(x i*tracks p x*p j) • v) |
| 39 | have ht: HasFDerivAt F _ (basis k):= ((((he.pow 2).const_mul (basis j i)).smul_const v).sub (((hu.mul he).mul_const _).smul_const v)).const_smul c |
| 40 | change fderiv ℝ F (basis k) (basis z)=_; rw[ht.fderiv, axe_t]; |
| 41 | simp only [ContinuousLinearMap.smul_apply,ContinuousLinearMap.smulRight_apply, ContinuousLinearMap.sub_apply, ContinuousLinearMap.add_apply,nsmul_eq_mul, Nat.cast_ofNat,axe_t]; rw[show Maxwell.compAxis i (basis z)= basis z i from rfl,show Maxwell.compAxis i (basis k)=basis k i from rfl]; unfold c;module |
| 42 | rw [hx,hx]; unfold cof;module |
| 43 | lemma crest_der (s x y k l:Axis)(p:Land): lotR i a p (pairDeriv G s x y k l)= - I* ↑(cof (p 1) i s x * (p 0 y *cof (p 0) i k l)+cof (p 0) i s x * (p 1 y *cof (p 1) i k l)):= by |
| 44 | unfold lotR;change (-I*(1/2:ℂ))*(unitK _ _+unitK _ _)=_ |
| 45 | rw [tier_five, tier_five,rose_in, rose_out, rose_in,rose_out, recoil0,recoil0,recoil1,recoil1]; simp_rw [real_inner_smul_left,real_inner_smul_right,OrthonormalBasis.inner_eq_one]; push_cast;ring |
| 46 | end YM.Trace.Kits |