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.Continuing |
| 2 | import YM.Push.PRICE_COMPILER.Flows |
| 3 | import YM.UVNext.PRICED_KERNELS.Seats |
| 4 | |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | |
| 10 | set_option linter.unusedSectionVars false |
| 11 | set_option linter.unnecessarySeqFocus false |
| 12 | |
| 13 | /-! |
| 14 | # Residual inputs on one Permit |
| 15 | |
| 16 | Use `Wired`, `Ways`/Canonical bills before solving path recursion. Expose |
| 17 | ONLY nonlinear atom estimates/choices on these actual objects, including |
| 18 | compatibility with whatever additional choices (if any) the full path generator needs. |
| 19 | No requests for proof of row budgets nor linear or scene or Teller costs. If using |
| 20 | another pre-schedule basis can also use these adapters locally wherever `Paid` meets |
| 21 | the issued Before. `KineticRemainder` is a separate input if pursuing α. |
| 22 | Don't conclude the required continuation predicates here. |
| 23 | -/ |
| 24 | set_option autoImplicit false |
| 25 | noncomputable section |
| 26 | namespace YM.UVNext.PricedKernels |
| 27 | open Filter Function Lattice RG RG.Supply Wilson Precision Craft Pressure Laurent Exterior Bloch |
| 28 | open Push.PriceCompiler Bid |
| 29 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 30 | variable {G : Gauge} |
| 31 | |
| 32 | /-- Actual nonlinear atom part of PathInputs. Keep loop jet signs and |
| 33 | invariance using PathData's own definitions, hence on the same labels. |
| 34 | Not asking l¹ without true path lengths. This module supplies the independent |
| 35 | linear (row) budget and attached normalizations. -/ |
| 36 | structure Atoms (σ two three four : ℝ) (Q : PathData G) : Prop where |
| 37 | loop : SumBudget (fun i => (Q.loop i).budget σ) two |
| 38 | cubic : SumBudget (fun i => (Q.cubic i).budget σ) three |
| 39 | quartic : SumBudget (fun i => (Q.quartic i).budget σ) four |
| 40 | invariant i : (Q.loop i).Invariant ∧ (Q.cubic i).Invariant ∧ (Q.quartic i).Invariant |
| 41 | jets : Q.loop_jets |
| 42 | |
| 43 | lemma Billed.merge {P : Before} {a : Levels G} {V : Horizon a} {N m : ℕ} {Q : PathData G} |
| 44 | (h : Billed P a V N m Q) {two three four C : ℝ} |
| 45 | (hw : Atoms (a.params m).width two three four Q) |
| 46 | (he : P.amount.born (a.clock.J m) ≤ C ∨ |
| 47 | ∃ j, StepStages j (a.clock.J m) ∧ P.amount.sends j (a.clock.J m) ≤ C) : |
| 48 | Normalized Q (a.params m).clip ∧ PathMass Q (a.params m).width C two three four := by |
| 49 | obtain he | ⟨j,hj,he⟩ := he |
| 50 | · have hx := h.top |
| 51 | have hv := (a.params m).width_pos |
| 52 | have hp := receipt_le hx (show (a.params m).width ≤ _ by linarith only [hv]) he |
| 53 | exact ⟨⟨hw.invariant,h.metric,hw.jets⟩, hv,hp,hw.loop,hw.cubic,hw.quartic⟩ |
| 54 | have hx := h.edge j hj |
| 55 | have hv := (a.params m).width_pos |
| 56 | have hp := receipt_le hx (show (a.params m).width ≤ _ by linarith only [hv]) he |
| 57 | exact ⟨⟨hw.invariant,h.metric,hw.jets⟩,hv,hp,hw.loop,hw.cubic,hw.quartic⟩ |
| 58 | |
| 59 | def StartAtoms (P : Before) (a : Levels G) (N : ℕ) (Q : PathData G) := |
| 60 | let j := a.clock.J N; let v := a.params N; let C := P.amount.born j |
| 61 | 2*v.width ≤ P.opening.born j → Atoms v.width 0 C C Q |
| 62 | |
| 63 | def NextAtoms (P : Before) (a : Levels G) (m : ℕ) (R Q : PathData G) := |
| 64 | let L : ℝ := (a.S.block m).val; let j := a.clock.J (m+1); let i := a.clock.J m |
| 65 | let v := a.params m |
| 66 | let C := classicalCost (P.amount.sends j i) L (a.params (m+1)).paths |
| 67 | let t := P.slopePrices |
| 68 | 2*v.width ≤ P.opening.transfers j i → |
| 69 | t.inputStrip j i / L ≤ (a.params (m+1)).width / 2 → |
| 70 | Budgeted a (m+1) R → Atoms v.width (t.cost j i L (a.clock.loopCap (m+1))) C C Q |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | section Permit |
| 77 | variable {P : Before} {f : ℕ → ℕ} {D : Rolls (P.sheet G f)} |
| 78 | {M : Preparations P D} {T : Protection D} {W : Delays T} {Y : Bar W} {I : Wait Y} |
| 79 | {a : Levels G} (h : Permit M I a) {V : Horizon a} (hv : Motor P a V) |
| 80 | |
| 81 | /-- Keep the *same V* for every ask. Includes also SCHEDULE version to work at narrower |
| 82 | rates and larger ceilings if needed, WITHOUT taking later costs to price this |
| 83 | calendar. This part uses `Scheduling.narrower`. Also offers moments on the actual |
| 84 | row at working width, no dropping labels. -/ |
| 85 | structure Installed (P : Before) (a : Levels G) (V : Horizon a) (Q : ℕ → ℕ → PathData G) : Prop where |
| 86 | prices : PathInputs P a Q |
| 87 | linear N m : m ≤ N → Billed P a V N m (Q N m) |
| 88 | uses N m : m ≤ N → let i := a.params m |
| 89 | ∀ σ C w : ℝ, 0 < σ → σ ≤ i.width → i.paths ≤ C → a.clock.loopCap m ≤ w → |
| 90 | (Q N m).Bounds i.clip σ C w |
| 91 | |
| 92 | include h in |
| 93 | lemma install {Q : ℕ → ℕ → PathData G} (h₁ : PathInputs P a Q) |
| 94 | (ha : ∀ N m,m ≤ N → Billed P a V N m (Q N m)) : Installed P a V Q := |
| 95 | ⟨h₁,ha,fun N m hm _ _ _ hp hw hc hW => Next.Scheduling.narrower |
| 96 | (h.budgets h₁ N m hm) hp hw hc hW⟩ |
| 97 | |
| 98 | lemma Installed.budget {Q : ℕ → ℕ → PathData G} (ha : Installed P a V Q) {N m : ℕ} (hi : m ≤ N) : |
| 99 | Budgeted a m (Q N m) := ha.uses N m hi _ _ _ (a.params m).width_pos le_rfl le_rfl le_rfl |
| 100 | |
| 101 | include h hv |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | /-- Recursive use. Ask `StartAtoms`/`NextAtoms` only of these generators, not a path |
| 107 | history. Caller can produce a different admissible tie convention every time, |
| 108 | including adversarially within *true cover* limits at the negotiated layout |
| 109 | prices. Require proving the generator actually outputs those row choices!(One |
| 110 | such spelling costs for all roots, via charge_layout.) That leaves nonlinear |
| 111 | estimates and whatever compatibility required with OTHER bounds as red gates. |
| 112 | `Ready`, `Keeps` for e.g. additional relations; not licenses to generate paths. |
| 113 | The solution sequence glues both, no picking independent per-period continuation |
| 114 | witnesses. |
| 115 | -/ |
| 116 | def Allowed (H : Bed) (g : LayoutPrices) (i : ℕ) (Q : PathData G) := |
| 117 | Q.row = Canonical.row H ∨ ∃ p : Ways (g.stride i) (g.base i) (g.mass i), Q.row = p.row H |
| 118 | |
| 119 | |
| 120 | |
| 121 | structure LocalBuilder (P : Before) {a : Levels G} (g : LayoutPrices) (V : Horizon a) |
| 122 | (Ready : ℕ → ℕ → PathData G → Prop) (keeps : ℕ → ℕ → PathData G → PathData G → Prop) : Prop where |
| 123 | cutoff N : ∃ Q, StartAtoms P a N Q ∧ Allowed (V.H N N) g (a.clock.J N) Q ∧ Ready N N Q |
| 124 | step N m : m < N → ∀ R, Ready N (m+1) R → Billed P a V N (m+1) R → Budgeted a (m+1) R → |
| 125 | ∃ Q, NextAtoms P a m R Q ∧ Allowed (V.H N m) g (a.clock.J m) Q ∧ Ready N m Q ∧ keeps N m R Q |
| 126 | |
| 127 | |
| 128 | end Permit |
| 129 | end YM.UVNext.PricedKernels |