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.Extra.ITERATION_NO_LOSS.Local |
| 2 | import YM.Extra.MULTISOURCE_TRAJECTORIES.Deletion |
| 3 | import YM.MergeProof.AngelW |
| 4 | import YM.Next.STATIONARY.FullPlanned |
| 5 | import YM.Next.UV_STRESS.Fringe |
| 6 | import YM.PhysicalNext.UNMASKED_THROUGH_LAUNCH.Merchant |
| 7 | |
| 8 | /-! Adapt sailsV with the corresponding bought retarget price. -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.PhysicalNext.ThroughLaunch |
| 12 | open Function Filter Lattice RG Source Wilson Precision RG.Supply Input |
| 13 | open WilsonStartup Further.StrongStartup Extra.Histories Next.Foundations Pressure Testing Org |
| 14 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 15 | variable {G : Gauge} |
| 16 | |
| 17 | def bearing (s : Sheet G) (T : MapPrices): MapPrices := (Change.retarget_arc s T).choose |
| 18 | /-- T : MapPrices here = the pre-quote used by free `H.Suffices`. Actual |
| 19 | *chosen* M gets the Builder quote from that T, regardless of later recalculated |
| 20 | minimum L. -/ |
| 21 | def currency (s : Sheet G) (T : MapPrices) (n : ℕ→ℕ) : Metals G := |
| 22 | ⟨raise s n,bearing s T,chart G,chart_ok G⟩ |
| 23 | |
| 24 | variable {s : Sheet G} {T : MapPrices} {n : ℕ → ℕ} {L : Rolls (raise s n)} {Θ : Protection L} {D : Delays Θ} |
| 25 | {Q : PostCost L} {Y : Bar D} {W : Wait Y} |
| 26 | |
| 27 | /-- Freeze the data on this output-calibration, witnesses for ALL history lengths and periods, |
| 28 | M is the post-facing kinetic choice (supplies actual unmasked station/path Hessian & alpha receipts, |
| 29 | higher-order shape etc. as in Kin.Planned). No awaiting a choice of cheap L in which |
| 30 | only kinetic penalties isolated are paid. `layer` recovers the earlier free and |
| 31 | thermal purchases for M (not for another orientation). -/ |
| 32 | structure Torrent {s : Sheet G} {n : ℕ → ℕ} {L : Rolls (raise s n)} |
| 33 | (O T : MapPrices) (l : ℕ → ℝ) (Q : PostCost L) |
| 34 | (a : Levels G) (M : Horizon a) (k : Kin M (chart G)) : Prop where |
| 35 | finalMap : M.Suffices (bearing s T) |
| 36 | paths : k.Planned Q |
| 37 | top i : k.path i i = Design.top G (a.params i).clip |
| 38 | layer : ∃ (X W : Horizon a) (u : Kin W (chart G)), Craft.Rack a O X ∧ Next.Free.Present a X l ∧ |
| 39 | Bid.Retained W X ∧ W.Suffices T ∧ Next.Free.Present a W l ∧ (∀ N m t, m ≤ N → Bid.Sworn (W.H N m) t G) ∧ |
| 40 | Stationary.FullPaths u Q ∧ k.path=Change.revised u ∧ k.alpha=u.alpha ∧ |
| 41 | (∀ N m p F, m+1 < N → k.stationary N m p F = u.stationary N m p F) ∧ Change.Overlay M W ∧ (∀ N m,m<N→ (M.towers N m).T=(W.towers N m).T) |
| 42 | |
| 43 | open Next.Scheduling Next.SectorChange |
| 44 | |
| 45 | -- PAY even if scheduling grows after this. These requirements available |
| 46 | -- on the j-height, not taken from a finally-chosen realization. |
| 47 | private lemma carG {E : Delays Θ} (h : Boost D E) (B : Extra.Multi.Scope) (t : Extra.Multi.Tariff) |
| 48 | (Y : Extra.Multi.Gated D B t (localSection G)) : Extra.Multi.Gated E B t (localSection G) := |
| 49 | ⟨h.priced Y.priced,fun i j x hp hv hx => Y.gates i j x hp hv ((h.beta j).trans hx)⟩ |
| 50 | private lemma carC {E : Delays Θ} (h : Boost D E) {Q : MapPrices} {g a X : ℕ → ℕ → ℝ} |
| 51 | (Y : Cosmos (chart G) Q D g a X) : Cosmos (chart G) Q E g a X := by |
| 52 | intro i j hj hv; obtain ⟨ha,hx,H⟩ := Y i j hj hv |
| 53 | exact ⟨ha,hx,fun x he=> H x ((h.beta i).trans he)⟩ |
| 54 | |
| 55 | /-- Pre knobs P chosen such that any higher AFTER floors/numbers called |
| 56 | below work. Pay on the actual input of a given StepData in the Typed |
| 57 | context. `O` here is the initial rack price, `T` the next from Free; no |
| 58 | renaming P to query in nonlinear inputs after applying Builder's quote |
| 59 | (this would be dependent on a later number). Epoch floor statuses are |
| 60 | synchronizable by choosing larger floors **before** Hull analysis. |
| 61 | -/ |
| 62 | structure PaidView (s : Sheet G) (O T : MapPrices) (l γ C : ℕ → ℝ) (p : Bid.Worth) |
| 63 | (t : Tariffs) (B : Extra.Multi.Scope) (v : ℕ → ℕ) : Prop where |
| 64 | slopePrice i : 0<γ i |
| 65 | suitable i : s.first ≤ i → Design.Suitable G (s.profile i) |
| 66 | liftL : s.floorL ≤ v |
| 67 | plan : Doors.Plans s C p |
| 68 | -- θ thresholds imposed later; shell growth can still be enlarged there |
| 69 | ship (n : ℕ→ℕ) (hn : v ≤ n) (L : Rolls (raise s n)) : |
| 70 | ∃ η : ℕ→ℝ, Stationary.BudgetGap (raise s n) L O η ∧ |
| 71 | ∀ Q : PostCost L, Q.η=η → 1 ≤ Q.Γ → Q.c ≤ γ → |
| 72 | ∀ (Θ : Protection L) (K : Extra.Multi.Tariff) (z : ℝ), 0 ≤ z → ∀ A : Delays Θ, |
| 73 | ∃ D : Delays Θ, Boost A D ∧ |
| 74 | ∃ F κ ℓ : ℕ → ℕ → ℝ,(∀ i j, z ≤ F i j) ∧ ∀ E : Delays Θ, Boost D E → |
| 75 | Prices (raise s n) t (localSection G) E.betaEntry ∧ Stock.Priced E ∧ |
| 76 | Ringing (bearing s T) F E ∧ Cosmos (chart G) (bearing s T) E F κ ℓ ∧ |
| 77 | ∀ (Y : Bar E) (W : Wait Y) (a : Levels G), Paid W a → Doors.Budget a C p ∧ |
| 78 | Extra.Multi.Prepared B K (localSection G) a ∧ ∃ (M : Horizon a) (k : Kin M (chart G)), Torrent O T l Q a M k |
| 79 | |
| 80 | |
| 81 | theorem brines (C : Supply.Sheet G) (K : MapPrices) (hc : ∀ i ≥ C.first,Design.Suitable G (C.profile i)) {n : ℕ → ℕ} {D : Supply.Rolls {C with floorL:=n}} |
| 82 | {Θ : Supply.Protection D} {W : Supply.Delays Θ} {Y : Supply.Bar W} {I : Supply.Wait Y} {a : Levels G} (hI : Supply.Paid I a) |
| 83 | {M : Horizon a} (hM : M.Suffices K) {O : ChartRatio G} (hO : LocalRatio O) {Q : PostCost D} |
| 84 | (kin : Kin M O) (hg : kin.Planned Q) : ∃ H : Horizon a, ∃ v : Kin H O, H.Suffices (bearing C K) ∧ v.Planned Q ∧ v.path=Change.revised kin ∧ |
| 85 | v.alpha=kin.alpha ∧ (∀ N m p F, m+1<N → v.stationary N m p F=kin.stationary N m p F) ∧ Change.Overlay H M ∧ |
| 86 | (∀ N m,m<N → (H.towers N m).T=(M.towers N m).T) := by |
| 87 | have hx (m) : Design.Suitable G (a.params m) := by |
| 88 | have hs := hI.firstZero ▸ a.fits.mono (Nat.zero_le m) |
| 89 | unfold Levels.params Calendar.params; rw [hI.stage]; exact hc _ hs |
| 90 | obtain ⟨H,h,hv,hK⟩ := (Change.retarget_arc C K).choose_spec a hI.stage (fun i => (hx i).direct) M hM |
| 91 | obtain ⟨v,h1,h2,h3,h4⟩ := Change.engine hv hO hg hx |
| 92 | exact ⟨H,v,h,h1,h2,h3,h4,hv,hK⟩ |
| 93 | |
| 94 | /-- No invoice for the analytic suppliers in later arcs: e.g. C chosen here |
| 95 | as input, not shown to work in any persistence or opportunity estimates later. -/ |
| 96 | theorem sailsV {K : KernelChoices} (hG : G.Simple) (hK : ∀ P : Patch, P.Branches K G) {o : Orders} (hp : Draft o) |
| 97 | (C : ℕ → ℝ) (hC : ∀ i, 1≤C i) : ∃ (s : Sheet G) (O T : MapPrices) (l γ : ℕ → ℝ) (p : Bid.Worth), |
| 98 | s.kernel = K ∧ WithStage s o ∧ ∀ (t : Tariffs) (B : Extra.Multi.Scope), ∃ v : ℕ → ℕ, PaidView s O T l γ C p t B v := by |
| 99 | obtain ⟨O,l,g,b,h,hT⟩ := Next.Free.before_paid (G:=G) K |
| 100 | obtain ⟨σ,A,he,hA,hP⟩ := Stationary.geared G hG O K g (fun i => (h.fit i).le) |
| 101 | obtain ⟨X,hX,hX',hx,hx'⟩ := housing hK hp b g σ h.fit he |
| 102 | obtain ⟨a,c,hY⟩ := Further.StrongStartup.shelves X (fun i _ => (hx' i).2.1) |
| 103 | let G' i := max (a i) (A i) |
| 104 | obtain ⟨Y,hj,hY',hu,h1,h2⟩ := buy_shelves X G' c |
| 105 | obtain ⟨hc,-⟩ := hY Y hj (fun i => let ⟨h1,h2,h3,h4,h5⟩ := h1 i; ⟨h1,h2,h3,(le_max_left ..).trans h4,h5⟩) |
| 106 | have ho : WithStage Y o := ⟨hj.trans hx.first,fun i=>(h1 i).2.2.1.trans (hx.jets _), fun i=>(h2 i).1.trans (hx.powers _), |
| 107 | fun i=>(h2 i).2.1.trans (hx.prices _)⟩ |
| 108 | let P i := (Y.profile i).width; let A' i := (Y.profile i).paths |
| 109 | have hσ : P ≤ σ := fun i => ((h1 i).2.1.trans (hx' i).2.2).le |
| 110 | have hs0 : A ≤ A' := fun i => (le_max_right ..).trans (h1 i).2.2.2.1 |
| 111 | obtain ⟨d,γ,u,-,hg,H⟩ := hP P A' hσ (fun i => (Y.profile i).width_pos) hs0 |
| 112 | have hY (i : ℕ) : (Y.profile i).clip.direct ≤ g i := by rw [(h1 i).1]; exact (hx' i).1 |
| 113 | obtain ⟨s,p,hs,hS,hc',hw,hB,hN,hQ⟩ := developer Y (hY'.trans hX) hc hY ho hp u d C hC |
| 114 | obtain ⟨T,h⟩ := hT s hs |
| 115 | obtain ⟨u,e,ht⟩ := Doors.afford s C p hc' |
| 116 | refine ⟨s,O,T,l,γ,p,hs,hS,fun t B => ?_⟩ |
| 117 | obtain ⟨v,r,hv,hr⟩ := Further.StrongStartup.prices s (bearing s T) B t (localSection G) hG |
| 118 | (fun i hi => (hQ i hi).direct) hN |
| 119 | let v' j := max (max (v j) (u j)) (B.ask j (s.profile j)) |
| 120 | have hv' : v ≤ v' := fun _ => le_trans (le_max_left ..) (le_max_left ..) |
| 121 | have hu' : u ≤ v' := fun _ => le_trans (le_max_right ..) (le_max_left ..) |
| 122 | |
| 123 | refine ⟨v',⟨hg,hQ,hv.trans hv',hc',fun n hn L => ?_⟩⟩ |
| 124 | have hV := hv'.trans hn |
| 125 | obtain ⟨x,y,hy,hZ⟩ := H (raise s n) hs ⟨hB.axis,hB.fields,hB.gradient, |
| 126 | fun i => (hB.days i).trans ((hv.trans hV) i)⟩ L |
| 127 | obtain ⟨hb,hr⟩ := hr n hV |
| 128 | refine ⟨y,hy,fun Q h1 h2 h3 Θ K z hz W => ?_⟩ |
| 129 | obtain ⟨Δ,hH⟩ := hZ Θ |
| 130 | let W' : Delays Θ := {W with shells:=fun i=> max (x i) (W.shells i), |
| 131 | betaEntry:=fun i=> max (W.betaEntry i) (max (e i) (Δ i))} |
| 132 | obtain ⟨D,hv₀,hv₁,hp₀,hp₁,hp₂,F,hF,hF',hG'⟩ := hr L K z hz Θ W' |
| 133 | obtain ⟨Q',hq',hq,h',hd,hU⟩ := Extra.Multi.raise_gates hG D B K (localSection G) |
| 134 | have hdB : Boost D Q' := ⟨h',hd,hq'.symm.le,hq.symm.le⟩ |
| 135 | obtain ⟨E,hDE,hF,hΓ,hΩ,hE⟩ := issue_cosmos (chart G) (bearing s T) (chart_ok G) Q' F (Bid.recheck hdB.beta hF) |
| 136 | have hDE' := hdB.chain hDE |
| 137 | have HW : Boost W' D := ⟨hp₁,hp₀,hv₀.symm.le,hv₁.symm.le⟩ |
| 138 | have hW : Boost W E := (Boost.chain (V:=W) (W:=W') ⟨fun _ => le_max_left ..,le_rfl,fun _ => le_max_right ..,le_rfl⟩ HW).chain hDE' |
| 139 | refine ⟨E,hW,F,hΓ,hΩ,hF',fun S hx => ?_⟩ |
| 140 | have hz := hDE'.chain hx; have hT := HW.chain hz |
| 141 | refine ⟨hb _ (le_trans hp₂ hz.beta), Boost.priced (hDE.chain hx) hU.priced, |
| 142 | Bid.recheck hx.beta hF, carC (s:=s) (n:=n) hx hE, fun X W A hA => ?_⟩ |
| 143 | obtain ⟨M,H,h₃,h₄,h₅,h₆,h₇,h₈⟩ := h (raise s n) rfl (fun _=>⟨rfl,le_rfl,le_rfl⟩) (fun i _=> hB.axis i) |
| 144 | (fun i _=> le_trans (show b i ≤ s.floorL i from (congr_fun ((hu).trans hX') i) ▸ hw i) ((hv.trans hV) i)) |
| 145 | L Θ S _ W A hA |
| 146 | have hK : Δ ≤ S.betaEntry := fun i => le_trans (le_max_right ..) ((le_max_right ..).trans (hT.beta i)) |
| 147 | obtain ⟨U,hU⟩ := hH S X W hK ((show x ≤ W'.shells from fun _=>le_max_left ..).trans hT.shells) Q h1 h2 h3 A hA M H h₃ h₅ |
| 148 | (chart G) (chart_ok G) |
| 149 | obtain ⟨J,j,H',Hj,hp,hp',ha,ha',haX⟩ := brines s T hQ hA h₆ (chart_ok G) U hU.linked |
| 150 | have hΓ (i) : j.path i i=Design.top G (A.params i).clip := hp ▸ if_pos rfl |
| 151 | refine ⟨ht n (hu'.trans hn) L A hA.lengths hA.stage (fun m => ?_), Extra.Multi.Gated.prepares S _ _ _ hN |
| 152 | (fun j=> le_trans (le_trans (le_max_right ..) (hn j)) (L.large j).need) (carG (s:=s) (n:=n) (hDE.chain hx) B K ‹Extra.Multi.Gated Q' B K (localSection G)›) hA, |
| 153 | J,j,H',Hj,hΓ, M,H,U, h₃,h₄,h₅,h₆,h₇,h₈,hU,hp,hp',ha,ha',haX⟩ |
| 154 | exact (le_trans (le_max_left ..) ((le_max_right ..).trans (hT.beta _))).trans (hA.pays _) |
| 155 | end YM.PhysicalNext.ThroughLaunch |