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.Raga |
| 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 |
| 6 | open Source Source.Drops Work Planned.PrimaryIntegral295 Place Parts Next.Foundations WardBin |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Interval Classical InnerProductSpace |
| 8 | variable {G:Gauge}{n:Side}{F:Peat G n}{P:Support n} |
| 9 | section polar |
| 10 | lemma sheen_symm (F:Peat G n)(h:Cleric F)(a b:Link G n): sheen F a b = sheen F b a:= evenQ h .. |
| 11 | lemma sheen_add_r (F:Peat G n)(a b c:Link G n): sheen F a (b+c)=sheen F a b+sheen F a c:=by simp[ sheen, iteratedFDeriv_two_apply] |
| 12 | lemma sheen_neg_r (F:Peat G n)(a b:Link G n): sheen F a (-b)= - sheen F a b:=by simp[sheen,iteratedFDeriv_two_apply] |
| 13 | lemma sheen_sub_r (F:Peat G n)(a b c:Link G n): sheen F a (b-c)=sheen F a b-sheen F a c:=by simp[sheen,iteratedFDeriv_two_apply] |
| 14 | lemma sheen_scale_r (F:Peat G n)(t:ℝ)(a b:Link G n): sheen F a (t • b)=t*sheen F a b:=by simp[sheen,iteratedFDeriv_two_apply] |
| 15 | lemma sC_add (o:Site n)(u v:Potential G): stepC o (u+v) = stepC o u+stepC o v:=by apply map_add |
| 16 | lemma sC_neg (o:Site n)(u:Potential G): stepC o (-u)= -stepC o u:=by apply map_neg |
| 17 | end polar |
| 18 | variable (p:Track)(i:Axis)(a:G.ColorIndex)(d:ℕ) |
| 19 | -- polynomial midpoint planes |
| 20 | abbrev midV (x: E4):ℝ:= tracks p x + p i/2 |
| 21 | def elimA (v: G.Color) (j:ℕ)(x:E4)(k:Axis):= (basis k i * (midV p i x)^j) • v |
| 22 | abbrev XR(j:ℕ): Link G n:=stepC 0 (elimA p i (G:=G) (EuclideanSpace.basisFun G.ColorIndex ℝ a) j) |
| 23 | lemma paintf (k:Axis)(z:E4)(v:G.Color)(j:ℕ): fume (Ptune p i v j) z k=(∫ t:ℝ in 0..1,basis k i *((tracks p z+t*p k)^j)) • v := by |
| 24 | unfold fume; unfold Ptune; simp_rw[map_add,map_smul,axe_t,smul_eq_mul]; rw[intervalIntegral.integral_smul_const] |
| 25 | lemma cupG0 (v:G.Color): elimA p i v 0=fume (Ptune p i v 0):=by funext z k; rw[paintf];simp [elimA] |
| 26 | lemma cupG1 (v:G.Color): elimA p i v 1=fume (Ptune p i v 1):=by |
| 27 | funext z k; unfold elimA; rw[paintf]; by_cases h:k=i |
| 28 | · subst k; simp only[basis_eq,if_true,one_mul,pow_one]; rw[intervalIntegral.integral_add, intervalIntegral.integral_mul_const]; rotate_left |
| 29 | · exact intervalIntegrable_const |
| 30 | · apply Continuous.intervalIntegrable; fun_prop |
| 31 | unfold midV; congr 1; simp; ring |
| 32 | simp [basis_eq,Ne.symm h] |
| 33 | lemma cupG2 (v:G.Color): elimA p i v 2=fume (Ptune p i v 2)- (p i^2/12) • elimA p i v 0:=by |
| 34 | funext z k; rw[Pi.sub_apply,Pi.sub_apply,Pi.smul_apply,Pi.smul_apply,paintf]; unfold elimA; by_cases he:k=i |
| 35 | · subst k; simp only[basis_eq,if_true,one_mul,pow_zero,one_smul]; unfold midV |
| 36 | let x:= tracks p z; let k:=p i |
| 37 | have h:∫ t:ℝ in 0..1,(x+t*k)^2= x^2+x*k+k^2/3:=by |
| 38 | rw[show (fun t:ℝ=>(x+t*k)^2)=_ from (show _=(fun t:ℝ=>x^2+t*(2*x*k)+t^2*k^2) from funext fun i=>by ring), intervalIntegral.integral_add, intervalIntegral.integral_add]; all_goals try (apply Continuous.intervalIntegrable; fun_prop) |
| 39 | rw[intervalIntegral.integral_mul_const, intervalIntegral.integral_mul_const];norm_num; ring |
| 40 | rw[h]; change (x + k/2)^2 • v= (x ^ 2 + x*k + k^2/3) • v - (k^2/12) • v; module |
| 41 | simp [basis_eq,Ne.symm he] |
| 42 | lemma sC_weights (o:Site n)(v:Potential G)(c:ℝ) : stepC o (c • v)= c • stepC o v:=by exact map_smul (edgeColor (G:=G) (n:=n)).symm c _ |
| 43 | lemma sC_sub (o:Site n)(u v:Potential G): stepC o (u-v)=stepC o u-stepC o v:=by apply map_sub |
| 44 | variable (h:Cleric F)(hp:LocalOn P F)(hs:Nonwrapping P 0)(hG:G.Simple)(hn:2 ≤ n.val) |
| 45 | include h hp hs hG hn |
| 46 | abbrev bang0 := ivy (0:Site n) (Xtune p i (G:=G) (EuclideanSpace.basisFun G.ColorIndex ℝ a)) |
| 47 | abbrev bang1 := ivy (0:Site n) (Ytune p i (G:=G) (EuclideanSpace.basisFun G.ColorIndex ℝ a)) |
| 48 | lemma stitch0 (x: Link G n): sheen F x (XR p i a 0)=0:=by unfold XR; rw[cupG0,fume0,sC_neg,sheen_neg_r,show sheen F x _=0 from cellar hn hs hp h hG _ _,neg_zero] |
| 49 | lemma stitch1(x:Link G n) : sheen F x (XR p i a 1)=sheen F x (bang0 p i a):=by unfold XR; rw[cupG1,fume1,sC_add,sheen_add_r,sC_neg,sheen_neg_r,show sheen F x _=0 from cellar hn hs hp h hG _ _,neg_zero,zero_add];rfl |
| 50 | lemma stitch2(x:Link G n) : sheen F x (XR p i a 2)=sheen F x (bang1 p i a):=by unfold XR; rw [cupG2, fume2, sC_sub, sC_weights,sC_add, sheen_sub_r,sheen_scale_r,show sheen F x (XR p i a 0)=0 from stitch0 p i a h hp hs hG hn _,mul_zero,sub_zero,sheen_add_r,sC_neg,sheen_neg_r,show sheen F x _=0 from cellar hn hs hp h hG _ _,neg_zero,zero_add];rfl |
| 51 | end YM.Trace.Kits |