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.WilsonBulk.Recast.Tone |
| 2 | |
| 3 | /-! |
| 4 | # Reset operations as integer-degree induction. Polynomial structure |
| 5 | in any ℝ-algebra. Speed: through each fixed number of steps for order, |
| 6 | no unbounded iteration costs from DEFINITION. (Bound elsewhere). |
| 7 | Using inverse rho = recover p generic in unit. No arbitrary choice of |
| 8 | alpha, force new ratio equation Step. PowerSeries; see rpow costs later. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.WilsonBulk.Recall |
| 13 | open Function Filter PowerSeries Finset Equiv Sheet |
| 14 | open scoped Topology Classical BigOperators |
| 15 | variable {A B X : Type} [CommRing A] [CommRing B] [Algebra ℝ A] [Algebra ℝ B] {p g r q : PowerSeries A} {n : ℕ} |
| 16 | |
| 17 | -- stable fixed point on constants-one |
| 18 | structure Poised (F : PowerSeries A→ PowerSeries A) : Prop where |
| 19 | anchored u : constantCoeff u=1 → constantCoeff (F u)=1 |
| 20 | raise (p q : PowerSeries A) (n : ℕ) (he : Steps n p q) (hv : constantCoeff p=1) (hh : constantCoeff q=1) : Steps (n+1) (F p) (F q) |
| 21 | variable {F : PowerSeries A→ PowerSeries A} |
| 22 | def saga (F : PowerSeries A→ PowerSeries A) : PowerSeries A := mk fun i=> coeff i (F^[i+1] (1:PowerSeries A)) |
| 23 | omit [Algebra ℝ A] in |
| 24 | lemma stage1 (p q : PowerSeries A) : Steps 1 p q ↔ constantCoeff p=constantCoeff q:= ⟨fun h=> by simpa only [coeff_zero_eq_constantCoeff] using h 0 (by norm_num),fun h i hi=>by rw [Nat.eq_zero_of_le_zero (by omega : i≤0)]; simpa only [coeff_zero_eq_constantCoeff] using h⟩ |
| 25 | namespace Poised |
| 26 | omit [Algebra ℝ A] |
| 27 | variable (h : Poised F) |
| 28 | include h |
| 29 | lemma holds (k : ℕ) : constantCoeff (F^[k] 1)=1 := by induction k with |
| 30 | | zero=> simp |
| 31 | | succ k ih=>rw [Function.iterate_succ_apply']; exact h.anchored _ ih |
| 32 | lemma climbs (n : ℕ) (p q : PowerSeries A) (he : constantCoeff p=1) (hv : constantCoeff q=1) : Steps n (F^[n] p) (F^[n] q) := by |
| 33 | induction n generalizing p q with |
| 34 | | zero => intro i hi; omega |
| 35 | | succ n ih=> |
| 36 | rw [Function.iterate_succ_apply',Function.iterate_succ_apply']; apply h.raise _ _ _ (ih p q he hv) |
| 37 | · cases n with |
| 38 | | zero=> exact he |
| 39 | | succ n=> exact ((stage1 ..).mp ((ih p 1 he (map_one _)).small (by omega))).trans (h.holds _) |
| 40 | cases n with |
| 41 | | zero=> exact hv |
| 42 | | succ n=> exact ((stage1 ..).mp ((ih q 1 hv (map_one _)).small (by omega))).trans (h.holds _) |
| 43 | lemma tenure (n m : ℕ) (hm : n≤m) : Steps n (F^[n] 1) (F^[m] 1) := by |
| 44 | obtain ⟨u,rfl⟩:= Nat.exists_eq_add_of_le hm; rw [Function.iterate_add_apply]; exact h.climbs n _ _ (map_one _) (h.holds _) |
| 45 | lemma seasons (n : ℕ) : Steps n (saga F) (F^[n] 1) := fun i hi=> by rw [saga,coeff_mk, h.tenure (i+1) n (by omega) i (by omega)] |
| 46 | lemma sits : constantCoeff (saga F)=1 := Eq.trans ((stage1 ..).mp (h.seasons 1)) (h.holds 1) |
| 47 | lemma yields : F (saga F)=saga F := by |
| 48 | ext1 i; rw [saga, coeff_mk]; refine Eq.trans (h.raise _ _ i (h.seasons i) h.sits (h.holds i) i (by omega)) ?_ ; rw [Function.iterate_succ_apply'] |
| 49 | lemma uniq (p : PowerSeries A) (hp : constantCoeff p=1) (hv : F p=p) : p=saga F := by ext1 i; unfold saga; rw [coeff_mk]; simpa only [Function.iterate_fixed hv] using h.climbs (i+1) p 1 hp (map_one _) i (by omega) |
| 50 | end Poised |
| 51 | |
| 52 | -- ratio least fixed point solves r^2=q(rX). q is either ω(V) or 1+...) with const1 |
| 53 | |
| 54 | def decision (V : PowerSeries A→ PowerSeries A) (s : PowerSeries A) := 1+(1/2:ℝ) • (V s-1-(s-1)^2) |
| 55 | def polling (q : PowerSeries A) := saga (decision fun p=> bar p q) |
| 56 | def arises (q : PowerSeries A) := saga (decision fun _=> q) |
| 57 | omit [Algebra ℝ A] in |
| 58 | lemma square_improves (hP : constantCoeff p=0) (hp : constantCoeff q=0) (hh : Steps n p q) : Steps (n+1) (p^2) (q^2) := by |
| 59 | suffices Steps (n+1) (p*p-p*q) 0 ∧ Steps (n+1) (q*p-q*q) 0 by |
| 60 | apply (Steps.dvd).2 |
| 61 | rw [show p^2-q^2=p*p-p*q+(q*p-q*q) from by ring]; exact dvd_add (by simpa using Steps.dvd.mp this.1) (by simpa using Steps.dvd.mp this.2) |
| 62 | refine ⟨?_,?_⟩ <;> rw [← mul_sub]; |
| 63 | · simpa using StepsL (r:=p) (show Steps n (p-q) 0 from sub_self q ▸ minus_clock (s:=q) hh Steps.self) hP |
| 64 | simpa using StepsL (r:=q) (show Steps n (p-q) 0 from sub_self q ▸ minus_clock (s:=q) hh Steps.self) hp |
| 65 | lemma decision_safe {U : PowerSeries A → PowerSeries A} (hf : ∀ p,constantCoeff (U p)=1) (hh : ∀ {p q : PowerSeries A} {n}, Steps n p q→Steps (n+1) (U p) (U q)) : Poised (decision U) := by |
| 66 | constructor |
| 67 | · intro p hp; simp [decision,hf,hp] -- constantCoeff_smul? |
| 68 | intro p q n h hp hq; apply Steps.add Steps.self (Steps.scale _ _); exact minus_clock (minus_clock (hh h) Steps.self) (square_improves (p:=p-1) (q:=q-1) (by rw [map_sub,hp,map_one,sub_self]) (by rw [map_sub,hq,map_one,sub_self]) (minus_clock h Steps.self)) |
| 69 | lemma eq_decision (q : PowerSeries A→ PowerSeries A) : decision q p=p ↔ p^2=q p := by |
| 70 | unfold decision; rw [← eq_sub_iff_add_eq', one_div,inv_smul_eq_iff₀ (by norm_num : (2:ℝ) ≠ 0)]; rw [show (2:ℝ) • (p-1)=(p+p)-(1+1) from by rw [smul_sub, show (2:ℝ)=(1:ℝ)+1 by norm_num, add_smul, add_smul]; simp only [one_smul]]; constructor <;> intro h <;> linear_combination -h |
| 71 | lemma poll_safe (hp : constantCoeff p=1) : Poised (decision (fun u=>bar u p)) := decision_safe (by simp [bar_const,hp]) (fun h=>barSteps h Steps.self) |
| 72 | lemma arise_safely (hp : constantCoeff p=1) : Poised (decision (fun _:PowerSeries A=> p)) := decision_safe (fun _=>hp) (fun _=> Steps.self) |
| 73 | lemma poll_rule (hp : constantCoeff p=1) : constantCoeff (polling p)=1 ∧ (polling p)^2=bar (polling p) p:= ⟨(poll_safe hp).sits,(eq_decision _).mp (poll_safe hp).yields⟩ |
| 74 | lemma poll_only (he : constantCoeff p=1) (hv : constantCoeff r=1) (hr : r^2=bar r p) : r=polling p:= (poll_safe he).uniq r hv ((eq_decision _).mpr hr) |
| 75 | lemma arises_rule (hp : constantCoeff p=1) : constantCoeff (arises p)=1 ∧ (arises p)^2=p:= ⟨(arise_safely hp).sits,(eq_decision _).mp (arise_safely hp).yields⟩ |
| 76 | lemma arises_only (he : constantCoeff p=1) (hv : constantCoeff r=1) (hr : r^2=p) : r=arises p:= (arise_safely he).uniq r hv ((eq_decision _).mpr hr) |
| 77 | end YM.WilsonBulk.Recall |