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.Stadium |
| 2 | |
| 3 | /-! |
| 4 | # Beta ticket for restarts on h stretches |
| 5 | |
| 6 | Starts in old Shoot.band, not assumed on a restarted Bolted trajectory. |
| 7 | Checks using the ACTUAL coupling of the step if the error already fits the |
| 8 | PRE-L drift cost and iteration uses the approved enlarged prescription band. |
| 9 | The Ready assignment really gives those numerical gates. Estimate uniform |
| 10 | through any earlier-staged histories. Include also a p^o recurrence check |
| 11 | for E.13665 etc. Does not assert the altered-threshold RG or weak matching |
| 12 | transitions have been constructed or can be, number estimates lease physical |
| 13 | estimates still to find. Negative counterchecks separate. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Next.Scheduling.Weak |
| 19 | open Filter Function RG RG.Supply Bid Lattice Source Precision Clock Real |
| 20 | open scoped Topology |
| 21 | |
| 22 | variable {G : Gauge} {s : Survey G} {K : MapPrices} {q : Quote} {e : ℕ → ℕ → Exchange} {v : ℕ → ℕ} |
| 23 | variable {D : Rolls (s.paper q v)} {Θ : Protection D} {V : Delays Θ} {Y : Bar V} {I : Wait Y} |
| 24 | |
| 25 | private lemma ratios (y x : ℝ) (hx : 0 < x) (h : x/2 ≤ y) : |
| 26 | |gap y/gap x-1| ≤ 2*|y-x|/x := by |
| 27 | have hy : 0<y:=lt_of_lt_of_le (half_pos hx) h |
| 28 | let a:=Real.sqrt x; let b:=Real.sqrt y |
| 29 | have ha : 0<a:=Real.sqrt_pos.2 hx; have hb : 0<b:=Real.sqrt_pos.2 hy |
| 30 | have ht : b^2=y:=Real.sq_sqrt hy.le; have hl : a^2=x:=Real.sq_sqrt hx.le |
| 31 | change |b⁻¹/a⁻¹-1| ≤ _ |
| 32 | rw [show b⁻¹/a⁻¹-1 = (x-y)/(b*(a+b)) by field_simp; nlinarith only [ht,hl],abs_div, |
| 33 | abs_of_pos (mul_pos hb (by linarith)),abs_sub_comm] |
| 34 | have hp : x ≤ 2*(b*(a+b)):=by nlinarith only [ha,hb,h,ht] |
| 35 | apply (div_le_div_iff₀ (by positivity) hx).2 |
| 36 | have he := mul_le_mul_of_nonneg_left hp (abs_nonneg (y-x)); linarith |
| 37 | |
| 38 | /-- All restarted steps up to h stay in the ENLARGED band if each |
| 39 | performed step met its reset. Conditional even on this particular |
| 40 | step estimate; no proof of performing / paying a Move. β argument counts |
| 41 | outward from k toward smaller physical indices. -/ |
| 42 | lemma Bench.recover {a : Levels G} (h : Paid I a) (hs : G.Simple) {k j : ℕ} {U : Exchange} {F : Focus} |
| 43 | (R : Bench a j k ((a.clock.factor j).val:ℝ) U F) : |
| 44 | let x:= a.clock.hatBeta k; let L:=((a.clock.factor j).val:ℝ); let g:=G.slopeConstant; let p:=Instrument.plain.P x |
| 45 | ∀ b : ℝ, b≤U.weakHeight → ∀ r : ℕ,(r:ℝ)*Real.log L ≤ (b+4)*Real.log p → |
| 46 | ∀ β : ℕ → ℝ, β 0 ∈ Shoot.band a k → |
| 47 | (∀ m, m<r → inBand (a.clock.hatBeta (k-m)) (β m) → |
| 48 | |β (m+1)-β m+g*Real.log L| ≤ (s.melt q j).drift) → |
| 49 | ∀ m, m ≤ r → inBand (a.clock.hatBeta (k-m)) (β m) ∧ |
| 50 | |gap (β m)/gap (β 0)-1| ≤ 4*g*(b+4)*Real.log p/β 0 := by |
| 51 | intro x L g p b ha r hr β hβ ht |
| 52 | have hj : s.first ≤ j := by |
| 53 | rw [← R.index] |
| 54 | exact le_trans h.firstZero.ge (a.fits.mono (Nat.zero_le _)) |
| 55 | have hx0 : 4096 ≤ x := R.cases_here.runway.2.2.2.2 |
| 56 | have hl : L=(D.L j).val := by unfold L; rw [h.lengths] |
| 57 | have hL : 0<Real.log L := by |
| 58 | apply Real.log_pos; rw [hl]; have he := (D.large j).size; exact_mod_cast (show 1<(D.L j).val by omega) |
| 59 | have hg : 0<g := Gauge.slopeConstant_pos hs |
| 60 | have he : 0 ≤ Real.log p := Real.log_nonneg R.cases_here.runway.2.1 |
| 61 | have hv := (mul_le_mul_of_nonneg_right (add_le_add_left ha 4) he) |
| 62 | have hrr := hr.trans hv |
| 63 | obtain ⟨hq,-⟩:=R.col r hrr |
| 64 | have hK : (s.melt q j).drift ≤ g/4 * Real.log L := by |
| 65 | apply (div_le_iff₀ hL).mp; rw [hl]; exact (D.large j).kick hj |
| 66 | have ho (m : ℕ) (hh : m≤r) : near x (a.clock.hatBeta (k-m)) := |
| 67 | ((R.rooms hs r hrr (k-m) (by omega) (by omega)).2.2).1 |
| 68 | let t (m : ℕ):=2*g*((m:ℝ)*Real.log L) |
| 69 | obtain ⟨hb1,hb2⟩:=hβ |
| 70 | change x/2 ≤ β 0 at hb1; change β 0≤2*x at hb2 |
| 71 | have hs0 : 0<x := by linarith |
| 72 | have hH : ∀ m : ℕ,m ≤ r → |β m-β 0| ≤ t m ∧ inBand (a.clock.hatBeta (k-m)) (β m) ∧ β 0/2 ≤ β m := by |
| 73 | have hh (m : ℕ) (h : m ≤ r) (h' : |β m-β 0| ≤ t m) : inBand (a.clock.hatBeta (k-m)) (β m) ∧ β 0/2 ≤ β m := by |
| 74 | obtain ⟨hA,hB⟩:=abs_le.mp h'; obtain ⟨hF,hE⟩:=abs_le.mp (ho m h) |
| 75 | have hi := (mul_le_mul_of_nonneg_left ((mul_le_mul_of_nonneg_right (show (m:ℝ) ≤ r by exact_mod_cast h) hL.le).trans hrr) hg.le).trans R.cases_here.bill |
| 76 | have hb : t m ≤ 2*Real.sqrt x := by unfold t; change _ ≤ Real.sqrt x at hi; linarith |
| 77 | have Hh := Real.sqrt_nonneg x |
| 78 | have hy : 32*Real.sqrt x ≤ x := by nlinarith [Real.sq_sqrt hs0.le] |
| 79 | refine ⟨⟨?_,?_⟩,?_⟩ <;> linarith |
| 80 | intro m hm |
| 81 | induction m with |
| 82 | | zero => |
| 83 | have hb : |β 0-β 0|≤t 0 := by simp [t] |
| 84 | exact ⟨hb, hh _ hm hb⟩ |
| 85 | | succ m ih => |
| 86 | obtain ⟨h1,h2,-⟩ := ih (by omega) |
| 87 | have ha := ht m hm h2; obtain ⟨ha,hb⟩:=abs_le.mp ha; obtain ⟨hx,hy⟩:=abs_le.mp h1 |
| 88 | have he := mul_pos hg hL |
| 89 | have H : |β (m+1)-β 0| ≤ t (m+1) := by |
| 90 | unfold t at *; rw [abs_le]; push_cast; constructor <;> linarith |
| 91 | exact ⟨H,hh _ hm H⟩ |
| 92 | intro m hm; obtain ⟨ht,hx',he'⟩:=hH m hm |
| 93 | have he0 : 0 < β 0 := by linarith |
| 94 | refine ⟨hx',le_trans (ratios _ _ he0 he') ?_⟩ |
| 95 | have hF := mul_le_mul_of_nonneg_left ((mul_le_mul_of_nonneg_right (show (m:ℝ) ≤ r by exact_mod_cast hm) hL.le).trans hr) hg.le |
| 96 | unfold t at ht; apply div_le_div_of_nonneg_right _ he0.le; linarith |
| 97 | |
| 98 | |
| 99 | end YM.Next.Scheduling.Weak |