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.Det.Tend |
| 2 | |
| 3 | /-! |
| 4 | # Gauge along moving left link. Off shell curvature equation. HM bled into EOM insert |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Trace.Det |
| 9 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset |
| 10 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius |
| 11 | variable {G:Gauge}{f:Side}{p:Clip}{R:PathData G}{Y:Gal G f}{α C D:ℝ} |
| 12 | {T:Type}[NormedAddCommGroup T][NormedSpace ℝ T][FiniteDimensional ℝ T][CompleteSpace T] |
| 13 | (U:Config G f) |
| 14 | |
| 15 | def lyric (u:BaseSites G f)(z:Link G f):= Lattice.gauge (switchSite u) (input G f z*U) * U⁻¹ |
| 16 | def lull (u:BaseSites G f)(z:Link G f): Link G f:=content (lyric U u z) |
| 17 | def juke (u:BaseSites G f)(z:Link G f): Link G f:= fderiv ℝ (fun h=> lull U h z) 0 u |
| 18 | def jukebox (U:Config G f)(x:Link G f)(u:BaseSites G f):Link G f:=fderiv ℝ (juke U u) 0 x |
| 19 | abbrev jeps (U:Config G f)(i:Lines G f 1)(j:Lines G f 0):= jukebox U ((pocket _) i) ((pocket _) j) |
| 20 | abbrev tuneM (p:Clip)(R:PathData G)(U:Config G f): Matrix (Lines G f 1) (Lines G f 0) ℝ:= of fun i j => fderiv ℝ (burn p R U) 0 (jeps U i j) |
| 21 | lemma lullArmy : Army (uncurry (lyric U)) 0:=by |
| 22 | exact ((Army.powG (v:=Prod.fst) contDiffAt_fst).slant ((Army.powL (v:=Prod.snd) contDiffAt_snd).mul (Army.park _ _))).mul (Army.park _ _) |
| 23 | lemma lyric_axis (z:Link G f) : lyric U 0 z=input G f z:=by simp [lyric] |
| 24 | lemma lull_analytic : ContDiffAt ℝ ω (uncurry (lull U)) 0:= (lullArmy U|>.logL (show lyric U 0 0=1 by rw[lyric_axis,input_zero])) |
| 25 | lemma lull_o : lull U 0 0=0:=by rw[lull,lyric_axis,input_zero,content_one] |
| 26 | lemma lyric_enc : ∀ᶠ u:BaseSites G f in 𝓝 0,input G f (lull U u 0)*U= Lattice.gauge (switchSite u) U:=by |
| 27 | let F u:= lyric U u 0 |
| 28 | have hh : Army F 0:=(lullArmy U).comp (g:=uncurry (lyric U)) (w:=fun u=>(u,0)) (by fun_prop) |
| 29 | have hF: F 0=1:=by unfold F; rw [lyric_axis,input_zero] |
| 30 | filter_upwards [(show Tendsto F (𝓝 0) (𝓝 1) from hF ▸ hh.cont.tendsto).eventually content_encodes] with u hu; rw[lull,show input G f (content (lyric U u 0))=lyric U u 0 from hu,lyric];simp |
| 31 | lemma lull_home (u:BaseSites G f) : juke U u 0=cant U u:=by |
| 32 | have hp: HasDerivAt (fun v:ℝ=> lull U (v • u) 0) (cant U u) 0:=by |
| 33 | refine ray_content (show lyric U ((0:ℝ) • u) 0=1 by rw [zero_smul,lyric_axis,input_zero]) (fun i => ?_) |
| 34 | simp only [lyric,input_zero,one_mul,Lattice.gauge,Pi.mul_apply,Pi.inv_apply,G.mat_mul,G.mat_inv] |
| 35 | convert! (((ray_power u i.1).mul_const (G.mat (U i))).mul (ray_power u (i.1+step i.2)).star).mul_const (star (G.mat (U i))) using 1 |
| 36 | simp [cant_at,G.colorMat_skew,Gauge.conjugate,add_mul, Matrix.mul_assoc]; rfl |
| 37 | have ht: ContDiffAt ℝ ω (fun h:BaseSites G f=> lull U h 0) 0:= (lull_analytic U).comp (f:=fun u:BaseSites G f=> (u,0)) 0 (by fun_prop) |
| 38 | exact (Push.side _ (ht.differentiableAt (by simp)) u).unique hp |
| 39 | lemma juke_form : ∃ B: Link G f →L[ℝ] BaseSites G f →L[ℝ] Link G f, ∀ u v, jukebox U u v=B u v:=by |
| 40 | let T:= fun z:Link G f=> fderiv ℝ (fun h=> lull U h z) 0; let B:= fderiv ℝ T 0 |
| 41 | have hT: ContDiffAt ℝ ω T 0:=by |
| 42 | let M:=(fun x:Link G f=>fun u:BaseSites G f=>lull U u x) |
| 43 | have he: ContDiffAt ℝ ω (uncurry M) 0:= (lull_analytic U).comp (f:=fun z:Link G f× BaseSites G f=>(z.2,z.1)) 0 (by fun_prop) |
| 44 | exact (Work.F05.curve_partial he).comp (f:=fun x:Link G f=> (x,0)) 0 (by fun_prop) |
| 45 | refine ⟨B,fun u v=>?_⟩; let L:= ContinuousLinearMap.apply ℝ (Link G f) v |
| 46 | unfold jukebox; rw[show juke U v=L∘ T from rfl, fderiv_comp 0 L.differentiableAt (hT.differentiableAt (by simp)),L.fderiv]; rfl |
| 47 | lemma hum (h:R.Bounds p α C D): flare p R U * mail U = - tuneM p R U:=by |
| 48 | let V:=burn p R U; let T:=lull U |
| 49 | have ht:= lull_analytic U; have hv:= burn_cov U h |
| 50 | have hi: ∀ᶠ z:BaseSites G f × Link G f in 𝓝 0, V (T z.1 z.2)= V z.2:=by |
| 51 | have hp: lyric U 0 0=1:=by rw [lyric_axis,input_zero] |
| 52 | filter_upwards [(show Tendsto (uncurry (lyric U)) (𝓝 0) (𝓝 1) from hp ▸ (lullArmy U).cont.tendsto).eventually content_encodes] with z hz; unfold T V; rw [lull, burn, show input _ _ (content (lyric U z.1 z.2))=_ from hz]; change mainTerm p R (lyric _ _ _*_)=_;rw [lyric,inv_mul_cancel_right]; exact Work.F05.mainTerm_gauge h .. |
| 53 | ext i j; let x:Link G f:=(pocket _) i; let y:BaseSites G f:=(pocket _) j |
| 54 | have he: (fun z=> fderiv ℝ V z (juke U y z))=ᶠ[𝓝 0] fun _=>0:=by |
| 55 | let g(z:Link G f):= ((0:BaseSites G f),z); have hG: Tendsto g (𝓝 0) (𝓝 0):= tendsto_const_nhds.prodMk_nhds tendsto_id |
| 56 | filter_upwards [el_slice hi,hG.eventually (ht.eventually (by simp)),hv.eventually (by simp),input_encodes (G:=G) (m:=f)] with z hz ht hv hl |
| 57 | let L(u:BaseSites G f):= lull U u z |
| 58 | have hL: ContDiffAt ℝ ω L 0:=ht.comp (f:=fun u:BaseSites G f=> (u,z)) 0 (by fun_prop) |
| 59 | have hk: L 0=z:=by unfold L;rw[lull,lyric_axis,hl] |
| 60 | have hh := fderiv_comp (g:=V) (f:=L) 0 (by rw[hk]; exact hv.differentiableAt (by simp)) (hL.differentiableAt (by simp)) |
| 61 | rw [(show V ∘ L =ᶠ[𝓝 0] fun _=>V z from hz).fderiv_eq, fderiv_fun_const,hk] at hh; exact congr($(hh.symm) y) |
| 62 | have hp:= f_clm (u:=juke U y) (L:=fderiv ℝ V) x 0 (keep_l ht y) (hv.fderiv_right (by simp)) |
| 63 | rw[he.fderiv_eq,fderiv_fun_const] at hp |
| 64 | have hz : fderiv ℝ V 0 (jukebox U x y)+ iteratedFDeriv ℝ 2 V 0 ![x,cant U y]=0:=by |
| 65 | rw[← lull_home,iteratedFDeriv_two_apply]; exact hp.symm |
| 66 | have hw : iteratedFDeriv ℝ 2 V 0 ![x,cant U y]=(flare p R U *mail U) i j:=by |
| 67 | rw[← detracts (pocket _),cash_pocket,cash_pocket, ← mailed,mulVec_mulVec]; change dotProduct x ((flare p R U *mail U) *ᵥ y)=_; rw [show x=Pi.single i 1 by simp[x], show y=Pi.single j 1 by simp [y]]; simp |
| 68 | exact hw ▸ (eq_neg_of_add_eq_zero_right hz) |
| 69 | |
| 70 | lemma meet_mail_n (V:T → Config G f)(h:Army V 0)(hp:V 0=1)(hx:Cloaked Y): |
| 71 | ∀ᶠ z in 𝓝 0,∀ᶠ u:BaseSites G f in 𝓝 0, |
| 72 | Y (Lattice.gauge (switchSite u) (V z))=armor (switchSite u) (Y (V z)):=by |
| 73 | let F (z:BaseSites G f × T):= V z.2 |
| 74 | let k (z:BaseSites G f × T):= switchSite z.1 |
| 75 | have hv : Army F 0:= Army.comp (g:=V) (w:=Prod.snd) h contDiffAt_snd |
| 76 | have ht:= hx.jacket (BaseSites G f × T) F k 1 hv hp (Army.powG contDiffAt_fst) (by unfold k;simp;rfl) |
| 77 | exact el_slice ht |
| 78 | |
| 79 | lemma ps_lull (hY: ∀ᶠ u:BaseSites G f in 𝓝 0,Y (Lattice.gauge (switchSite u) U)=armor (switchSite u) (Y U))(s:ℝ): |
| 80 | (fun u:BaseSites G f=> lyr Y U s (lull U u 0))=ᶠ[𝓝 0] fun u=> lull (tendr Y s U) u 0:=by |
| 81 | filter_upwards [hY,lyric_enc U] with x hx hv |
| 82 | rw [lyr,psm,hv, lull]; congr 2 |
| 83 | unfold tendr; rw [hx,← map_smul, armor_go,input_zero,one_mul] |
| 84 | lemma rising (h:Tune Y U)(hY:∀ᶠ u:BaseSites G f in 𝓝 0,Y (Lattice.gauge (switchSite u) U)=armor (switchSite u) (Y U)) : directionM (fun s=> mail (tendr Y s U)) 0 1 = tidal Y U * mail U:=by |
| 85 | let W(s):=tendr Y s U |
| 86 | let P:=lyr Y U |
| 87 | have hP : ContDiffAt ℝ ω (uncurry P) 0:= tune_diff U h |
| 88 | have ht: ContDiffAt ℝ ω (fun u:BaseSites G f=> lull U u 0) 0:= (lull_analytic U).comp (f:=fun u:BaseSites G f=> (u,(0:Link G f))) 0 (by fun_prop) |
| 89 | ext i j |
| 90 | let x:BaseSites G f:=(pocket _) j; let L(s:ℝ):= fderiv ℝ (P s) 0 (cant U x) |
| 91 | have hh: (fun s:ℝ=> cant (W s) x)=ᶠ[𝓝 0] L:=by |
| 92 | filter_upwards [(show Tendsto (fun s=> (s,(0:Link G f))) (𝓝 (0:ℝ)) (𝓝 0) from tendsto_id.prodMk_nhds tendsto_const_nhds).eventually (hP.eventually (by simp))] with s hs |
| 93 | have hv : ContDiffAt ℝ ω (P s) 0:= hs.comp (f:=fun v=>(s,v)) 0 (by fun_prop) |
| 94 | let g:= fun u:BaseSites G f=> lull U u 0 |
| 95 | rw [← lull_home]; unfold L; rw [← lull_home U]; unfold juke |
| 96 | have hx : fderiv ℝ (fun u=> lull (W s) u 0) 0 = (fderiv ℝ (P s) 0) ∘L fderiv ℝ g 0:=by |
| 97 | rw [← (show P s ∘ g=ᶠ[𝓝 0] fun u=>lull (W s) u 0 from ps_lull U hY s).fderiv_eq, fderiv_comp (0:BaseSites G f) _ (ht.differentiableAt (by simp)), lull_o U] |
| 98 | rw [lull_o U]; exact hv.differentiableAt (by simp) |
| 99 | exact congr($(hx) x) |
| 100 | let N:= ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : Lines G f 1=>ℝ) i |
| 101 | have hp: ContDiffAt ℝ ω L 0:= (analytic_r hP (cant U x)).comp (f:=fun s=> (s,(0:Link G f))) 0 (by fun_prop) |
| 102 | change fderiv ℝ (fun s=> mail (W s) i j) 0 1=(tidal Y U * mail U) i j |
| 103 | rw [(show (fun s=>mail (W s) i j)=ᶠ[𝓝 0] N ∘ L from hh.mono fun s hs=>by change mail (W s) i j=N (L s); rw[← hs]; rw [mail,bill_def,cash_pocket]; rfl).fderiv_eq,fderiv_comp _ N.differentiableAt (hp.differentiableAt (by simp)), N.fderiv] |
| 104 | change N (fderiv ℝ L 0 1)= _; rw [show fderiv ℝ L 0 1=fderiv ℝ (lyre Y U) 0 (cant U x) from (exchange hP _ _).symm,← bill_pay, ← mailed, mulVec_mulVec] |
| 105 | rw [show x=Pi.single j 1 by simp [x],Matrix.mulVec_single_one]; rfl |
| 106 | end YM.Trace.Det |