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.Integrated |
| 2 | import YM.Next.SCHEDULE.Salary |
| 3 | |
| 4 | /-! |
| 5 | # Post-L hardware and delay issuance, before choosing a Bar |
| 6 | |
| 7 | Choose `Beam` before any trajectory, before assigning `Postage` bills. |
| 8 | `Radios.transmit` opt-in (`PreGrant` available, conditional). Choose |
| 9 | protection AFTER all post-L powers. Regime carries post prices and band |
| 10 | delay incl startup; boosting after that allowed for further receipts, |
| 11 | even individual scaleEntry requirements (all entered after preceding |
| 12 | plateau), but still first-stage scale NOT tending to infinity. Paid Wait etc |
| 13 | later. No Directed, nor assumption that the bounds anticipated in Fees |
| 14 | are actual estimates. See application lemmas with those as input. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Next.Scheduling |
| 19 | open Filter RG RG.Supply Function Precision Input Bid Lattice Pressure Pressure.Testing Source |
| 20 | |
| 21 | variable {G : Gauge} |
| 22 | |
| 23 | /-- The χ quotation at station chosen before any particular W's or work |
| 24 | steps. Uniform in admissible side, `Larger` priced too. -/ |
| 25 | structure Beam {s : Sheet G} (K : MapPrices) (D : Rolls s) where |
| 26 | η : ℕ → ℝ |
| 27 | custody j : 0<η j |
| 28 | uses j (c f : Side) (S : StepData c f) : S.kernel=s.kernel → S.patch.L=D.L j → S.patch.J=j → Larger (G:=G) S → |
| 29 | ∀ (H : Tree.Forest S.ratio) (B C : Bed) (p q : Clip) (W : PathData G) (σ c₀ Λ m v u : ℝ) (T : Towers S.patch.L), |
| 30 | Towers.Diagonal S B C T → Floor B p f (K.η j) m → W.Bounds p σ c₀ Λ → Attached B W → Sworn B f G → |
| 31 | Floor C q c v u → PriceGap H p W (η j) ∧ ∃ ρ,Critical H p W ρ ∧ Guessed H (Bloch.installed S.ratio T.A0) ρ ∧ HeatG H p W ρ C |
| 32 | |
| 33 | namespace Beam |
| 34 | variable {s : Sheet G} {K : MapPrices} {D : Rolls s} |
| 35 | |
| 36 | theorem alight (K : MapPrices) (D : Rolls s) : Nonempty (Beam K D) := by |
| 37 | choose η h hη using fun j => (Integrated.stationary_scene (G:=G) (D.L j) j s.kernel (K.η j) (K.eta_pos j)).χ |
| 38 | exact ⟨η,h,hη⟩ |
| 39 | |
| 40 | /-- C3 after-cost fields. Take larger coeff and worst rates (minimum) |
| 41 | between the two calls. FiniteBound caps require Γ independently of volume. |
| 42 | -/ |
| 43 | def price (B : Beam K D) (F : ℕ → ℕ → Postage) : PostCost D where |
| 44 | η := B.η |
| 45 | Γ i := max (F i i).H (F i (i-1)).H |
| 46 | c i := min (F i i).rate (F i (i-1)).rate |
| 47 | g i := min (F i i).rate (F i (i-1)).rate/8 |
| 48 | price := B.custody |
| 49 | pos i := lt_of_lt_of_le zero_lt_one (le_max_of_le_left ((F i i).h_ge)) |
| 50 | posC i := lt_min (F i i).pos (F i (i-1)).pos |
| 51 | posG i := div_pos (lt_min (F i i).pos (F i (i-1)).pos) (by norm_num) |
| 52 | |
| 53 | lemma leg (B : Beam K D) (F : ℕ → ℕ → Postage) {j i} (h : Adj j i) : |
| 54 | (F j i).H ≤ (B.price F).Γ j ∧ (B.price F).c j ≤ (F j i).rate ∧ (B.price F).g j ≤ (F j i).rate/8 := by |
| 55 | rcases h.cases_back with rfl|rfl |
| 56 | · exact ⟨le_max_left ..,min_le_left ..,div_le_div_of_nonneg_right (min_le_left ..) (by norm_num)⟩ |
| 57 | exact ⟨le_max_right ..,min_le_right ..,div_le_div_of_nonneg_right (min_le_right ..) (by norm_num)⟩ |
| 58 | end Beam |
| 59 | |
| 60 | /-- Arbitrariness BEFORE scheduling, componentwise. Not Paid monotonicity |
| 61 | if Bar would have to change! Use before Wait is fixed. -/ |
| 62 | structure Boost {s : Sheet G} {D : Rolls s} {T : Protection D} (V W : Delays T) : Prop where |
| 63 | beta : V.betaEntry ≤ W.betaEntry |
| 64 | scale : V.scaleEntry ≤ W.scaleEntry |
| 65 | shells : V.shells ≤ W.shells |
| 66 | power : V.growth ≤ W.growth |
| 67 | |
| 68 | lemma Boost.chain {s : Sheet G} {D : Rolls s} {T : Protection D} {V W W' : Delays T} |
| 69 | (h : Boost V W) (hx : Boost W W') : Boost V W' := |
| 70 | ⟨h.beta.trans hx.beta,h.scale.trans hx.scale,h.shells.trans hx.shells,h.power.trans hx.power⟩ |
| 71 | |
| 72 | lemma Boost.priced {s : Sheet G} {D : Rolls s} {T : Protection D} {V W : Delays T} |
| 73 | (h : Boost V W) (hx : Stock.Priced V) : Stock.Priced W := |
| 74 | ⟨fun j hj x hx' => hx.1 j hj x ((h.beta j).trans hx'), fun j hj a s hs he => hx.2 j hj a s hs ((h.scale j a).trans he)⟩ |
| 75 | |
| 76 | open Finset in |
| 77 | /-- Minimum shell floor to pay ALL stencils (even before a k-grid choice). |
| 78 | Enlargements specified with further `shells,growth` requests after L. |
| 79 | -/ |
| 80 | def entrance (s : Survey G) (j : ℕ) := |
| 81 | (range (j+1)).sup (fun d => (s.B.entry d).stencil.sup fun x => univ.sup fun i => 20*((x i).natAbs+1)) |
| 82 | |
| 83 | /-- constant shell floor to put every larger-patch theorem on the same torus. -/ |
| 84 | def required (j : ℕ) (L : ℕ) : ℕ := 100*((j+3)*L+4*L)+2 |
| 85 | |
| 86 | variable {s : Survey G} {K : MapPrices} {q : Quote} {e : ℕ → ℕ → Exchange} {v : ℕ → ℕ} |
| 87 | variable {D : Rolls (s.paper q v)} {Θ : Protection D} |
| 88 | |
| 89 | def Duo (B : Beam K D) (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (Θ : Protection D) |
| 90 | (j i : ℕ) (c x : ℝ) := |
| 91 | BandGate s q (e j i) Instrument.plain (F j i) j i (D.L j).val (Θ.theta j) (Θ.theta i) ((B.price F).g j) c x ∧ |
| 92 | BandGate s q (e j i) Instrument.chorus (F j i) j i (D.L j).val (Θ.theta j) (Θ.theta i) ((B.price F).g j) c x |
| 93 | |
| 94 | /-- Numeric results before a Bar. -/ |
| 95 | structure Regime (B : Beam K D) (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (V : Delays Θ) : Prop where |
| 96 | prices : Stock.Priced V |
| 97 | starts j : ∀ x ≥ V.betaEntry j, Duo B e F Θ j j 0 x |
| 98 | all j i : Adj j i → ∀ x ≥ V.betaEntry j, Duo B e F Θ j i (G.slopeConstant * Real.log (D.L j).val) x |
| 99 | big j : required j (D.L j).val ≤ V.shells j ∧ entrance s j ≤ V.shells j |
| 100 | |
| 101 | lemma Regime.carry {B : Beam K D} {F : ℕ → ℕ → Postage} {V W : Delays Θ} (g : Regime B e F V) (h : Boost V W) : Regime B e F W := |
| 102 | ⟨h.priced g.prices,fun i b hh => g.starts i b ((h.beta i).trans hh), |
| 103 | fun j i hx b hh => g.all j i hx b ((h.beta j).trans hh), |
| 104 | fun j => ⟨(g.big j).1.trans (h.shells j), (g.big j).2.trans (h.shells j)⟩⟩ |
| 105 | |
| 106 | /-- Two calls to `BandGate.authorize`, different threshold shape |
| 107 | (same hatted β). -/ |
| 108 | lemma Duo.sample (B : Beam K D) (F) (Θ : Protection D) (hw : ∀ i, Θ.theta i ≤ 1) |
| 109 | (h : Prepaid s K q e v) (j i) (hh : Adj j i) (c : ℝ) : ∀ᶠ x in atTop,Duo B e F Θ j i c x := by |
| 110 | let P := B.price F |
| 111 | have he (M : Instrument) : ∀ᶠ x in atTop, |
| 112 | BandGate s q (e j i) M (F j i) j i (D.L j).val (Θ.theta j) (Θ.theta i) (P.g j) c x := |
| 113 | BandGate.authorize j i _ _ _ _ c (h.each D j i hh) (Θ.pos j) (Θ.dec hh.1) (hw j) (P.posG j) (B.leg F hh).2.2 |
| 114 | exact (he Instrument.plain).and (he Instrument.chorus) |
| 115 | |
| 116 | /-- Existence and upgrade over all bill requests phrased in `Delays`. May |
| 117 | therefore use with any other *post-L* β bills (e.g. threshold for the o_L term |
| 118 | in a transition, simultaneous restart data). -/ |
| 119 | lemma Regime.issue (Gsimple : G.Simple) (B : Beam K D) (F : ℕ → ℕ → Postage) |
| 120 | (hw : ∀ i, Θ.theta i ≤ 1) (V : Delays Θ) (h : Prepaid s K q e v) : |
| 121 | ∃ W : Delays Θ, Boost V W ∧ Regime B e F W := by |
| 122 | let c j := G.slopeConstant * Real.log (D.L j).val |
| 123 | have hh := fun i j hg u => Duo.sample B F Θ hw h i j hg u |
| 124 | have hi (j : ℕ) : Adj j j := ⟨le_rfl,Nat.le_succ _⟩ |
| 125 | have hj (j : ℕ) : Adj j (j-1) := by constructor <;> omega |
| 126 | choose x hx using fun j => eventually_atTop.1 <| ((hh j j (hi j) (0:ℝ)).and |
| 127 | ((hh j j (hi j) (c j)).and (hh j (j-1) (hj j) (c j)))) |
| 128 | let W : Delays Θ := { V with |
| 129 | betaEntry := fun j => max (V.betaEntry j) (x j) |
| 130 | shells := fun j => max (V.shells j) (max (required j (D.L j).val) (entrance s j)) } |
| 131 | obtain ⟨U,hb,hv,hs,hg,Hu⟩ := Stock.raises W Gsimple |
| 132 | have hU : Boost V U := Boost.chain (W:=W) ⟨fun i => le_max_left ..,le_rfl,fun i => le_max_left ..,le_rfl⟩ ⟨hb,hv,hs.le,hg.le⟩ |
| 133 | have hJ (j) (b : ℝ) (h : U.betaEntry j ≤ b) := hx j b ((le_max_right ..).trans ((hb j).trans h)) |
| 134 | refine ⟨U,hU,Hu,fun j b hh => (hJ j b hh).1,?_,?_⟩ |
| 135 | · intro j i hh b hV; rcases hh.cases_back with hi | hi <;> subst i |
| 136 | · exact (hJ j _ hV).2.1 |
| 137 | exact (hJ j _ hV).2.2 |
| 138 | intro j; rw [← hs]; exact ⟨le_max_of_le_right (le_max_left ..),le_max_of_le_right (le_max_right ..)⟩ |
| 139 | |
| 140 | /-- Relative to RStep proofs needing Ringing. Use any actual prior |
| 141 | Radio assignment. -/ |
| 142 | def Transmitting (R : Radios K D) (V : Delays Θ) := ∀ j i, Adj j i → R.floorBeta j i ≤ V.betaEntry j |
| 143 | |
| 144 | lemma Transmitting.ringing {R : Radios K D} {V : Delays Θ} (h : Transmitting R V) : Ringing K R.W V := |
| 145 | ⟨fun i j ha hb hc => ⟨R.station _ _, R.strength j i, R.sound _ _, fun b ht => |
| 146 | R.reaches j i ⟨ha,hb⟩ hc b ((h j i ⟨ha,hb⟩).trans ht)⟩⟩ |
| 147 | |
| 148 | lemma Radios.transmit (Gsimple : G.Simple) (B : Beam K D) (F) (hw : ∀ i, Θ.theta i ≤ 1) |
| 149 | (h : Prepaid s K q e v) (R : Radios K D) (V : Delays Θ) : |
| 150 | ∃ W : Delays Θ, Boost V W ∧ Regime B e F W ∧ Transmitting R W := by |
| 151 | let Q : Delays Θ := { V with betaEntry := fun i => max (V.betaEntry i) (max (R.floorBeta i i) (R.floorBeta i (i-1))) } |
| 152 | obtain ⟨W,H,hW⟩:=Regime.issue Gsimple B F hw Q h |
| 153 | refine ⟨W, Boost.chain (W:=Q) ⟨fun j => le_max_left ..,le_rfl,le_rfl,le_rfl⟩ H,hW,fun j i hz => le_trans ?_ (H.beta j)⟩ |
| 154 | refine le_max_of_le_right ?_; rcases hz.cases_back with h|h <;> subst i |
| 155 | · exact le_max_left .. |
| 156 | exact le_max_right .. |
| 157 | |
| 158 | /-- The ceiling `a` is arbitrary and may include all the requested post-L |
| 159 | powers for that pair of neighboring profiles (Λ envelope work). -/ |
| 160 | lemma temper {P : Sheet G} (D : Rolls P) (a : ℕ → ℝ) (hh : ∀ j,0<a j) : |
| 161 | ∃ Θ : Protection D,(∀ i, Θ.theta i ≤ 1) ∧ ∀ i, Θ.theta i ≤ a i := by |
| 162 | obtain ⟨Θ,hΘ⟩ := Protection.exists_margin D (fun i => min 1 (a i)) fun i => lt_min zero_lt_one (hh i) |
| 163 | exact ⟨Θ,fun i => (hΘ i).trans (min_le_left ..), fun i => (hΘ i).trans (min_le_right ..)⟩ |
| 164 | end YM.Next.Scheduling |