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.Pert.Dense.Portal |
| 2 | /-! |
| 3 | # Slim interior windows. |
| 4 | |
| 5 | Work AFTER Bar fixed, independently of arbitrary other Wait requirements; final |
| 6 | construction can satisfy both. Keep each stage-j request length at most |
| 7 | |
| 8 | `floor(log(hatBeta)/log(L_stage))`. |
| 9 | |
| 10 | This bounds lost transmission from the predecessor stage by ONE coupling power |
| 11 | in `hatBeta`, much smaller than what general sublin bounds would give. Need |
| 12 | check it can still carry all the demands in `StationPort.Certified` (dense |
| 13 | Poised supplier). At fixed stage it's larger asymptotically than the |
| 14 | `benchCost` minimum in the physical price accounts: these use powers of |
| 15 | monitor and coverSize, which cost arbitrarily small power of the hatted beta, |
| 16 | EVEN exponentiating back to mesh ratios. This says nothing about the truth of |
| 17 | the station analytic estimates themselves without those other inputs (see |
| 18 | assembly). |
| 19 | -/ |
| 20 | set_option autoImplicit false |
| 21 | noncomputable section |
| 22 | namespace YM.SharpGram.Dense |
| 23 | open Function Set Filter Asymptotics Lattice RG RG.Supply Next.Rank Next.Rank.Ship Next.Rank.Station |
| 24 | open scoped Topology BigOperators |
| 25 | variable {G : Gauge} (hG : G.Simple) {s : Sheet G} {w : Rolls s} |
| 26 | {θ : Protection w} {W : Delays θ} (Y : Bar W) |
| 27 | |
| 28 | def unitLog (w : Rolls s) (j : ℕ) : ℝ := Real.log ((w.L j).val : ℝ) |
| 29 | lemma length_gt (w : Rolls s) (j : ℕ) : 1 < ((w.L j).val : ℝ) := by |
| 30 | exact_mod_cast (by have h := (w.large j).size; omega : 1 < (w.L j).val) |
| 31 | lemma positiveUnit (w : Rolls s) (j : ℕ) : 0 < unitLog w j := Real.log_pos (length_gt w j) |
| 32 | include hG |
| 33 | lemma scheduledHeight : Tendsto (preHat Y) atTop atTop := tendsto_atTop_add_const_left _ _ |
| 34 | (tendsto_id.const_mul_atTop (Gauge.slopeConstant_pos hG)) |
| 35 | |
| 36 | omit hG |
| 37 | |
| 38 | def slim (Y : Bar W) (j : ℕ) (t : ℝ) : ℕ := Nat.floor (Real.log (preHat Y t) / unitLog w j) |
| 39 | |
| 40 | include hG |
| 41 | lemma slimWindow (j : ℕ) : Tendsto (fun t : ℝ => (slim Y j t:ℝ)/t) atTop (𝓝 0) := by |
| 42 | have hg := positiveUnit w j |
| 43 | have he := scheduledHeight hG Y |
| 44 | have hp : preHat Y=O[atTop] id := |
| 45 | (isLittleO_const_id_atTop _).isBigO.add ((isBigO_refl id _).const_mul_left _) |
| 46 | have hv := ((Real.isLittleO_log_id_atTop.comp_tendsto he).trans_isBigO hp).tendsto_div_nhds_zero |
| 47 | let l : ℝ := unitLog w j |
| 48 | let a (t : ℝ) := Real.log (preHat Y t) |
| 49 | have hh : Tendsto (fun t => a t / t / l) atTop (𝓝 0) := by |
| 50 | have ha := hv.div_const l; rw [zero_div] at ha; exact ha |
| 51 | refine squeeze_zero' ?_ ?_ hh |
| 52 | · filter_upwards [eventually_gt_atTop (0:ℝ)] with t ht; positivity |
| 53 | filter_upwards [he.eventually_ge_atTop 1,eventually_gt_atTop (0:ℝ)] with t ht hp' |
| 54 | rw [div_right_comm (a t)] |
| 55 | exact div_le_div_of_nonneg_right (Nat.floor_le (div_nonneg (Real.log_nonneg ht) hg.le)) hp'.le |
| 56 | |
| 57 | section ceiling |
| 58 | omit hG |
| 59 | lemma ceil_later {f : ℝ→ℝ} (h : f=o[atTop] Real.log) (he : ∀ᶠ x in atTop,0 ≤ f x) : |
| 60 | (fun t : ℝ => ((Nat.ceil (f t) : ℕ):ℝ))=o[atTop] Real.log := by |
| 61 | let g t := f t + 1 |
| 62 | refine IsBigO.trans_isLittleO (isBigO_iff.mpr ⟨1,?_⟩) (show g =o[atTop] Real.log from h.add Real.isLittleO_const_log_atTop) |
| 63 | filter_upwards [he] with i hi |
| 64 | simp only [one_mul,Real.norm_natCast, g] |
| 65 | exact (Nat.ceil_lt_add_one hi).le.trans (Real.le_norm_self _) |
| 66 | |
| 67 | lemma bumpSlim {u : ℝ} (hu : 1<u) {b : ℝ} (hb : 0≤b) : |
| 68 | (fun t : ℝ => ((bump u b t:ℕ):ℝ))=o[atTop] Real.log := by |
| 69 | apply ceil_later |
| 70 | · refine ((Real.isLittleO_pow_log_id_atTop (n:=2) |>.comp_tendsto Real.tendsto_log_atTop).const_mul_left ((b+2) / Real.log u)).congr_left (fun x => ?_) |
| 71 | unfold Vac.Numbers.P; dsimp only [comp_apply] |
| 72 | rw [Real.log_mul (by positivity) (by positivity), Real.log_rpow (by positivity), Real.log_pow, Real.log_exp] |
| 73 | push_cast; ring |
| 74 | refine Eventually.of_forall fun x => ?_ |
| 75 | apply div_nonneg _ (Real.log_pos hu).le |
| 76 | have hp : 1 ≤ Vac.Numbers.P x := Real.one_le_exp (sq_nonneg _) |
| 77 | exact Real.log_nonneg (one_le_mul_of_one_le_of_one_le (Real.one_le_rpow hp hb) (one_le_pow₀ hp)) |
| 78 | |
| 79 | lemma moreSlim {u : ℝ} (hu : 1<u) : |
| 80 | (fun t : ℝ => ((more u t:ℕ):ℝ))=o[atTop] Real.log := by |
| 81 | let y s := ((Nat.ceil (Real.log s^2):ℕ):ℝ) |
| 82 | have he : ∀ᶠ x in atTop, 1 ≤ y x ∧ 1 ≤ Real.log x := by |
| 83 | filter_upwards [Real.tendsto_log_atTop.eventually_ge_atTop (1:ℝ)] with x hx |
| 84 | exact ⟨(one_le_pow₀ hx).trans (Nat.le_ceil (Real.log x^2)),hx⟩ |
| 85 | have hv : (fun x => Real.log (y x))=o[atTop] Real.log := by |
| 86 | have hh : (fun t => Real.log 2 + 2*Real.log (Real.log t))=o[atTop] Real.log := |
| 87 | Real.isLittleO_const_log_atTop.add ((Real.isLittleO_log_id_atTop.comp_tendsto Real.tendsto_log_atTop).const_mul_left _) |
| 88 | refine IsBigO.trans_isLittleO (isBigO_iff.mpr ⟨1,?_⟩) hh |
| 89 | filter_upwards [he] with x ⟨ht,hx⟩ |
| 90 | simp only [one_mul, Real.norm_of_nonneg (Real.log_nonneg ht)] |
| 91 | apply le_trans _ (Real.le_norm_self _) |
| 92 | calc |
| 93 | _ ≤ Real.log (2 * (Real.log x)^2) := Real.log_le_log (zero_lt_one.trans_le ht) |
| 94 | ((Nat.ceil_lt_add_one (sq_nonneg (Real.log x))).le.trans (by linarith only [one_le_pow₀ (n:=2) hx])) |
| 95 | _ = _ := by rw [Real.log_mul (by norm_num) (pow_ne_zero _ (zero_lt_one.trans_le hx).ne'),Real.log_pow]; norm_num |
| 96 | apply ceil_later |
| 97 | · refine (hv.const_mul_left (10/Real.log u)).congr_left (fun x=>?_) |
| 98 | change (10/Real.log u) * Real.log (y x) = Real.log (y x ^ (10:ℕ)) / _ |
| 99 | rw [Real.log_pow]; push_cast; ring |
| 100 | exact he.mono fun _ hx => div_nonneg (Real.log_nonneg (one_le_pow₀ hx.1)) (Real.log_pos hu).le |
| 101 | end ceiling |
| 102 | |
| 103 | lemma bench_slim (j : ℕ) {b : ℝ} (hb : 0 ≤ b) : |
| 104 | ∀ᶠ t in atTop, benchCost Y b j t ≤ slim Y j t := by |
| 105 | have hx := positiveUnit w j |
| 106 | apply (scheduledHeight hG Y).eventually |
| 107 | (p:=fun t => bump (w.L j).val b t+more (w.L j).val t ≤ Nat.floor (Real.log t / unitLog w j)) |
| 108 | filter_upwards [((bumpSlim (length_gt w j) hb).add (moreSlim (length_gt w j))).def (inv_pos.mpr hx),eventually_gt_atTop (1:ℝ)] with t ht hy |
| 109 | rw [Real.norm_of_nonneg (Real.log_pos hy).le] at ht |
| 110 | apply Nat.le_floor |
| 111 | push_cast |
| 112 | rw [div_eq_inv_mul] |
| 113 | exact (Real.le_norm_self _).trans ht |
| 114 | end YM.SharpGram.Dense |