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.RG08.Invert.Limb |
| 2 | /-! # Anchor inversion for tree adjustment \phi, no orientation claim |
| 3 | for unused codes at root; paid site-Series too. Need genuine cover norm. -/ |
| 4 | set_option autoImplicit false |
| 5 | set_option linter.unnecessarySeqFocus false |
| 6 | set_option linter.unusedVariables false |
| 7 | noncomputable section |
| 8 | namespace YM.RG08.Invert |
| 9 | open Function Filter Lattice Wilson Exterior Precision Laurent Next.Free Next.Free.Flight RG RG.Supply Bloch Input Matrix |
| 10 | open Planned.PrimaryIntegral295 Carrier |
| 11 | open Stationary Analysis FreeResolvent Tree UVExt.Paths Reflect |
| 12 | open scoped BigOperators Topology Real Classical Matrix ContDiff |
| 13 | variable {G:Gauge}{i j k t r:ℕ}{L c f:Side}{S:StepData c f} |
| 14 | section extension |
| 15 | variable {m:ℕ→Side} {α β:Type} |
| 16 | variable {A:Cross L α β} |
| 17 | private lemma nomF (B:Ratio c f)(P: Cross B.count α β)(x y:Cover)(a:α)(b:β): installed B P (wrap f x,a) (wrap c y,b)= P.acts c (0, wrap B.count x,a) (wrap c (y-cellar B.count x),b) := by |
| 18 | rw [installed,submatrix_apply,split_co]; dsimp only; rw [Streets.residue,Streets.owner] |
| 19 | unfold Row.acts; simp only [of_apply,id_eq,map_sub,zero_add]; apply tsum_congr; intro i; simp [sub_eq_iff_eq_add,add_comm] |
| 20 | lemma foyer (h:Whole A)(hp:Tendsto (fun i=>(m i).val) atTop atTop)(x y:Cover)(a b): |
| 21 | Tendsto (fun i=>installed (⟨L,rfl⟩:Ratio (m i) (m i*L)) A (wrap (m i*L) x,a) (wrap (m i) y,b)) atTop (𝓝 (localeV A x a b y)):= by simp_rw [nomF]; exact entry_limit m hp A h.safe _ _ _ |
| 22 | -- explicit at wrap-test (separate to avoid over Step contexts) |
| 23 | private lemma tunnel (g:Ratio c f)(W: Cross g.count α β)(x y:Cover)(a b): installed g W (wrap f x,a) (wrap c y,b)=∑' i, if wrap c y= wrap c i then localeV W x a b i else 0:=by |
| 24 | rw [nomF]; unfold Row.acts; simp only [Matrix.of_apply,zero_add] |
| 25 | let z:=cellar g.count x |
| 26 | rw [← (Equiv.addRight z).tsum_eq (fun i:Cover=>if (wrap c y)=wrap c i then localeV W x a b i else 0)]; apply tsum_congr; intro k |
| 27 | rw [show Equiv.addRight z k=k+z from rfl,map_add,map_sub]; unfold localeV; rw [show k+z-cellar g.count x=k from add_sub_cancel_right ..]; simp [z,sub_eq_iff_eq_add] |
| 28 | end extension |
| 29 | @[simp] lemma mate_zero (x:Site L): mate L 0 (x,vac)=(-x,vac):= by unfold mate brim; simp [vac] |
| 30 | -- $AntiFull$ oriented sign cost |
| 31 | section covariance |
| 32 | variable {κ:KernelChoices} |
| 33 | lemma gradient_site (Q:Matrix (FreeResolvent.Slot G f 0) (FreeResolvent.Slot G c 1) ℝ)(z:Site f)(a:Axis)(i:G.ColorIndex)(v:FreeResolvent.Slot G c 1): |
| 34 | (patron G (d 0 f)*Q) (z,coord a,i) v = Q (z+step a,vac,i) v-Q (z,vac,i) v := by |
| 35 | let x (j):= Q j v |
| 36 | rw [tensor_same]; change component (tensor G (d 0 f)*ᵥ x) i (z,coord a)=_; rw [component_mul,d_sites]; rfl |
| 37 | private lemma acc {Q:Matrix (FreeResolvent.Slot G f 0) (FreeResolvent.Slot G c 1) ℝ} (h:HeatV (toneP G f 1) (toneP G c 1) (patron G (d 0 f)*Q)) (y y':Cover) (z: G.ColorIndex)(v: FreeResolvent.Slot G c 1) : |
| 38 | let l x:= Q (wrap f x,vac,z) v+Q (-wrap f x,vac,z) (toneP G c 1 v) |
| 39 | l y=l y':=by |
| 40 | intro l; have hh (x:Cover)(a:Axis): l (x+step a)=l x:= by |
| 41 | have hx:= h.yes (wrap f x,coord a,z) v |
| 42 | rw [show toneP G f 1 (_,_)= ix (mate f 1 (wrap f x,coord a)) z from rfl, mate_one] at hx |
| 43 | unfold ix at hx; simp only [gradient_site, sub_add_cancel] at hx |
| 44 | unfold l; rw [map_add, wrap_step, show -(wrap f x+step a)=-wrap f x-step a by abel]; linarith only [hx] |
| 45 | have he (w:Lattice.Walk)(x:Cover): l x=l (stop x w):= by |
| 46 | induction w generalizing x with |
| 47 | | nil=> rfl |
| 48 | | cons i w ih=> |
| 49 | rcases i with ⟨i,u|u⟩ <;> rw [stop,← ih] |
| 50 | · exact (hh x i).symm |
| 51 | change l x= l (x+ -step i); rw [← sub_eq_add_neg]; apply Eq.trans _ (hh (x-step i) i); exact congr_arg l (sub_add_cancel ..).symm |
| 52 | exact (he (route y y' 1) y).trans (congr_arg l (route_end ..)) |
| 53 | variable {T:Cross L (Loc G 0) (Loc G 1)} |
| 54 | private lemma compensates (h: Whole T)(hp:∀ c: Side, let f:=c*L; let g:= (⟨L,rfl⟩:Ratio c f); HeatV (toneP G f 1) (toneP G c 1) (patron G (d 0 f)*installed g T)) (x y:Cover) (a:Axis)(i j:G.ColorIndex): |
| 55 | let s (x y):= localeV T x (vac,i) (coord a,j) y |
| 56 | s x y = -s (-x) (pole (coord a) y):= by |
| 57 | intro s; let r:=pole (coord a) y; let u x:= s x y+s (-x) r |
| 58 | have hx (x x'): u x=u x':= by |
| 59 | let m(i:ℕ):Side:= (⟨i+1,Nat.succ_pos _⟩:Side); have hv: Tendsto (fun i=>(m i).val) atTop atTop:= tendsto_atTop_mono (fun i => show i ≤ i+1 by omega) tendsto_id |
| 60 | let g i : Ratio (m i) (m i * L):= ⟨L,rfl⟩; let f i:=m i * L |
| 61 | let V x y i':= installed (g i') T (wrap (f i') x,vac,i) (wrap (m i') y,coord a,j) |
| 62 | have hm x : Tendsto (fun i=> V x y i + V (-x) r i) atTop (𝓝 (u x)):= (foyer h hv ..).add (foyer h hv ..) |
| 63 | refine tendsto_nhds_unique_of_eventuallyEq (hm x) (hm x') (Eventually.of_forall fun k=>?_) |
| 64 | have hz: ix (wrap (m k) r,coord a) j=toneP G (m k) 1 (ix (wrap (m k) y,coord a) j):= by rw [tone_on]; apply congr_arg (fun x:Co (m k) (TypeFace 1)=> ix x j); exact (cover_mate ..).symm |
| 65 | change V x y k + V (-x) r k = V x' y k+ V (-x') r k; unfold V; rw [map_neg,map_neg, show (wrap (m k) r,coord a,j) = _ from hz]; exact acc (Q:=installed (g k) T) (hp _) x x' _ _ |
| 66 | have hJ (u:Cover): wrap L (L.val • u)=0:= by rw [map_nsmul]; ext; simp [nsmul_eq_mul,Per] |
| 67 | have hB (u:Cover):cellar L (L.val • u)=u:= by |
| 68 | have h:=balance L (L.val • u); rw [hJ,origin_lift,zero_add] at h; exact smul_right_injective _ L.property.ne' h.symm -- k nsmul? |
| 69 | have hy(y:Cover):Summable (fun u:Cover=> s (L.val • u) y):= by |
| 70 | let f:=T (0,vac,i) (coord a,j) |
| 71 | unfold s localeV; simp_rw [hJ,hB] |
| 72 | let E:Equiv.Perm Cover:= Equiv.subLeft y; exact E.summable_iff.mpr ((h.safe ..).of_norm) |
| 73 | have hw: Summable (fun i: Cover=>u x):= ((hy y).add ((Equiv.neg Cover).summable_iff.mpr (hy r))).congr (fun i=> ?_) |
| 74 | · exact eq_neg_of_add_eq_zero_left ((summable_const_iff (β:=Cover) (u x)).mp hw) |
| 75 | apply Eq.trans _ (hx (L.val• i) x); change s (L.val • i) _ + s (L.val • -i) _=s (L.val • i) _+ s (-(L.val • i)) _; simp only [smul_neg] |
| 76 | lemma AntiTw (h:Whole T) (hp:∀ c:Side, let f:=c*L; let g:= (⟨L,rfl⟩:Ratio c f); HeatV (toneP G f 1) (toneP G c 1) (patron G (d 0 f)*installed g T)) (X:Ratio c f)(hx:X.count=L) : |
| 77 | let Z:= (hx.symm ▸ T : Cross X.count (Loc G 0) (Loc G 1)) |
| 78 | let A:= installed X Z |
| 79 | ∀ i j,A i j= - A (toneP G f 0 i) (toneP G c 1 j):= by |
| 80 | subst L; intro Z A i j; change installed X T i j= -(installed X T (toneP G f 0 i) (toneP G c 1 j)); |
| 81 | obtain ⟨x,i,a⟩:=i; obtain ⟨z,j,b⟩:=j; obtain ⟨x,rfl⟩: ∃ y,wrap f y=x:= ⟨lift x,wrap_lift _⟩; obtain ⟨z,rfl⟩: ∃ y,wrap c y=z:= ⟨lift z,wrap_lift _⟩ |
| 82 | obtain ⟨j,rfl⟩:= axisEquiv.surjective j |
| 83 | rw [vac_only i]; |
| 84 | have hQ(K:ℕ)(c:Side)(x:Cover)(y:TypeFace K)(a:G.ColorIndex): toneP G c K (ix (wrap c x,y) a)=ix (wrap c (pole y x),y) a:= by rw [tone_on]; exact congr_arg (fun x=>ix x a) (cover_mate ..) |
| 85 | change _ = -installed X T (toneP G f 0 (ix (wrap f x,vac) _)) (toneP G c 1 (ix (wrap c z,coord j) _)); rw [hQ,hQ,show pole vac x= -x by simp [pole,brim,vac],ix, ix, tunnel, tunnel]; -- tactic syntax |
| 86 | erw [← (twin (coord j)).tsum_eq (fun i:Cover=> if wrap c (pole (coord j) z)=wrap c i then localeV T (-x) (vac,a) (coord j,b) i else 0),← tsum_neg]; refine tsum_congr fun y=>?_ |
| 87 | simp only [tw_p,(show wrap c (pole (coord j) z)=wrap c (pole (coord j) y) ↔ wrap c z=wrap c y by simp [pole])]; split; exact compensates (T:=T) h hp _ _ _ _ _; exact (neg_zero ..).symm |
| 88 | end covariance |
| 89 | end YM.RG08.Invert |