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.MULTISOURCE.Wage |
| 2 | |
| 3 | /-! |
| 4 | # Automatically pay adjacent-scale factor from Tabs etc. |
| 5 | No coupling, period or marker arguments in extra thresholds here. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Multi.Wage |
| 10 | open RG Wilson Filter Function Finset Source Labels Mix Stock |
| 11 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 12 | variable {G : Gauge} |
| 13 | |
| 14 | lemma ranges (h : G.Simple) (A : Levels G) : Tendsto A.clock.coverSize atTop atTop := by |
| 15 | -- nat ceil |
| 16 | have he := ((tendsto_pow_atTop (n:=2) (by decide : 2 ≠ 0)).comp (log_tend h A)) |
| 17 | apply tendsto_atTop.mpr; intro i |
| 18 | filter_upwards [he.eventually_ge_atTop (i:ℝ)] with j hj |
| 19 | exact_mod_cast (le_trans (show (i:ℝ) ≤ Real.log (A.clock.hatBeta j)^2 from hj) (Nat.le_ceil _)) |
| 20 | |
| 21 | lemma log_next_le (h : G.Simple) (A : Levels G) (H : Tabs A) : ∀ᶠ i in atTop, |
| 22 | Real.log (A.clock.hatBeta (i+1)) ≤ 2*Real.log (A.clock.hatBeta i) := by |
| 23 | let f (i) := Real.log (A.clock.hatBeta i) |
| 24 | have hf : Tendsto f atTop atTop := log_tend h A |
| 25 | filter_upwards [hf.eventually_ge_atTop 1] with i hi |
| 26 | have hK : ((A.clock.coverSize (i+1):ℝ))^2 ≤2*(A.clock.coverSize i:ℝ)^2 := by exact_mod_cast H.grows i |
| 27 | have hn : f (i+1)^2 ≤ (A.clock.coverSize (i+1):ℝ) := Nat.le_ceil _ |
| 28 | have hu : (A.clock.coverSize i:ℝ) ≤ f i^2+1 := (Nat.ceil_lt_add_one (sq_nonneg (f i))).le |
| 29 | have he : 0 ≤ (A.clock.coverSize i:ℝ) := by positivity |
| 30 | have hs : (A.clock.coverSize (i+1):ℝ) ≤ 2*A.clock.coverSize i := by nlinarith |
| 31 | change f _ ≤ 2*f _; nlinarith |
| 32 | |
| 33 | private lemma growingL (A : Levels G) (i : ℕ) : (1:ℝ) < (A.S.block i).val := by |
| 34 | exact_mod_cast (lt_of_lt_of_le (by norm_num) (A.S.block_large i) : 1 < (A.S.block i).val) |
| 35 | |
| 36 | private lemma cheap_column (A : Levels G) (i : ℕ) : |
| 37 | Real.log (A.params (i+1)).columns ≤ Real.log (A.S.block i).val := by |
| 38 | let X := A.params (i+1) |
| 39 | have h := A.fits.logCost i |
| 40 | have hL := Real.log_pos (growingL A i) |
| 41 | have ht : Real.log X.columns ≤ |
| 42 | Real.log (1 + X.paths + X.width⁻¹ + X.columns + X.clip.relaxation + X.supportExponent) := |
| 43 | Real.log_le_log (lt_of_lt_of_le zero_lt_one X.columns_ge) (by |
| 44 | linarith only [X.paths_pos, (inv_pos.mpr X.width_pos), X.clip.radius_pos, X.price_pos]) |
| 45 | refine ht.trans ((div_le_iff₀ hL).mp h |>.trans (mul_le_of_le_one_left hL.le (inv_le_one_of_one_le₀ ?_))) |
| 46 | have hx : (1:ℝ) ≤ A.clock.J (i+1) := by exact_mod_cast (le_trans (by norm_num : 1≤4) (A.clock.adm (i+1))) |
| 47 | exact one_le_pow₀ hx |
| 48 | |
| 49 | open Vac in |
| 50 | lemma pays_length (h : G.Simple) (A : Levels G) (H : Tabs A) : ∀ᶠ i in atTop, |
| 51 | ((A.S.block i).val:ℝ) ≤ A.clock.hatBeta (i+1) := by |
| 52 | have he (i) : 1 ≤ fiat G (A.params i) (A.clock.hatBeta i) := by |
| 53 | unfold fiat |
| 54 | have he := (A.params i).paths_pos |
| 55 | have hx := (A.params i).clip.quadratic_pos |
| 56 | have hp := Real.log_pos (A.fits.delayed i) |
| 57 | have hf : 0 ≤ (Fintype.card Lattice.PlaqAxes:ℝ)* ((A.params i).clip.direct + (A.params i).paths^2)+ |
| 58 | 4*Module.finrank ℝ G.Mat * (Real.log 16+Real.log (A.clock.hatBeta i)/2) := by positivity |
| 59 | linarith |
| 60 | have hs := Gauge.slopeConstant_pos h |
| 61 | filter_upwards [H.cheap G.slopeConstant hs] with i hi |
| 62 | let L := (A.S.block i).val |
| 63 | have hn : (1:ℝ) ≤ A.clock.coverSize i := by exact_mod_cast (A.budget i).B_pos |
| 64 | have ha : 1 < (L:ℝ) := growingL .. |
| 65 | refine le_trans ?_ (hi.trans (le_add_of_nonneg_left A.clock.bar_pos.le)) |
| 66 | calc |
| 67 | (L:ℝ) ≤ (L:ℝ)^4 := by |
| 68 | conv_lhs => rw [← pow_one (L:ℝ)] |
| 69 | gcongr <;> first | exact ha.le | decide |
| 70 | _ ≤ ((L:ℝ)*(A.clock.coverSize i:ℝ)^2)^4 := pow_le_pow_left₀ (by positivity) |
| 71 | (le_mul_of_one_le_right (by positivity) (one_le_pow₀ hn)) _ |
| 72 | _ ≤ _ := le_mul_of_one_le_right (by positivity) (he _) |
| 73 | |
| 74 | lemma feasible (C : Family G) (h : G.Simple) (ht : Tabs C.path.levels) (k d : ℕ) : |
| 75 | ∀ᶠ j in atTop, width C 1 k j * ((C.S.block j).val:ℝ)^d * Real.exp ((C.path.levels.clock.coverSize j:ℝ)/256) |
| 76 | /width C 1 k (j+1) ≤ Real.exp ((C.path.levels.clock.coverSize j:ℝ)/64) := by |
| 77 | let A := C.path.levels |
| 78 | let B := A.clock.coverSize |
| 79 | let L i : ℝ := (A.S.block i).val |
| 80 | let u i := (A.params i).columns |
| 81 | let g := A.clock.hatCoupling |
| 82 | let y i := Real.log (A.clock.hatBeta i) |
| 83 | let F := width C 1 k |
| 84 | let M : ℝ := (d:ℝ)+2+k |
| 85 | have hm : 0 ≤ M := by unfold M; positivity |
| 86 | filter_upwards [log_next_le h A ht,pays_length h A ht,(log_tend h A).eventually_ge_atTop (2*256*M)] with i Hi Hf hk |
| 87 | have hl : 0 < L i := zero_lt_one.trans (growingL ..) |
| 88 | have hw : Real.log (L i) ≤ y (i+1) := Real.log_le_log hl Hf |
| 89 | have hu (i) : 1 ≤ u i := (A.params i).columns_ge |
| 90 | have hh (i) := zero_lt_one.trans_le (hu i) |
| 91 | have hg (i) : 0 < g i := (potential_hat ..).1 |
| 92 | have hy (i) : g i ≤ 1 := ((potential_hat ..).2).trans (A.budget _).threshold_le |
| 93 | have hX (i) : tab C i > 0 := zero_lt_one.trans_le (tab_ge ..) |
| 94 | have hp : Real.log (u (i+1)) ≤ y (i+1) := (cheap_column A i).trans hw |
| 95 | have hb (i) : Real.log (F i) = (k:ℝ)*Real.log (g i) - (Real.log (u i)+Real.log (tab C i)) := by |
| 96 | unfold F width; rw [canvas, Real.log_div (pow_pos (hg i) _).ne' (mul_pos (hh i) (hX i)).ne',Real.log_pow, Real.log_mul |
| 97 | (hh i).ne' (hX i).ne'] |
| 98 | have hx : Real.log (F i)-Real.log (F (i+1)) ≤ ((2:ℝ)+k)*y (i+1) := by |
| 99 | have ht : Real.log (g i) ≤ 0 := Real.log_nonpos (hg i).le (hy i) |
| 100 | have hK : 0≤ Real.log (u i) := Real.log_nonneg (hu i) |
| 101 | have hy : - Real.log (g (i+1))=y (i+1)/2 := by |
| 102 | unfold g Calendar.hatCoupling; rw [Real.log_inv,neg_neg,Real.log_sqrt |
| 103 | (zero_lt_one.trans (A.fits.delayed _)).le] |
| 104 | have hi : Real.log (tab C (i+1))=Real.log (tab C i)+Real.log (u (i+1)) := by |
| 105 | rw [show tab C (i+1)=tab C i*u (i+1) from Finset.prod_range_succ _ _]; exact Real.log_mul (hX _).ne' (hh _).ne' |
| 106 | have hu : 0 ≤ k*y (i+1) := mul_nonneg (by positivity) (Real.log_pos (A.fits.delayed _)).le |
| 107 | rw [hb,hb,hi]; nlinarith [mul_nonpos_of_nonneg_of_nonpos (show (0:ℝ) ≤ k by positivity) ht] |
| 108 | have hs : 0 < F i * L i^d * Real.exp ((B i:ℝ)/256) := mul_pos (mul_pos (width_positive ..) (pow_pos hl _)) |
| 109 | (Real.exp_pos _) |
| 110 | change F i * L i^d * Real.exp ((B i:ℝ)/256)/ F _ ≤ Real.exp ((B i:ℝ)/64) |
| 111 | rw [← Real.log_le_log_iff (div_pos hs (width_positive ..)) (Real.exp_pos _), |
| 112 | Real.log_div hs.ne' (width_positive ..).ne', Real.log_mul (mul_pos (width_positive ..) (pow_pos hl _)).ne' |
| 113 | (Real.exp_pos _).ne', Real.log_mul (width_positive ..).ne' (pow_pos hl _).ne',Real.log_pow, Real.log_exp, Real.log_exp] |
| 114 | have hG : Real.log (F i) + ↑d * Real.log (L i)- Real.log (F (i+1)) ≤ 2*M*y i := by |
| 115 | apply le_trans (b:= M*y (i+1)) |
| 116 | · unfold M; linarith only [hx, mul_le_mul_of_nonneg_left hw (show (0:ℝ) ≤ d by positivity)] |
| 117 | exact (mul_le_mul_of_nonneg_left Hi hm).trans_eq (by unfold M y; ring) |
| 118 | have hy : 0 ≤ y i := (Real.log_pos (A.fits.delayed i)).le |
| 119 | have hω : 2*256*M ≤ y i := hk |
| 120 | have hc : y i^2 ≤ B i := Nat.le_ceil _ |
| 121 | nlinarith |
| 122 | end YM.Multi.Wage |