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.Glyph.Mean |
| 2 | |
| 3 | /-! |
| 4 | # Diagonal substitution of field polynomials into field-polynomial-valued series |
| 5 | |
| 6 | Allows rescaled coordinate maps including nonlinear chart terms with nonzero g-order-zero |
| 7 | field linear map. Does NOT substitute g; keep adjacent change of coupling separate. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.RG08.Room |
| 12 | open scoped PowerSeries BigOperators Topology Classical |
| 13 | open Cloud |
| 14 | |
| 15 | abbrev Cab (R:Type*)[CommRing R]:=PowerSeries R |
| 16 | abbrev tap {R : Type*}[CommRing R](e:ℕ)(v:Cab R):R:=PowerSeries.coeff e v |
| 17 | |
| 18 | variable {R S T:Type*}[CommRing R][CommRing S][CommRing T] |
| 19 | |
| 20 | def spool (b:R→S⟦X⟧) (f:R⟦X⟧):Cab S:= PowerSeries.mk (fun e=>∑ i∈Finset.range (e+1),tap (e-i) (b (tap i f))) |
| 21 | |
| 22 | def tube (b:R→Cab S)(f:Cab R)(m:ℕ):Cab S:=∑ i∈Finset.range (m+1), b (tap i f)* PowerSeries.X ^ i |
| 23 | |
| 24 | lemma ships (b:R→Cab S)(f:Cab R)(e:ℕ):tap e (spool b f)=∑ i∈Finset.range (e+1),tap (e-i) (b (tap i f)):=PowerSeries.coeff_mk .. |
| 25 | |
| 26 | lemma tubes (b:R→Cab S)(f:Cab R)(e m:ℕ)(hm:e≤m):tap e (spool b f)=tap e (tube b f m):=by |
| 27 | rw [ships,tube]; unfold tap;rw [map_sum] |
| 28 | -- coeff_mul_X_pow' |
| 29 | rw [← Finset.sum_subset (s₁:=Finset.range (e+1)) (s₂:=Finset.range (m+1)) (f:=fun i=> PowerSeries.coeff e (_ * PowerSeries.X ^ i)) (Finset.range_mono (by omega)) ?z] |
| 30 | · apply Finset.sum_congr rfl; intro x hx; rw [PowerSeries.coeff_mul_X_pow', if_pos (by simpa using hx)] |
| 31 | case z=>intro x _ hx;rw [PowerSeries.coeff_mul_X_pow',if_neg (by simp only [Finset.mem_range] at *;omega)] |
| 32 | |
| 33 | lemma spool_zero (b:R→Cab S)(h:b 0=0):spool b 0=0:=by ext e :1; simp [tap,spool,h] |
| 34 | lemma spool_add (b:R→Cab S)(h:∀ x y,b (x+y)=b x+b y)(f g:Cab R):spool b (f+g)=spool b f+spool b g:=by ext e :1; simp only [spool,tap,PowerSeries.coeff_mk,map_add,h,Finset.sum_add_distrib] |
| 35 | lemma spool_sum {J:Type*}(s:Finset J)(b:R→Cab S)(hz:b 0=0)(h:∀ x y,b (x+y)=b x+b y)(f:J→Cab R):spool b (s.sum f)=s.sum (fun x=>spool b (f x)):=by |
| 36 | induction s using Finset.induction_on with |
| 37 | | empty=>rw [Finset.sum_empty,Finset.sum_empty,spool_zero _ hz] |
| 38 | | insert i s hi ih=>rw [Finset.sum_insert hi,Finset.sum_insert hi,spool_add b h,ih] |
| 39 | lemma spool_c (b:R→Cab S)(h:b 0=0)(x:R):spool b (PowerSeries.C x)=b x:=by |
| 40 | ext e :1; change tap e (spool _ _)=_; rw [ships,Finset.sum_eq_single_of_mem 0 (by simp)]; · simp [tap]; |
| 41 | intro i _ hi; rw [show tap i (PowerSeries.C x)=0 by rw [tap,PowerSeries.coeff_C]; simp [hi]];simp [tap,h] |
| 42 | |
| 43 | lemma spool_push (b:R→Cab S)(h:b 0=0)(f:Cab R)(n:ℕ):spool b (f* PowerSeries.X ^ n)=spool b f * PowerSeries.X ^ n:=by |
| 44 | ext e :1;change tap e (spool _ _)=_;rw [ships,PowerSeries.coeff_mul_X_pow'] |
| 45 | by_cases hh:n≤e |
| 46 | · rw [if_pos hh];change _=tap (e-n) (spool b f);rw [ships,←Nat.sub_add_cancel hh] |
| 47 | have he:(e-n+n+1)=n+(e-n+1):=by omega |
| 48 | rw [he,Finset.sum_range_add] |
| 49 | simp only [Nat.add_sub_cancel_right] |
| 50 | have hp(i:ℕ)(hi:i∈Finset.range n):tap (e-n+n-i) (b (tap i (f*PowerSeries.X^n)))=0:=by |
| 51 | unfold tap;rw [PowerSeries.coeff_mul_X_pow',if_neg (Nat.not_le_of_gt (Finset.mem_range.mp hi)),h]; exact map_zero _ |
| 52 | rw [Finset.sum_eq_zero hp,zero_add];apply Finset.sum_congr rfl;intro i hi |
| 53 | unfold tap;rw [PowerSeries.coeff_mul_X_pow',if_pos (by omega),Nat.add_sub_cancel_left,show e-n+n-(n+i)=e-n-i by omega] |
| 54 | rw [if_neg hh]; apply Finset.sum_eq_zero; intro i hi; unfold tap; rw [PowerSeries.coeff_mul_X_pow',if_neg (by simp only [Finset.mem_range] at *;omega),h];exact map_zero _ |
| 55 | |
| 56 | lemma rewire (b:R→Cab S)(e:ℕ){f g:Cab R}(h:∀ i≤e,tap i f=tap i g):tap e (spool b f)=tap e (spool b g):=by |
| 57 | rw [ships,ships]; apply Finset.sum_congr rfl; intro i hi; rw [h i (by simpa using hi)] |
| 58 | |
| 59 | lemma wired {a b c d:Cab R}(e:ℕ)(h:∀ i≤e,tap i a=tap i b)(k:∀ i≤e,tap i c=tap i d):tap e (a*c)=tap e (b*d):=by |
| 60 | unfold tap at *;rw [PowerSeries.coeff_mul,PowerSeries.coeff_mul];exact Finset.sum_congr rfl (fun ⟨i,j⟩ hh=>by have hp:=Finset.mem_antidiagonal.mp hh; dsimp at *; rw [h i (by omega),k j (by omega)]) |
| 61 | |
| 62 | lemma direct (f:Cab R):spool (PowerSeries.C : R→Cab R) f=f:=by |
| 63 | ext e :1;change tap e (spool _ _)=_;rw [ships,Finset.sum_eq_single_of_mem e (by simp)]; · simp [tap]; |
| 64 | intro i hi he; unfold tap; rw [PowerSeries.coeff_C]; rw [if_neg (by simp only [Finset.mem_range] at *;omega)] |
| 65 | |
| 66 | -- finite polynomial input atoms & approximations |
| 67 | abbrev pump {R:Type*}[CommRing R](e:ℕ)(x:R):Cab R:=PowerSeries.C x * PowerSeries.X ^ e |
| 68 | lemma pump_times (e n:ℕ)(a c:R):pump e a*pump n c=pump (e+n) (a*c):=by unfold pump;rw [_root_.map_mul,pow_add];ring |
| 69 | |
| 70 | lemma spool_mul (b:R→+*Cab S)(f g:Cab R):spool b (f*g)=spool b f*spool b g:=by |
| 71 | ext e :1 |
| 72 | let v:=tube (PowerSeries.C : R→Cab R) f e |
| 73 | let w:=tube (PowerSeries.C : R→Cab R) g e |
| 74 | have he {f:Cab R}(i:ℕ)(hi:i≤e):tap i f=tap i (tube (PowerSeries.C : R→Cab R) f e):=by |
| 75 | rw [←tubes _ _ _ _ hi,direct] |
| 76 | have hu (i)(hi:i≤e):tap i f=tap i v:=he i hi;have hw (i)(hi:i≤e):tap i g=tap i w:=he i hi |
| 77 | change tap e _=tap e _ |
| 78 | rw [rewire b e (fun i hi=>wired i (fun j hj=>hu j (hj.trans hi)) (fun j hj=>hw j (hj.trans hi))), wired (a:=spool b f) (c:=spool b g) e (fun i hi=>rewire b i (fun j hj=>hu j (hj.trans hi))) (fun i hi=>rewire b i (fun j hj=>hw j (hj.trans hi)))] |
| 79 | change tap e (spool b ((∑ i∈Finset.range (e+1),pump i (tap i f))*(∑ i∈Finset.range (e+1),pump i (tap i g))))=tap e (spool b (∑ i∈Finset.range (e+1),pump i (tap i f)) *spool b (∑ i∈Finset.range (e+1),pump i (tap i g))) |
| 80 | simp_rw [Finset.sum_mul,Finset.mul_sum,spool_sum _ b (map_zero _) (map_add _),Finset.sum_mul,Finset.mul_sum,pump_times] |
| 81 | have hp {e:ℕ}{x:R} :spool b (pump e x)=b x*PowerSeries.X^e:=by rw [pump,spool_push _ (map_zero _),spool_c _ (map_zero _)] |
| 82 | simp_rw [hp,_root_.map_mul,pow_add];congr 1; apply Finset.sum_congr rfl;intro i _;apply Finset.sum_congr rfl;intro j _;ring |
| 83 | |
| 84 | def tack (b:R→+*Cab S) : Cab R→+*Cab S where |
| 85 | toFun:=spool b |
| 86 | map_add':=spool_add _ (map_add _) |
| 87 | map_mul':=spool_mul _ |
| 88 | map_one':=by simpa only [map_one] using spool_c b (map_zero _) (1:R) |
| 89 | map_zero':= spool_zero _ (map_zero _) |
| 90 | |
| 91 | lemma tack_x (b:R→+*Cab S) : tack b PowerSeries.X=PowerSeries.X:=by |
| 92 | change spool b _=_ |
| 93 | simpa only [pow_one, one_mul, map_one,show spool b 1=1 from (tack b).map_one] using spool_push (S:=S) b (map_zero _) (1:Cab R) 1 |
| 94 | lemma tack_c (b:R→+*Cab S)(a:R):tack b (PowerSeries.C a)=b a:=spool_c _ (map_zero _) _ |
| 95 | lemma map_tack (b:S→+*T)(c:R→+*Cab S)(f:Cab R):PowerSeries.map b (tack c f)=tack ((PowerSeries.map b).comp c) f:=by |
| 96 | ext e :1;rw [PowerSeries.coeff_map]; change b (tap e (spool c f))=tap e (spool _ f);rw [ships,ships,map_sum];congr! 4 with i _; -- maybe |
| 97 | |
| 98 | section alg |
| 99 | variable [Algebra ℝ R][Algebra ℝ S] |
| 100 | def tie (b:R→ₐ[ℝ] Cab S):Cab R→ₐ[ℝ] Cab S:= AlgHom.mk' (show Cab R→+*Cab S from tack b.toRingHom) (fun r p=> by |
| 101 | ext e :1;change tap e (spool b (r • p))=tap e (r • spool b p) |
| 102 | rw [ships,show tap e (r • spool b p)=r • tap e (spool b p) from PowerSeries.coeff_smul ..,ships,Finset.smul_sum];apply Finset.sum_congr rfl; intro i hi |
| 103 | unfold tap; rw [PowerSeries.coeff_smul,_root_.map_smul,PowerSeries.coeff_smul]) |
| 104 | |
| 105 | lemma tie_rise (b:R→ₐ[ℝ] Cab S){V:Cab R}(h:tiny V):tie b (rise V)=rise (tie b V):=by |
| 106 | have hh:tiny (tie b V):=by |
| 107 | unfold tiny at *; change tap 0 (spool b _)=_; simp [spool,tap,h] |
| 108 | ext e :1 |
| 109 | have he:tap e (tie b (rise V))= tap e (tie b (rpol e V)):=rewire _ _ (fun i hi=>(coeff_rpol h hi).symm) |
| 110 | change tap e _ = tap e _;rw [he]; unfold tap;rw [←coeff_rpol hh (le_refl e)] |
| 111 | unfold rpol; simp_rw [map_sum,_root_.map_smul,_root_.map_pow] |
| 112 | |
| 113 | end alg |
| 114 | end YM.RG08.Room |