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.Ovens.Coffee |
| 2 | import YM.Push.PRICE_COMPILER.Authors |
| 3 | |
| 4 | /-! |
| 5 | # Fixed-L quantitative quotes for a stationary invocation |
| 6 | |
| 7 | `Bid.Scene` is accepted WITH its premises. Need only the (L-dependent) |
| 8 | PriceGap in this price stack, take AFTER L but callable before Level/θ/w waits. Buy also the period test of Scene. Not proving such an estimate. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Push.PriceCompiler |
| 14 | open Filter Function Lattice RG Wilson RG.Supply Precision Tree Exterior Bloch Laurent Pressure Bid |
| 15 | open scoped Topology Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 16 | |
| 17 | variable {G : Gauge} {p : Sheet G} |
| 18 | |
| 19 | /-- include also F-calls. `shells` are counts in OUTPUT units, |
| 20 | here pay the whole macro cost there for simplicity (can afford even if |
| 21 | could pay in fine units). -/ |
| 22 | def macroNeed (D : Rolls p) (j : ℕ) : ℕ := 2 + 100*((j+3)*(D.L j).val + 4*(D.L j).val) |
| 23 | |
| 24 | lemma larger_paid {D : Rolls p} {T : Protection D} {W : Delays T} {Y : Bar W} {I : Wait Y} |
| 25 | {a : Levels G} (he : macroNeed D ≤ W.shells) (ha : Paid I a) (m i : ℕ) : Larger (a.clock.op m i) (G:=G) := by |
| 26 | have hx := (he _).trans (side_ge_shell ha m i) |
| 27 | let S := a.clock.op m i |
| 28 | have hh : 2 + 100 * macroR S.patch ≤ (a.S.side m i).val := by |
| 29 | unfold macroR Patch.radius |
| 30 | rw [show S.patch.J = a.clock.J (m+1) from rfl, |
| 31 | show S.patch.L = D.L (a.clock.J (m+1)) from block_eq ha m] |
| 32 | exact hx |
| 33 | have hl : (a.S.side m i).val ≤ (a.S.side (m+1) i).val := |
| 34 | Nat.mul_le_mul_left _ (a.S.den_strict.monotone (Nat.le_succ _)) |
| 35 | refine ⟨(a.blocks m i).branches, ?_, ?_⟩ |
| 36 | · change 100 * macroR S.patch ≤ (a.S.side (m+1) i).val |
| 37 | omega |
| 38 | change 1 < (a.S.side m i).val |
| 39 | omega |
| 40 | |
| 41 | lemma priceGap_mono {c f : Side} {S : StepData c f} {k : Clip} {X : PathData G} |
| 42 | {F : Forest S.ratio} {a b : ℝ} (h : PriceGap F k X a) (ha : b ≤ a) : PriceGap F k X b := by |
| 43 | intro r v; exact (mul_le_mul_of_nonneg_right ha (by positivity)).trans (h r v) |
| 44 | |
| 45 | /-- Gap & associated service priced at these numbers. -/ |
| 46 | structure SceneRate (p : Sheet G) (D : Rolls p) (K : MapPrices) (g : ℕ → ℝ) : Prop where |
| 47 | mono : Antitone g |
| 48 | pos j : 0 < g j |
| 49 | asks (j : ℕ) (c f : Side) (S : StepData c f) : S.kernel=p.kernel → S.patch.L=D.L j → S.patch.J=j → |
| 50 | Larger (G:=G) S → ∀ (F : Forest S.ratio) (B C : Bed) (q r : Clip) (W : PathData G) |
| 51 | (a b Λ u v w : ℝ) (T : Towers S.patch.L), Towers.Diagonal S B C T → Floor B q f (K.η j) u → |
| 52 | W.Bounds q a b Λ → Attached B W → Sworn B f G → Floor C r c v w → |
| 53 | PriceGap F q W (g j) ∧ ∃ ρ, Critical F q W ρ ∧ Guessed F (installed S.ratio T.A0) ρ ∧ HeatG F q W ρ C |
| 54 | |
| 55 | theorem gap_prices (p : Sheet G) (D : Rolls p) (K : MapPrices) (u : ℕ → ℝ) (hu : ∀ j, 0 < u j) : |
| 56 | ∃ g, g ≤ u ∧ SceneRate p D K g := by |
| 57 | choose e he H using fun j : ℕ => (Integrated.stationary_scene (G:=G) (D.L j) j p.kernel (K.η j) (K.eta_pos j)).χ |
| 58 | let v (j) := min (e j) (u j) |
| 59 | refine ⟨rateLo v, fun j => (rateLo_le v j).trans (min_le_right ..), rateLo_anti _, |
| 60 | rateLo_pos (fun i => lt_min (he i) (hu i)),?_⟩ |
| 61 | intro j c f S hk hr hs hh F B C p q X a b Λ u' v' w T hT ht hg hx hi hd |
| 62 | obtain ⟨hb,hc⟩ := H j c f S hk hr hs hh F B C p q X a b Λ u' v' w T hT ht hg hx hi hd |
| 63 | exact ⟨priceGap_mono hb ((rateLo_le v _).trans (min_le_left ..)), hc⟩ |
| 64 | |
| 65 | /-- Numerics ONLY. Quoted post-L, typically before β monitors. -/ |
| 66 | structure AfterBill where |
| 67 | error : ℕ → ℕ → ℝ -- absolute finite period error C_L |
| 68 | decay : ℕ → ℕ → ℝ -- c_L (positive) |
| 69 | forced : ℕ → ℕ → ℝ -- can use Move exponent at these rates, IF forced estimates earned |
| 70 | err_pos j i : 0 < error j i |
| 71 | dec_pos j i : 0 < decay j i |
| 72 | snd_pos j i : 0 < forced j i |
| 73 | |
| 74 | /-- Use it BEFORE fitting theta. -/ |
| 75 | def AfterBill.post (q : AfterBill) (D : Rolls p) (gap : ℕ → ℝ) (h : ∀ i, 0 < gap i) : PostCost D where |
| 76 | η := gap |
| 77 | Γ := payHi (fromMax q.error) |
| 78 | c := rateLo (fromMin q.decay) |
| 79 | g := rateLo (fromMin q.forced) |
| 80 | price := h |
| 81 | pos := payHi_pos _ |
| 82 | posC := rateLo_pos fun _ => lt_min (q.dec_pos ..) (q.dec_pos ..) |
| 83 | posG := rateLo_pos fun _ => lt_min (q.snd_pos ..) (q.snd_pos ..) |
| 84 | |
| 85 | |
| 86 | |
| 87 | lemma AfterBill.paid (q : AfterBill) (D : Rolls p) (gap : ℕ → ℝ) (h : ∀ i, 0 < gap i) {j i : ℕ} (H : StepStages j i) : |
| 88 | let t := q.post D gap h |
| 89 | q.error j i ≤ t.Γ j ∧ t.c j ≤ q.decay j i ∧ t.g j ≤ q.forced j i := |
| 90 | ⟨(le_fromMax _ H).trans (le_payHi _ _), (rateLo_le _ _).trans (fromMin_le _ H), |
| 91 | (rateLo_le _ _).trans (fromMin_le _ H)⟩ |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | end YM.Push.PriceCompiler |