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.RG08.Cloud.Levels |
| 2 | |
| 3 | /-! |
| 4 | # Positive formal g-graded algebra: exponential and differentiation by any derivation on |
| 5 | coefficient ring (fields, time, higher jets etc). |
| 6 | -/ |
| 7 | noncomputable section |
| 8 | namespace YM.RG08.Cloud |
| 9 | open Finset PowerSeries |
| 10 | open scoped PowerSeries BigOperators Topology Classical |
| 11 | set_option autoImplicit false |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | variable {R S:Type*}[CommRing R][Algebra ℝ R][CommRing S][Algebra ℝ S] |
| 14 | |
| 15 | def tiny (f:R⟦X⟧) := coeff 0 f=0 |
| 16 | |
| 17 | def rfactor (n:ℕ):ℝ:= (n.factorial:ℝ)⁻¹ |
| 18 | lemma earns (n:ℕ) : (n+1:ℝ)*rfactor (n+1)=rfactor n:=by |
| 19 | have h:(n+1:ℝ)≠0:=by positivity |
| 20 | simp [rfactor,Nat.factorial_succ,h,mul_left_comm] |
| 21 | |
| 22 | omit [Algebra ℝ R] in |
| 23 | lemma phase {f:R⟦X⟧}(h:tiny f)(n e:ℕ)(he:e<n):coeff e (f^n)=0:=by |
| 24 | apply coeff_of_lt_order |
| 25 | have hz:=PowerSeries.le_order_pow_of_constantCoeff_eq_zero n (φ:=f) (by rwa [← coeff_zero_eq_constantCoeff]) |
| 26 | exact lt_of_lt_of_le (by exact_mod_cast he) hz |
| 27 | |
| 28 | def rise (f:R⟦X⟧):R⟦X⟧:= mk (fun e=>∑ n∈range (e+1),rfactor n • (coeff e (f^n))) |
| 29 | |
| 30 | lemma rise_at (f:R⟦X⟧)(e:ℕ):coeff e (rise f)=∑ n∈range (e+1),rfactor n • coeff e (f^n):=coeff_mk .. |
| 31 | lemma rise_late {f:R⟦X⟧}(h:tiny f)(e n:ℕ)(he:e≤n):coeff e (rise f) = ∑ i∈range (n+1),rfactor i • coeff e (f^i):=by |
| 32 | rw [rise_at];apply Finset.sum_subset (range_mono (by omega)) |
| 33 | intro i hi hx;rw [phase h i e (by simp only [mem_range] at *;omega),smul_zero] |
| 34 | lemma rise_before (f:R⟦X⟧):coeff 0 (rise f)=1:=by simp [rise_at,rfactor] |
| 35 | |
| 36 | /-- Truncated sum for coefficient e, evaluated at arity e+1 ensures full value on all |
| 37 | factors inside coefficient e products. -/ |
| 38 | def rpol (n:ℕ)(f:R⟦X⟧):R⟦X⟧:=∑ i∈range (n+1),rfactor i • f^i |
| 39 | lemma coeff_rpol {f:R⟦X⟧}(h:tiny f){n e:ℕ}(he:e≤n):coeff e (rpol n f) = coeff e (rise f):=by |
| 40 | rw [rpol,map_sum,rise_late h e n he]; simp_rw [coeff_smul] |
| 41 | lemma coeff_rpol_mul {f:R⟦X⟧}(h:tiny f)(a:R⟦X⟧)(e:ℕ):coeff e (rpol e f*a)=coeff e (rise f*a):=by |
| 42 | rw [coeff_mul,coeff_mul];apply Finset.sum_congr rfl |
| 43 | intro j hj;rw [coeff_rpol h] |
| 44 | have he:=Finset.mem_antidiagonal.mp hj; omega |
| 45 | |
| 46 | private lemma leib (D:Derivation ℝ R R)(f:R⟦X⟧)(n:ℕ):flight D (rfactor (n+1) • f^(n+1))=rfactor n • (f^n * flight D f):=by |
| 47 | rw [(flight D).map_smul, (flight D).leibniz_pow] |
| 48 | rw [Nat.add_sub_cancel_right,smul_eq_mul, nsmul_eq_mul] |
| 49 | -- nsmul and ℝ smul interact |
| 50 | have hr (w:R⟦X⟧): (↑(n+1):R⟦X⟧)*w=(n+1:ℝ) • w:=by rw [Algebra.smul_def,map_add,_root_.map_natCast,map_one];norm_cast |
| 51 | rw [hr,smul_smul,mul_comm (rfactor _),earns] |
| 52 | |
| 53 | lemma lift_rpol (D:Derivation ℝ R R)(f:R⟦X⟧)(n:ℕ):flight D (rpol (n+1) f)= rpol n f*flight D f:=by |
| 54 | unfold rpol;rw [map_sum,sum_range_succ'];simp_rw [leib] |
| 55 | rw [Finset.sum_mul];simp |
| 56 | |
| 57 | lemma lift_rise (D:Derivation ℝ R R){f:R⟦X⟧}(h:tiny f):flight D (rise f)=rise f*flight D f:=by |
| 58 | ext e |
| 59 | rw [flight_apply,←coeff_rpol h (Nat.le_succ e),←flight_apply,lift_rpol,coeff_rpol_mul h] |
| 60 | |
| 61 | lemma rise_map (T:R→ₐ[ℝ] S)(f:R⟦X⟧):PowerSeries.map T.toRingHom (rise f)=rise (PowerSeries.map T.toRingHom f):=by |
| 62 | ext e |
| 63 | -- Ring hom coercions |
| 64 | rw [coeff_map,rise_at,rise_at,map_sum] |
| 65 | apply Finset.sum_congr rfl;intro j _ |
| 66 | rw [← _root_.map_pow,coeff_map]; exact _root_.map_smul T (rfactor j) (coeff e (f ^ j)) |
| 67 | |
| 68 | end YM.RG08.Cloud |