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.Gallery.Hints |
| 2 | |
| 3 | /-! # Cabinet licenses (Ward→canonical). Includes exclusion of color singlet linear terms. |
| 4 | Use bolt sign + conventions throughout (parameter flip permitted, by uniform parameter test |
| 5 | use minus if generator negative). -/ |
| 6 | noncomputable section |
| 7 | set_option autoImplicit false |
| 8 | namespace YM.RG08.Gallery |
| 9 | open Forms Glyph Room Camera Finset Lattice Laurent Pert.Bulk Function MvPolynomial Filter Isles |
| 10 | open Carrel Rudder Rudder.Symmetry Anchor |
| 11 | open scoped Topology BigOperators ContDiff PowerSeries Classical |
| 12 | set_option linter.unusedVariables false |
| 13 | variable {I J:Type}{n k e:ℕ}{G:YM.Gauge} |
| 14 | |
| 15 | def Relay (g:I≃J)(V:Script I):Script J:=fun k l F=>V k l (g.symm ∘ F) |
| 16 | def pose (g:I≃J)(a:Demo J):Demo I where |
| 17 | firm:=a.firm.map g.symm.toEmbedding |
| 18 | play:= a.play ∘ g |
| 19 | size' i hi:=a.size' _ (fun he=>hi (mem_map.mpr ⟨_,he,g.symm_apply_apply _⟩)) |
| 20 | def dancer (g:I≃J)(a:Tray I):Tray J where |
| 21 | base := a.base.map g.toEmbedding |
| 22 | get:= a.get ∘ g.symm |
| 23 | shut x hx:=a.shut _ (fun ht=>hx (mem_map.mpr ⟨_,ht,g.apply_symm_apply _⟩)) |
| 24 | |
| 25 | lemma pose_cry (g:I≃J)(V:Script I)(a:Tray I): announced V a= announced (Relay g V) (dancer g a):=by |
| 26 | unfold announced;congr 1;funext e;apply Finset.sum_congr rfl;intro k _;congr 1; unfold dubbed;apply Finset.sum_congr rfl;intro i _ |
| 27 | let E:Tape i I≃Tape i J:=Equiv.arrowCongr (Equiv.refl _) g |
| 28 | have hh: (desks a.base i).map (E.toEmbedding)=desks (a.base.map g.toEmbedding) i:=by |
| 29 | ext y;constructor |
| 30 | · intro hy;obtain ⟨x,hx,rfl⟩:=mem_map.mp hy |
| 31 | apply Fintype.mem_piFinset.mpr;intro j;exact Finset.mem_map_of_mem _ (Fintype.mem_piFinset.mp hx j) |
| 32 | intro hy;apply Finset.mem_map.mpr;refine ⟨E.symm y,Fintype.mem_piFinset.mpr (fun j=> ?_),E.apply_symm_apply _⟩ |
| 33 | obtain ⟨x,hx,hh'⟩:= Finset.mem_map.mp (Fintype.mem_piFinset.mp hy j : y j ∈a.base.map _) |
| 34 | change g.symm (y j)∈ a.base; rw [← hh'];simpa using hx |
| 35 | rw [volume,volume,dancer];dsimp only;rw [←hh,Finset.sum_map] |
| 36 | apply Finset.sum_congr rfl;intro x _;change _ = V _ _ (g.symm ∘ (g ∘ x)) • _ |
| 37 | rw [show g.symm ∘ (g ∘ x)=x by ext;simp];congr 1;apply Finset.prod_congr rfl;intro j _;change a.get _=(a.get (g.symm (g _)));rw [g.symm_apply_apply];rfl |
| 38 | |
| 39 | def Capri (G:YM.Gauge)(k:ℕ):Mix G.ColorIndex k≃(Cover×Exterior.TypeFace k)×G.ColorIndex:=(Equiv.prodAssoc ..).symm |
| 40 | |
| 41 | def stain(u:G.El)(s:Demo (Mix G.ColorIndex 1))(i:Mix G.ColorIndex 1):ℝ:=(G.adjoint u (heavy G (fun j=>s.play (i.1,i.2.1,j)))) (i.2.2) |
| 42 | |
| 43 | def Sworn (V:Script (Mix G.ColorIndex 1))(e:ℕ):Prop:=∀ (d:G.El)(a:Demo (Mix G.ColorIndex 1))(r:ℝ),∃ x y:Tray (Mix G.ColorIndex 1),(Demo.flat x).play=r • a.play ∧ (Demo.flat y).play=r • stain d a ∧ tap e (announced V x)=tap e (announced V y) |
| 44 | private lemma capstone (V:Script (Mix G.ColorIndex 1))(h:Sworn V e): Constant (Relay (Capri G 1) V) e:=by |
| 45 | let g:=Capri G 1 |
| 46 | intro t a r |
| 47 | obtain ⟨x,y,hx,hy,h⟩:=h t (pose g a) r |
| 48 | refine ⟨dancer g x,dancer g y,?_,?_,?_⟩ |
| 49 | · funext i;exact (congrFun hx (g.symm i)) -- defeq |
| 50 | · funext i;exact congrFun hy (g.symm i) |
| 51 | rw [←pose_cry,←pose_cry];exact h |
| 52 | |
| 53 | lemma heads (V:Script (Mix G.ColorIndex 1))(h:Sworn V e)(ht:∀ k<e,∀ i≠0,V k i=0)(hp:n≤e+2)(hs:Forms.Sym (V e n)) : hue (dressed G n) (Anchor.extend 1 (V e n)):=by |
| 54 | let g:=Capri G 1 |
| 55 | have he:=estate (capstone V h) (fun k hk i hi=>funext (fun x:Tape i _=> congrFun (ht k hk i hi) (g.symm ∘ x))) hp (fun d=> funext (fun x=> congrFun (hs d) (g.symm ∘ x))) |
| 56 | intro z |
| 57 | by_cases hZ:∀ i,(z i).2.card=1 |
| 58 | · have ht(y:Tape n G.ColorIndex):hat (Anchor.extend 1 (V e n)) z y=(Relay g V) e n (fun i=>(((z i).1,(⟨(z i).2,hZ i⟩:Exterior.TypeFace 1)),y i)):=by unfold hat hum Anchor.extend;rw [dif_pos (show permitted Cover G.ColorIndex 1 (lyre z y) from hZ)];rfl |
| 59 | rw [funext ht]; apply he |
| 60 | apply Eq.subst (motive:=fun x=>x∈dressed G n) _ (dressed G n).zero_mem |
| 61 | ext y; unfold hat Anchor.extend hum;dsimp only; rw [dif_neg (show ¬permitted Cover G.ColorIndex 1 (lyre z y) from hZ)];rfl |
| 62 | |
| 63 | lemma single_wear (F:Rudder.Raw G.ColorIndex 1)(hg:G.Simple)(he:hue (dressed G 1) F): F=0:=by |
| 64 | ext x |
| 65 | let v : Tape 1 (Market Tablet) := fun i => ((x i).1,(x i).2.1) |
| 66 | let y : Tape 1 G.ColorIndex:=fun i=>(x i).2.2 |
| 67 | let f := hat F v |
| 68 | let B :G.Color→ₗ[ℝ]ℝ:= ∑ i:Tape 1 G.ColorIndex,f i • ((LinearMap.proj (φ:=fun _:G.ColorIndex=>ℝ) (R:=ℝ) (i 0)).comp ((heavy G).symm.toLinearEquiv.toLinearMap)) |
| 69 | have ht(p:G.Color): B p=sing f (fun _=>p):=by simp only [B,LinearMap.sum_apply,LinearMap.smul_apply,sing,Fin.prod_univ_succ,Finset.univ_eq_empty,prod_empty,mul_one];rfl |
| 70 | have hz:= (show (∀ u X,sing f (G.adjoint u ∘ X)=sing f X) ∧ _ from he v).1 |
| 71 | have hx:B=0:=Maxwell.Free.singles_inv hg B (fun q b=> by rw [ht,ht];exact hz q (fun _=>b)) |
| 72 | have h := ht (EuclideanSpace.basisFun G.ColorIndex ℝ (y 0));rw [hx,LinearMap.zero_apply] at h |
| 73 | have hv(z:Tape 1 G.ColorIndex)(hh:z≠y):z 0≠y 0:=by intro hs;apply hh;ext i; rw [Subsingleton.elim i (0:Fin 1),hs] |
| 74 | change f y=0 |
| 75 | unfold sing at h |
| 76 | rw [Finset.sum_eq_single_of_mem y (mem_univ _)] at h |
| 77 | · simpa [EuclideanSpace.basisFun_apply] using h.symm |
| 78 | intro q _ hh |
| 79 | simp [EuclideanSpace.basisFun_apply,hv q hh] |
| 80 | |
| 81 | lemma tickets (V:Script (Mix G.ColorIndex 1))(e:ℕ)(h0:Gauged V e)(hR:Rotation V e)(hS:Sworn V e)(ht:∀ k<e,∀ i≠0,V k i=0)(hp:n≤e+2)(hs:Forms.Sym (V e n))(h:Cohort (V e n)) {σ p :ℝ}(hu:Held (carpet _) σ p (V e n)): let F:=Anchor.extend 1 (V e n); Cloak (dressed G n) 1 F∧ Closing F∧ Held (carpet _) σ p F :=by |
| 82 | intro F |
| 83 | refine ⟨⟨expand_path h,expand_grade,?_, cardinality hR ht hp hs, heads V hS ht hp hs⟩,gauge_closes h0 ht hp hs,expand_cost hu⟩ |
| 84 | intro i; -- extension perm |
| 85 | funext x; unfold woven F Anchor.extend; split_ifs with he hk hk <;> first| rfl| skip |
| 86 | · exact congrFun (hs i) (fun j=>decoded Cover G.ColorIndex 1 (x j) (hk j)) |
| 87 | · exfalso;apply hk; intro j; obtain ⟨j,rfl⟩:=i.surjective j; exact he j |
| 88 | exfalso;exact he (fun j=>hk (i j)) |
| 89 | end YM.RG08.Gallery |