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.CONNECTED_ACTIVITY_BOUNDS.FrameCosts |
| 2 | import YM.Push.ABSOLUTE_SUMS.Delay |
| 3 | import YM.Push.ABSOLUTE_SUMS.Mixed |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Small-stencil cost accounting (saves of one more threshold) |
| 8 | |
| 9 | Address geometry for these uses is post-L. `allowance n p` means the |
| 10 | $n$-cost in powers of the actual *fine cut* threshold squared where |
| 11 | squared is priced as n=2. Constants may be paid by another fixed power |
| 12 | of radius. The window gate uses true coarse hat x determining that |
| 13 | radius (can apply again at projected data with different hat). $O$ at |
| 14 | fixed L, not pre-L and not all orders simultaneously through schedule. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticNext.ConnectedActivity.Rates |
| 19 | open Filter Lattice RG Wilson Pressure Pressure.Stores Precision Tree |
| 20 | open Next.Fluctuations Push.SectorMeasure Push.AbsoluteSums |
| 21 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 22 | |
| 23 | variable (G : Gauge) (D : Patch) -- patch size already fixed (post L) |
| 24 | |
| 25 | def pieces (x : ℝ) (p : ℕ) := (radiusB x:ℝ)^p |
| 26 | |
| 27 | def allowance (x : ℝ) (n p : ℕ) := pieces x p * (fiery G x D.L)^n |
| 28 | |
| 29 | lemma allowance_nn (x : ℝ) (n p : ℕ) : 0 ≤ allowance G D x n p := |
| 30 | mul_nonneg (pow_nonneg (by positivity) _) (pow_nonneg (temp_nonneg _) _) |
| 31 | |
| 32 | lemma exchange (x : ℝ) (n p m q : ℕ) : allowance G D x n p * allowance G D x m q = |
| 33 | allowance G D x (n+m) (p+q) := by unfold allowance pieces; ring |
| 34 | |
| 35 | lemma widen (n : ℕ) {p q : ℕ} (hp : p≤q) : ∀ᶠ x : ℝ in atTop, allowance G D x n p ≤ allowance G D x n q := by |
| 36 | filter_upwards [Work.E01.radiusB_tendsto.eventually_ge_atTop 1] with x hx |
| 37 | have hh : 0 ≤ fiery G x D.L := temp_nonneg _ |
| 38 | unfold allowance pieces; gcongr; exact_mod_cast hx |
| 39 | |
| 40 | lemma slow : Tendsto (fun p : ℝ => allowance G D p (n:=1) 0) atTop (𝓝 0) := by |
| 41 | have hs : Tendsto temp atTop (𝓝 0) := by simpa using Work.E09.radiusB_temp 0 |
| 42 | simpa [Function.comp_def,allowance,pieces,fiery] using hs.comp (Work.E09.betaF_growth G D.L) |
| 43 | |
| 44 | lemma grow (C : ℝ) {p q : ℕ} (hp : p<q) (n : ℕ) : |
| 45 | ∀ᶠ x : ℝ in atTop, C*allowance G D x n p ≤ allowance G D x n q := by |
| 46 | have hx : Tendsto (fun x : ℝ => (radiusB x:ℝ)) atTop atTop := |
| 47 | tendsto_natCast_atTop_atTop.comp Work.E01.radiusB_tendsto |
| 48 | filter_upwards [hx.eventually (eventually_ge_atTop C),widen G D n hp] with x hx h |
| 49 | apply le_trans _ h; unfold allowance pieces |
| 50 | rw [pow_succ] |
| 51 | apply le_trans (mul_le_mul_of_nonneg_right hx (allowance_nn G D x n p)); exact le_of_eq (by unfold allowance pieces; ring) |
| 52 | |
| 53 | lemma closer : ∀ᶠ x : ℝ in atTop, temp x ≤ 2 * fiery G x D.L ∧ fiery G x D.L ≤ 2*temp x := by |
| 54 | have hl : Tendsto (fun x => fiery G x D.L / temp x) atTop (𝓝 1) := Work.E09.temp_ratio _ |
| 55 | filter_upwards [hl.eventually (ge_mem_nhds (show (1:ℝ)<2 by norm_num)), |
| 56 | hl.eventually (le_mem_nhds (show (1/2:ℝ)<1 by norm_num)),eventually_gt_atTop (0:ℝ)] with x h1 h2 hx |
| 57 | have he := Work.E09.temp_pos hx |
| 58 | exact ⟨by linarith only [(le_div_iff₀ he).mp h2], (div_le_iff₀ he).mp h1⟩ |
| 59 | |
| 60 | lemma vanishes (p : ℕ) : Tendsto (fun x => allowance G D x 1 p) atTop (𝓝 0) := by |
| 61 | have ht := Work.E09.radiusB_temp p |
| 62 | apply squeeze_zero' (Eventually.of_forall fun x => allowance_nn G D x 1 p) ?_ |
| 63 | (g:=fun x => 2*((radiusB x:ℝ)^p*temp x)) (by simpa only [mul_zero] using! ht.const_mul 2) |
| 64 | filter_upwards [closer G D] with x hx |
| 65 | unfold allowance pieces; rw [mul_left_comm (2:ℝ),pow_one] |
| 66 | gcongr; exact hx.2 |
| 67 | |
| 68 | lemma burn (n p : ℕ) (D' : ℝ) (ε : ℝ) (he : 0<ε) : |
| 69 | ∀ᶠ x : ℝ in atTop,D'*allowance G D x (n+1) p ≤ ε*allowance G D x n 0 := by |
| 70 | have hh : Tendsto (fun x => D'*allowance G D x 1 p) atTop (𝓝 0) := by simpa using! (vanishes G D p).const_mul D' |
| 71 | filter_upwards [hh.eventually (ge_mem_nhds he)] with x hx |
| 72 | have hu : allowance G D x (n+1) p=allowance G D x 1 p*allowance G D x n 0 := by |
| 73 | simp only [exchange,Nat.one_add,Nat.add_zero] |
| 74 | rw [hu,← mul_assoc]; exact mul_le_mul_of_nonneg_right hx (allowance_nn ..) |
| 75 | |
| 76 | lemma decay {ε : ℝ} (he : 0<ε) (n p : ℕ) (C : ℝ) : |
| 77 | ∀ᶠ x : ℝ in atTop, C*pieces x p*Real.exp (-ε*till x) ≤ allowance G D x n 0 := by |
| 78 | have hh := radius_tail_fiery G D.L (ε/(n+1:ℕ)) (by positivity) p |
| 79 | have hs : ((max 1 C):ℝ)≥1 := le_max_left .. |
| 80 | let a x := Real.exp (-(ε/(n+1:ℕ))*till x) |
| 81 | have hf := hh.const_mul (max 1 C); rw [mul_zero] at hf |
| 82 | filter_upwards [Delay.shift_pos G D.L, hf.eventually (ge_mem_nhds zero_lt_one), |
| 83 | (slow G D).eventually (ge_mem_nhds zero_lt_one),Work.E01.radiusB_tendsto.eventually_ge_atTop 1] with x h1 hx hy hv |
| 84 | let t := fiery G x D.L |
| 85 | have ht : 0<t := Work.E09.temp_pos h1 |
| 86 | have hi : max 1 C * pieces x p * a x ≤ t := by |
| 87 | have he : max 1 C*((pieces x p * a x)/t) ≤ 1 := hx |
| 88 | rw [← mul_div_assoc, ← mul_assoc,div_le_one ht] at he; exact he |
| 89 | have he : 1 ≤ pieces x p := one_le_pow₀ (by exact_mod_cast hv) |
| 90 | have hu : a x≤t := by calc |
| 91 | _ ≤ (max 1 C*pieces x p) * a x := le_mul_of_one_le_left (Real.exp_pos _).le (one_le_mul_of_one_le_of_one_le hs he) |
| 92 | _ ≤ _ := hi |
| 93 | have hj : a x ^ (n+1)= Real.exp (-ε*till x) := by |
| 94 | unfold a; rw [← Real.exp_nat_mul]; congr 1; push_cast; field_simp |
| 95 | have hl : t≤1 := by simpa only [allowance,pieces,pow_zero,one_mul,pow_one,t] using |
| 96 | (show allowance G D x 1 0 ≤ 1 from hy) |
| 97 | calc |
| 98 | _ = (C*pieces x p*a x)*a x ^ n := by rw [← hj,pow_succ']; ring |
| 99 | _ ≤ t * t^n := by |
| 100 | have hg : C*pieces x p*a x ≤ t := le_trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 101 | (le_max_right ..) (zero_le_one.trans he)) (Real.exp_pos _).le) hi |
| 102 | exact mul_le_mul hg (pow_le_pow_left₀ (Real.exp_pos _).le hu n) (pow_nonneg (Real.exp_pos _).le _) ht.le |
| 103 | _ ≤ t^n := mul_le_of_le_one_left (pow_nonneg ht.le _) hl |
| 104 | _ = _ := by unfold allowance pieces; rw [pow_zero,one_mul] |
| 105 | |
| 106 | lemma tariff_paid (c : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 107 | Aff.tariff (c*radiusB x) x ≤ allowance G D x 1 6 := by |
| 108 | let C := 2*16*(2*(c:ℝ)+1)^5*Fintype.card PlaqAxes |
| 109 | filter_upwards [closer G D, Work.E01.radiusB_tendsto.eventually_ge_atTop 1, |
| 110 | grow G D C (by decide : 5<6) 1] with x hx hh hi |
| 111 | apply le_trans _ hi |
| 112 | have hb : 1 ≤ (radiusB x:ℝ) := by exact_mod_cast hh |
| 113 | have hp : 0 ≤ temp x := temp_nonneg _ |
| 114 | have hf : 0 ≤ fiery G x D.L := temp_nonneg _ |
| 115 | unfold C Aff.tariff allowance pieces |
| 116 | push_cast |
| 117 | rw [pow_one] |
| 118 | let t : ℝ := radiusB x |
| 119 | calc |
| 120 | _ ≤ 16*((2*c+1)*t)^5 * (Fintype.card PlaqAxes) * (2*fiery G x D.L) := by |
| 121 | have ht := hx.1; gcongr; unfold t; nlinarith |
| 122 | _ = _ := by unfold t; ring |
| 123 | end YM.AnalyticNext.ConnectedActivity.Rates |