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 Mathlib.LinearAlgebra.Multilinear.FiniteDimensional |
| 2 | import YM.Progress.CLASSICAL_KIN_RECURSION.Colour |
| 3 | import YM.Work.F03.Flat |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # Analytic chart for gauge changes at Ward leading order. We use the |
| 10 | finite-dimensional inverse chart *locally*, corresponding to the |
| 11 | original extraction. No assertion of complex equivariance. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | open Filter Function |
| 16 | namespace YM.Progress.ClassicalKin |
| 17 | open Lattice RG Laurent Exterior Wilson Precision Bid |
| 18 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius |
| 19 | variable {G : Gauge} {n : Side} |
| 20 | |
| 21 | abbrev Booth (G : Gauge) (n : Side) := fieldDir G n 1 × fieldDir G n 0 |
| 22 | |
| 23 | def caps (g : G.El) (x : Booth G n) (i : Site n) := g*G.lieExp (-(x.2 (i,vac))) |
| 24 | |
| 25 | def laced (g : G.El) (v : Booth G n) := Lattice.gauge (caps g v) (represent v.1) |
| 26 | def translatedLog (U : Config G n) : Dir G n := fun i=> G.plog (G.mat (U (i.1,axisEquiv.symm i.2))) |
| 27 | def rotatedLog (g : G.El) (v : Booth G n) : Dir G n := translatedLog (laced g v) |
| 28 | |
| 29 | variable (g : G.El) |
| 30 | lemma laced_zero : laced g (0:Booth G n)=1 := by funext e; simp [laced,Lattice.gauge,caps] |
| 31 | lemma log_zero : translatedLog (1:Config G n)=0 := by ext; simp [translatedLog] |
| 32 | lemma chart_zero : rotatedLog g (0:Booth G n)=0 := by rw [rotatedLog,laced_zero]; exact log_zero |
| 33 | lemma laced_norm (e : Edge (Site n)) : ContDiffAt ℝ ω (fun v : Booth G n => G.mat (laced g v e)) 0 := by |
| 34 | have hk (i : Site n) : ContDiffAt ℝ ω (fun v : Booth G n => G.mat (caps g v i)) 0 := by |
| 35 | simp only [caps,G.mat_mul]; apply ContDiffAt.mul contDiffAt_const |
| 36 | exact G.exp_jet.contDiffAt.comp (f:=fun v : Booth G n=>-(v.2 (i,vac))) 0 |
| 37 | (((contDiffAt_apply ℝ G.Color _ _).comp (f:=Prod.snd) _ contDiffAt_snd).neg) |
| 38 | unfold laced Lattice.gauge; simp only [G.mat_mul,G.mat_inv] |
| 39 | apply ContDiffAt.mul |
| 40 | · exact (hk e.1).mul ((Work.F03.represent_smooth e).contDiffAt.comp (f:=Prod.fst) (0:Booth G n) contDiffAt_fst) |
| 41 | exact ((starL ℝ:G.Mat ≃L[ℝ] G.Mat).contDiff.contDiffAt).comp (0:Booth G n) (hk _) |
| 42 | lemma laced_smooth : ContDiffAt ℝ ω (rotatedLog (n:=n) g) 0 := by |
| 43 | refine contDiffAt_pi.mpr fun i => ContDiffAt.comp (f:=fun v => G.mat (laced g v (i.1,axisEquiv.symm i.2))) (0:Booth G n) ?_ (laced_norm _ _) |
| 44 | rw [laced_zero, Pi.one_apply,G.mat_one]; exact G.plog_diff |
| 45 | |
| 46 | lemma laced_germ : (fun v : Booth G n=>represent (rotatedLog g v)) =ᶠ[𝓝 0] laced g := by |
| 47 | have ht e : ∀ᶠ v in 𝓝 (0:Booth G n), G.lieExp (G.plog (G.mat (laced g v e)))=laced g v e := by |
| 48 | have hx : ContinuousAt (fun v : Booth G n=>laced g v e) 0 := |
| 49 | ((G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff).mpr ((laced_norm _ _).continuousAt.tendsto) |
| 50 | have hp := hx.tendsto; rw [laced_zero, Pi.one_apply] at hp |
| 51 | exact hp.eventually G.plog_right |
| 52 | filter_upwards [eventually_all.mpr ht] with v hv |
| 53 | funext e; rw [Work.F03.represent_link,rotatedLog,translatedLog, show axisEquiv.symm (coord e.2)=e.2 from axisEquiv.symm_apply_apply _]; exact hv e |
| 54 | |
| 55 | private lemma exp_ray (c : G.Color) : HasDerivAt (fun s : ℝ=> G.mat (G.lieExp (s • c))) (G.colorMat c) 0 := by |
| 56 | simp only [G.mat_lieExp,map_smul]; simpa using! hasDerivAt_exp_smul_const (G.colorMat c) (0:ℝ) |
| 57 | private lemma knit (e : Edge (Site n)) (x : fieldDir G n 0) : dColor G n 0 x (e.1,coord e.2)=x (e.1+step e.2,vac)-x (e.1,vac) := by |
| 58 | ext i; exact d_sites .. |
| 59 | |
| 60 | private lemma laced_deriv (e : Edge (Site n)) (v : Booth G n) : |
| 61 | HasDerivAt (fun s : ℝ => G.mat (laced g (s • v) e)) |
| 62 | (G.colorMat (Spools.reflects 1 n g (v.1+dColor G n 0 v.2) (e.1,coord e.2))) 0 := by |
| 63 | let m (i : Site n):=v.2 (i,vac) |
| 64 | have hx (i : Site n) : HasDerivAt (fun s : ℝ=> G.mat (caps g (s • v) i)) (G.mat g*G.colorMat (-(m i))) 0 := by |
| 65 | simp only [caps,G.mat_mul] |
| 66 | change HasDerivAt (fun s:ℝ=>G.mat g*G.mat (G.lieExp (-(s • m i)))) _ _; simp_rw [← smul_neg] |
| 67 | exact (exp_ray (-(m i))).const_mul _ |
| 68 | let b := v.1 |
| 69 | unfold laced Lattice.gauge; simp only [G.mat_mul,G.mat_inv] |
| 70 | have hk:=((hx e.1).mul (Work.F03.represent_rate b e)).mul (hx (e.1+step e.2)).star |
| 71 | convert! hk using 1 |
| 72 | simp only [Spools.reflects,G.mat_adjoint,Pi.add_apply,knit,Gauge.conjugate,map_add,map_sub,map_neg,G.colorMat_skew, |
| 73 | zero_smul,caps,Prod.snd_zero, Pi.zero_apply, neg_zero,G.mat_lieExp_zero,link_one, |
| 74 | Pi.one_apply,G.mat_one, mul_one,Pi.mul_apply,star_mul,star_neg, neg_neg,b,m] |
| 75 | -- expression should `(X v-x₀ +x₁)` |
| 76 | noncomm_ring |
| 77 | |
| 78 | lemma spell (v : Booth G n) : fderiv ℝ (rotatedLog g) 0 v=Spools.reflects 1 n g (v.1+dColor G n 0 v.2) := by |
| 79 | let w:= fderiv ℝ (rotatedLog g) 0 v |
| 80 | have hw : HasDerivAt (fun t : ℝ => rotatedLog g (t • v)) w 0 := Push.side _ ((laced_smooth g).differentiableAt (by simp)) v |
| 81 | have ht : Tendsto (fun t : ℝ => t • v) (𝓝 0) (𝓝 0):=by simpa using (show Continuous (fun t : ℝ => t • v) from by fun_prop).tendsto 0 |
| 82 | have he (e : Edge (Site n)) : G.colorMat (w (e.1,coord e.2))=G.colorMat (Spools.reflects 1 n g (v.1+dColor G n 0 v.2) (e.1,coord e.2)) := by |
| 83 | have hp (i) := hasDerivAt_pi.mp hw i |
| 84 | let q (s : ℝ):=rotatedLog g (s • v) (e.1,coord e.2) |
| 85 | have hd : HasFDerivAt (fun c=>G.mat (G.lieExp c)) G.colorMat.toContinuousLinearMap (q 0):=by |
| 86 | unfold q; rw [zero_smul,chart_zero]; exact G.expDiff_zero |
| 87 | refine ((hd.comp_hasDerivAt 0 (hp (e.1,coord e.2))).congr_of_eventuallyEq ?_).unique (laced_deriv g e v) |
| 88 | filter_upwards [ht.eventually (laced_germ g)] with s hs |
| 89 | rw [show laced g _=_ from hs.symm,Work.F03.represent_link]; rfl |
| 90 | funext ⟨a,i⟩; obtain ⟨j,rfl⟩:=axisEquiv.surjective i |
| 91 | exact G.colorMat_injective (he (a,j)) |
| 92 | end YM.Progress.ClassicalKin |