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.TraceExtension.Wick.Gain |
| 2 | |
| 3 | /-! No such expansion can have log-suppressed leading order. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.TraceExtension.Wick |
| 7 | open Function Set Filter Asymptotics |
| 8 | open scoped Topology BigOperators Classical |
| 9 | |
| 10 | private abbrev Tag := ℤ × ℕ |
| 11 | private def degree (t : Tag) : Lex (ℝ × ℕ) := toLex (((1/2:ℝ)^(8+t.1)), t.2+2) |
| 12 | private def P (t : Tag) (n : ℕ) : ℝ := (ofLex (degree t)).1^n * (n:ℝ)^(t.2+2) |
| 13 | private def act (t:Tag) := (Real.log (1/2))^(t.2+2) |
| 14 | private lemma increases : Function.Injective degree := by |
| 15 | rintro ⟨i,v⟩ ⟨s,t⟩ H |
| 16 | change toLex _=toLex _ at H; apply toLex.injective at H |
| 17 | simp only [Prod.mk.injEq,add_left_inj] at H; obtain ⟨h,rfl⟩:=H; congr 1 |
| 18 | rcases lt_trichotomy i s with hk|hk|hk |
| 19 | · exact False.elim ((zpow_lt_zpow_right_of_lt_one₀ (by norm_num : (0:ℝ)<1/2) (by norm_num : (1/2:ℝ)<1) (add_lt_add_right hk 8)).ne h.symm) |
| 20 | · exact hk |
| 21 | exact False.elim ((zpow_lt_zpow_right_of_lt_one₀ (by norm_num : (0:ℝ)<1/2) (by norm_num : (1/2:ℝ)<1) (add_lt_add_right hk 8)).ne h) |
| 22 | private lemma negligible (t : Tag) (h : (ofLex (degree t)).1 < 1) : Tendsto (P t) atTop (𝓝 0) := by |
| 23 | have hp : |(ofLex (degree t)).1| < 1 := by rwa [abs_of_nonneg (by dsimp [degree]; positivity)] |
| 24 | exact (tendsto_pow_const_mul_const_pow_of_abs_lt_one _ hp).congr fun _=> mul_comm .. |
| 25 | private lemma decisive (t : Tag) (h : 1 ≤ (ofLex (degree t)).1) : Tendsto (P t) atTop atTop := |
| 26 | tendsto_atTop_mono (fun n:ℕ => show (n:ℝ)^(t.2+2) ≤ P t n from le_mul_of_one_le_left (by positivity) (one_le_pow₀ h)) |
| 27 | ((tendsto_pow_atTop (n:=t.2+2) (by omega)).comp tendsto_natCast_atTop_atTop) |
| 28 | private lemma supersedes {x y} (h : degree x<degree y) : Tendsto (fun n=> P x n / P y n) atTop (𝓝 0) := by |
| 29 | let a:= (ofLex (degree x)).1; let b:=(ofLex (degree y)).1 |
| 30 | have ha : 0<a := by unfold a degree; dsimp; positivity |
| 31 | have hb : 0<b := by unfold b degree; dsimp; positivity |
| 32 | let i:=x.2+2; let j:=y.2+2 |
| 33 | have he : a<b ∨ a=b ∧ i<j := Prod.lex_def.mp h |
| 34 | rcases he with hh|⟨hh,hu⟩ |
| 35 | · have hv : Tendsto (fun n:ℕ=> ((n:ℝ)^j)⁻¹) atTop (𝓝 0) := tendsto_inv_atTop_zero.comp |
| 36 | ((tendsto_pow_atTop (n:=j) (by unfold j; omega)).comp tendsto_natCast_atTop_atTop) |
| 37 | have hg : |a/b|<1 := by rw [abs_of_nonneg (by positivity)]; exact (div_lt_one hb).mpr hh |
| 38 | have ht := (tendsto_pow_const_mul_const_pow_of_abs_lt_one i hg).mul hv; rw [zero_mul] at ht; apply ht.congr; intro t; dsimp only [P]; unfold a b i j; rw [div_pow]; ring |
| 39 | have hv : Tendsto (fun n:ℕ=> ((n:ℝ)^(j-i))⁻¹) atTop (𝓝 0) := tendsto_inv_atTop_zero.comp |
| 40 | ((tendsto_pow_atTop (n:=j-i) (by omega)).comp tendsto_natCast_atTop_atTop) |
| 41 | refine hv.congr' ?_; filter_upwards [eventually_gt_atTop 0] with n hn; change _=a^n*(n:ℝ)^i/(b^n*n^j); rw [hh]; |
| 42 | rw [show (n:ℝ)^j=n^(j-i)* (n:ℝ)^i by rw [← pow_add]; congr; omega]; field_simp |
| 43 | |
| 44 | private def life (n : ℕ) := (1/2:ℝ)^n |
| 45 | private def share (s : ℝ) := s^8*Real.log (s⁻¹)^2 |
| 46 | private lemma singleValue (t : Tag) (n) : share (life n) * joint t.1 t.2 (life n) = act t*P t n := by |
| 47 | let r : ℝ := 1/2 |
| 48 | have h : 0<r := by unfold r; norm_num |
| 49 | unfold joint tile; rw [fill_at (show 0<life n from pow_pos h _)] |
| 50 | simp only [share, Real.log_inv, sq, neg_mul_neg,P,degree, ofLex_toLex,act, life, Real.log_pow,mul_pow] |
| 51 | -- x^n commutes with zpow |
| 52 | have he (a:ℤ) : (r^n)^a=(r^a)^n := by rw [← zpow_natCast r n, ← zpow_natCast (r^a) n, ← zpow_mul,← zpow_mul,mul_comm] |
| 53 | rw [zpow_add₀ (ne_of_gt h),mul_pow,he, show r^(8:ℤ)=r^(8:ℕ) from zpow_natCast .., ← pow_mul, ← pow_mul r, Nat.mul_comm (8:ℕ) n] |
| 54 | ring |
| 55 | private lemma board_limit {u} (hu : u∈ board) {A : ℝ} |
| 56 | (hx : Tendsto (fun n=> share (life n)*u (life n)) atTop (𝓝 A)) : A=0 := by |
| 57 | let t (x : Tag) := joint x.1 x.2 |
| 58 | have he : u ∈ LinearMap.range (Finsupp.linearCombination ℝ t) := by |
| 59 | rw [Finsupp.range_linearCombination]; |
| 60 | refine Submodule.span_mono (s:={f:ℝ→ℝ|∃ a k,f=joint a k}) ?_ hu |
| 61 | rintro f ⟨a,k,rfl⟩; exact ⟨⟨a,k⟩,rfl⟩ |
| 62 | obtain ⟨g,hg⟩:=he |
| 63 | let F (x : Tag) := g x * act x |
| 64 | have hy n : share (life n)*u (life n)=∑ x∈g.support,F x*P x n:= by |
| 65 | rw [← hg,Finsupp.linearCombination_apply,Finsupp.sum,Finset.sum_apply, Finset.mul_sum]; |
| 66 | apply Finset.sum_congr rfl; intro x h; change share _ * (g x*joint x.1 x.2 _) = _ |
| 67 | unfold F; rw [mul_left_comm, singleValue x, mul_assoc] |
| 68 | simp_rw [hy] at hx |
| 69 | rcases g.support.eq_empty_or_nonempty with h|h |
| 70 | · exact tendsto_nhds_unique hx (by simp [h]) |
| 71 | obtain ⟨k,hk,hP⟩:= Finset.exists_max_image _ degree h |
| 72 | by_cases he : (ofLex (degree k)).1 < 1 |
| 73 | · suffices h : Tendsto (fun n=> ∑ x∈g.support, F x * P x n) atTop (𝓝 (∑ x ∈g.support,(0:ℝ))) by |
| 74 | simp only [Finset.sum_const_zero] at h; exact tendsto_nhds_unique hx h |
| 75 | apply tendsto_finsetSum _ fun i hi=> ?_ |
| 76 | have hb : (ofLex (degree i)).1 ≤ (ofLex (degree k)).1 := by |
| 77 | -- lex |
| 78 | rcases (hP i hi).eq_or_lt with H|H |
| 79 | · rw [H] |
| 80 | rcases Prod.lex_def.mp H with hb|⟨hb,hc⟩ |
| 81 | · exact hb.le |
| 82 | exact hb.le |
| 83 | simpa only [mul_zero] using (negligible _ (hb.trans_lt he)).const_mul (F i) |
| 84 | have hp := hx.mul (tendsto_inv_atTop_zero.comp (decisive _ (le_of_not_gt he))); rw [mul_zero] at hp |
| 85 | have hk' : F k ≠ 0 := mul_ne_zero (Finsupp.mem_support_iff.mp hk) (pow_ne_zero _ ((Real.log_neg (by norm_num : (0:ℝ)<1/2) (by norm_num)).ne)) |
| 86 | let v (i : Tag) := if i=k then F k else 0 |
| 87 | have hr : Tendsto (fun n=>∑ x∈g.support,F x*(P x n/P k n)) atTop (𝓝 (∑ i∈g.support,v i)) := by |
| 88 | apply tendsto_finsetSum _ fun i hi=> ?_ |
| 89 | by_cases ht:i=k |
| 90 | · subst i; apply tendsto_const_nhds.congr'; |
| 91 | filter_upwards [eventually_gt_atTop 0] with n hn; rw [div_self (by dsimp [P,degree]; positivity : P k n ≠ 0)]; simp [v] |
| 92 | have hL := (supersedes (lt_of_le_of_ne (hP i hi) (increases.ne ht))).const_mul (F i); simpa only [v,if_neg ht,mul_zero] using hL |
| 93 | have hs : ∑ i ∈g.support,v i=F k := by simp [v,hk]; |
| 94 | exact False.elim (hk' (hs ▸ tendsto_nhds_unique_of_eventuallyEq hr hp (Eventually.of_forall (fun n => by simp_rw [Finset.sum_mul,div_eq_mul_inv,mul_assoc]; rfl)))) |
| 95 | |
| 96 | lemma no_powerlog {f : ℝ→ℝ} {A : ℝ} (hp : AtOrder f 0) (ht : Tendsto (fun s=> (s^8 * (Real.log s⁻¹)^2)*f s) past (𝓝 A)) : A=0 := by |
| 97 | obtain ⟨u,w,h⟩:=hp |
| 98 | apply board_limit w |
| 99 | have he : Tendsto life atTop past := tendsto_nhdsWithin_iff.mpr ⟨tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num) (by norm_num), Eventually.of_forall fun i=> by change 0<life i; unfold life; positivity⟩ |
| 100 | have hh := ht.comp he |
| 101 | have hy (n) : share (life n)=act ⟨0,0⟩*P ⟨0,0⟩ n := by |
| 102 | rw [← singleValue]; simp [joint,tile] |
| 103 | have hv : Tendsto (fun n=> share (life n)) atTop (𝓝 0) := by |
| 104 | simp_rw [hy]; simpa only [mul_zero] using (negligible ⟨0,0⟩ (by norm_num [degree])).const_mul (act ⟨0,0⟩) |
| 105 | have hr : Tendsto (fun n=> share (life n)*(f-u) (life n)) atTop (𝓝 0) := by |
| 106 | apply ((isBigO_of_le atTop (f:=fun n=> share (life n)) (g:=fun n=> share (life n)) (fun _=> le_rfl)).mul (h.comp_tendsto he)).trans_tendsto |
| 107 | simpa only [tile,zpow_zero, Function.comp_apply,mul_one] using hv |
| 108 | have hq:= hh.sub hr; rw [sub_zero] at hq; apply hq.congr; intro n; change share _ * f _ - share _ * (f _- u _)=_; ring |
| 109 | end YM.TraceExtension.Wick |