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.MergeProof.Eureka |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Push.Mark |
| 5 | open Function Set Filter Labels Lattice Bid |
| 6 | open Extraction Extraction.Lease Next.Extract Dash |
| 7 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 8 | variable {G : Gauge} {C : Family G} {F : Extraction.Order} {d : ℕ} {R : Weave G} {b : Presentation C} |
| 9 | {S : Table C.book} {D : Bin S} {Z : ∀ d : ℕ, ℕ→ CoordMap C d} |
| 10 | |
| 11 | open YM.MergeProof |
| 12 | variable {X : ∀ d,RelayDifference.Cutoffs→ (C.label d≃ₗ[ℂ] C.label d)} |
| 13 | lemma drumroll (h:Scotia C R X b) (ht : Projected b F D Z) (d : ℕ) : |
| 14 | ∃ L : Label G d ≃ₗ[ℂ] C.label d, (∀ p, p∈Maxwell.equationIdeal G d ↔ L p∈LinearMap.ker (D d).trueP.toLinearMap) ∧ |
| 15 | (∀ p,L (realBar p)=star (L p)) ∧ ∀ p s,L (theta s p)=(C.labels.level d).act s.ortho (L p) := by |
| 16 | let W := C.labels.level d |
| 17 | let T := (D d).trueP |
| 18 | let A := (D d).step |
| 19 | have ha := ht.approaches d |
| 20 | change Tendsto A F.fuse (𝓝 T) at ha |
| 21 | have hw':= (RelayDifference.cutoff_grows F).eventually (h.turns d); have hg : ∀ᶠ i in F.fuse, Symmetry W (A i) := by |
| 22 | filter_upwards [hw'] with i hi; dsimp only [W,A]; rw [ht.same]; exact hi i.2|>.2.2 |
| 23 | have hw (x : W.Coeff) : Tendsto (fun i=> A i x) F.fuse (𝓝 (T x)) := Dash.arcing ha tendsto_const_nhds |
| 24 | have hp : Symmetry W T := by |
| 25 | constructor |
| 26 | · intro s x |
| 27 | let g := travelH W s |
| 28 | exact tendsto_nhds_unique_of_eventuallyEq (hw (g x)) (g.continuous.continuousAt.tendsto.comp (hw x)) (hg.mono fun i hi=> hi.signed s x) |
| 29 | intro x |
| 30 | exact tendsto_nhds_unique_of_eventuallyEq (hw (star x)) (hw x |>.star) (hg.mono fun i hi=> hi.real_ x) |
| 31 | let Yx (i) := T * A i + (1-T)*(1-A i) |
| 32 | have h0 : T*T=T := by |
| 33 | apply ContinuousLinearMap.ext; exact (D d).final |
| 34 | have hu : Tendsto Yx F.fuse (𝓝 1) := by |
| 35 | have hh := (tendsto_const_nhds (x:=T)|>.mul ha).add |
| 36 | ((tendsto_const_nhds (x:=(1-T))|>.mul (tendsto_const_nhds (x:=1)|>.sub ha))) |
| 37 | rw [show T*T+(1-T)*(1-T)=1 by rw [sub_mul,one_mul,mul_sub,h0,mul_one]; abel] at hh |
| 38 | exact hh |
| 39 | obtain ⟨⟨N,p⟩,hs,hN,H⟩ := ((hu.eventually (Units.isOpen.mem_nhds (x:=1) (isUnit_one ))).and (hw'.and hg)).exists |
| 40 | let i := (N,p) |
| 41 | have hz : IsUnit (Yx i) := hs |
| 42 | obtain ⟨Y,hY⟩ := Spin.unit_shape (Yx i) hz |
| 43 | have he (x) : Y x = T (A i x) + ((x-A i x)-T (x-A i x)) := by |
| 44 | have hv (x) : Y x= Yx i x := LinearMap.congr_fun hY x |
| 45 | simp [hv,Yx] |
| 46 | refine ⟨(bindP C R d N p (X d (N,p))).trans Y, fun q=>?_,fun q=>?_,fun q s=>?_⟩ |
| 47 | · suffices hh : A i= b.step d i by |
| 48 | have hl (x) : Y (A i x)=T (Y x) := by |
| 49 | have hr x : A i (A i x)=A i x := (D d).projection .. |
| 50 | have hc x : T (T x)=T x := (D d).final _ |
| 51 | rw [he,he,hr,sub_self,map_zero, sub_self,add_zero,map_add,hc] |
| 52 | simp only [map_sub,hc,sub_self,add_zero] |
| 53 | let L := bindP C R d N p (X d (N,p)) |
| 54 | change q∈Maxwell.equationIdeal G d ↔ T (Y (L q))=0 |
| 55 | rw [← hl, map_eq_zero_iff _ Y.injective,hh] |
| 56 | change _↔ _∈LinearMap.ker _ |
| 57 | rw [(h.step d N p).ker] |
| 58 | exact ⟨fun he=> ⟨_,he,rfl⟩,fun h=>by |
| 59 | obtain ⟨x,hx,h⟩ := h; exact L.injective h ▸ hx⟩ |
| 60 | rw [show A = _ from ht.same d] |
| 61 | · have ht : ∀ x,Y (star x) = star (Y x) := fun x=>by |
| 62 | simp only [he,hp.real_,(show Symmetry W (A i) from H).real_,← star_sub, ← star_add] -- Y after |
| 63 | simp only [LinearEquiv.trans_apply,(hN p).1, ht] |
| 64 | · let V := travelH W s |
| 65 | have ht (x) : Y (V x) = V (Y x) := by |
| 66 | rw [he,he]; simp only [(show ∀ x,A i (V x)=_ from fun _=> H.signed s _),hp.signed] |
| 67 | simp only [i,V,map_sub,map_add,hp.signed] |
| 68 | simp only [LinearEquiv.trans_apply, (hN p).2.1]; exact ht _ |
| 69 | |
| 70 | -- Apply at exactly the post-ties normalized base. Needs FREE comparison assumptions, |
| 71 | -- not assuming any rank agreement with interacting S. |
| 72 | theorem thrush (h:Scotia C R X b) (ht : Projected b F D Z) |
| 73 | {M : ℕ→Table C.book} {T} {W} (H : Base C F S M D T W) |
| 74 | (hf : (Maxwell.freeTable C.labels).RealSpin) (hp : ∀ d, Maxwell.residual G d=⊥) : Maxwell.Ranks T H.kernel.spin := by |
| 75 | classical |
| 76 | refine ⟨hf,fun d=>?_⟩ |
| 77 | let Y := Maxwell.freeTable C.labels |
| 78 | let B := C.labels.level d |
| 79 | obtain ⟨L,hL,hb',hv⟩ := drumroll h ht d |
| 80 | let V : C.label d≃ₗ[ℂ] C.label d := L.symm.trans B.coords |
| 81 | have he (p) : L p∈T.null d ↔ (B.coords p) ∈ Y.null d := by |
| 82 | rw [H.null d,← hL] |
| 83 | constructor |
| 84 | · intro hk; apply (Maxwell.projectionExact ..).1; rw [hp] |
| 85 | rw [Submodule.mem_bot]; apply Subtype.ext |
| 86 | change Maxwell.observable G d ((C.labels.level d).coords.symm (B.coords p))=0 |
| 87 | rw [B.coords.symm_apply_apply]; exact LinearMap.mem_ker.mp hk |
| 88 | intro hk; have H := (Maxwell.projectionExact ..).2 hk |
| 89 | rw [hp,Submodule.mem_bot] at H |
| 90 | apply LinearMap.mem_ker.mpr |
| 91 | have hh : Maxwell.observable G d ((C.labels.level d).coords.symm (B.coords p))=0 := congr_arg Subtype.val H |
| 92 | rw [B.coords.symm_apply_apply] at hh; exact hh |
| 93 | have hp (p) : p∈T.null d ↔ V p∈ Y.null d := by |
| 94 | obtain ⟨x,rfl⟩ := L.surjective p; rw [show V (L x)=B.coords x from by simp [V]]; exact he x |
| 95 | have ho : (T.null d).map V.toLinearMap=Y.null d := by |
| 96 | refine le_antisymm (fun x hx=>?_) (fun x hx=>?_) |
| 97 | · obtain ⟨p,hp',he⟩ := hx; subst x; exact (hp p).1 hp' |
| 98 | have hb := hp (V.symm x); rw [V.apply_symm_apply] at hb |
| 99 | exact ⟨V.symm x,hb.2 hx,V.apply_symm_apply _⟩ |
| 100 | let Q : T.Field d≃ₗ[ℂ]Y.Field d := Submodule.Quotient.equiv _ _ V ho |
| 101 | have hg x : Q (T.project d x)=Y.project d (V x) := rfl |
| 102 | have hu p : V (L p)=B.coords p := by simp [V] |
| 103 | refine ⟨Q,fun x=>?_,fun s x=>?_⟩ |
| 104 | · obtain ⟨x,rfl⟩ := T.onto d x |
| 105 | obtain ⟨p,rfl⟩ := L.surjective x |
| 106 | change Q (T.project d (star (L p)))=Y.conj hf d _ |
| 107 | rw [hg,hg,Y.conj_project,hu,←hb',hu] |
| 108 | refine congr_arg _ ?_; funext i |
| 109 | have ht := B.conj_basis (B.coords p) i; rw [B.coords.symm_apply_apply] at ht; exact ht |
| 110 | obtain ⟨x,rfl⟩ := T.onto d x |
| 111 | obtain ⟨p,rfl⟩ := L.surjective x |
| 112 | change Q (T.project d (B.act s.ortho (L p)))=Y.mirror hf d _ _ |
| 113 | rw [hg,hg, ← hv,hu,hu] |
| 114 | exact congr_arg (Y.project d) (Eq.symm (B.act_coords ..)) |
| 115 | end YM.Push.Mark |