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.North.Fermi |
| 2 | import YM.MultipleContact.Bunch.Focal |
| 3 | import YM.MultipleContact.Bunch.Dew |
| 4 | import YM.MultipleContact.Bunch.Gush |
| 5 | import YM.MultipleContact.Bunch.Sugary |
| 6 | import YM.MultipleContact.Bunch.Stained |
| 7 | import YM.MultipleContact.Bunch.Stator |
| 8 | import YM.MultipleContact.Bunch.Fermi |
| 9 | |
| 10 | /- generalized from YM.MergeProof.North.Farr to arbitrary arity -/ |
| 11 | set_option autoImplicit false |
| 12 | set_option linter.unusedSectionVars false |
| 13 | noncomputable section |
| 14 | namespace YM.MergeProof.BatchRibbons |
| 15 | variable {slot:Type}[Fintype slot][DecidableEq slot][Inhabited slot] |
| 16 | open Finset Function Marker Extra.Trajectories Accent BatchRibbon Packets Lattice Wilson RG Further.ShellBirth49.Fusing |
| 17 | open scoped Topology BigOperators Classical |
| 18 | variable {V I J : Type*} [DecidableEq V][Fintype V] {n:Side}{G:Gauge}{B:Census V} |
| 19 | open Extra.Histories Push Push.Local Motion |
| 20 | namespace Twin |
| 21 | variable {Z:Salt V slot G n} {t:ℝ}{b:Equiv.Perm V}{m:Motion}{x:Site n}{v u:V} |
| 22 | variable (h:Twin Z t m x v u b) |
| 23 | include h |
| 24 | lemma turf : ∃ e: Equiv.Perm Z.Turf, (∀ i,Focused v i.val.2 ↔ Focused u (e i).val.2) ∧ ∀ i,Focused v i.val.2 → (e i).val.1=sky m x i.val.1 ∧ (e i).val.2=drum (slot:=slot) b i.val.2:=by |
| 25 | let r:= Equiv.prodCongr (sky m x) (drum (slot:=slot) b); let p:=fun i:Z.Turf=>Focused v i.val.2; let q:= fun i:Z.Turf=>Focused u i.val.2 |
| 26 | have hv(s:Support n)(i:(Aged V slot).Mode)(hp:Focused v i): (i.val.Nonempty ∧ i.val.image Z.grain⊆s) ↔ ((drum (slot:=slot) b i).val.Nonempty∧(drum (slot:=slot) b i).val.image Z.grain⊆ sky m x s):= and_congr (by rw [drum,pares,image_nonempty]) (h.homes i hp s) |
| 27 | let f:{i//p i}→{i//q i}:=fun i=> ⟨⟨r i.val.val,(hv _ _ i.property).1 i.val.property⟩,(h.goes i.val.val.2).1 i.property⟩ |
| 28 | have ht: Bijective f:=by |
| 29 | refine ⟨fun i j e=> Subtype.ext (Subtype.ext (r.injective (congr_arg (fun i=> i.val.val) e))), fun i=>?_⟩ |
| 30 | obtain ⟨s,hs⟩:= (sky m x).surjective i.val.val.1; obtain ⟨l,hl⟩:=(drum (slot:=slot) b).surjective i.val.val.2 |
| 31 | have he:r (s,l)=i.val.val:= Prod.ext hs hl |
| 32 | have hh:Focused v l:= (h.goes l).2 (hl.symm ▸ i.property); exact ⟨⟨⟨(s,l),(hv s l hh).mpr (show ((r (s,l)).2.val.Nonempty∧(r (s,l)).2.val.image Z.grain⊆ (r (s,l)).1) from he.symm ▸ i.val.property)⟩,hh⟩,Subtype.ext (Subtype.ext he)⟩ -- bad he ▸ |
| 33 | obtain ⟨e,hv,hq⟩:=extends_on ht; refine ⟨e,hq,fun i hi=>?_⟩ |
| 34 | rw [show e i = (f ⟨i,hi⟩).val from hv ⟨i,hi⟩]; exact ⟨rfl,rfl⟩ |
| 35 | lemma blade : ∃ e : Equiv.Perm Z.Brook, (∀ i,Focused v i.val.2 ↔ Focused u (e i).val.2) ∧ ∀ i,Focused v i.val.2 → (e i).val.1=puff m x i.val.1 ∧ (e i).val.2=drum (slot:=slot) b i.val.2:=by |
| 36 | let r:= Equiv.prodCongr (puff m x) (drum (slot:=slot) b); let p:=fun i:Z.Brook=>Focused v i.val.2; let q:= fun i:Z.Brook=>Focused u i.val.2 |
| 37 | have hv(s:Box n)(i:(Aged V slot).Mode)(hp:Focused v i): (Sure s ∧ i.val.image Z.grain⊆s.1) ↔ (Sure (puff m x s) ∧ (drum (slot:=slot) b i).val.image Z.grain⊆ (puff m x s).1):= and_congr (by |
| 38 | unfold Sure; change _ ↔ (sky m x _).Nonempty ∧ sky m x _⊆sky m x _; simp only [shading,image_nonempty,image_subset_image_iff (turnSites m.1 x).injective]) (h.homes i hp s.1) |
| 39 | let f:{i//p i}→{i//q i}:=fun i=> ⟨⟨r i.val.val,(hv _ _ i.property).1 i.val.property⟩,(h.goes i.val.val.2).1 i.property⟩ |
| 40 | have ht: Bijective f:=by |
| 41 | refine ⟨fun i j e=> Subtype.ext (Subtype.ext (r.injective (congr_arg (fun i=> i.val.val) e))), fun i=>?_⟩ |
| 42 | obtain ⟨s,hs⟩:= (puff m x).surjective i.val.val.1; obtain ⟨l,hl⟩:=(drum (slot:=slot) b).surjective i.val.val.2 |
| 43 | have he:r (s,l)=i.val.val:= Prod.ext hs hl |
| 44 | have hh:Focused v l:= (h.goes l).2 (hl.symm ▸ i.property); exact ⟨⟨⟨(s,l),(hv s l hh).mpr (show Sure (r (s,l)).1 ∧ (r (s,l)).2.val.image Z.grain⊆ (r (s,l)).1.1 from he.symm ▸ i.val.property)⟩,hh⟩,Subtype.ext (Subtype.ext he)⟩ |
| 45 | obtain ⟨e,hv,hq⟩:=extends_on ht; refine ⟨e,hq,fun i hi=>?_⟩; rw [show e i = (f ⟨i,hi⟩).val from hv ⟨i,hi⟩]; exact ⟨rfl,rfl⟩ |
| 46 | lemma perch : ∃ e : Equiv.Perm Z.Lawn, (∀ i,Focused v (Z.marker i) ↔ Focused u (Z.marker (e i)))∧ ∀ i,Focused v (Z.marker i) → Z.marker (e i)=drum (slot:=slot) b (Z.marker i) ∧ Z.leaf (e i)=sky m x (Z.leaf i) ∧ Z.syrup (e i)=stepUp m x (Z.syrup i):=by |
| 47 | obtain ⟨e,hp,hE⟩:= h.turf |
| 48 | let r:= Equiv.sumCongr (nome (slot:=slot) b) e; refine ⟨r,fun i=>?_,fun i hi=>?_⟩ |
| 49 | · rcases i with i|i |
| 50 | · change Focused v ((Aged V slot).fire i) ↔ Focused u ((Aged V slot).fire (nome (slot:=slot) b i));rw [← go_one]; exact h.goes _ |
| 51 | exact hp i |
| 52 | rcases i with ⟨i,j⟩|i |
| 53 | · obtain rfl: i=v:= (which ..).1 hi; change (Aged V slot).fire (nome (slot:=slot) b _)=_ ∧ {Z.grain (b i,j)}= _ ∧ (fun _=>Z.pepper (b i,j))=_; rw [h.who]; refine ⟨(go_one b _).symm,?_,funext fun _=>h.debut _⟩ |
| 54 | rw [shading,h.ways]; exact (Finset.image_singleton ..).symm |
| 55 | obtain ⟨hv,hz⟩:=hE i hi; refine ⟨hz,hv,funext fun U=>?_⟩ |
| 56 | change (Z.air _ U).part (e i).val.2=scalar m _; rw [hz]; change (Z.air (e i).val.1 U).part _= _; rw [hv]; exact h.kin _ hi _ _ |
| 57 | end Twin |
| 58 | end YM.MergeProof.BatchRibbons |