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 Mathlib.RingTheory.PowerSeries.Exp |
| 2 | import Mathlib.Algebra.MvPolynomial.PDeriv |
| 3 | import Mathlib.RingTheory.Derivation.MapCoeffs |
| 4 | import Mathlib.Data.Real.Basic |
| 5 | import Mathlib.Tactic |
| 6 | |
| 7 | /-! |
| 8 | # Lift derivations coefficientwise. Time uses polynomials in one extra variable, then |
| 9 | coupling uses PowerSeries (applied only coefficientwise). |
| 10 | -/ |
| 11 | noncomputable section |
| 12 | namespace YM.RG08.Cloud |
| 13 | open Finset PowerSeries |
| 14 | open scoped PowerSeries BigOperators Topology Classical |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | variable {R S:Type*}[CommRing R][Algebra ℝ R][CommRing S][Algebra ℝ S] |
| 18 | |
| 19 | def flight (D:Derivation ℝ R R): Derivation ℝ (PowerSeries R) (PowerSeries R) where |
| 20 | toFun f:=mk (fun e=> D (coeff e f)) |
| 21 | map_add' _ _ := by ext e; simp only [coeff_mk,map_add] |
| 22 | map_smul' a f:= by ext e; change coeff e (mk _) = coeff e (a • (mk _ : PowerSeries R)); simp only [coeff_smul,coeff_mk];exact D.map_smul _ _ |
| 23 | map_one_eq_zero':=by ext e;dsimp; simp only [coeff_mk,coeff_one,apply_ite,Derivation.map_one_eq_zero,map_zero,ite_self] |
| 24 | leibniz' x y := by |
| 25 | ext e;dsimp |
| 26 | simp only [smul_eq_mul,coeff_mk,coeff_mul,map_sum,map_add,coeff_mk,Derivation.leibniz,Finset.sum_add_distrib] |
| 27 | congr 1 |
| 28 | -- reindex via coeff_mul of ? using swap diag |
| 29 | exact Finset.Nat.sum_antidiagonal_swap (f:=fun z=>coeff z.1 y*D (coeff z.2 x)) |
| 30 | |
| 31 | theorem flight_apply (D:Derivation ℝ R R)(f:R⟦X⟧)(e):coeff e (flight D f)=D (coeff e f):=coeff_mk e (fun j=>D (coeff j f)) |
| 32 | |
| 33 | def current (D:Derivation ℝ R R): Derivation ℝ (Polynomial R) (Polynomial R):= PolynomialModule.equivPolynomialSelf.compDer D.mapCoeffs |
| 34 | lemma amps (D:Derivation ℝ R R)(f:Polynomial R)(e): (current D f).coeff e = D (f.coeff e):=rfl |
| 35 | |
| 36 | def pendulum (R:Type*)[CommRing R][Algebra ℝ R] : Derivation ℝ (Polynomial R) (Polynomial R):= Polynomial.derivative'.restrictScalars ℝ |
| 37 | lemma beat (f:Polynomial R)(e:ℕ) : (pendulum R f).coeff e= (e+1:ℝ) • (f.coeff (e+1)):= by |
| 38 | change (Polynomial.derivative f).coeff e=_ |
| 39 | rw [Polynomial.coeff_derivative, Algebra.smul_def,mul_comm,_root_.map_add,_root_.map_natCast,map_one] |
| 40 | |
| 41 | end YM.RG08.Cloud |