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.Filch.Lion |
| 2 | import YM.TraceExtension.Filch.Manor |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Filch |
| 6 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Drupes |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 8 | variable {G:Gauge} |
| 9 | |
| 10 | lemma crop_ext(G:Gauge)(C:ℝ)(k:ℕ)(h:0≤ C): ∃ f:ℕ→ℝ, MarksP f ∧ ∀ (X:Type)[NormedAddCommGroup X] [NormedSpace ℝ X] {n:Side}(U:X→ Config G n)(v:X→ Link G n)(x:X), (∀ i,Allows k (fun y=> G.mat (U y i)) x C) → (∀ e:Edge (Site n), Allows k (fun y=> edgeColor (v y) e) x C) → ∀ o r j,landW o j ≤ r→ Allows k (fun y=> patio o 4 (U y) (v y) j) x (f r):=by |
| 11 | obtain ⟨D,hD,H⟩:= prophet G 4 k |
| 12 | obtain ⟨L,hL,hA⟩:= shaders G k |
| 13 | let T:(i:ℕ)→ℝ:=fun i=> travelCost G k (4*i) C |
| 14 | let V(i):=composeCost k D (swarm G k i C); let E:= (ContinuousLinearMap.apply ℝ G.Color (E:=G.Color)).flip |
| 15 | let Z(i):= composeCost k L (T i); let F(i):= V i + 2^k * ‖E‖ * Z i * C |
| 16 | let J (j:G.ColorIndex):= EuclideanSpace.proj j (𝕜:=ℝ); let N:ℝ:=∑ i, ‖J i‖ |
| 17 | have hJ(j):‖J j‖ ≤ N:= Finset.single_le_sum (fun i _=>norm_nonneg (J i)) (mem_univ j); have hN:0≤ N:=sum_nonneg fun i _=>norm_nonneg (J i) |
| 18 | have hv := (token D hD).composeM k (market G C h k); have hz := (token L (by positivity)).composeM k |
| 19 | (MarksP.travelM G k (fun i=>4*i) C h (by simpa using covG 0)) |
| 20 | have ht:= ((token (2^k * ‖E‖) (by positivity)).pair hz).pair (token C h) |
| 21 | refine ⟨_, (token N hN).pair ((hv.booth ht):MarksP F),?_⟩; intro X _ _ n U v x hu hp o r j he |
| 22 | cases j with |
| 23 | | inl j=> |
| 24 | rcases j with ⟨y,b,l⟩; obtain ⟨b,rfl⟩:= axisEquiv.surjective b |
| 25 | let A z:= flock o (U z) (y,b); have ha:= H X A _ x (stepsH o U x k C hu y he b) |
| 26 | have hh(z): patio o 4 (U z) (v z) (.inl (y,axisEquiv b,l)) = J l (nimbus G 4 (A z)):= patioX .. |
| 27 | simp_rw[hh]; exact ((ha.mono (M:=F r) (le_add_of_nonneg_right (ht.1 _))).linear (J l) (hJ _)) |
| 28 | | inr j=> |
| 29 | rcases j with ⟨y,b,l⟩; obtain ⟨b,rfl⟩:=axisEquiv.surjective b |
| 30 | let A z:= march o (U z) y |
| 31 | let Q z:= (G.adjoint (A z)).toContinuousLinearMap |
| 32 | let P z:= edgeColor (v z) (y,b) |
| 33 | have ha : Allows k Q x (Z r):=by unfold Q; simp_rw [Drupes.turned]; exact (hA _).comp (f:=fun z=>G.mat (A z)) (priced o U x k C hu y he) |
| 34 | have hx:= ha.bilinear E (hp (y,b)) le_rfl |
| 35 | have hh(z): patio o 4 (U z) (v z) (.inr (y,axisEquiv b,l)) = J l (E (Q z) (P z)):=patioY .. |
| 36 | simp_rw [hh]; exact ((hx.mono (M:=F r) (le_add_of_nonneg_left (hv.1 _))).linear (J l) (hJ _)) |
| 37 | end YM.Trace.Filch |
| 38 | noncomputable section |
| 39 | namespace YM.Trace.Filch |
| 40 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Drupes |
| 41 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 42 | variable {G:Gauge}{n:Side}{k:ℕ}{o:Site n}{r:ℕ}{F:Acr G n→ℝ} |
| 43 | lemma requestsP (j:pairA G n)(h:landW o j ≤ r): Requests Set.univ (fun x=> par o 4 x j) (af G n) o (4*(r+1+1)):=by |
| 44 | intro v _ w _ H |
| 45 | let t:=4*(r+1+1); let P:=feed o (r+1) |
| 46 | let x:=aleft G n v; let y:=aleft G n w; let f:=aright G n v; let g:= aright G n w; let U:=input G n x; let V:=input G n y |
| 47 | have he:Agrees P U V:=by |
| 48 | intro e he _; obtain ⟨b,hb,he⟩:= halo_spec.mp (show e.1∈ P from he); rw [mem_singleton.mp hb] at he; unfold U V; rw [input_color,input_color]; apply congr_arg; ext i; exact H (.inl (e.1,coord e.2,i)) he |
| 49 | cases j with |
| 50 | | inl j=> rcases j with ⟨a,b,i⟩; obtain ⟨b,rfl⟩:= axisEquiv.surjective b; change patio o 4 U f (.inl (a,coord b,i))= patio o 4 V g (.inl (a,coord b,i)); rw [patioX,patioX]; exact congr_arg (fun x=> nimbus G 4 x i) (eaten _ _ _ (r:=r) h _ _ he) |
| 51 | | inr j=> |
| 52 | rcases j with ⟨a,b,i⟩; obtain ⟨b,rfl⟩:=axisEquiv.surjective b; change separation o a≤r at h; change patio o 4 U f (.inr (a,coord b,i))=patio o 4 V g (.inr (a,coord b,i)); rw [patioY,patioY,show march o U a= march o V a from grazes _ _ (r:=r+1) (by omega) _ _ he] |
| 53 | rw [show edgeColor f (a,b)=edgeColor g (a,b) from ?_]; ext j; exact H (.inr (a,coord b,j)) (show separation o a ≤ _ from by omega) |
| 54 | lemma parPay(G:Gauge):∃ f:ℕ→ℝ, MarksP f ∧∀ (n:Side)(o:Site n)(r:ℕ)(j:pairA G n), landW o j ≤ r→ Allows 4 (fun x=>par o 4 x j) 0 (f r):=by |
| 55 | obtain ⟨D,hD,H⟩:=Det.spike_m G 4 |
| 56 | let A:= ContinuousLinearMap.fst ℝ G.Color G.Color; let B:= ContinuousLinearMap.snd ℝ G.Color G.Color |
| 57 | obtain ⟨E,hE,h⟩ := exists_allows (s:={(0:G.Color)}) (f:=G.mat ∘ G.lieExp) isCompact_singleton (fun x _=> G.exp_jet.contDiffAt) 4 |
| 58 | let M:= ‖A‖*D; let K:= ‖B‖*D; let Z:= composeCost 4 E M; have hk:0 ≤ K:=by positivity |
| 59 | have hz:0 ≤ Z:=by unfold Z M composeCost; positivity |
| 60 | obtain ⟨F,hF,Hf⟩:= crop_ext G (Z+K) 4 (add_nonneg hz hk) |
| 61 | refine ⟨F,hF,fun n o r j he=>?_⟩ |
| 62 | let U(x:Acr G n):=input G n (aleft G n x); let P(e:Edge (Site n))(x:Acr G n):=(edgeColor (aleft G n x) e,edgeColor (aright G n x) e) |
| 63 | have hu(e:Edge (Site n)) : Allows 4 (fun x=>G.mat (U x e)) 0 (Z+K):=by |
| 64 | have hp:A (P e 0)=0:=by simp[A,P] |
| 65 | have hx := (show Allows 4 (G.mat ∘ G.lieExp) (A (P e 0)) E from hp.symm ▸ h _ (Set.mem_singleton _)).comp (f:=fun x=>A (P e x)) ((H n e (P e) rfl).linear A le_rfl) |
| 66 | exact (hx.mono (le_add_of_nonneg_right hk)).germ (Eventually.of_forall fun x=>(congr_arg G.mat (input_color (aleft G n x) e)).symm) |
| 67 | exact Hf (Acr G n) U (aright G n) 0 hu (fun e=> ((H n e (P e) rfl).linear B le_rfl).mono (le_add_of_nonneg_left hz)) o r j he |
| 68 | end YM.Trace.Filch |