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.Peals.Heat |
| 2 | import Mathlib.RingTheory.PowerSeries.Derivative |
| 3 | |
| 4 | /-! |
| 5 | # Series combinators, `tau^n g^e` ordinary powers |
| 6 | |
| 7 | Auxiliary algebra, no analytic evaluation at nonzero coupling. Pure actions |
| 8 | are real series. Real-density expansions at noncentral offsets NOT assumed. -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.RG08 |
| 12 | open Function Finset Filter |
| 13 | open scoped Topology ContDiff |
| 14 | variable {R : Type} [CommSemiring R] |
| 15 | section sea |
| 16 | open PowerSeries |
| 17 | -- tau-outer then g |
| 18 | |
| 19 | def pairsR (f : Scroll R) := PowerSeries.mk (fun i => PowerSeries.mk (f i)) |
| 20 | -- don't leak notation |
| 21 | lemma peek (f : Scroll R) (i j) : (coeff j) (coeff i (pairsR f))= f i j := by simp [pairsR] |
| 22 | lemma pairs_inj : Injective (pairsR (R:=R)) := fun f g h => funext fun i => funext fun j => by rw [← peek f i j, h, peek] |
| 23 | lemma peered {F H : PowerSeries (PowerSeries R)} (he : ∀ i j, (coeff j) (coeff i F)=(coeff j) (coeff i H)) : F=H := PowerSeries.ext fun i=> PowerSeries.ext (he i) |
| 24 | |
| 25 | def dancing (f g : Scroll R) : Scroll R := fun n e => ∑ b∈wheel n,∑ a∈wheel e, f b.1 a.1 * g b.2 a.2 |
| 26 | lemma pair_mul (f g : Scroll R) : pairsR (dancing f g)=pairsR f*pairsR g := by |
| 27 | apply peered; intro i j; rw [peek,coeff_mul,map_sum]; simp_rw [coeff_mul,peek]; rfl |
| 28 | lemma pair_add (f g : Scroll R) : pairsR (f+g)=pairsR f+pairsR g := by apply peered; intro i j; rw [peek,map_add,map_add,peek,peek]; rfl |
| 29 | |
| 30 | lemma dance_rotate (f g h : Scroll R) : dancing (dancing f g) h=dancing f (dancing g h) := pairs_inj (by simp_rw [pair_mul,mul_assoc]) |
| 31 | lemma dance_sym (f g : Scroll R) : dancing f g=dancing g f := pairs_inj (by rw [pair_mul,pair_mul,mul_comm]) |
| 32 | lemma dance_add (f g h : Scroll R) : dancing f (g+h)=dancing f g+dancing f h := pairs_inj (by rw [pair_mul,pair_add,pair_add,mul_add,pair_mul,pair_mul]) |
| 33 | |
| 34 | -- nsmul operators deflect ambiguity |
| 35 | |
| 36 | def countG (f : Scroll R) : Scroll R := fun i e=> e • f i e |
| 37 | def countT (f : Scroll R) : Scroll R := fun n e=> (n+1) • f (n+1) e |
| 38 | lemma counters (f : Scroll R) : countG (countT f)=countT (countG f) := funext fun i=> funext fun j=> smul_comm j (i+1) _ |
| 39 | lemma countGn (f g : Scroll R) : countG (dancing f g)=dancing (countG f) g+dancing f (countG g) := by |
| 40 | funext n e; simp_rw [Pi.add_apply,countG,dancing,smul_sum, ← sum_add_distrib]; |
| 41 | apply sum_congr rfl; intro p _; apply sum_congr rfl; intro a ha |
| 42 | unfold countG; rw [← mem_antidiagonal.mp ha,add_smul]; simp only [nsmul_eq_mul]; ring |
| 43 | lemma countT_pairs (f : Scroll R) : pairsR (countT f)= (PowerSeries.derivative (PowerSeries R)) (pairsR f) := by |
| 44 | apply peered; intro n e; rw [peek,countT,PowerSeries.coeff_derivative] |
| 45 | rw [mul_comm,show (↑n+1:PowerSeries R)=↑(n+1:ℕ) from (Nat.cast_add_one _).symm,← nsmul_eq_mul]; rw [map_nsmul,peek] |
| 46 | private lemma tally_mul (a b : PowerSeries R) : |
| 47 | PowerSeries.derivative R (a*b)= PowerSeries.derivative R a*b+a* PowerSeries.derivative R b := by |
| 48 | have hx := (PowerSeries.derivative R).leibniz a b; rw [hx]; rw [smul_eq_mul,smul_eq_mul]; ring |
| 49 | lemma countTn (f g : Scroll R) : countT (dancing f g)=dancing (countT f) g+dancing f (countT g) := by |
| 50 | apply pairs_inj; rw [countT_pairs,pair_mul,tally_mul,pair_add,pair_mul,pair_mul,countT_pairs,countT_pairs] |
| 51 | lemma dance_crown (f g : Scroll R) (e) : dancing f g 0 e=∑ a∈wheel e,f 0 a.1*g 0 a.2 := by simp [dancing,wheel] |
| 52 | lemma muted_counts (f : Scroll R) : Muted _ (countG f) := by simp [Muted,countG] |
| 53 | lemma dance_left_muted (f g : Scroll R) (h : Muted _ f) : Muted _ (dancing f g) := by unfold Muted at *; simp [dancing,wheel,h] |
| 54 | lemma dance_quiet (f x y : Scroll R) (h : Muted _ f) {k : ℕ} (hx : ∀ j<k, ∀ i,x i j=y i j) (n : ℕ) : dancing f x n k=dancing f y n k := by |
| 55 | apply sum_congr rfl; intro p hp; apply sum_congr rfl; intro a ha; by_cases he:a.1=0 |
| 56 | · rw [he,h p.1,zero_mul,zero_mul] |
| 57 | rw [hx a.2 (by have ht := mem_antidiagonal.mp ha; omega) p.2] |
| 58 | lemma dance_sum (s : Finset ℕ) (f : ℕ→Scroll R) (g : Scroll R) : dancing g (∑ i∈s,f i)=∑ i∈s,dancing g (f i) := by |
| 59 | induction s using Finset.induction_on with |
| 60 | | empty => simp only [sum_empty]; ext i j; simp [dancing] |
| 61 | | insert i s hi ih => rw [sum_insert hi,sum_insert hi,dance_add,ih] |
| 62 | -- later need general sums. |
| 63 | end sea |
| 64 | end YM.RG08 |