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.Perfect.Pith |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Perfect |
| 6 | open Lattice Laurent RG Wilson Function Finset Filter |
| 7 | open scoped BigOperators Topology |
| 8 | variable {c f: Side} {A: Type*} [AddCommGroup A] [Module ℝ A] |
| 9 | def elm (a:Axis)(J:Site f→A)(x:Site f):= Pull.dTap (fun i=> J (x+i •step a)) 0 |
| 10 | def twig (a:Axis)(J:Site f→A)(x:Site f):= J (x+step a)-J x |
| 11 | def takeRoot (S:Sheaf) (J:Site f→A) (x:Site f):= S.take (fun q:Cover=> J (x+wrap f q)) 0 |
| 12 | def verse (S:Sheaf)(r:Ratio c f)(J:Site f→A):Site c→A:=takeRoot S J ∘ r.embed |
| 13 | lemma takeRoot_at (S:Sheaf)(J:Site f→A)(x:Site f)(w:Cover): takeRoot S J (x+wrap f w)=S.take (fun q:Cover=> J (x+wrap f q)) w:=by |
| 14 | let F : Cover→A:=fun q=> J (x+wrap f q); have he : (fun q:Cover=> J (x+wrap f w+wrap f q))=fun q=> F (q+w):=by ext1 q; unfold F; rw[map_add]; congr 1; abel |
| 15 | rw [takeRoot,he,S.shift_f]; dsimp only; rw[zero_add] |
| 16 | |
| 17 | variable (r:Ratio c f)(L:Side)(h:r.count = L) |
| 18 | include h |
| 19 | lemma embedded_shift (x:Site c)(i:Axis)(j:ℤ): r.embed (x+j •step i)=r.embed x+wrap f (j • Sheaf.v L i):=by |
| 20 | rw [show r.embed _= r.root (x+ j • step i) from rfl,map_add,map_zsmul]; rw [show r.root (step i)=r.embed (step i) from rfl,← wrap_step c i,r.embed_wrap,map_zsmul,h]; rfl |
| 21 | lemma elm_verse (J:Site f→A)(X:Sheaf)(x:Site c)(a:Axis): elm a (verse X r J) x=Pull.dTap (fun l=>X.take (fun q:Cover=> J (r.embed x+wrap f q)) (l • Sheaf.v L a)) 0:=by unfold elm verse;simp_rw [comp_apply,embedded_shift r L h,takeRoot_at] |
| 22 | omit h in |
| 23 | lemma elm_r (J:Site f→A)(a:Axis)(x:Site f)(w:Cover): |
| 24 | elm a J (x+wrap f w)=Pull.dTap (fun l=> J (x+wrap f (w+l •step a))) 0 :=by unfold elm; congr 1; ext1 i; rw [map_add,map_zsmul,wrap_step]; congr 1; abel |
| 25 | lemma elm_flux (J:Site f→A)(a:Axis): (L.val:ℝ) • verse (Sheaf.main L) r (elm a J)=elm a (verse (Sheaf.flux L a) r J):=by |
| 26 | ext1 x; rw [elm_verse r L h]; let F:=fun w=> J (r.embed x+wrap f w) |
| 27 | have ht: (fun w=> elm a J (r.embed x+wrap f w)) = Sheaf.take (Sheaf.take F (Sheaf.band (step a))) (Sheaf.Δ (step a)):=funext fun w=> by rw [Sheaf.calc_fd]; exact elm_r _ _ _ _ |
| 28 | rw [Pi.smul_apply,verse, Function.comp_apply,takeRoot,ht,← Pi.smul_apply,Sheaf.flux_delta,Sheaf.calc_fd]; simp only [zero_add]; rfl |
| 29 | lemma verse_twig (J:Site f→A)(a:Axis)(x:Site c)(S:Sheaf): twig a (verse S r J) x= Sheaf.take (Sheaf.take (fun z=> J (r.embed x+wrap f z)) S) (Sheaf.Δ (Sheaf.v L a)) 0:=by |
| 30 | unfold twig verse; simp only [Function.comp_apply]; rw [r.embed_leap,h]; rw [← show Lattice.wrap f (Sheaf.v L a)=L.val • step a by unfold Sheaf.v;rw [map_nsmul,wrap_step],takeRoot_at, Sheaf.rises, zero_add]; rfl |
| 31 | lemma twig_r (J:Site f→A)(a:Axis): verse (Sheaf.main L) r (twig a J)=((L.val:ℝ))⁻¹ • twig a (verse (Sheaf.leafEdge L a) r J):=by |
| 32 | ext1 x; rw [Pi.smul_apply,verse_twig r L h]; let F:=fun w=> J (r.embed x+wrap f w) |
| 33 | have hv : (fun w=> twig a J (r.embed x+wrap f w))=Sheaf.take F (Sheaf.Δ (step a)):= funext fun w=>by unfold twig; rw [Sheaf.rises]; unfold F; rw [map_add,wrap_step, add_assoc] |
| 34 | rw [verse, Function.comp_apply,takeRoot,hv,Sheaf.main_leaf]; rfl |
| 35 | lemma verse_trail (X:Sheaf)(a:Axis)(hX:∀ f: Cover→ A,Sheaf.take f (Sheaf.flux L a)= Sheaf.take f (Sheaf.main L)+Sheaf.take (Sheaf.take f X) (Sheaf.Δ (Sheaf.v L a)))(J:Site f→A): |
| 36 | verse (Sheaf.flux L a) r J=verse (Sheaf.main L) r J+twig a (verse X r J):=by ext1 x; rw [Pi.add_apply,verse_twig r L h,verse, Function.comp_apply,takeRoot,hX];rfl |
| 37 | omit h in |
| 38 | def mixer (S:Sheaf)(r:Ratio c f): (Site f→A)→ₗ[ℝ] (Site c→A) where |
| 39 | toFun:=verse S r |
| 40 | map_add' X Y:=funext fun x=>congr_fun (Sheaf.add_f S (fun w=> X (r.embed x+wrap f w)) (fun w=>Y (r.embed x+wrap f w))) 0 |
| 41 | map_smul' u X:=funext fun x=>congr_fun (Sheaf.smul_f S (fun w=>X (r.embed x+wrap f w)) u) 0 |
| 42 | -- difference operators |
| 43 | omit h in |
| 44 | def sprig (a:Axis): (Site f→A)→ₗ[ℝ] (Site f→A) where |
| 45 | toFun:=twig a |
| 46 | map_add' X Y:=by funext x; simp only[twig,Pi.add_apply]; abel |
| 47 | map_smul' u X:=funext fun x=> (smul_sub u ..).symm |
| 48 | omit h in |
| 49 | lemma rate_elm (Y:Site f→A)(u:ℝ)(a:Axis): elm a (u • Y)=u • elm a Y:=by |
| 50 | unfold elm Pull.dTap; funext x; simp only [Pi.smul_apply, ← smul_sub]; simp_rw [Finset.smul_sum]; apply sum_congr rfl; intro i _; exact smul_comm .. |
| 51 | end YM.Trace.Perfect |