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.OPE.Nesting.Transactions |
| 2 | |
| 3 | /-! Changing finite exterior port labels along their bounded rotation systems |
| 4 | or transforming all colors by reality. These are multilinear (actual `moment` |
| 5 | maps) even when the neighbor test points move. Comparisons invoke agreement |
| 6 | of class readings under reindexing only on configurations with clearance. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.OPE.Nesting |
| 10 | open Orbits Orbits.Reader Function Filter Extraction Set Table Tree Measures Menu Atom |
| 11 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 12 | variable {G:Gauge}{B:Register G}{S:Table B}{L I J:Type} |
| 13 | |
| 14 | def chars {e:J→ℕ}(w:Labels S e)(i:J):S.Tag:=⟨e i,w i⟩ |
| 15 | |
| 16 | namespace Atom |
| 17 | variable [Fintype J] |
| 18 | def flipPanel (A:Atom S L)(Tv:L→Table B) (e:J→ℕ) (y:L→J→E4)(i:L):MultilinearMap ℂ (fun j=> S.Field (e j)) ℂ := (A.amp i) • sectionLabels (d:=Sum.elim e (degrees A.tags)) (voices A.tags) (moment (Tv i) (beside (y i) (A.place i))) |
| 19 | |
| 20 | lemma panel_apply (A:Atom S L)(Tv:L→Table B) {e:J→ℕ}{y:L→J→E4} {i:L}(ht:(Tv i).Hierarchy)(hf:Injective (beside (A.place i) (y i)))(w:Labels S e): A.flipPanel Tv e y i w = A.sample Tv y (chars w) i :=by |
| 21 | unfold sample duet |
| 22 | have hz:= sectionLabels_apply (voices A.tags) (moment (Tv i) (beside (y i) (A.place i))) w |
| 23 | refine Eq.trans (show _ = A.amp i * whole (Tv i) (y i) w (A.place i) (voices A.tags) from congr_arg (A.amp i*·) hz) ?_ |
| 24 | exact congr_arg (A.amp i * ·) (whole_flip (voices A.tags) w _ (y i) (hT:=ht) hf) |
| 25 | end Atom |
| 26 | namespace Menu |
| 27 | variable [Fintype J] (P:Menu S L) (Tv:L→Table B)(e:J→ℕ)(y:L→J→E4)(i:L) |
| 28 | def panel := ∑ j:P.Draw,(P.pick j).flipPanel Tv e y i |
| 29 | lemma panel_apply (ht:(Tv i).Hierarchy)(hf:∀ c:P.Draw, Injective (beside ((P.pick c).place i) (y i)))(w:Labels S e): P.panel Tv e y i w=P.atView Tv y (chars w) i:=by rw [panel,MultilinearMap.sum_apply]; apply Finset.sum_congr rfl (fun j _=> (P.pick j).panel_apply Tv ht (hf _) w) |
| 30 | end Menu |
| 31 | section Price |
| 32 | variable {l:Filter L}{T:L→ℝ}{u b W γ:ℝ} {z:L→I→E4} {A A':Menu S L} |
| 33 | variable [Fintype J](Tv:L→Table B)(hTv: ∀ i,(Tv i).Hierarchy)(e:J→ℕ){y:L→J→E4}(hx:Intervals l T u z y) (he:Kept l T b y)(hu:u≤b) |
| 34 | |
| 35 | include hx he hu hTv |
| 36 | lemma Menu.view_eq (h:Eligible l T z b A)(w:L→Labels S e): (fun l=>A.panel Tv e y l (w l)) =ᶠ[l] (fun i=> A.atView Tv y (chars (w i)) i):=(eventually_all.mpr fun p=>h.roomAcross p hx he hu).mono (fun i hi=> Menu.panel_apply A Tv _ y i (hTv i) hi _) |
| 37 | |
| 38 | lemma move_cost (h:∀ w:J→S.Tag,weightOf w≤W → RateLE l T (fun s=> A.atView Tv y w s - A'.atView Tv y w s) γ) |
| 39 | (hA:Tendsto T l atTop)(hp:weight e ≤ W)(hh:Eligible l T z b A)(hh':Eligible l T z b A') (w:L→Labels S e)(hw:∀ j:J, RateLE l T (fun i=> w i j) 0) : RateLE l T (fun i=>A.atView Tv y (chars (w i)) i - A'.atView Tv y (chars (w i)) i) γ:=by |
| 40 | let f (i:L):= (A.panel Tv e y i)-(A'.panel Tv e y i) |
| 41 | have hr(w:L→Labels S e): (fun i=>f i (w i)) =ᶠ[l] (fun i=> A.atView Tv y (chars (w i)) i - A'.atView Tv y (chars (w i)) i):=(Menu.view_eq (A:=A) Tv hTv e hx he hu hh w).sub (Menu.view_eq (A:=A') Tv hTv e hx he hu hh' w) |
| 42 | have hs(v:Labels S e):RateLE l T (fun i=> f i v) γ:= (h (chars v) hp).congr (hr fun _=>v).symm |
| 43 | simpa only [Finset.sum_const_zero,add_zero] using (contract hA f hs w _ hw).congr (hr w) |
| 44 | end Price |
| 45 | |
| 46 | namespace Atom |
| 47 | variable (ρ:S.RealSpin) |
| 48 | def tint (v:S.Tag):S.Tag:=⟨v.1,S.conj ρ v.1 v.2⟩ |
| 49 | lemma twoTint (v:S.Tag):tint ρ (tint ρ v)=v:= (congr_arg _ (S.reflect_star ρ v.1 v.2)) |
| 50 | def shadowed (A:Atom S L):Atom S L:={A with tags:=tint ρ ∘ A.tags, amp:=fun i=> (starRingEnd ℂ) (A.amp i)} |
| 51 | |
| 52 | variable (A:Atom S L) (Y:Table B)(s:L) [Fintype J] |
| 53 | lemma bar_duet {y:L→J→E4}{w:J→S.Tag}(ht:Y.Hierarchy)(hr:Y.respects S)(hi:Injective (beside (A.place s) (y s))): star (duet Y (A.place s) A.tags (y s) w)= duet Y (A.place s) (tint ρ ∘ A.tags) (y s) (tint ρ ∘ w):=by |
| 54 | rw [duet_moment,duet_moment,← bar_observes ρ ht hr hi] |
| 55 | rw [show splice (tint ρ ∘ A.tags) (tint ρ ∘ w)=tint ρ ∘ splice A.tags w from funext fun j=>by cases j <;> rfl]; rfl |
| 56 | lemma sample_star {y:L→J→E4}{w:J→S.Tag}(Y:L→Table B)(ht:(Y s).Hierarchy)(hr:(Y s).respects S)(hi:Injective (beside (A.place s) (y s))): (starRingEnd ℂ) (A.sample Y y (tint ρ ∘ w) s) = (A.shadowed ρ).sample Y y w s:=by |
| 57 | unfold sample; rw [map_mul] |
| 58 | apply congr_arg ((starRingEnd ℂ) (A.amp s)*·) (by change star _= _; rw [bar_duet ρ A (Y s) s ht hr hi,show tint ρ ∘ (tint ρ ∘ w)=w from funext (fun i=> Atom.twoTint ρ _)]; rfl) -- maybe orientation arg order due variable |
| 59 | end Atom |
| 60 | namespace Menu |
| 61 | variable (ρ:S.RealSpin) (P:Menu S L) |
| 62 | def shadowed : Menu S L:= {P with pick:=Atom.shadowed ρ ∘ P.pick} |
| 63 | lemma shadowed_ok {l:Filter L}{T:L→ℝ}{b:ℝ} {z:L→I→E4}(h:Eligible l T z b P): Eligible l T z b (P.shadowed ρ):=by |
| 64 | intro c; change P.Draw at c; obtain ⟨hf,hk,ζ,hζ⟩:=h c; refine ⟨hf,hk, ζ,hζ.transfer <| Eventually.of_forall fun i=>?_⟩; exact (norm_star _).le |
| 65 | |
| 66 | variable [Fintype J] (Y:L→Table B)(y:L→J→E4)(w:J→S.Tag)(s:L)(ht:(Y s).Hierarchy)(hr:(Y s).respects S)(hi:∀ c:P.Draw, Injective (beside ((P.pick c).place s) (y s))) |
| 67 | include ht hr hi |
| 68 | lemma shadowed_view:(P.shadowed ρ).atView Y y w s = (starRingEnd ℂ) (P.atView Y y (tint ρ ∘ w) s):=by |
| 69 | unfold atView; rw [map_sum]; change (∑ c:P.Draw,((P.pick c).shadowed ρ).sample Y y w s)=_; exact Finset.sum_congr rfl (fun c _=>(Atom.sample_star ρ _ s Y ht hr (hi c)).symm) -- arg order |
| 70 | end Menu |
| 71 | |
| 72 | namespace Atom |
| 73 | variable {G:Gauge}{B:Register G}{S:Table B}{l:Filter L}{T:L→ℝ}{b u γ W:ℝ} {z:L→I→E4}{A A':Menu S L}(ρ:S.RealSpin) [Fintype J](y:L→J→E4)(w:J→S.Tag)(p:weightOf w≤W)(q:Intervals l T u z y)(he:Kept l T b y)(hu:u≤b)(hh:Eligible l T z b A)(hh':Eligible l T z b A') |
| 74 | (Y:L→Table B)(ht:∀ s,(Y s).Hierarchy)(hr:∀ s,(Y s).respects S) |
| 75 | include p q he hu hh hh' ht hr |
| 76 | lemma same_shadow (h:RateLE l T (fun i=> A.atView Y y (tint ρ ∘ w) i-A'.atView Y y (tint ρ ∘ w) i) γ):RateLE l T (fun i=>(A.shadowed ρ).atView Y y w i-(A'.shadowed ρ).atView Y y w i) γ := by |
| 77 | refine h.transfer ?_ |
| 78 | filter_upwards [eventually_all.mpr fun c=>hh.roomAcross c q he hu,eventually_all.mpr fun c=>hh'.roomAcross c q he hu] with i hi hi' |
| 79 | change ‖(A.shadowed ρ).atView ..-(A'.shadowed ρ).atView ..‖≤‖_‖ |
| 80 | rw [Menu.shadowed_view ρ A _ _ _ _ (ht _) (hr _) hi,Menu.shadowed_view ρ A' _ _ _ _ (ht _) (hr _) hi', ← map_sub]; exact (norm_star _).le |
| 81 | end Atom |
| 82 | variable {C:Family G}{F:Order}{S:Table C.book}(U:Spec.Final C F S) |
| 83 | |
| 84 | lemma agree_shadow {l:Filter L}{T:L→ℝ}{b u γ W:ℝ} {z:L→I→E4}{A A':Menu S L}(ρ:S.RealSpin)(h:Agrees U l T z u b W γ A A')(hh:Eligible l T z b A)(hh':Eligible l T z b A')(hu:u≤b):Agrees U l T z u b W γ (A.shadowed ρ) (A'.shadowed ρ) :=by |
| 85 | intro J _ w y s p q he; exact Atom.same_shadow ρ y w p q he hu hh hh' (spectator U ∘ s) (fun i=> spectate ..) (fun i=>spectate_respects U (s i)) <| h _ _ _ (by exact p) q he |
| 86 | end YM.OPE.Nesting |