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.Perfect.Amaze |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Perfect |
| 6 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG RG.Supply Wilson Finset Push.Uniform Planned.PrimaryIntegral295 Next.Free |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 8 | variable {s:Stage}{G:Gauge}{q:KernelChoices}{P: Patch}{i:ℕ} |
| 9 | -- apply Start from same sheet; positivity-certified bn≥ etc choose region independent S path. no tilde |
| 10 | structure Stem (G:Gauge)(x:ℝ)(s:Stage) : Prop where |
| 11 | bell : 1 ≤ Real.log x |
| 12 | master : ∃ C,0 ≤ C∧ PayGrade G (east x) C ∧ C ≤ reed x 2 |
| 13 | enough : ∀ (R:PathData G)(v:ℝ), R.Bounds s.clip s.width s.paths v → ∀ b:Axis,∀ f:Side,∀ o: Site f,∀ i,i≤4→2 ≤ i→ cost (landW o) (east x) 4 0 (leaf (ballX (dust s.clip R b o)) 0 i) ≤ reed x i |
| 14 | lemma stem_ready (s:Stage)(G:Gauge): ∀ᶠ x:ℝ in atTop,Stem G x s:=by |
| 15 | obtain ⟨a,C,h,p,H⟩:= paid_grade G; obtain ⟨v,D,pv,hv,Q⟩:= hatchY s.clip G s.width s.paths s.width_pos 4 |
| 16 | have ht:Tendsto east atTop (𝓝 0):= Real.tendsto_log_atTop.inv_tendsto_atTop |
| 17 | have hs: Tendsto (fun x=>reed x 2) atTop atTop:= (tendsto_pow_atTop (by decide:(2:ℕ)≠0)).comp Real.tendsto_log_atTop |
| 18 | filter_upwards [Real.tendsto_log_atTop.eventually_ge_atTop 1, ht.eventually (ge_mem_nhds h),ht.eventually (ge_mem_nhds pv),hs.eventually_ge_atTop C, hs.eventually_ge_atTop D] with x hx ha hq hS he |
| 19 | have hE:0 ≤east x:=inv_nonneg.mpr (by linarith) |
| 20 | exact ⟨hx,⟨C,p,H _ hE ha,hS⟩,fun R v hk b f o i h j=>(Q _ hE hq i h f o v R hk b).trans (he.trans (pow_le_pow_right₀ hx j))⟩ |
| 21 | structure Eon (G:Gauge)(s:Stage)(q:KernelChoices)(P:Patch)(i:ℕ)(x y:ℝ) where |
| 22 | C:ℝ |
| 23 | H:ℝ |
| 24 | D:ℝ |
| 25 | α:ℝ |
| 26 | B:ℝ |
| 27 | shoe : 0< α |
| 28 | fit : 0 ≤ B |
| 29 | legal : 4 ≤ i |
| 30 | smooth : 5 ≤ P.J |
| 31 | bill (Z:Flight P.J i) (l:List Axis) : l.length ≤ P.J-2→ (advanceC Z.L (Carrier.linesOf Z q.penalty) l).strip α (B/(Z.L.val:ℝ)^(1+l.length)) |
| 32 | sA: SummitA P G q s.clip s.width s.paths α B (east x) H |
| 33 | sB: SummitB P G q s.clip s.width s.paths α B (east x) D |
| 34 | sized : Pressure.macroR P ≤ Nat.ceil ((Real.log x)^2) |
| 35 | pays : PayGrade G (east y) C |
| 36 | status : 1<x∧1<y∧0 ≤ C ∧0 ≤ D ∧ 0 ≤ H ∧ east x/(P.L.val:ℝ) ≤ east y |
| 37 | bank n : Bank H D P.L C (reed y) (reed x) (vista n y) (vista (n+1) x) |
| 38 | stem : Stem G y s |
| 39 | lemma post_phase (s:Stage)(G:Gauge)(q:KernelChoices)(j i:ℕ)(hj:5 ≤ j)(hi:4 ≤ i):∃ n:ℕ,∀ P:Patch,P.J=j→ n ≤ P.L.val → ∀ v:ℝ,∀ᶠ x:ℝ in atTop,Nonempty (Eon G s q P i x (x+v)):=by |
| 40 | obtain ⟨a,B,h,h',H⟩:= Carrier.priced _ q.penalty_pos ((show 4 ≤5 by decide).trans hj) hi |
| 41 | obtain ⟨u,C,c,p,P'⟩:= paid_grade G |
| 42 | obtain ⟨T,hT,hM⟩:= early_to G s.width s.paths a B (a/2) (half_pos h) (half_lt_self h) h'.le j |
| 43 | obtain ⟨n,hn⟩:= big_along T; refine ⟨n,fun X hx hX v=>?_⟩ |
| 44 | obtain ⟨b,D,t,hD,M⟩:= post_to G X q s.clip s.width s.paths a B h |
| 45 | have hb:=bank_buys p hT hD (hn _ hX) v |
| 46 | let i':= min b (a/2); have hi':0 < i':= lt_min t (half_pos h); have hm:Tendsto east atTop (𝓝 0):= Real.tendsto_log_atTop.inv_tendsto_atTop |
| 47 | have ht:Tendsto (fun x:ℝ=>x+v) atTop atTop:= tendsto_atTop_add_const_right _ _ tendsto_id |
| 48 | have hl : 1<(X.L.val:ℝ):=by exact_mod_cast (show 1< X.L.val from lt_of_lt_of_le (by decide) X.coarse) |
| 49 | have hk:Tendsto (fun x:ℝ=>Nat.ceil (Real.log x ^2)) atTop atTop:= by |
| 50 | apply tendsto_atTop.2;intro b; filter_upwards [((tendsto_pow_atTop (by decide:(2:ℕ)≠0)).comp Real.tendsto_log_atTop).eventually_ge_atTop (b:ℝ)] with x hx; dsimp only[Function.comp_apply] at hx; exact_mod_cast (hx.trans (Nat.le_ceil _)) |
| 51 | filter_upwards [eventually_gt_atTop (1:ℝ), hm.eventually (ge_mem_nhds hi'), (hm.comp ht).eventually (ge_mem_nhds c), ht.eventually (eventually_gt_atTop 1), (moor_log v).eventually (ge_mem_nhds hl),hk.eventually_ge_atTop (Pressure.macroR X),hb,ht.eventually (stem_ready s G)] with x hy hf hg H' hH hp H'' hs |
| 52 | have hv:0<east (x+v):= inv_pos.mpr (Real.log_pos H'); have he':0<east x:= inv_pos.mpr (Real.log_pos hy) |
| 53 | refine ⟨⟨C,T,D,a,B,h,h'.le,hi,?_,?_,?_,?_,hp,P' _ hv.le hg,⟨hy,H',p,hD,hT,?_⟩,H'',hs⟩⟩ |
| 54 | · rw [hx];exact hj |
| 55 | · rw [hx];exact H |
| 56 | · intro Y u o hq hs v hv hz; exact hM _ hx _ _ _ _ _ hq hs _ hv (hz.trans (hf.trans (min_le_right ..))) |
| 57 | · intro Y u o hq v hv hz; exact M Y u o hq v hv (hz.trans (hf.trans (min_le_left ..))) |
| 58 | have hp:= Real.log_pos H'; have hm:= Real.log_pos hy |
| 59 | unfold east; rw [div_le_iff₀ (by linarith : 0 < (X.L.val:ℝ))]; field_simp; exact ((div_le_iff₀ hm).mp hH).trans_eq (mul_comm ..) |
| 60 | end YM.Trace.Perfect |