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.TraceExtension.Loft.Pen |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Loft |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Audience Metric Lamp Det |
| 6 | open scoped BigOperators Topology ContDiff ComplexConjugate Classical |
| 7 | variable {W ι α:Type} [Fintype α][DecidableEq α]{n:ℕ}{σ A r:ℝ}{X:Burst W ι}{U:W→Film ι α α}{F:ι→Track→Track→ CompM α α}{T μ:W→ℝ} |
| 8 | variable (a:ι)(h:ColdR X T μ r) |
| 9 | structure Sib (U:W→Film ι α α)(a:ι): Prop where |
| 10 | pay:∃ A σ,0 ≤ A ∧ 0 < σ ∧ ∀ i,Skew (U i) σ A |
| 11 | front: ∀ w i j, Stationary.Rays 2 (fun k=> legA (U w) k i j) |
| 12 | top: ∀ w i j, Stationary.Rays 1 (fun k=> legB (U w) a k i j) |
| 13 | lemma sib (h:Floe X U F r)(hx:∀ w,X.mark w=a) (hp:0<σ)(hA:0≤A)(hv:∀ w,Skew (U w) σ A): Sib U a :=by |
| 14 | refine ⟨⟨_,_,hA,hp,hv⟩,fun w i j=>?_,fun w i j=>?_⟩ |
| 15 | · have ht:= h.spot0 w i j |
| 16 | let f:= fun k:Track=> legA (U w) k i j; let g:=fun x:Track=> skull x α i j; change Stationary.Rays 2 f |
| 17 | rw [show f= f-g+g from (sub_add_cancel ..).symm]; exact (ht.weaker (by decide)).add (skull_ray _ i j) |
| 18 | have ht:= h.spot1 w i j; rw[hx] at ht |
| 19 | let f(x:Trail):= legB (U w) a x i j; let g(x:Trail):= F a x.1 x.2 i j |
| 20 | change Stationary.Rays 1 f; rw [show f= f-g+g from (sub_add_cancel ..).symm]; exact (ht.weaker (by decide)).add (h.paid a i j |>.2) |
| 21 | variable (hq:Sib U a) |
| 22 | -- direction fixed vector. pivot X.lens; set ext step0 alone |
| 23 | abbrev summitM (V:Film ι α α)(μ:ℝ):= V.plus (icing α ι μ) |
| 24 | abbrev Mint (T:W→ℝ)(p:Track)(i:W)(t:ℝ):Track:= t • (T i • p) |
| 25 | abbrev rankP (X:Burst W ι)(T:W→ℝ)(p:Track)(i:W)(t:ℝ):Track:= X.lens i+ Mint T p i t |
| 26 | section first |
| 27 | include h hq |
| 28 | lemma pact_tab (p:Track): CashV n (T^2) (fun i t=>legA (summitM (U i) (μ i)) (rankP X T p i t)) :=by |
| 29 | obtain ⟨A,s,hA,hs,K⟩:= hq.pay; have hh:T^ (2:ℕ) ≥ 0:=fun i=>pow_nonneg (h.lower i|>.le) _ |
| 30 | let F(i:W)(t):= (U i).tab (axes (rankP X T p i t)) |
| 31 | have hx:CashV n (T^2) F:=by |
| 32 | refine ⟨hh,fun i j=>?_⟩ |
| 33 | -- n<2? buy n+2 then weaken |
| 34 | have he := shellu (t:=X.lens) (v:=fun i=>T i • p) (T:=T) (lo_h (n:=n+2) K hs i j) (fun w=> hq.front w i j) (by omega) h.lower h.upper h.topC 1 ‖p‖ zero_le_one (norm_nonneg _) (fun w=> by rw[mul_one]; exact (orbit_at _).trans (h.norm w)) (fun w=> Eq.le (by rw[norm_smul,Real.norm_of_nonneg (h.lower w|>.le)])) |
| 35 | obtain ⟨C,hC,H⟩:=he.keep; exact ⟨hh,C,hC,fun i=> (H i).order (by omega)⟩ |
| 36 | have hv: CashV n (T^2) (fun i (_:ℝ)=> ((μ i^2:ℝ):ℂ) • (1:CompM α α)):=by |
| 37 | refine ⟨hh,fun i j=> nbill hh (A:= (1:ℝ)) zero_le_one (fun w=>?_ )⟩ |
| 38 | refine (flux_tilt ( ((μ w^2:ℝ):ℂ) • (1:CompM α α)) i j).trans ?_; rw [flux_cost,Complex.norm_real,Real.norm_of_nonneg (sq_nonneg _),one_mul]; refine le_trans (mul_le_of_le_one_right (sq_nonneg _) flux_one) (pow_le_pow_left₀ (h.pos w|>.le) (h.lease w) _) |
| 39 | exact sumM hx hv |
| 40 | lemma pact_spot(p q:Track) : CashV n T (fun w t=> legB (summitM (U w) (μ w)) a (Mint T p w t,rankP X T q w t)) :=by |
| 41 | obtain ⟨A,s,hA,hs,K⟩:= hq.pay; have ht:T≥0:=fun i=>h.lower i|>.le; refine ⟨ht,fun i j=>?_⟩ |
| 42 | let x w:Trail:=(0,X.lens w); let v w:Trail:= T w • (p,q) |
| 43 | have hx:= shellu (T:=T) (pin_h (n:=n+1) K hs i j a) (fun w=>hq.top w i j) (by omega) x v h.lower h.upper h.topC 1 ‖(p,q)‖ zero_le_one (norm_nonneg _) (fun i=>by rw[mul_one]; simp only[x, Prod.norm_def,norm_zero,max_le_iff]; exact ⟨ht i,(orbit_at _).trans (h.norm i)⟩) (fun w=>by unfold v; rw[norm_smul, Real.norm_of_nonneg (h.lower w|>.le)]) |
| 44 | rw[pow_one] at hx; obtain ⟨C,hC,H⟩:=hx.keep; simp only [legB,rankP, Mint,x,v,Prod.smul_mk,Prod.fst_add,Prod.snd_add,zero_add,summitM,Film.plus,icing,Film.cardF,add_zero] at H ⊢; exact ⟨ht,C,hC,fun w=> (H w).order (by omega)⟩ |
| 45 | lemma pact_arc(p q:Track): CashV n 1 (fun w t=> legC (summitM (U w) (μ w)) a a (Mint T p w t,Mint T q w t,X.lens w)):=by |
| 46 | obtain ⟨A,s,hA,hs,K⟩:=hq.pay; refine ⟨fun _=>zero_le_one,fun i j=>?_⟩ |
| 47 | let f (w) (z:Trest):= legC (U w) a a z i j; let V(p':W): Trest:=(0,0,X.lens p'); let b:Trest:=(p,q,0); let v w:Trest:=T w • b |
| 48 | obtain ⟨D,hD,H⟩:=(row_h (n:=n) K hs i j a a).top; let R:=1+r*‖b‖; have hR:1 ≤ R:=le_add_of_nonneg_right (mul_nonneg h.topC (norm_nonneg _)) |
| 49 | refine ⟨fun _=>zero_le_one, D*R^n,mul_nonneg hD (by have hu:=zero_le_one.trans hR; positivity),fun w=>?_⟩ |
| 50 | have he: ‖v w‖ ≤ R:=by unfold v; rw [norm_smul,Real.norm_of_nonneg (h.lower w|>.le)]; exact (mul_le_mul_of_nonneg_right (h.upper w) (norm_nonneg _)).trans (le_add_of_nonneg_left zero_le_one) |
| 51 | have hv:=chord_h (F:=f w) (V w) (v w) 0 (H w _) he hR |
| 52 | simp only [summitM, legC,Film.plus,icing,Film.cardF,add_zero,Pi.one_apply,mul_one]; apply Allows.germ hv; refine Eventually.of_forall fun x=> ?_; simp [f,v,Mint,V,b,legC] |
| 53 | end first |
| 54 | section kit |
| 55 | include h hq |
| 56 | variable (he:Tall X (T^2) (fun i=> summitM (U i) (μ i))) |
| 57 | include he |
| 58 | lemma pact_cap (p:Track): CashV n (T^ (2:ℕ))⁻¹ (fun i t=>legA (summitM (U i) (μ i)).back (rankP X T p i t)):=by |
| 59 | let F(i:W)(t):= (summitM (U i) (μ i)).tab (axes (rankP X T p i t)) |
| 60 | have hh(i): F i 0=(summitM (U i) (μ i)).tab (axes (X.lens i)):=by unfold F rankP Mint;rw[zero_smul,add_zero] |
| 61 | obtain ⟨C,hC,hv⟩:= he.marble |
| 62 | refine slit (N:=F) (pact_tab a h hq p) he.positive (fun w=>by rw[hh];exact he.keeps w) (A:=C) (fun w=>by rw [hh, ← div_eq_mul_inv]; exact hv w) hC |
| 63 | omit h hq he in |
| 64 | lemma Mint_add (p q:Track)(w:W)(t:ℝ): axes (rankP X T q w t)+axes (Mint T p w t)=axes (rankP X T (q+p) w t):=by rw [← axes_add]; congr 1; unfold rankP Mint; rw[smul_add,smul_add,add_assoc] |
| 65 | lemma pact_b (p q:Track): CashV n (T^(3:ℕ))⁻¹ (fun w t=> legB (summitM (U w) (μ w)).back a (Mint T p w t,rankP X T q w t)):=by |
| 66 | have hx:= negM (mulM (mulM (pact_cap a h hq (n:=n) he (q+p)) (pact_spot a h hq p q)) (pact_cap a h hq he q)) |
| 67 | rw[show (T^2)⁻¹*T*(T^2)⁻¹=(T^3)⁻¹ from funext fun i=>by change (T i^2)⁻¹*T i*(T i^2)⁻¹=(T i^3)⁻¹;field_simp[(h.lower i).ne']] at hx |
| 68 | simp only [legB,Film.back,Film.vSpot,Film.coupon]; simp_rw [Mint_add]; exact hx |
| 69 | lemma pact_c (p q:Track): CashV n (T^ (4:ℕ))⁻¹ (fun w t=>legC (summitM (U w) (μ w)).back a a (Mint T p w t, Mint T q w t,X.lens w)):=by |
| 70 | let F0(w):= summitM (U w) (μ w) |
| 71 | let p':=Mint T p; let q':=Mint T q; let f w t:= axes (p' w t); let g w t:=axes (q' w t); let x w:=axes (X.lens w) |
| 72 | have h0(i:W)(t:ℝ): rankP X T 0 i t=X.lens i:=by simp [rankP, Mint] |
| 73 | have hw:= pact_cap a h hq (n:=n) he 0; simp_rw [h0] at hw |
| 74 | have hd(U V: Track) : CashV n (T^(2:ℕ))⁻¹ (fun i t=> (F0 i).vSpot a (axes (Mint T V i t)) (x i+axes (Mint T U i t))*(F0 i).spot a (axes (Mint T U i t)) (x i)):=by |
| 75 | have hz:= pact_spot a h hq (n:=n) U 0; simp_rw[h0] at hz |
| 76 | have hp:= pact_b a h hq (n:=n) he V U; simp_rw[legB,rankP,axes_add] at hp; have hx:= mulM hp hz; rw[show (T^ (3:ℕ))⁻¹*T=(T^(2:ℕ))⁻¹ from funext fun i=>by change (T i^3)⁻¹*T i= (T i^2)⁻¹; field_simp[(h.lower i).ne']] at hx; exact hx |
| 77 | have hh:=mulM (pact_cap a h hq he (p+q)) (pact_arc a h hq (n:=n) p q); rw [mul_one] at hh |
| 78 | have hx(i:W)(t): axes (rankP X T (p+q) i t)=x i+(f i t+ g i t):=by unfold rankP f g p' q' x; simp_rw [Mint,smul_add,axes_add] |
| 79 | simp_rw [legA, hx] at hh |
| 80 | have hk:= negM (mulM (sumM (sumM (hd p q) (hd q p)) hh) hw) |
| 81 | rw [show (T^ (2:ℕ))⁻¹*(T^(2:ℕ))⁻¹=(T^ (4:ℕ))⁻¹ from funext fun i=>by change (T i^2)⁻¹*(T i^2)⁻¹=(T i^4)⁻¹;field_simp[(h.lower i).ne']] at hk;exact hk |
| 82 | end kit |
| 83 | end YM.Trace.Loft |