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.Push.ABSOLUTE_SUMS.Fees |
| 2 | import YM.Push.ABSOLUTE_SUMS.Mixed |
| 3 | import YM.Work.G07.Stencil |
| 4 | |
| 5 | /-! |
| 6 | # HAT bills for real connected-activity estimates |
| 7 | |
| 8 | Local notation/tools for *uniform in volume*, post-`L,W` prices. Hatted variables |
| 9 | at x coarse; V threshold from x, fine tests from `betaF G x L`. Estimates |
| 10 | stated as upper powers still require a strict reserve when going on to use an |
| 11 | eventual inequality. In particular a `Rate 0` cost cannot in general be paid |
| 12 | from a power of `p`, only of βhat. These are not schedule/feasibility proofs. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6 |
| 17 | open Filter Lattice RG Pressure Push.AbsoluteSums |
| 18 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators |
| 19 | |
| 20 | /-- Estimate at every strictly looser βhat power. Allows βhat^{o(1)} losses; |
| 21 | fixed AFTER choosing L, thresholds independent of the period. No sign clause. -/ |
| 22 | def Rate (G : Gauge) (L : Side) (a : ℝ) (w : ℝ → ℝ) : Prop := |
| 23 | ∀ v > a, ∀ᶠ x : ℝ in atTop, |w x| ≤ betaF G x L ^ v |
| 24 | |
| 25 | namespace Rate |
| 26 | variable {G : Gauge} {L : Side} {a b r : ℝ} {w v u : ℝ → ℝ} |
| 27 | |
| 28 | theorem weaken (h : Rate G L a w) (hp : a ≤ b) : Rate G L b w := fun _ hx => h _ (hp.trans_lt hx) |
| 29 | |
| 30 | theorem compare (h : Rate G L a w) (hp : ∀ᶠ x in atTop, |v x| ≤ |w x|) : Rate G L a v := by |
| 31 | intro b hb |
| 32 | filter_upwards [hp,h b hb] with x hx ht using hx.trans ht |
| 33 | |
| 34 | theorem congr (h : Rate G L a w) (hp : v =ᶠ[atTop] w) : Rate G L a v := |
| 35 | h.compare (hp.mono fun x hx => by rw [hx]) |
| 36 | |
| 37 | theorem const (c : ℝ) : Rate G L 0 (fun _ => c) := by |
| 38 | intro b hb |
| 39 | exact ((tendsto_rpow_atTop hb).comp (Work.E09.betaF_growth G L)).eventually_ge_atTop _ |
| 40 | |
| 41 | theorem mul (h : Rate G L a w) (k : Rate G L b v) : Rate G L (a+b) (fun x => w x*v x) := by |
| 42 | intro s hs |
| 43 | let d := (s-(a+b))/2 |
| 44 | have he : 0 < d := half_pos (sub_pos.mpr hs) |
| 45 | have hy : a+d+(b+d)=s := by unfold d; ring |
| 46 | filter_upwards [h (a+d) (by linarith),k (b+d) (by linarith), Delay.shift_pos G L] with x hx ht hb |
| 47 | rw [abs_mul, ← hy, Real.rpow_add hb]; exact mul_le_mul hx ht (abs_nonneg _) (by positivity) |
| 48 | |
| 49 | theorem mul_left (h : Rate G L a w) (c : ℝ) : Rate G L a (fun x => c * w x) := by |
| 50 | simpa only [zero_add] using ((Rate.const c).mul h) |
| 51 | |
| 52 | theorem mul_right (h : Rate G L a w) (c : ℝ) : Rate G L a (fun x => w x * c) := by |
| 53 | simpa only [add_zero] using h.mul (Rate.const c) |
| 54 | |
| 55 | theorem add (h : Rate G L a w) (k : Rate G L a v) : Rate G L a (fun x => w x + v x) := by |
| 56 | intro s hs |
| 57 | let e := (s-a)/2 |
| 58 | have he : 0 < e := half_pos (sub_pos.mpr hs) |
| 59 | have hu : a+e+e=s := by unfold e; ring |
| 60 | filter_upwards [h (a+e) (by linarith), k (a+e) (by linarith), Delay.shift_pos G L, |
| 61 | Rate.const (G := G) (L := L) (2:ℝ) e he] with x hx hy hp hk |
| 62 | let H := betaF G x L |
| 63 | have hz : 2 ≤ H^e := by simpa only [abs_of_pos (by norm_num : 0 < (2:ℝ))] using! hk |
| 64 | refine ((abs_add_le ..).trans (add_le_add hx hy)).trans ?_ |
| 65 | rw [← hu, Real.rpow_add hp (a+e) e,← mul_two] |
| 66 | exact mul_le_mul_of_nonneg_left hz (Real.rpow_nonneg hp.le _) |
| 67 | |
| 68 | theorem pow (h : Rate G L a w) (d : ℕ) : Rate G L (a*d) (fun x => w x^d) := by |
| 69 | induction d with |
| 70 | | zero => simpa only [Nat.cast_zero, mul_zero,pow_zero] using Rate.const (G := G) (L := L) 1 |
| 71 | | succ n ih => simpa only [pow_succ,Nat.cast_succ,mul_add,mul_one] using! ih.mul h |
| 72 | |
| 73 | theorem power : Rate G L a (fun x => betaF G x L ^ a) := by |
| 74 | intro b hb |
| 75 | filter_upwards [(Work.E09.betaF_growth G L).eventually_gt_atTop 1] with x hx |
| 76 | rw [abs_of_nonneg (Real.rpow_nonneg (by linarith) _)] |
| 77 | exact Real.rpow_le_rpow_of_exponent_le hx.le hb.le |
| 78 | |
| 79 | theorem hat : Rate G L 1 (fun x => betaF G x L) := by |
| 80 | simpa only [Real.rpow_one] using Rate.power (G:=G) (L:=L) (a:=1) |
| 81 | |
| 82 | theorem bill : Rate G L 0 (Delay.bill G L) := by |
| 83 | intro b hb |
| 84 | filter_upwards [Fees.growth G L hb (show 0 ≤ (1 : ℝ) by norm_num) 0 1] |
| 85 | with x hx |
| 86 | simpa only [abs_of_nonneg (zero_le_one.trans (Delay.bill_ge G L x)), one_mul,pow_one, |
| 87 | Real.rpow_zero,mul_one] using! hx |
| 88 | |
| 89 | theorem rpow_monitor (d : ℝ) : Rate G L 0 (fun x => Delay.fineMonitor G L x ^ d) := by |
| 90 | intro b hb |
| 91 | filter_upwards [Fees.growth G L hb (show 0 ≤ (1 : ℝ) by norm_num) d 0] with x hx |
| 92 | simpa only [abs_of_nonneg (Real.rpow_nonneg (Delay.monitor_pos G L x).le _),one_mul,pow_zero] using! hx |
| 93 | |
| 94 | theorem monitor : Rate G L 0 (Delay.fineMonitor G L) := by |
| 95 | simpa only [Real.rpow_one] using rpow_monitor (G := G) (L := L) 1 |
| 96 | |
| 97 | lemma radius_price : Rate G L 0 (fun x : ℝ => (radiusB x:ℝ)) := by |
| 98 | refine bill.compare (Eventually.of_forall ?_) |
| 99 | intro x |
| 100 | rw [abs_of_nonneg (Nat.cast_nonneg _),abs_of_nonneg (zero_le_one.trans (Delay.bill_ge G L x))] |
| 101 | unfold Delay.bill; linarith [sq_nonneg (Real.log (betaF G x L))] |
| 102 | |
| 103 | lemma flame : Rate G L (-(1/2)) (fun x => fiery G x L) := by |
| 104 | have he := Rate.mul (w := fun x => betaF G x L ^ (-(1/2:ℝ))) Rate.power Rate.monitor |
| 105 | rw [add_zero] at he |
| 106 | refine he.congr ?_ |
| 107 | filter_upwards [Delay.shift_pos G L] with x hx |
| 108 | rw [Real.rpow_neg hx.le, ← Real.sqrt_eq_rpow] |
| 109 | rfl |
| 110 | |
| 111 | /-- The true-length truncation price . -/ |
| 112 | lemma cutoff {δ : ℝ} (hδ : 0 < δ) : Rate G L a (fun x => Real.exp (-δ*Stores.till x)) := by |
| 113 | intro b hb |
| 114 | let N := max (-b) 1 |
| 115 | have h1 : 0 < N := lt_of_lt_of_le zero_lt_one (le_max_right ..) |
| 116 | filter_upwards [Fees.route_tail_decay G L hδ h1, |
| 117 | (Work.E09.betaF_growth G L).eventually_gt_atTop 1] with x hx hp |
| 118 | rw [abs_of_pos (Real.exp_pos _)] |
| 119 | exact hx.trans (Real.rpow_le_rpow_of_exponent_le hp.le (by have := le_max_left (-b) (1:ℝ); unfold N; linarith)) |
| 120 | |
| 121 | lemma monitor_cutoff {δ γ : ℝ} (hδ : 0 < δ) (hγ : 0 < γ) : |
| 122 | Rate G L a (fun x => Real.exp (-δ*(Delay.fineMonitor G L x)^γ)) := by |
| 123 | intro b hb |
| 124 | let N := max (-b) 1 |
| 125 | have h1 : 0 < N := lt_of_lt_of_le zero_lt_one (le_max_right ..) |
| 126 | filter_upwards [Fees.hat_decay G L hδ hγ h1, |
| 127 | (Work.E09.betaF_growth G L).eventually_gt_atTop 1] with x hx hp |
| 128 | rw [abs_of_pos (Real.exp_pos _)] |
| 129 | exact hx.trans (Real.rpow_le_rpow_of_exponent_le hp.le (by have := le_max_left (-b) (1:ℝ); unfold N; linarith)) |
| 130 | |
| 131 | lemma below (h : Rate G L a w) (h₀ : a < 0) : ∀ (c : ℝ), 0 < c → ∀ᶠ x in atTop, |w x| ≤ c := by |
| 132 | intro c hc |
| 133 | let b := -a/2 |
| 134 | have hh : 0 < b := by unfold b; linarith |
| 135 | filter_upwards [Delay.shift_pos G L,h (-b) (by unfold b; linarith), |
| 136 | ((tendsto_rpow_atTop hh).comp (Work.E09.betaF_growth G L)).eventually_ge_atTop c⁻¹] |
| 137 | with x hx he hI |
| 138 | apply he.trans |
| 139 | rw [Real.rpow_neg hx.le]; change c⁻¹ ≤ betaF G x L^b at hI |
| 140 | exact (inv_anti₀ (inv_pos.mpr hc) hI).trans_eq (inv_inv c) |
| 141 | end Rate |
| 142 | end YM.ConnectedActivityE6 |