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.Next.SCHEDULE.Dues |
| 2 | import YM.Progress.DIRECTED_RECIPE.Batch |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Recipe from the kinetic plan |
| 7 | |
| 8 | The choice of recipe will include fixed paths *across periods*, ancestry indexed |
| 9 | by N, and the obligations to bake at each level. Numbering like `Calendar.op`: |
| 10 | step is m+1 to m. All price rows frozen before choosing Bar, incl pre-L charges |
| 11 | (e), after-L envelopes (F) and numerical delay tests (`Regime`). |
| 12 | |
| 13 | Not arbitrary Lawful inputs: use `PeriodFuture` as the retain predicate. Only |
| 14 | actual Wilson replays, with surviving inputs and accountable predecessors, can |
| 15 | be used for further advents. No assumption on results staying within the band. |
| 16 | Continuity tests separate. In particular being offered a Curve on `[l,u]` of |
| 17 | such representatives does *not* require as input that it is the continuous output of a single |
| 18 | trial trajectory. Each point will nevertheless have these certificates, (whenever the numerical and upstream plan premises used below hold), and the |
| 19 | step implication we use must hold on the whole parameter set as stated. |
| 20 | |
| 21 | Recall is important if wanting to restrict to particular integration algorithms |
| 22 | subsequently. Here the flags, names, pre-assembly census (at that point), actual |
| 23 | density relations and uniformity receipts are enough. If needing extra |
| 24 | fine-to-coarse genealogy inside integrations (e.g., specific ports for marks), |
| 25 | clients may use `Permissions` to track such point/edge properties. This *costs |
| 26 | new proofs* on actual outputs. No claim of automatic extra marker funding or |
| 27 | that the Programs for distinct choices are the same! Default recipe has no such |
| 28 | extra filters; all the estimates required in even this case are substantive. |
| 29 | -/ |
| 30 | |
| 31 | set_option autoImplicit false |
| 32 | noncomputable section |
| 33 | namespace YM.Progress.DirectedRecipe |
| 34 | |
| 35 | open Function Set RG Wilson Lattice RG.Shoot Ovens Ovens.Pipes Input Precision |
| 36 | open Next.Scheduling RG.Supply MeasureTheory |
| 37 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 38 | |
| 39 | variable {G : Gauge} {a : Levels G} {M : Horizon a} {O : ChartRatio G} |
| 40 | variable (k : Kin M O) (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) |
| 41 | |
| 42 | section Bills |
| 43 | /-- The fees in this recipe are from `recloses`; `e` pre-L, |
| 44 | `F` after L (both i=j and i=j-1). Need to produce estimates of these |
| 45 | shapes or better already at these prices; will not derive nonlinear cost |
| 46 | assertions as implied by scheduling. -/ |
| 47 | def portion (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (a : Levels G) (m : ℕ) (β : ℝ) := |
| 48 | let C := a.clock; let j := C.J (m+1); let i := C.J m; let c := (e j i).cost; let f := F j i |
| 49 | c * f.switch Instrument.plain c (a.S.block m).val (C.theta j) (C.hatBeta m) |
| 50 | (C.hatBeta (m+1)) (Clock.gap β) |
| 51 | |
| 52 | def Echarge (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (a : Levels G) (m : ℕ) (β : ℝ) := |
| 53 | let C := a.clock; let j := C.J (m+1); let f := F j (C.J m) |
| 54 | portion e F a m β + f.bundle Instrument.plain (C.theta j) (C.hatBeta m) (C.hatBeta (m+1)) * (C.threshold m)^(3:ℕ) |
| 55 | |
| 56 | def Kcharge (F : ℕ → ℕ → Postage) (a : Levels G) (m : ℕ) (β : ℝ) := |
| 57 | let C := a.clock; let j := C.J (m+1); let f := F j (C.J m) |
| 58 | f.H * Real.exp (-f.rate * ((C.threshold (m+1))/Clock.gap β)^(2:ℕ)) |
| 59 | |
| 60 | -- v' in exponent normalized per Site at scale m, NOT by number of bonds |
| 61 | |
| 62 | def flatRate (a : Levels G) (m p : ℕ) (Q : Rep G (a.S.side (m+1) p)) : ℝ := |
| 63 | Real.log ((a.clock.op m p).push Q.beta Q.eval 1) / Fintype.card (Site (a.S.side m p)) |
| 64 | |
| 65 | def fromTop (N p : ℕ) (β : ℝ) (X : Pipes G (a.S.side N p)) (d : Tap G (a.S.side N p)) := |
| 66 | finish (k.path N N) (a.params N).clip (a.budget N) X d β 0 |
| 67 | |
| 68 | def receive (N m p : ℕ) (Q : Rep G (a.S.side (m+1) p)) (Δ : ℝ) (X : Pipes G (a.S.side m p)) (d : Tap G (a.S.side m p)) := |
| 69 | finish (k.path N m) (a.params m).clip (a.budget m) X d (Q.beta + k.alpha N m + Δ) (flatRate a m p Q) |
| 70 | end Bills |
| 71 | |
| 72 | /-- Can bind to particular ingress or include extra estimates. Quantified so |
| 73 | that producer MUST discharge any such further requirements. -/ |
| 74 | structure Permissions (a : Levels G) where |
| 75 | starts (N p : ℕ) (β : ℝ) (X : Pipes G (a.S.side N p)) (d : Tap G (a.S.side N p)) : Prop |
| 76 | follows (N m p : ℕ) (Q : Rep G (a.S.side (m+1) p)) (Δ : ℝ) |
| 77 | (X : Pipes G (a.S.side m p)) (d : Tap G (a.S.side m p)) : Prop |
| 78 | |
| 79 | def permissions (a : Levels G) : Permissions a := ⟨fun _ _ _ _ _ => True, fun _ _ _ _ _ _ _ => True⟩ |
| 80 | |
| 81 | variable (r : Permissions a) |
| 82 | |
| 83 | /-- Exact upstream RCake input fees (not from Kin alone). Does not assume |
| 84 | recipe retain or anything about labels coming out of the gathering. Later |
| 85 | also need per-band readiness using ONE X and fixed tests through β. -/ |
| 86 | structure SurfacePay (N p : ℕ) (β : ℝ) (X : Pipes G (a.S.side N p)) (d : Tap G (a.S.side N p)) : Prop where |
| 87 | ingredients : Ingredients X d (a.budget N) (a.clock.allowance N) (a.clock.forcedAllowance N) |
| 88 | matches_raw U : (trunk (k.path N N) (a.params N).clip (a.budget N) X d β 0).eval U * |
| 89 | Real.exp (∑' l, d.logarithm l U) = Wilson.bare β U |
| 90 | permit : r.starts N p β X d |
| 91 | |
| 92 | /-- One possible set of invoices to RAdvances/estimation tasks, in the |
| 93 | faithful parameter conventions of this Schedule. Input β in triggering band |
| 94 | when these are asked for. X = real labelled population *before* final |
| 95 | forced attachment accounting. Need estimates on actual outputs of RG (e.g. |
| 96 | after recovering support powers from inherited supports), not projections from |
| 97 | regime inequalities. Quote has to pay K with the strong post-L reserve. Ratio |
| 98 | in `splitting` includes all canonical pieces in `trunk.path`, genuine coupled |
| 99 | block integral using `Q.beta` and real V, with indicators only as in RG. The |
| 100 | per-site scalar will be obtained separately. We expose this precursor, not a |
| 101 | proof of these integral estimates or of the kinetic correction algorithm. |
| 102 | See . -/ |
| 103 | structure BatchPay (N m p : ℕ) (Q : Rep G (a.S.side (m+1) p)) (Δ : ℝ) |
| 104 | (X : Pipes G (a.S.side m p)) (d : Tap G (a.S.side m p)) : Prop where |
| 105 | ingredients : Ingredients X d (a.budget m) (Echarge e F a m Q.beta) (Kcharge F a m Q.beta) |
| 106 | splitting U : (trunk (k.path N m) (a.params m).clip (a.budget m) X d (Q.beta + k.alpha N m + Δ) 0).eval U * |
| 107 | Real.exp (∑' i, d.logarithm i U) = |
| 108 | (a.clock.op m p).push Q.beta Q.eval U / (a.clock.op m p).push Q.beta Q.eval 1 |
| 109 | bill : (a.clock.threshold m)^(2:ℕ) * |Δ| ≤ portion e F a m Q.beta |
| 110 | permit : r.follows N m p Q Δ X d |
| 111 | |
| 112 | /-- The *finer* levels, exact period. Index N cutoff as usual. At no point |
| 113 | assume the current output can make a new transfer. -/ |
| 114 | inductive PeriodFuture (k : Kin M O) (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (r : Permissions a) |
| 115 | (N p : ℕ) : (m : ℕ) → Rep G (a.S.side m p) → Prop |
| 116 | | begin {β X d} : β ∈ band a N → SurfacePay k r N p β X d → PeriodFuture k e F r N p N (fromTop k N p β X d) |
| 117 | | struck {m} {Q Δ X d} : m < N → PeriodFuture k e F r N p (m+1) Q → Q.beta ∈ band a (m+1) → |
| 118 | BatchPay k e F r N m p Q Δ X d → PeriodFuture k e F r N p m (receive k N m p Q Δ X d) |
| 119 | |
| 120 | def recipe : Recipe a where |
| 121 | path := k.path |
| 122 | retain N m p := PeriodFuture k e F r N p m |
| 123 | first N p u := u.beta∈band a N ∧ |
| 124 | ∃ X d, SurfacePay k r N p u.beta X d ∧ u = fromTop k N p u.beta X d |
| 125 | next N m p u v := m<N ∧ v.beta ∈ band a (m+1) ∧ |
| 126 | ∃ Δ X d, BatchPay k e F r N m p v Δ X d ∧ u = receive k N m p v Δ X d |
| 127 | |
| 128 | /-- The directed choice on a SOMEDAY funded Schedule. Parametric in any |
| 129 | stage/paid data where the *same* Levels, Horizon and (post-L) path plan are |
| 130 | paid. This is the constructor; the substantive readiness of its predicates |
| 131 | for the kickoff and for all rollout calls is in the accompanying theorems. |
| 132 | No assertion that there is ever a `Kin.Planned` (nor that different numerical |
| 133 | prices than used here automatically support the reclosure theorems). -/ |
| 134 | def prepared {P : Sheet G} {D : Rolls P} {T : Protection D} {W : Delays T} {Y : Bar W} {I : Wait Y} |
| 135 | {K : MapPrices} {F' : PostCost D} (h : Paid I a) (hM : M.Suffices K) |
| 136 | (ho : LocalRatio O) (hk : k.Planned F') : Directed G I O K F' := |
| 137 | ⟨a,h,ho,M,k,hM,hk,recipe k e F r,rfl⟩ |
| 138 | |
| 139 | section Storage |
| 140 | variable {k e F r} {N m p : ℕ} {R : Rep G (a.S.side m p)} {Q : Rep G (a.S.side (m+1) p)} |
| 141 | lemma starter {X d β} (v : SurfacePay k r N p β X d) (w : β ∈ band a N) (e F) : |
| 142 | (recipe k e F r).Starter N p (fromTop k N p β X d) := by |
| 143 | refine ⟨rfl,?_, w,_,_,v,rfl⟩ |
| 144 | funext U |
| 145 | exact (v.ingredients.unshifted (k.path N N) (a.params N).clip β 0 U).trans (v.matches_raw U) |
| 146 | |
| 147 | namespace PeriodFuture |
| 148 | lemma pockets (h : PeriodFuture k e F r N p m R) : |
| 149 | m ≤ N ∧ R.p = a.budget m ∧ R.path = k.path N m ∧ R.clip = (a.params m).clip ∧ |
| 150 | HasSlots (a.budget m) R.activities := by |
| 151 | cases h with |
| 152 | | begin w h => exact ⟨le_rfl,rfl,rfl,rfl, h.ingredients.spare_room ..⟩ |
| 153 | | struck hj H hq h => exact ⟨hj.le,rfl,rfl,rfl,h.ingredients.spare_room ..⟩ |
| 154 | end PeriodFuture |
| 155 | |
| 156 | lemma actual_eval {X d Δ} (h : BatchPay k e F r N m p Q Δ X d) |
| 157 | (hp : 0 < (a.clock.op m p).push Q.beta Q.eval 1) : |
| 158 | (receive k N m p Q Δ X d).eval = (a.clock.op m p).push Q.beta Q.eval := by |
| 159 | funext U |
| 160 | unfold receive |
| 161 | rw [h.ingredients.exact_eval,h.splitting,flatRate,div_mul_cancel₀ _ ?_,Real.exp_log hp,mul_div_cancel₀ _ hp.ne'] |
| 162 | exact_mod_cast (Fintype.card_ne_zero (α:=Site (a.S.side m p))) |
| 163 | end Storage |
| 164 | end YM.Progress.DirectedRecipe |