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.AnalyticNext.QUARTIC_MATCH.Local.Direction |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Local.Stipple |
| 3 | import YM.Push.PRICE_COMPILER.Post |
| 4 | |
| 5 | /-! |
| 6 | # Distance on output kernels |
| 7 | |
| 8 | Extensive estimates. Not requiring external length below the period. Feed literal |
| 9 | entries into unfolding proof, retaining exponent at true pre-L scale. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticNext.QuarticMatch.Local |
| 14 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 15 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Centered |
| 16 | open Joint Estimate Estimate.Purse Estimate.Logfee Estimate.Depot BoxChain Premium Evoke |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 18 | namespace Wages |
| 19 | variable {G : Gauge} {n l c f : Side} (S : StepData c f) |
| 20 | open Green (wt) |
| 21 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {u : ℝ} {k m : ℕ} |
| 22 | |
| 23 | def boom (v : ℝ) := 4*v |
| 24 | def rate (v : ℝ) := v/2 |
| 25 | lemma booms (hp : 0 < u) : 0<boom u := mul_pos (by norm_num) hp |
| 26 | lemma after (hp : 0<u) : 0 < rate u := half_pos hp |
| 27 | lemma wt_le {η θ : ℝ} (he : θ ≤ η) (x y : Site n) : wt θ x y ≤ wt η x y := Real.exp_monotone (mul_le_mul_of_nonneg_right he (by positivity : 0 ≤ (separation x y:ℝ))) |
| 28 | lemma wt_ge {η : ℝ} (he : 0 ≤ η) (x y : Site n) : 1 ≤ wt η x y := Real.one_le_exp (by positivity) |
| 29 | |
| 30 | def span (v : ℝ) (z : Site l) (x : ι → Site l) := ∏ i, wt v z (x i) |
| 31 | omit [DecidableEq ι] in |
| 32 | lemma span_pos (v : ℝ) (z : Site l) (x : ι → Site l) : 0 < span v z x := Finset.prod_pos fun _ _ => Green.wt_pos .. |
| 33 | lemma pass_pair {v : ℝ} (he : 0 ≤ v) (z : Site l) (x : ι → Site l) (i j : ι) : wt v (x i) (x j) ≤ span v z x := by |
| 34 | by_cases h : i=j |
| 35 | · rw [h,wt,separation_self]; simp only [Nat.cast_zero,mul_zero,Real.exp_zero]; exact Finset.one_le_prod fun _ _ => wt_ge he z _ |
| 36 | apply (Green.wt_triangle he (x i) z (x j)).trans; rw [Green.wt_symm v (x i) z] |
| 37 | let b k := wt v z (x k) |
| 38 | have hh : ∏ k∈({i,j}:Finset ι),b k=b i*b j := by simp [h] |
| 39 | rw [← show ∏ k ∈ ({i,j}:Finset ι), b k = _ from hh]; exact Finset.prod_le_prod_of_subset_of_one_le (Finset.subset_univ _) (fun i _ => (Green.wt_pos ..).le) fun k _ _ => wt_ge he .. |
| 40 | |
| 41 | def account (l : Side) (w : Option ι) (x : ι→Site n) (u : ι→ℝ) (C : ι→ℝ) (h : ∀ i,0 ≤ C i) : Purse ι (Site n) := |
| 42 | ⟨w,(l.val:ℝ)^2,sq_nonneg _,C,h,fun i a => wt (u i/l.val) a (x i),fun _ _ => Green.wt_pos ..⟩ |
| 43 | omit [Fintype ι] [DecidableEq ι] in |
| 44 | lemma travels (w : Option ι) (x : ι→Site n) (u : ι→ℝ) (C : ι→ℝ) (h : ∀ i,0 ≤ C i) (l : Side) |
| 45 | {η : ℝ} (ht : ∀ i,|u i| ≤ η) : tollRate (account l w x u C h) l η := fun i _ _ => scaled l (ht i) _ _ _ |
| 46 | |
| 47 | lemma journey (hp : 0 < u) (P : Purse (Fin k) (Site f)) (i : Fin k) (x : Fin k→Site f) (l : Side) (hk : k ≤ 4) |
| 48 | (he : ∀ i y, P.toll i y=wt (boom u/l.val) y (x i)) : |
| 49 | Stamp P Finset.univ l u (span (rate u/l.val) (x i) x) (x i) := by |
| 50 | intro y |
| 51 | let b := rate u/l.val; let h := boom u/l.val; let r := u/l.val |
| 52 | have hb : 0 ≤ b := div_nonneg (after hp).le (by positivity) |
| 53 | have hr : 0 < r := div_pos hp (by positivity) |
| 54 | let V j := wt b y (x j); let Y j := wt b (x i) (x j) |
| 55 | have hu j : Y j ≤ V i * V j := (Green.wt_triangle hb _ y _).trans_eq (by rw [Green.wt_symm b (x i) y]) |
| 56 | have hx : span b (x i) x ≤ (V i)^k*∏ j,V j := by |
| 57 | refine (Finset.prod_le_prod (fun _ _ => (Green.wt_pos ..).le) (fun j _ => hu j)).trans_eq ?_; simp only [Finset.prod_mul_distrib,Finset.prod_const,Finset.card_univ,Fintype.card_fin] |
| 58 | let Z j := wt h y (x j) |
| 59 | have hK : (V i)^k*wt r y (x i)*V i ≤ Z i := by |
| 60 | unfold V Z wt; rw [← Real.exp_nat_mul,← Real.exp_add,← Real.exp_add]; apply Real.exp_monotone |
| 61 | rw [show r=b+b from by unfold b r rate; ring,show h=b*8 by unfold h b boom rate; ring] |
| 62 | have hp := mul_le_mul_of_nonneg_right (show (k:ℝ) ≤ 4 by exact_mod_cast hk) (show 0 ≤ b*(separation y (x i):ℝ) by positivity) |
| 63 | linarith [show 0 ≤ b*(separation y (x i):ℝ) by positivity] |
| 64 | unfold price; simp_rw [he]; |
| 65 | change span b (x i) x * wt r y (x i) ≤ ∏ j,Z j |
| 66 | apply (mul_le_mul_of_nonneg_right hx (Green.wt_pos ..).le).trans |
| 67 | rw [← Finset.mul_prod_erase Finset.univ V (Finset.mem_univ i), ← Finset.mul_prod_erase Finset.univ Z (Finset.mem_univ i)] |
| 68 | rw [show (V i)^k*(V i*_)*_=(V i)^k*wt r y (x i)*V i*(∏ j∈Finset.univ.erase i, V j) from by ring] |
| 69 | have HH : b ≤ h := by unfold h b rate boom; gcongr; linarith |
| 70 | exact mul_le_mul hK (Finset.prod_le_prod (fun _ _ => (Green.wt_pos ..).le) (fun j _ => wt_le HH ..)) |
| 71 | (Finset.prod_nonneg fun _ _ => (Green.wt_pos ..).le) (Green.wt_pos ..).le |
| 72 | |
| 73 | lemma embedded (l : Side) (hp : 0<u) (x y z : Site n) : |
| 74 | wt (rate u/l.val) x y * wt (u/l.val) z x ≤ wt (boom u/l.val) z x * wt (boom u/l.val) z y * wt (-u/l.val) z x := by |
| 75 | let r := u / l.val; have hr : 0 < r := div_pos hp (by positivity) |
| 76 | rw [show rate u/l.val=r/2 from by unfold r rate; ring,show boom u/l.val=4*r from by unfold r boom; ring,neg_div]; |
| 77 | change wt (r/2) x y * wt r z x ≤ wt (4*r) z x* _ * wt (-r) z x |
| 78 | unfold wt; rw [← Real.exp_add,← Real.exp_add,← Real.exp_add]; apply Real.exp_monotone |
| 79 | have hh : (separation x y:ℝ) ≤ (separation z x:ℝ)+(separation z y:ℝ) := by rw [separation_comm z x]; exact_mod_cast separation_triangle x z y |
| 80 | have hx := mul_le_mul_of_nonneg_left hh hr.le |
| 81 | nlinarith only [hx, mul_nonneg hr.le (by positivity : 0 ≤ (separation z x:ℝ)), mul_nonneg hr.le (by positivity : 0 ≤ (separation z y:ℝ))] |
| 82 | |
| 83 | lemma severs (l : Side) (hp : 0<u) (x y t z : Site n) : wt (rate u/l.val) x y * wt (rate u/l.val) x t * wt (u/l.val) z y ≤ |
| 84 | wt (boom u/l.val) z y * wt (boom u/l.val) z t * wt (u/l.val) z x := by |
| 85 | let r := u/l.val; have hr : 0<r := div_pos hp (by positivity) |
| 86 | unfold wt; rw [← Real.exp_add,← Real.exp_add,← Real.exp_add,← Real.exp_add] |
| 87 | rw [show rate u/l.val=r/2 from by unfold r rate; ring,show boom u/l.val=4*r from by unfold r boom; ring] |
| 88 | apply Real.exp_monotone |
| 89 | have hh (y : Site n) : (separation x y:ℝ) ≤ (separation z x:ℝ)+(separation z y:ℝ) := by rw [separation_comm z x]; exact_mod_cast separation_triangle x z y |
| 90 | have hx := mul_le_mul_of_nonneg_left (hh y) hr.le; have hy := mul_le_mul_of_nonneg_left (hh t) hr.le |
| 91 | change _ + r*(separation z y:ℝ) ≤ _ + r*(separation z x:ℝ) |
| 92 | linarith only [hx,hy, mul_nonneg hr.le (by positivity : 0 ≤ (separation z y:ℝ)), mul_nonneg hr.le (by positivity : 0 ≤ (separation z t:ℝ))] |
| 93 | |
| 94 | omit [DecidableEq ι] in |
| 95 | lemma span_coarse (u : ℝ) (x : Site c) (y : ι→Site c) : |
| 96 | span (u/S.ratio.count.val) (S.ratio.embed x) (S.ratio.embed ∘ y)=span u x y := |
| 97 | Finset.prod_congr rfl fun _i _ => accrual S _ _ _ |
| 98 | end Wages |
| 99 | end YM.AnalyticNext.QuarticMatch.Local |