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.WilsonBulk.Heat.Paid |
| 2 | import YM.WilsonBulk.Cost.Bower |
| 3 | |
| 4 | /-! |
| 5 | # Polynomial strict-event tariff for the conditional Wick step |
| 6 | |
| 7 | Input leg tables in coupling powers, width σ strictly interior mesh-generic |
| 8 | native norm. `Intake` assumes ONLY preceding-rank or lower-grade costs; no |
| 9 | assumed bounds for the same component. `strict_heat` controls COVER overlap |
| 10 | jets after subtracting the time-zero transmission. Every positive-time term |
| 11 | at that grade obeys. Pay polynomial in fixed schedule caps. Width charged on |
| 12 | both value and cutoff variation, with an explicit stage-prescribable ratio. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.WilsonBulk |
| 17 | namespace Sheet |
| 18 | open scoped Topology Classical ENNReal BigOperators |
| 19 | open Function Equiv Finset Filter Pert.Bulk |
| 20 | variable {X : Type} {σ θ p δ ε : ℝ} {G : Rule X} {e n k : ℕ} |
| 21 | /-- common tariff (can use δ=1 for single-history use) -/ |
| 22 | def tariff : ℕ→ℕ→ℕ→ℝ→ℝ |
| 23 | | 0,_,_,p => p |
| 24 | | t+1,e,n,p => ((t+1:ℕ):ℝ)⁻¹*(dab n*(2*(tariff t e (n+2) p*p))+∑ i : Split e,∑ j : Split t,∑ k: Split n, brush (l k) (r k) * (2*(2*(tariff (l j) (l i) (l k+1) p*p)*tariff (r j) (r i) (r k+1) p))) |
| 25 | termination_by t _ _ _ => t |
| 26 | decreasing_by all_goals first| exact Nat.lt_succ_self _ | exact Nat.lt_succ_of_le (left_small _) | exact Nat.lt_succ_of_le (right_small _) |
| 27 | lemma tariffed (d e n : ℕ) : Tariff (tariff d e n) := by |
| 28 | induction d using Nat.strong_induction_on generalizing n e with |
| 29 | | h t ih=> |
| 30 | cases t with |
| 31 | | zero => convert Tariff.one using 1; ext x; rw [tariff] |
| 32 | | succ t => |
| 33 | have ht : ∀ i : Split e,∀ j : Split t,∀ k : Split n, Tariff fun p=> brush (l k) (r k) * (2*(2*(tariff (l j) (l i) (l k+1) p*p)*tariff (r j) (r i) (r k+1) p)) := fun i j k=> |
| 34 | (Tariff.const _ (brush_pos ..).le).prod ((Tariff.const 2 (by norm_num)).prod (((Tariff.const _ (by norm_num)).prod ((ih (l j) (by have H:=left_small j; omega) _ _).prod Tariff.one)).prod (ih (r j) (by have he:= right_small j; omega) _ _))) |
| 35 | refine Eq.mp (congr_arg Tariff ?_) ((Tariff.const ((t+1:ℕ):ℝ)⁻¹ (by positivity)).prod (((Tariff.const _ (dab_pos n).le).prod ((Tariff.const 2 (by norm_num)).prod ((ih t (by omega) (n:=n+2) (e:=e)).prod Tariff.one))).add (Tariff.gather univ fun i _=>Tariff.gather univ fun j _=>Tariff.gather univ fun k _=> ht i j k))) |
| 36 | ext1 p; rw [tariff] |
| 37 | |
| 38 | def thinness (σ : ℝ) (W : ℝ) : ℕ→ℝ |
| 39 | | 0 => σ |
| 40 | | t+1 => (thinness σ W t / W) / W |
| 41 | @[simp] lemma heater_width (σ W : ℝ) : thinness σ W 0=σ := rfl |
| 42 | lemma width_debt (σ W : ℝ) (i : ℕ) : thinness σ W i = σ/(W^2)^i := by |
| 43 | induction i with |
| 44 | | zero => simp |
| 45 | | succ i ih=> |
| 46 | rw [thinness,ih,pow_succ,div_div,div_div]; ring |
| 47 | lemma thin_nonneg (he : 0≤σ) (W : ℝ) (i : ℕ) : 0 ≤ thinness σ W i := by rw [width_debt]; positivity |
| 48 | lemma thin_pos (he : 0<σ) {W : ℝ} (hp : 0<W) (i : ℕ) : 0<thinness σ W i := by rw [width_debt]; positivity |
| 49 | lemma cooling (he : 0≤σ) {W : ℝ} (hp : 2≤W) : Antitone (thinness σ W) := antitone_nat_of_succ_le fun i=> |
| 50 | (div_le_self (div_nonneg (thin_nonneg he _ _) (show 0≤W by linarith)) (show 1≤W by linarith)).trans (div_le_self (thin_nonneg he ..) (show 1≤W by linarith)) |
| 51 | def Intake (G : Rule X) (σ δ p : ℝ) (I J : Record X) (e n : ℕ) := ∀ i≤ e,∀ k>0,k ≤ i+2→ (i=e → n<k) → |
| 52 | Options G σ δ p (I i k) (J i k) |
| 53 | lemma Intake.crop {I J : Record X} (h : Intake G σ δ p I J e n) (i : ℕ) (he : i < e) (r : ℕ) : Intake G σ δ p I J i r := fun k hk x hx hh _=> h k (hk.trans he.le) x hx hh (by omega) |
| 54 | |
| 55 | variable {I J : Record X} {A B : Page X 2} {t e n i k : ℕ} |
| 56 | /-- reach predicate for paying through a step. -/ |
| 57 | lemma measure_heat (h : Intake G σ δ p I J e n) |
| 58 | (ha : Options G σ δ p A B) (he : 0≤σ) (hf : Free I) (hf' : Free J) |
| 59 | (hr : FrameBound I) (hr' : FrameBound J) (W : ℝ) (hw : (e:ℝ)+4 ≤ W) (hi : i ≤ e) (hg : i=e → n≤k) |
| 60 | (htt : i=e → k=n → t ≠ 0) : |
| 61 | Options G (thinness σ W t) δ (tariff t i k p) (immerse A I true t i k) (immerse B J true t i k) := by |
| 62 | induction t using Nat.strong_induction_on generalizing i k with |
| 63 | | h t ih=> |
| 64 | have H(t i k : ℕ) := (tariffed t i k).1 p ha.baseline |
| 65 | have hh := ha.nonneg |
| 66 | have hW : 2≤ W:= by linarith only [hw,Nat.cast_nonneg (α:=ℝ) e] |
| 67 | by_cases hk : k=0 |
| 68 | · subst hk; rw [cashless_at,cashless_at]; exact Options.zero (H ..) hh |
| 69 | by_cases hn : k ≤ i+2; swap |
| 70 | · rw [immerse_bounded _ true hr t i k (by omega), immerse_bounded _ true hr' t i k (by omega)]; exact Options.zero (H ..) hh |
| 71 | cases t with |
| 72 | | zero => rw [tariff,start,start]; simp only [heater_width,hk,false_and,↓reduceIte]; exact h i hi k (by omega) hn (by omega) |
| 73 | | succ t => |
| 74 | have hp := thin_nonneg he W t |
| 75 | let y := thinness σ W (t+1) |
| 76 | have hA : Options G (thinness σ W t) δ p A B := ha.more le_rfl le_rfl (by simpa using cooling he hW (t.zero_le)) |
| 77 | have hor v (hv:v<t+1) (i k) (hi': i ≤ e) (hg : i=e→ n<k) : Options G (thinness σ W t) δ (tariff v i k p) (immerse A I true v i k) (immerse B J true v i k) := |
| 78 | (ih v hv hi' (by omega) (by omega)).more le_rfl le_rfl (cooling he hW (Nat.le_of_lt_succ hv)) |
| 79 | have hx : Options G y δ (dab k*(2*(tariff t i (k+2) p*p))) (lap A (immerse A I true t i (k+2))) (lap B (immerse B J true t i (k+2))) := |
| 80 | (hA.lap (hor _ (by omega) _ _ hi (by omega)) hp hp hk).more le_rfl le_rfl (cooling he hW (show t≤t+1 by omega)) |
| 81 | let f (a:Split i) (b:Split t) (c:Split k) := brush (l c) (r c)*(2*(2*(tariff (l b) (l a) (l c+1) p*p)*tariff (r b) (r a) (r c+1) p)) |
| 82 | have hy (a: Split i) (b: Split t) (c: Split k) : Options G y δ (f a b c) |
| 83 | (torpedo A (immerse A I true) t i k a b c) (torpedo B (immerse B J true) t i k a b c) := by |
| 84 | have hl := parts a; have hl' := parts b; have hk' := parts c |
| 85 | have H' : 0 ≤ f a b c := by dsimp only [f]; exact mul_nonneg (brush_pos ..).le (mul_nonneg (by norm_num) (mul_nonneg (mul_nonneg (by norm_num) (mul_nonneg (H ..) (ha.baseline))) (H ..))) |
| 86 | rcases Nat.eq_zero_or_pos (l a) with hz|hl₁; · rw [torpedo_zero _ a b c (Or.inl (hz.symm ▸ immerse_free _ true hf (l b) (l c+1))), torpedo_zero _ a b c (Or.inl (hz.symm ▸ immerse_free _ true hf' (l b) (l c+1)))]; exact Options.zero H' hh |
| 87 | rcases Nat.eq_zero_or_pos (r a) with hz|hl₂; · rw [torpedo_zero _ a b c (Or.inr (hz.symm ▸ immerse_free _ true hf (r b) (r c+1))), torpedo_zero _ a b c (Or.inr (hz.symm ▸ immerse_free _ true hf' (r b) (r c+1)))]; exact Options.zero H' hh |
| 88 | have coin (x : ℕ) (hv:x≤k) : (x:ℝ)+1 ≤ W:= by |
| 89 | refine le_trans ?_ hw; exact_mod_cast (show x+1≤e+4 by omega) |
| 90 | exact (hA.bridge (hor (l b) (by omega) (l a) (l c+1) (by omega) (by omega)) (hor (r b) (by omega) (r a) (r c+1) (by omega) (by omega)) hp hW (coin (l c) (by omega)) (coin (r c) (by omega)) (by omega)).reindex _ |
| 91 | have he := (hx.add (Options.gather univ (fun a _=> Options.gather univ (fun b _=> Options.gather univ (fun c _=> hy a b c) hh) hh) hh)).scale (((t+1:ℕ):ℝ)⁻¹) |
| 92 | rw [abs_of_pos (by positivity : 0< ((t+1:ℕ):ℝ)⁻¹)] at he |
| 93 | rw [restore,restore,tariff]; simp only [hk,false_and,↓reduceIte]; exact he |
| 94 | |
| 95 | def reheating (t : ℕ) := (spend t).erase 0 |
| 96 | def recovery (e n : ℕ) (p : ℝ) := ∑ j∈reheating e, tariff j e n p |
| 97 | def saveWidth (e : ℕ) (σ : ℝ) : ℝ := thinness σ (e+4) (3*e) |
| 98 | lemma save_pos (h : 0<σ) (e : ℕ) : 0 < saveWidth e σ := thin_pos h (by positivity) _ |
| 99 | lemma save_le (h : 0≤σ) (e : ℕ) : saveWidth e σ ≤ σ := cooling h (show (2:ℝ)≤(e:ℝ)+4 by linarith [Nat.cast_nonneg (α:=ℝ) e]) (show 0≤3*e from Nat.zero_le (3*e)) |
| 100 | lemma tariff_recovery (e n) : Tariff (recovery e n) := Tariff.gather _ fun _ _=>tariffed .. |
| 101 | lemma receive_minus (i : ℕ) (hv : n ≠ 0) : receive A I true i n-I i n=∑ j∈reheating i, immerse A I true j i n := by |
| 102 | have hi : 0 ∈ spend i:= by simp [spend] |
| 103 | have he := (sum_erase_add (spend i) (fun j=> immerse A I true j i n) hi).symm; rw [start] at he;unfold receive; rw [he]; simp only [hv,false_and,↓reduceIte, add_sub_cancel_right,reheating] |
| 104 | |
| 105 | lemma strict_heat (h : Intake G σ δ p I J e n) |
| 106 | (ha : Options G σ δ p A B) (he : 0≤σ) (hf : Free I) (hf' : Free J) |
| 107 | (hr : FrameBound I) (hr' : FrameBound J) (hn : n ≠ 0) : |
| 108 | Options G (saveWidth e σ) δ (recovery e n p) (receive A I true e n-I e n) (receive B J true e n-J e n) := by |
| 109 | rw [receive_minus _ hn, receive_minus _ hn]; unfold recovery |
| 110 | refine Options.gather _ (fun i hi=>?_) ha.nonneg |
| 111 | obtain ⟨H,H'⟩:=mem_erase.mp hi |
| 112 | refine (measure_heat h ha he hf hf' hr hr' _ le_rfl le_rfl (fun _=>le_rfl) (fun _ _=> H)).more le_rfl le_rfl (cooling he (show (2:ℝ) ≤ (e:ℝ)+4 by linarith [Nat.cast_nonneg (α:=ℝ) e]) ?_) |
| 113 | exact Nat.le_of_lt_succ (mem_range.mp H') |
| 114 | end Sheet |
| 115 | end YM.WilsonBulk |