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.Push.PRICE_COMPILER.Compiler |
| 2 | import YM.Push.PRICE_COMPILER.PathBudget |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Kernel & path-facing consumer (conditional) |
| 7 | |
| 8 | This file exposes examples of exact sufficient hypotheses on the actual path |
| 9 | presentations, and uses them downstream. `PathInputs` could be produced on the |
| 10 | same Levels after every prescribed additional floor/delay. They are local raw |
| 11 | transfer ESTIMATES of amounts (shape of E `r34cap`,`b2loop`) and exact kernel |
| 12 | algebra obligations. They are **NOT** known. Use of the hypotheses pays the |
| 13 | costs through *every step*, not assuming the Amount or theta Cap handoffs have |
| 14 | worked. Nor does it ignore arbitrary within-index history. At the use have a |
| 15 | `Permit`: no assumptions about Directed or a realized vacuum. |
| 16 | |
| 17 | `KineticRemainder` below is for a further optional consumer (includes full |
| 18 | matching assumptions not needed for Teller price use). |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.Push.PriceCompiler |
| 24 | open Filter Function Lattice RG RG.Supply Wilson Precision Pressure Bid Tree Exterior Bloch |
| 25 | open scoped Topology Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 26 | |
| 27 | variable {G : Gauge} |
| 28 | |
| 29 | def Budgeted (a : Levels G) (m : ℕ) (R : PathData G) := |
| 30 | let b := a.params m |
| 31 | R.Bounds b.clip b.width b.paths (a.clock.loopCap m) |
| 32 | |
| 33 | /-- Shape of a physical transfer cost estimate. Only when *input* |
| 34 | already bounded. The buy signal includes an input width test of the form |
| 35 | numerator/L ≤ σ/2 (compare ); widths needed on the returned |
| 36 | estimates are committed once and for all. No bad per-use erosion, also |
| 37 | when `j=i`. A margin `2σ_out ≤ pre-L offered rate` is given for proving |
| 38 | the output bounds. Return a bound at the committed `σ_out` (not asked |
| 39 | for the higher-width estimate after the proof). |
| 40 | |
| 41 | Should prove estimates e.g., by induction from top; may be an implication |
| 42 | at each application under additional numerical gates that one has bought and |
| 43 | shown. This statement does not purchase them. Keep actual path labels; cone |
| 44 | price uses both normalization and actual exponential LENGTH mass. -/ |
| 45 | structure TransferPrices (P : Before) (a : Levels G) (m : ℕ) (R U : PathData G) : Prop where |
| 46 | provides : |
| 47 | let L := (a.S.block m).val |
| 48 | let j := a.clock.J (m+1) |
| 49 | let i := a.clock.J m |
| 50 | let b := a.params m |
| 51 | let C := classicalCost (P.amount.sends j i) L (a.params (m+1)).paths |
| 52 | let v := P.slopePrices |
| 53 | 2*b.width ≤ P.opening.transfers j i → |
| 54 | v.inputStrip j i / L ≤ (a.params (m+1)).width / 2 → |
| 55 | Budgeted a (m+1) R → |
| 56 | Normalized U b.clip ∧ |
| 57 | PathMass U b.width C (v.cost j i L (a.clock.loopCap (m+1))) C C |
| 58 | |
| 59 | /-- For each cutoff and all steps on the issued calendar. Actual weighted |
| 60 | row/canonical estimates with all normalizations & counting still required; |
| 61 | not `Kin.Planned`. Note quote `sends` must include the pre-L row estimates as |
| 62 | well, not just the cubic/quartic coefficients. -/ |
| 63 | structure PathInputs (P : Before) (a : Levels G) (R : ℕ → ℕ → PathData G) : Prop where |
| 64 | top (N : ℕ) : |
| 65 | let j := a.clock.J N |
| 66 | let b := a.params N |
| 67 | let C := P.amount.born j |
| 68 | 2*b.width ≤ P.opening.born j → Normalized (R N N) b.clip ∧ PathMass (R N N) b.width C 0 C C |
| 69 | steps N m : m < N → TransferPrices P a m (R N (m+1)) (R N m) |
| 70 | |
| 71 | namespace Permit |
| 72 | variable {P : Before} {f : ℕ → ℕ} {D : Rolls (P.sheet G f)} |
| 73 | {M : Preparations P D} {T : Protection D} {W : Delays T} {Y : Bar W} {I : Wait Y} |
| 74 | {a : Levels G} (h : Permit M I a) |
| 75 | include h |
| 76 | |
| 77 | theorem transfer {m : ℕ} {R U : PathData G} (hu : TransferPrices P a m R U) (hR : Budgeted a (m+1) R) : |
| 78 | Budgeted a m U := by |
| 79 | let j := a.clock.J (m+1); let i := a.clock.J m |
| 80 | let L := (a.S.block m).val |
| 81 | have he : StepStages j i := step_paid a m |
| 82 | have hb := h.pre.at_edge h.paid m |
| 83 | obtain ⟨hn,hp⟩ := hu.provides (by rw [params_eq h.paid]; exact P.opening.transfers_ge he) |
| 84 | (by rw [params_eq h.paid]; exact hb.phase) hR |
| 85 | let q := a.params m |
| 86 | let b := a.params (m+1) |
| 87 | have hw : classicalCost (P.amount.sends j i) L b.paths ≤ q.paths := by |
| 88 | unfold b q; rw [params_eq h.paid, params_eq h.paid]; exact hb.cap |
| 89 | have hg := hp.mono q.width_pos le_rfl hw (h.loopCost m) hw hw |
| 90 | exact hg.bounds hn le_rfl le_rfl le_rfl |
| 91 | |
| 92 | theorem budgets {R : ℕ → ℕ → PathData G} (g : PathInputs P a R) (N m : ℕ) (hm : m ≤ N) : Budgeted a m (R N m) := by |
| 93 | induction hm using Nat.decreasingInduction with |
| 94 | | self => |
| 95 | obtain ⟨hs,hp⟩ := g.top N (by rw [params_eq h.paid]; exact P.opening.born_ge _) |
| 96 | have he : P.amount.born (a.clock.J N) ≤ (a.params N).paths := by |
| 97 | rw [params_eq h.paid]; exact P.amount.born_le _ |
| 98 | have hx := hp.mono (a.params N).width_pos le_rfl he ((show (0:ℝ) ≤ 2 by norm_num).trans (cap_ge a N)) he he |
| 99 | exact hx.bounds hs le_rfl le_rfl le_rfl |
| 100 | | of_succ k hk H => exact h.transfer (g.steps N k hk) H |
| 101 | |
| 102 | |
| 103 | |
| 104 | /-- Spend the stationary price on *actual* `Budgeted` (e.g., any input |
| 105 | above after `budgets`). Require Horizon estimates and compatible |
| 106 | read A,A0,T and Sworn etc. Can't assert a uniformly analytic radius from |
| 107 | this, or anything stronger than the Scene χ at this price. -/ |
| 108 | theorem called {V : Horizon a} (ha : V.Suffices (P.frozen G)) |
| 109 | {R : PathData G} (N m p : ℕ) (hg : m < N) (F : Forest (a.clock.op m p).ratio) |
| 110 | (hR : Budgeted a (m+1) R) (hx : Attached (V.H N (m+1)) R) (ho : Sworn (V.H N (m+1)) (a.S.side (m+1) p) G) : |
| 111 | let S := a.clock.op m p |
| 112 | let b := (a.params (m+1)).clip |
| 113 | let j := a.clock.J (m+1) |
| 114 | PriceGap F b R (M.gap j) ∧ ∃ ρ, Critical F b R ρ ∧ |
| 115 | Guessed F (installed S.ratio (V.towers N m).A0) ρ ∧ HeatG F b R ρ (V.H N m) := |
| 116 | M.scenes.asks _ _ _ (a.clock.op m p) h.paid.kernel (block_eq h.paid m) rfl (h.larger m p) F |
| 117 | _ _ _ _ R _ _ _ _ _ _ (V.towers N m) (ha.crossings N m p hg) (ha.all N (m+1) hg _) hR |
| 118 | hx ho (ha.all N m hg.le _) |
| 119 | omit h in |
| 120 | /-- The Tube obtained from the actual path & towers. -/ |
| 121 | def tube (V : Horizon a) (R : ℕ → ℕ → PathData G) (N m p : ℕ) : Tube G (a.clock.op m p) := |
| 122 | ⟨V.towers N m,R N (m+1), (a.params (m+1)).clip,R N m,(a.params m).clip⟩ |
| 123 | |
| 124 | /-- Purchases even with no known loop identification or Directed. -/ |
| 125 | theorem tickets {R : ℕ → ℕ → PathData G} (hx : PathInputs P a R) |
| 126 | {V : Horizon a} (ha : V.Suffices (P.frozen G)) |
| 127 | (hr : ∀ N m, m ≤ N → Attached (V.H N m) (R N m)) (N m p : ℕ) (hc : m<N) : |
| 128 | let j := a.clock.J (m+1); let i := a.clock.J m |
| 129 | let S := a.clock.op m p; let Q := tube V R N m p |
| 130 | Teller.Funds (Testing.query (P.sheet G f) (P.frozen G) j i) S Q ∧ |
| 131 | ∀ (A : Stores S) (U : Config G _) (k : S.Choices) (X : Config G _) (F : Forest S.ratio), |
| 132 | Stores.SliceSet S F U → Stores.Plot A U k X (a.clock.hatBeta m) (M.w j i) → |
| 133 | M.rate j * (a.clock.threshold (m+1))^2 * A.shares ≤ A.assessed Q (a.clock.hatBeta m) U (S.prediction U k) X := by |
| 134 | intro j i S Q |
| 135 | let q := Testing.query (P.sheet G f) (P.frozen G) j i |
| 136 | have hi : (a.params m) = q.below := congr_fun h.paid.stage i |
| 137 | have hj : (a.params (m+1)) = q.top := congr_fun h.paid.stage j |
| 138 | have hy : Teller.Funds q S Q := by |
| 139 | refine ⟨h.paid.kernel, rfl, (P.sheet G f).has _, ha.costs N m hc, |
| 140 | congr_arg Stage.clip hi, congr_arg Stage.clip hj, ?_, ?_⟩ |
| 141 | · obtain he := h.budgets hx N m hc.le |
| 142 | obtain hh := h.budgets hx N (m+1) hc |
| 143 | rw [← hi, ← hj]; exact ⟨_,_,hh,he⟩ |
| 144 | exact ⟨_,_,hr _ _ hc,hr _ _ hc.le,ha.stack N m p hc⟩ |
| 145 | exact ⟨hy,M.charges.ticket h.post.entry h.paid m p Q hy⟩ |
| 146 | end Permit |
| 147 | |
| 148 | /-- Residual physical input for the `kinetic` consumer. Include actual |
| 149 | sign conventions and full period matching. The estimates of PathInputs |
| 150 | *don't* imply any of these. For this cut they are asked just on given |
| 151 | Levels; a producer will have to find conditions for which they can be |
| 152 | met over all required Rolls (set `kernel` etc. floors at pre-L service and |
| 153 | post-L bar demands). Here if using existing Scene choice callable for all F, |
| 154 | it suffices to supply matches for the resulting critical solutions. We don't |
| 155 | postulate any relationship with a different theta/history. |
| 156 | -/ |
| 157 | structure KineticRemainder {P : Before} {f : ℕ → ℕ} {D : Rolls (P.sheet G f)} {a : Levels G} (V : Horizon a) |
| 158 | (M : Preparations P D) (q : AfterBill) (R : ℕ → ℕ → PathData G) (α : ℕ → ℕ → ℝ) : Prop where |
| 159 | peak N p j : j ≤ 4 → SameJet j (fun x => mainTerm (a.params N).clip (R N N) (represent (x:fieldDir G (a.S.side N p) 1))) |
| 160 | (fun x => Wilson.energy (represent x)) |
| 161 | err N m : m < N → let j := a.clock.J (m+1); let i := a.clock.J m |
| 162 | |α N m + G.slopeConstant * Real.log (a.S.block m).val| ≤ P.slopePrices.kineticErr j i |
| 163 | response N m : m < N → ∀ (p : ℕ) (F : Forest (a.clock.op m p).ratio), |
| 164 | let Y := R N (m+1); let X := R N m |
| 165 | let S := a.clock.op m p |
| 166 | let u := (a.params (m+1)).clip; let v := (a.params m).clip |
| 167 | let j := a.clock.J (m+1); let i := a.clock.J m |
| 168 | PriceGap F u Y (M.gap j) → ∀ ρ, Critical F u Y ρ → Guessed F (installed S.ratio (V.towers N m).A0) ρ → HeatG F u Y ρ (V.H N m) → |
| 169 | ClassicalMatch F u v Y X ρ ∧ FiniteBound F Y X u v (α N m) (Next.Foundations.chart G) ρ |
| 170 | (q.error j i) (q.decay j i) (a.clock.loopCap (m+1)) |
| 171 | |
| 172 | |
| 173 | end YM.Push.PriceCompiler |