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.Anchor.Lenses |
| 2 | import YM.Work.D01 |
| 3 | import YM.MergeProof.North.Wicker |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Trace.Pull |
| 8 | open Set Function Filter MeasureTheory Analysis Extraction Table Ward Lattice Wilson Around Asymptotics |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | abbrev factor (S:Schedule) (a:ℝ) (k:ℕ):= Real.exp (S.scale k * a) |
| 12 | lemma shrunk (S:Schedule)(k:ℕ) : factor S (-1) k=S.a k:=by simp [factor,Schedule.scale, Real.exp_log (S.a_pos _)] |
| 13 | /-- Sub-exponential in scale, leading budget convention on all witnesses and shifts. -/ |
| 14 | def Calms {X : Type*} [Norm X] (S : Schedule) (v:ℝ) (x : ℕ→X):Prop:= ∀ p:ℝ,v<p→ x=O[atTop] factor S p |
| 15 | def Fast {X : Type*} [Norm X] (S : Schedule) (x : ℕ→X):Prop:=∃ p:ℝ,p<0∧ x=O[atTop] factor S p |
| 16 | lemma factor_mul (S:Schedule)(a b:ℝ) : factor S (a+b)=factor S a*factor S b:= funext fun k=>by rw [factor, mul_add, Real.exp_add]; rfl |
| 17 | lemma factor_sub (S:Schedule)(a b:ℝ) : factor S (a-b)=factor S a/factor S b:= funext fun k=>by rw [factor, mul_sub, Real.exp_sub]; rfl |
| 18 | lemma factor_weight (S:Schedule)(a b:ℝ) (h:a<b) : factor S a=o[atTop] factor S b:=by |
| 19 | apply isLittleO_of_tendsto (fun i hi=>(absurd hi (Real.exp_pos _).ne')); simp_rw [show ∀ i:ℕ, factor S a i/factor S b i= factor S (a-b) i from fun i=>by rw [factor_sub];rfl] |
| 20 | exact Real.tendsto_exp_atBot.comp (by simpa [mul_comm (S.scale _) (_-_)] using! S.divergent.const_mul_atTop_of_neg (sub_neg.mpr h)) |
| 21 | lemma factor_const {X:Type*}[Norm X](S:Schedule)(v:X)(p:ℝ)(hp:0 < p) : (fun _:ℕ=> v)=O[atTop] factor S p:=by |
| 22 | refine IsBigO.trans ?_ (factor_weight S 0 p hp).isBigO; rw [show factor S 0=fun _=>1 from funext fun k=>by unfold factor; simp only [mul_zero,Real.exp_zero]]; exact isBigO_const_const _ (one_ne_zero' ℝ) _ |
| 23 | lemma Calms.smaller {X Y : Type*}[Norm X][SeminormedAddCommGroup Y]{S:Schedule}{v:ℝ}{f:ℕ→X}{g:ℕ→Y}(h:Calms S v g)(ht:f=O[atTop]g): Calms S v f:=fun p hp=> ht.trans (h p hp) |
| 24 | lemma Calms.add {X : Type*}[NormedAddCommGroup X]{S:Schedule}{v:ℝ}{f g:ℕ→X}(h:Calms S v f)(ht:Calms S v g):Calms S v (f+g):=fun p hp=>(h p hp).add (ht p hp) |
| 25 | lemma Calms.mul {S:Schedule}{v w:ℝ}{f g:ℕ→ℝ}(h:Calms S v f)(ht:Calms S w g):Calms S (v+w) (f*g):=by |
| 26 | intro p hp; let a:ℝ:= (p-(v+w))/2 |
| 27 | have ha:0<a:= by unfold a; linarith |
| 28 | rw [show p=v+a+(w+a) by unfold a; ring, factor_mul]; exact (h (v+a) (by linarith)).mul (ht (w+a) (by linarith)) |
| 29 | lemma factor_calms (S:Schedule)(a:ℝ): Calms S a (factor S a):=fun p hp=> (factor_weight S a p hp).isBigO |
| 30 | lemma Fast.add {X : Type*}[NormedAddCommGroup X]{S:Schedule}{f g:ℕ→X}(h:Fast S f)(ht:Fast S g):Fast S (f+g):=by |
| 31 | obtain ⟨p,hp,h⟩:=h; obtain ⟨q,hq,hh⟩:=ht |
| 32 | obtain he|he|he:= lt_trichotomy p q; · exact ⟨q,hq,(h.trans (factor_weight S p q he).isBigO).add hh⟩ |
| 33 | · subst p; exact ⟨q,hq,h.add hh⟩ |
| 34 | exact ⟨p,hp,h.add (hh.trans (factor_weight S q p he).isBigO)⟩ |
| 35 | lemma Fast.smaller {X Y:Type*}[Norm X][SeminormedAddCommGroup Y]{S:Schedule}{f:ℕ→X}{g:ℕ→Y}(h:Fast S g)(ht:f=O[atTop]g):Fast S f:=⟨h.choose,h.choose_spec.1,ht.trans h.choose_spec.2⟩ |
| 36 | lemma Fast.mul {S:Schedule}{f g:ℕ→ℝ}(h:Fast S f)(ht:Calms S 0 g):Fast S (f*g):= by |
| 37 | obtain ⟨p,hp,h⟩:=h; refine ⟨p+-(p/2),by linarith,?_⟩; rw [factor_mul]; exact h.mul (ht _ (by linarith)) |
| 38 | lemma Fast.money {X : Type*}[Norm X]{S:Schedule}{f:ℕ→X}(h:Fast S f):∃ p:ℝ,p<0∧∀ᶠ i:ℕ in atTop, ‖f i‖ < factor S p i:= by |
| 39 | obtain ⟨p,hp,h⟩:=h; refine ⟨p/2,by linarith,?_⟩ |
| 40 | filter_upwards [(h.trans_isLittleO (factor_weight S p (p/2) (by linarith))).bound (show (0:ℝ)<1/2 by norm_num)] with k hk |
| 41 | rw [Real.norm_of_nonneg (Real.exp_pos _).le] at hk; exact hk.trans_lt (mul_lt_of_lt_one_left (Real.exp_pos _) (by norm_num)) |
| 42 | |
| 43 | variable {G:Gauge} |
| 44 | lemma curtain (s:RG.Levels G) : Calms s.S 0 (fun i=>Real.exp (Work.D01.columnLogs s i)):= by |
| 45 | intro p hp |
| 46 | refine isBigO_iff'.2 ⟨1,zero_lt_one,?_⟩ |
| 47 | filter_upwards [Work.D01.columnLogs_le s p hp] with i hi |
| 48 | simp only [Real.norm_of_nonneg (Real.exp_pos _).le,one_mul,factor] |
| 49 | exact Real.exp_monotone (hi.trans_eq (mul_comm ..)) |
| 50 | lemma column_calm (s:RG.Levels G) : Calms s.S 0 (fun i => (s.params i).columns):= by |
| 51 | refine (curtain s).smaller (isBigO_iff'.2 ⟨1,zero_lt_one,?_⟩); filter_upwards [eventually_gt_atTop (0:ℕ)] with i hi |
| 52 | cases i with |
| 53 | | zero=> omega |
| 54 | | succ i=> |
| 55 | let p:=(s.params (i+1)).columns; have he:0<p:=zero_lt_one.trans_le (s.params _).columns_ge |
| 56 | rw [Real.norm_of_nonneg (Real.exp_pos _).le,Real.norm_of_nonneg he.le, one_mul, Work.D01.columnLogs_succ, Real.exp_add, Real.exp_log he]; exact le_mul_of_one_le_left he.le (Real.one_le_exp (Work.D01.columnLogs_nonneg ..)) |
| 57 | end YM.Trace.Pull |