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.FullVolume.Fares.Dusk |
| 2 | /- Acquire tariff & eventual canopy budgets. |
| 3 | -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.PhysicalNext.Repeat.Legato.Campaign |
| 7 | open Function Filter Set MeasureTheory Lattice RG RG.Supply Wilson Precision Supply Input Org Extra.Histories Source |
| 8 | open JointLoad JointLoad.Heir JointLoad.Heir.Suite JointLoad.Psalm Clockwork |
| 9 | open AnalyticBridge VerifiedReset Collection Quotes Next.Scheduling Extra.Iteration Song Geo |
| 10 | open ThroughLaunch Roof Push.PriceCompiler Further.StrongStartup SectorNext |
| 11 | open WilsonStartup Progress.DirectedRecipe Time Next.Foundations UVNext.CouplingReset |
| 12 | open Cub Circlet Graces Roost Planned.GuardedAtom Mallow Lotus |
| 13 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace |
| 14 | variable {G:Gauge} |
| 15 | open YM.MergeProof MergeProof.Matric FullVolume FullVolume.Paint Tower |
| 16 | open RG.Shoot Lark Motion |
| 17 | open FullVolume FullVolume.Retreat FullVolume.Shroud Amp Amp.Beam |
| 18 | open Pillars Bandage Pass Muse Contest Ovens Veil Ship |
| 19 | variable {R:Run G} {T:Campaign R} |
| 20 | set_option quotPrecheck false |
| 21 | local notation "P"=> R.alloy.B.a |
| 22 | local notation "X"=> R.kit |
| 23 | local notation "D"=> R.rolls |
| 24 | local notation "Φ"=> R.alloy.B.a.clock |
| 25 | open Spirit Branch Boutique Guard |
| 26 | open Extraction Extraction.Lease |
| 27 | open MergeProof.Accent FullVolume.Nectar |
| 28 | variable {I:Type}[Fintype I] [DecidableEq I] |
| 29 | open Face Face.Economics |
| 30 | namespace Sky |
| 31 | variable {Θ:Luna.Tableau T.width 300}{v:ℕ→ℕ→ℝ}(hk:Sky R T Θ v) |
| 32 | local notation "d!"=> intervalClock R |
| 33 | local notation "j!"=> R.alloy.B.a.clock.J |
| 34 | local notation "x!"=> timeEntry R |
| 35 | local notation "C"=>R.alloy.B.a.S |
| 36 | lemma alarm : Tendsto (intervalClock R) atTop atTop:= tendsto_natCast_atTop_atTop.comp (R.alloy.B.a.S.den_strict.tendsto_atTop) |
| 37 | /-- Polynomial budget. No N factors -/ |
| 38 | def Timing (θ y:ℕ→ℝ):Prop:= ∀ᶠ b:ℕ in atTop, ∀ᶠ m:ℕ in atTop,|y m|≤ θ m ^ b |
| 39 | namespace Timing |
| 40 | variable {θ f g:ℕ→ℝ} |
| 41 | lemma mk (b:ℕ)(hv:∀ m,1≤ θ m)(h:∀ᶠ m:ℕ in atTop, |f m|≤ θ m ^ b): Timing θ f:=by |
| 42 | apply (eventually_ge_atTop b).mono; intro k hk; exact h.mono (fun m h=> h.trans (pow_le_pow_right₀ (hv m) hk)) |
| 43 | lemma mul (hp:Timing θ f) (hq:Timing θ g)(hv:∀ m,1 ≤ θ m): Timing θ (fun m=> f m*g m):=by |
| 44 | obtain ⟨b,hb,hv'⟩:= (hp.and hq).exists; refine mk (b+b) hv ?_ |
| 45 | filter_upwards [hb,hv'] with m hm hg; rw [abs_mul,pow_add]; exact mul_le_mul hm hg (abs_nonneg _) (zero_le_one.trans (one_le_pow₀ (hv _))) |
| 46 | lemma pow(hp:Timing θ f)(hv:∀ m,1 ≤ θ m)(d:ℕ):Timing θ (fun m=> f m ^ d):=by |
| 47 | obtain ⟨b,hb⟩:= hp.exists; apply mk (b*d) hv; filter_upwards [hb] with m hm; rw [abs_pow,pow_mul]; exact pow_le_pow_left₀ (abs_nonneg _) hm _ |
| 48 | lemma bound (hp:Timing θ f)(hv:∀ᶠ m:ℕ in atTop,|g m|≤ |f m|):Timing θ g:=hp.mono fun b hb=> hv.mp (hb.mono (fun m hm h=>h.trans hm)) -- order |
| 49 | lemma enlarging{θ':ℕ→ℝ}(hp:Timing θ f)(hv:∀ m,1 ≤ θ m)(h:∀ m,θ m≤ θ' m):Timing θ' f:=hp.mono fun b hb=> hb.mono (fun m hm=> hm.trans (pow_le_pow_left₀ (zero_le_one.trans (hv _)) (h _) _)) |
| 50 | lemma static (hv:∀ m,1 ≤ θ m)(hz:Tendsto θ atTop atTop)(x:ℝ):Timing θ fun _=> x:=mk 1 hv (by simpa only [pow_one] using hz.eventually_ge_atTop |x|) |
| 51 | lemma clock (hv:∀ m,1 ≤ θ m): Timing θ θ:= mk 1 hv (Eventually.of_forall fun m=> by rw [pow_one,abs_of_nonneg (zero_le_one.trans (hv m))]) |
| 52 | lemma toTick (hp: Timing θ f):∀ᶠ b in atTop,∀ᶠ m in atTop,f m ≤ θ m^b := hp.mono (fun b hb=> hb.mono fun m hm=> (le_abs_self _).trans hm) |
| 53 | end Timing |
| 54 | open Timing |
| 55 | lemma lazy (i:ℕ): intervalClock R i ≤ intervalClock R (i+1):= by unfold intervalClock; exact_mod_cast (R.alloy.B.a.S.den_strict (show i < i+1 from i.lt_succ_self)).le |
| 56 | local notation "V!"=>Timing d! |
| 57 | local notation "W!" => Timing (fun m:ℕ=> intervalClock R (m+1)) |
| 58 | lemma Timing.entrenched {x:ℕ→ℝ}(hp:Timing (intervalClock R) x): W! x:= hp.enlarging (fun m=> one_clock _) lazy |
| 59 | lemma mint_eq(m d:ℕ): ‖mintT T d m‖=(intervalClock R m)^d:=by rw [mintT,MergeProof.alto_norm]; unfold Schedule.a; rw [inv_pow,inv_inv]; rfl |
| 60 | lemma stamps (d:ℕ): V! fun m=> ‖mintT T d m‖:=by simp_rw [mint_eq]; exact (clock (fun m=>one_clock m)).pow (fun m=> one_clock m) d |
| 61 | include hk |
| 62 | lemma entry : V! (timeEntry R):=by |
| 63 | apply Timing.mk 2 (fun m=> one_clock _); let c := G.slopeConstant; let h:ℝ:= (Φ).bar |
| 64 | have hp : 0≤ c:= (Gauge.slopeConstant_pos T.gains.SimpleR).le |
| 65 | filter_upwards [(alarm (R:=R)).eventually_ge_atTop (h+c), hk.launches.eventually_ge_atTop 0] with m hm hv |
| 66 | rw [abs_of_nonneg hv]; let x:= intervalClock R m |
| 67 | change h + c*(C).scale m ≤ _ |
| 68 | rw [Schedule.scale,Schedule.a,inv_inv]; have hz:1≤x:=one_clock _; have he: Real.log x ≤ x := by linarith only [Real.log_le_sub_one_of_pos (zero_lt_one.trans_le hz)] |
| 69 | have hθ:0≤ h:= (Φ).bar_pos.le; change h+c*Real.log x≤ x^2; nlinarith only [mul_le_mul_of_nonneg_left he hp,mul_le_mul_of_nonneg_left hz hθ,mul_le_mul_of_nonneg_right hm (zero_le_one.trans hz)] |
| 70 | open Splint |
| 71 | omit hk in |
| 72 | lemma year_era (r:ℕ)(x:ℝ): V! fun m=> x*Real.exp ((C).scale m-(C).scale r):=by |
| 73 | have hx(m:ℕ): x*Real.exp ((C).scale m-(C).scale r)= (x/Real.exp ((C).scale r))* d! m:=by |
| 74 | have hb: 0<d! m:=zero_lt_one.trans_le (one_clock _) |
| 75 | rw [Real.exp_sub]; rw [show Real.exp ((C).scale m)=d! m from (by unfold Schedule.scale Schedule.a; rw [inv_inv]; exact Real.exp_log hb)]; ring |
| 76 | simp_rw [hx]; exact (Timing.static (fun m=>one_clock m) alarm _).mul (Timing.clock (fun m=>one_clock _)) (fun m=>one_clock m) |
| 77 | omit hk in |
| 78 | lemma Timing.shift (x:ℕ→ℝ)(hp:Timing (intervalClock R) x): W! fun m=> x (m+1):= hp.mono (fun b hb=>by apply (Filter.tendsto_add_atTop_nat 1).eventually (p:=fun m=>|x m|≤ intervalClock R m ^ b) _; exact hb) -- order |
| 79 | lemma cannonE (d:ℕ): Timing (intervalClock R) (fun m=> priceE ((Labels.frames G).level d) (framePay (A:=R.alloy) (m:=m)) (upColumn (R:=R) d m v)):= by |
| 80 | apply hk.entry.bound |
| 81 | filter_upwards [(P).fits.deep.eventually_ge_atTop d] with m hm |
| 82 | apply le_trans _ (le_abs_self _); have hh:= (hk.presents m).framesE d (show d ≤ j! (m+1) from hm.trans ((P).fits.mono (show m≤ m+1 by omega))) |
| 83 | rw [show (framePay (A:=R.alloy) (m:=m))= Mallow.priceS (G:=G) (R.metals.p.profile (j! (m+1))) from ?_]; exact hh |
| 84 | unfold framePay Mallow.priceS; rw [show ((P).budget (m+1)).supportExponent=((P).params (m+1)).supportExponent from rfl, params_eq R.alloy.B.valid] |
| 85 | lemma cannonK (d:ℕ):Timing (intervalClock R) (fun m=> priceK Θ.price (R.y ((Φ).J (m+1))) (Doors.rate (R.rolls.L (j! (m+1)))) (R.rolls.L (j! (m+1))) ((Labels.frames G).level d) (upColumn (R:=R) d m v)):= by |
| 86 | apply hk.entry.bound; filter_upwards [(P).fits.deep.eventually_ge_atTop d] with m hm; exact ((hk.presents m).framesK d (show d ≤ j! (m+1) from hm.trans ((P).fits.mono (by omega)))).trans (le_abs_self _) |
| 87 | lemma topCost(d:ℕ) : V! fun m=> fullCost ((Labels.frames G).level d) ((P).budget m) (Doors.cameras G d):=by |
| 88 | have hh : V! (fun m => ((P).budget m).threshold⁻¹):=by |
| 89 | apply hk.entry.bound (Eventually.of_forall fun m=>?_); rw [abs_of_pos (by apply inv_pos.mpr; exact BudgetPoint.threshold_pos _)] |
| 90 | have he:1 ≤ x! m:= (R.alloy.B.a.fits.delayed m).le; exact (le_trans (b:= x! m) (Doors.temp_cheap he) (le_abs_self _)) |
| 91 | exact (Timing.static (fun m=>one_clock m) alarm _).mul (hh.pow (fun m=>one_clock m) _) (fun m=>one_clock m) |
| 92 | set_option maxRecDepth 8000 in |
| 93 | lemma salaries (d n:ℕ)(z:ℝ) : W! (fun m=>civic n*quoteInput T m v d z) ∧ W! (fun m=> civic n*quoteCert T m Θ v d z) ∧ W! (fun m=> civic n*quoteUnit T m d z) ∧ Timing (intervalClock R) (fun m=> civic n*quoteTop T m d z):=by |
| 94 | have h(m:ℕ):1≤d! (m+1):= one_clock _; have hv:= year_era (R:=R) (R.t d) z |
| 95 | have hh:= stamps (T:=T) d; have hg:= Timing.shift _ hh; have hP:= Timing.shift _ hv; have hC (u:ℝ):= Timing.static (fun m=>one_clock (R:=R) m) alarm u; have hx:= (hC (civic n)).entrenched |
| 96 | refine ⟨hx.mul (((hC 2).entrenched).mul (hg.mul (hP.mul (hk.cannonE d).entrenched h) h) h) h,hx.mul (hh.entrenched.mul (hP.mul (hk.cannonK d).entrenched h) h) h,hx.mul (hg.mul hP h) h,?_⟩ |
| 97 | have hu : Timing (intervalClock R) fun m=> Real.exp (((P).budget m).supportExponent+2):=by |
| 98 | apply hk.entry.bound; filter_upwards with m; rw [abs_of_pos (Real.exp_pos _),show ((P).budget m).supportExponent=((P).params m).supportExponent from rfl, params_eq R.alloy.B.valid]; exact ((hk.presents m).fame).trans (le_abs_self _) |
| 99 | let H (m:ℕ) : 1≤ d! m:= one_clock _ |
| 100 | exact (hC _).mul (hh.mul ((hu.mul ((hk.topCost d).mul (hC (χ _)) H) H).mul hv H) H) H -- name conflicts |
| 101 | end Sky |
| 102 | end YM.PhysicalNext.Repeat.Legato.Campaign |
| 103 | #print axioms YM.PhysicalNext.Repeat.Legato.Campaign.Sky.salaries |