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.Canonical |
| 2 | import YM.UVNext.PRICED_KERNELS.Bridge |
| 3 | |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | |
| 9 | set_option linter.unusedSectionVars false |
| 10 | set_option linter.unnecessarySeqFocus false |
| 11 | |
| 12 | /-! |
| 13 | # Buying Before tables that the physical free kernels will honor |
| 14 | |
| 15 | In particular direct can actually be capped with a strict positive payment |
| 16 | (INCLUDING harmonic case) and launch orders nonempty, and there is room subsequently |
| 17 | e.g. to honor the price compiler's path-facing numerical requests plus actual canonical |
| 18 | row quotes on the retained repaired horizons. |
| 19 | |
| 20 | Issue ANY compatible tables before |
| 21 | considering L, and include b floors of Free in a request together with the unseen other |
| 22 | additional L asks (not using L!). |
| 23 | |
| 24 | Obtain joint existence **retaining** those free |
| 25 | kernels across Permit consumers. |
| 26 | |
| 27 | Same-stage edges included. |
| 28 | |
| 29 | Nonlinear work must still price estimates |
| 30 | IN THIS ORDER, not just observe some prices work at a first L. |
| 31 | -/ |
| 32 | set_option autoImplicit false |
| 33 | noncomputable section |
| 34 | namespace YM.UVNext.PricedKernels |
| 35 | open Filter Function Lattice RG RG.Supply Wilson Precision Craft Pressure |
| 36 | open Push.PriceCompiler |
| 37 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 38 | |
| 39 | variable {G : Gauge} |
| 40 | |
| 41 | /-- Keep ceilings on direct; never increase linear tail price (but may have |
| 42 | to lower it to remain legal). Provisional relaxation left alone. This use of |
| 43 | clips has a strictly positive per-index lower bound for each coefficient |
| 44 | (Clip fields), NOT a uniform-in-j one. Include a strict gap below 1 for possible |
| 45 | later E hypotheses (and harmonic safety); and if Catalog.fit inflates? at |
| 46 | stages ≥4 the producer itself had better ensure at most 1, but don't rely on |
| 47 | reversal of its bound. Clips can equivalently be proposed separately *after* |
| 48 | seeing Catalog with a certificate meeting the direct terms, see `issue`. |
| 49 | -/ |
| 50 | def cap (p : Clip) (γ : ℝ) (h : 0 < γ) : Clip where |
| 51 | direct := min (min p.direct (1/2)) γ |
| 52 | linear := min p.linear (min (min p.direct (1/2)) γ / 32) |
| 53 | relaxation := p.relaxation |
| 54 | quadratic_pos := lt_min (lt_min p.quadratic_pos (by norm_num)) h |
| 55 | tail_pos := lt_min p.tail_pos (div_pos (lt_min (lt_min p.quadratic_pos (by norm_num)) h) (by norm_num)) |
| 56 | kink := lt_of_le_of_lt (min_le_right ..) (by |
| 57 | have hx : 0 < min (min p.direct (1/2)) γ := lt_min (lt_min p.quadratic_pos (by norm_num)) h |
| 58 | linarith) |
| 59 | radius_pos := p.radius_pos |
| 60 | |
| 61 | |
| 62 | |
| 63 | /-- Replace the three clip and kernel-facing parts of provisional numerical inputs |
| 64 | while keeping κ/order/first unchanged. Construct actual-compatible canonical path |
| 65 | width and row quotes (costed on `preMap`, not X), and allow the caller to supply |
| 66 | actual other Opening, Amounts, LoopPrices etc numbers at the stipulated order. |
| 67 | Their own feasibility/compatibility not asserted. `late` below receives |
| 68 | installed LoopPrices too, to allow e.g. a relaxation need to depend on those |
| 69 | pre-L quotes. (Can instead assemble externally if wanting a different but |
| 70 | still pre-L DAG.) No function in these arguments receives actual L or any |
| 71 | post-L reports. Orders/first at least should already reflect any needed |
| 72 | budgets. We don't care here whether caps/amount are monotone externally since |
| 73 | the price compiler internally uses active common rates and pay envelopes. |
| 74 | -/ |
| 75 | structure EndNumbers where |
| 76 | relaxation : ℕ → ℝ |
| 77 | reserve : HaloBill |
| 78 | lead : ℕ → ℝ |
| 79 | columns : ℕ → ℝ |
| 80 | |
| 81 | structure Charges where |
| 82 | wants : (ℕ → Clip) → FlatBill → MapPrices → Openings |
| 83 | asks : (ℕ → Clip) → FlatBill → MapPrices → Openings → Amounts -- choose for installed Openings including width change |
| 84 | loops : (ℕ → Clip) → FlatBill → MapPrices → Openings → Amounts → LoopPrices |
| 85 | late : (ℕ → Clip) → FlatBill → MapPrices → Openings → Amounts → LoopPrices → EndNumbers |
| 86 | |
| 87 | |
| 88 | |
| 89 | def issue (G : Gauge) (p : Before) (Q : FlatBill) |
| 90 | (c : ℕ → Clip) (R : Charges) : Before := |
| 91 | let K := preMap (p.kernelChoice G) c Q G |
| 92 | let w := Canonical.orderWidth K (R.wants c Q K) |
| 93 | let a := Canonical.orderRows K (R.asks c Q K w) |
| 94 | let o := R.loops c Q K w a |
| 95 | let f := R.late c Q K w a o |
| 96 | { p with |
| 97 | clip := c, flat := Q, opening := w, amount := a, |
| 98 | slopePrices := o,relaxation:=f.relaxation,reserve:=f.reserve,lead:=f.lead,columns:=f.columns } |
| 99 | |
| 100 | |
| 101 | |
| 102 | lemma linear_paths (G : Gauge) (p : Before) (Q : FlatBill) (c : ℕ → Clip) (R : Charges) : |
| 103 | let P := issue G p Q c R |
| 104 | let K := preMap (p.kernelChoice G) c Q G |
| 105 | let w := R.wants c Q K |
| 106 | let a := R.asks c Q K P.opening |
| 107 | Canonical.Quotes (P.frozen G) P.opening P.amount ∧ P.opening.wish ≤ w.wish ∧ |
| 108 | a.born ≤ P.amount.born ∧ a.sends ≤ P.amount.sends := by |
| 109 | intro P K w a |
| 110 | obtain ⟨ht,hs,hq⟩ := Canonical.orderRows_quotes K w a |
| 111 | exact ⟨hq,Canonical.orderWidth_le K w,ht,hs⟩ |
| 112 | |
| 113 | /-- A stock of Direct choices after knowing γ (no need to rewrite linear if |
| 114 | already planning it on the actual smaller direct). -/ |
| 115 | structure Caps (first : ℕ) (γ : ℕ → ℝ) where |
| 116 | clips : ℕ → Clip |
| 117 | meets i : first ≤ i → (clips i).direct ≤ γ i |
| 118 | |
| 119 | |
| 120 | |
| 121 | section Issuance |
| 122 | variable (P : Before) (X : MapPrices) (l : ℕ → ℝ) |
| 123 | |
| 124 | /-- End-to-end quantitative schedules here, a reusable interface for *augmenting* |
| 125 | the various floors/delays at these orders. Also read local consumers/single |
| 126 | `wire` lemma to add to any other scheduling cuts if proving `Permit` there. |
| 127 | No universal or even on-this-schedule nonlinear estimates yet. |
| 128 | -/ |
| 129 | structure Built (G : Gauge) (P : Before) (X : MapPrices) (l : ℕ → ℝ) (g : ℕ → ℕ) : Prop where |
| 130 | pre : Before.Funded P G g |
| 131 | nonempty : Nonempty (Rolls (P.sheet G g)) |
| 132 | post (D : Rolls (P.sheet G g)) (w : ℕ → ℕ → ℝ) (η : ℕ → ℝ) : (∀ i, 0 < η i) → |
| 133 | ∃ M : Preparations P D, w ≤ M.w ∧ M.gap ≤ η ∧ |
| 134 | ∀ (q : AfterBill) (s : PostCost D → ℕ → ℝ), (∀ i, 0 < s (M.budget q) i) → |
| 135 | ∃ T : Protection D, T.theta ≤ s (M.budget q) ∧ ∀ V : Delays T, |
| 136 | ∃ W : Delays T, OrderedDelays W ∧ DelayLe V W ∧ ∀ U : Delays T, DelayLe W U → |
| 137 | M.Ledger U ∧ ∀ β : ℝ, ∃ Y : Bar U, β ≤ Y.value ∧ Nonempty (Wait Y) ∧ |
| 138 | ∀ I : Wait Y, ∃ a : Levels G, Permit M I a |
| 139 | receives {D : Rolls (P.sheet G g)} {M : Preparations P D} {T : Protection D} {W : Delays T} |
| 140 | {Y : Bar W} {I : Wait Y} {a : Levels G} : Permit M I a → ∃ B V : Horizon a, Wired P a X l B V |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | end Issuance |
| 147 | end YM.UVNext.PricedKernels |