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.Graces |
| 2 | |
| 3 | /-! # Bundle analytic mesh chart operations, finite permutations/windows, only post-L. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Trace.Perfect |
| 7 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG Wilson |
| 8 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius |
| 9 | variable {G:Gauge} |
| 10 | namespace Lot |
| 11 | variable {P:Patch}{Y:KernelChoices}{p:Clip}{α D:ℝ} {W:Type*}(L:W→ Lot G P Y p α D) |
| 12 | {N:ℕ} (i:∀ w,Edge (Site (L w).f)) |
| 13 | set_option quotPrecheck false |
| 14 | -- anchor root to input for Calm (fine coordinate) |
| 15 | abbrev tab (a : Lot G P Y p α D):= Lines G a.c 1 |
| 16 | def fromV (y:∀ w,Site (L w).f): (w:W)→ (L w).tab→ℕ:= fun w i=> separation (y w) ((L w).s.ratio.embed i.1) |
| 17 | variable {T:Type}[NormedAddCommGroup T][NormedSpace ℝ T] |
| 18 | local notation "Lx"=> fun w=>(L w).tab |
| 19 | lemma moss {x y:∀ w,Site (L w).f}{Z:∀ w,Link G (L w).c→ T}(hp:Calm (fromV L x) Z N) (d:ℕ)(hx:∀ w,separation (x w) (y w)≤d): Calm (fromV L y) Z N:=by |
| 20 | apply hp.heater d; intro w i; unfold fromV; apply (separation_triangle _ (x w) _).trans; rw [separation_comm (y w),add_comm]; exact Nat.add_le_add_left (hx w) _ |
| 21 | lemma occupied (u:∀ w,Site (L w).c)(e:∀ w,Axis) : Calm (fromV L (fun w=>(L w).s.ratio.embed (u w))) (fun w x=> edgeColor x (u w,e w)) N:=by |
| 22 | let f (w:W)(x:Link G (L w).c)(j:G.ColorIndex):= x (u w,coord (e w), j) |
| 23 | have he : Calm (fromV L (fun w=>(L w).s.ratio.embed (u w))) f N:= Calm.piP f fun j=> Calm.pick _ (fun w=>(u w,coord (e w),j)) 0 (fun w=> (separation_self _).le) |
| 24 | let G': (G.ColorIndex→ℝ) ≃L[ℝ] G.Color:= (WithLp.linearEquiv (p:=2) ℝ _).symm.toContinuousLinearEquiv |
| 25 | exact he.maps G'.toContinuousLinearMap |
| 26 | lemma pumping (e:∀ w, Edge (Site (L w).c)): Calm (fromV L (fun w=>(L w).s.ratio.embed (e w).1)) (fun w x=> G.mat (input G (L w).c x (e w))) N:=by |
| 27 | have h:= occupied L (fun w=> (e w).1) (fun w=>(e w).2) (N:=N) |
| 28 | refine (h.forward (fun x=> G.mat (G.lieExp x)) (fun _=>G.exp_jet.contDiffAt) 0 (fun i=> by simp)).near (fun w=> ?_); exact Eventually.of_forall fun x=> congr_arg G.mat (input_color x (e w)).symm |
| 29 | lemma carpet (i:∀ w,(L w).wood.Free): Calm (fromV L (fun w=> ((i w).val).1)) |
| 30 | (fun w x=> (L w).ρ (arm G (L w).c 1 x) (i w)) N:=by |
| 31 | let F w (x:Link G (L w).c)(j:G.ColorIndex):= (L w).ρ (arm G (L w).c 1 x) (i w) j |
| 32 | let A : (G.ColorIndex→ℝ) ≃L[ℝ] G.Color:=(WithLp.linearEquiv (p:=2) ℝ _).symm.toContinuousLinearEquiv |
| 33 | let R:= fromV L (fun w=> ((i w).val).1) |
| 34 | suffices he: Calm R F N from he.maps A.toContinuousLinearMap |
| 35 | refine Calm.piP F (fun j=>?_) |
| 36 | let U w:= (arm G (L w).c 1).trans (Push.Uniform.tint G (Body 1 (L w).c)).symm |
| 37 | let P w: (L w).tab≃ Push.Uniform.Primary (L w).c G:= (Equiv.prodAssoc ..).symm |
| 38 | let Y(w):=Key (L w).wood G |
| 39 | have he:= earnings L (fun w=> (i w,j)) (N:=N) |
| 40 | have ht(w:W)(z:(L w).tab): U w (desk z)=desk (P w z):=by |
| 41 | funext y; rcases y with ⟨⟨m,l⟩,k⟩; change desk z (m,l,k)= desk (P w z) ((m,l),k); by_cases he:z=(m,l,k) |
| 42 | · rw [he,show P w (m,l,k)=((m,l),k) from rfl]; simp [desk] |
| 43 | have hh: P w z≠ ((m,l),k):= fun h=> he ((P w).injective h) |
| 44 | rw [show desk z (m,l,k)=0 from Pi.single_eq_of_ne (Ne.symm he) _,show desk (P w z) ((m,l),k)=0 from Pi.single_eq_of_ne (Ne.symm hh) _] |
| 45 | apply cell_move P R he (fun w=> (U w).toContinuousLinearMap) ht (fun w i=> rfl) |>.near |
| 46 | intro w; exact Eventually.of_forall fun x=> by change Push.Uniform.station _ _ _=_; simp [Push.Uniform.station,U];rfl |
| 47 | |
| 48 | lemma wine (e:∀ w, Edge (Site (L w).f)): Calm (fromV L (fun w=>(e w).1)) (fun w x=> G.mat ((encamp (L w).wood (L w).ρ x).1 (e w))) N:=by |
| 49 | classical |
| 50 | let J(v:Bool) (w:W):Prop:= decide ((e w)∈ (L w).wood.trunks)=v |
| 51 | refine Calm.assemble Finset.univ (P:=J) (fun w=>⟨_,Finset.mem_univ _,rfl⟩) (fun v _=>?_); cases v |
| 52 | swap |
| 53 | · exact (Calm.frozen _ (1:G.Mat)).near (fun w=>Eventually.of_forall fun x=>by change (1:G.Mat) = G.mat ((encamp (L w.val).wood (L w.val).ρ x).1 (e w.val)); rw [show (encamp (L w.val).wood (L w.val).ρ x).1 (e w.val)=1 from (L w.val).wood.on_tree _ ⟨_, of_decide_eq_true w.property⟩]; rfl) |
| 54 | let Y':= {w:W// J false w}; let i (w:Y'): (L w.val).wood.Free:=⟨e w.val,of_decide_eq_false w.property⟩ |
| 55 | have hr(w:Y')(x:Link G (L w.val).c): (encamp (L w.val).wood (L w.val).ρ x).1 (e w.val) = G.lieExp ((L w.val).ρ (arm G (L w.val).c 1 x) (i w)) * replica (L w.val).s.ratio (input G (L w.val).c x) (e w.val):= (L w.val).wood.off_tree _ (i w) |
| 56 | let D w (x:Link G (L w).c):= G.mat (replica (L w).s.ratio (input G (L w).c x) (e w)) |
| 57 | let r(w:W):=(L w).s.ratio |
| 58 | have hd: Calm (fromV L (fun w=>(e w).1)) D N:=by |
| 59 | let V (b:Bool) (w:W):Prop:= decide ((r w).parent ((e w).1+step (e w).2)=(r w).parent (e w).1)=b |
| 60 | refine Calm.assemble Finset.univ (P:=V) (fun w=>⟨_,Finset.mem_univ _,rfl⟩) (fun b _=>?_); cases b |
| 61 | swap |
| 62 | · exact (Calm.frozen _ (1:G.Mat)).near (fun w=>Eventually.of_forall fun x=>by |
| 63 | rw [show D w.val x=G.mat 1 from congr_arg G.mat (show replica (r w.val) (input G (L w.val).c x) (e w.val)=1 from if_pos (of_decide_eq_true w.property))];rfl) |
| 64 | let C w : Edge (Site (L w).c) := ((r w).parent (e w).1,(e w).2) |
| 65 | have hp:= moss L (x:=fun w=> (r w).embed (C w).1) (y:=fun w=> (e w).1) (pumping L C (N:=N)) P.L.val (fun w=>?_) |
| 66 | rotate_left |
| 67 | · refine le_trans (b:=(L w).s.ratio.count.val) ?_ (by rw [show ((L w).s.ratio.count) = (L w).s.patch.L from rfl,(L w).patch]); rw [separation_comm]; have he:= Corona.near (r w) (e w).1; change separation _ ((r w).embed ((r w).parent (e w).1)) ≤ (r w).count.val; omega |
| 68 | refine (hp.from (fun w:{x// V false x}=> w.val)).near ?_; intro w; exact Eventually.of_forall fun x=> congr_arg G.mat (Eq.symm (show replica (r w.val) (input G (L w.val).c x) (e w.val)=_ from if_neg (of_decide_eq_false w.property))) |
| 69 | have hf:= (carpet (N:=N) (W:=Y') (fun w=>L w.val) i).forward (fun z:G.Color=>G.mat (G.lieExp z)) (fun _=> G.exp_jet.contDiffAt) 0 (fun w=> by rw [map_zero,(L w.val).law.1];rfl) |
| 70 | have hV(w:W):D w 0=1:=by simp [D] |
| 71 | let M (v:G.Mat× G.Mat):= v.1*v.2 |
| 72 | refine ((hf.duo (hd.from (fun w:Y'=>w.val))).prop M (a:=((1,1):G.Mat×G.Mat)) (by unfold M;fun_prop) ?_).near ?_ |
| 73 | · intro w; exact Prod.ext (show G.mat (G.lieExp ((L w.val).ρ (arm G _ 1 (0:Link G _)) (i w)))=1 from by rw [map_zero,(L w.val).law.1];simp) (hV w.val) |
| 74 | intro w; exact Eventually.of_forall fun x=> by dsimp only [Function.comp_apply,M]; rw [hr w]; rw [G.mat_mul] |
| 75 | end Lot |
| 76 | end YM.Trace.Perfect |