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.Gush |
| 2 | import YM.OPE.Grouping.Fibers |
| 3 | import YM.OPE.Grouping.Dew |
| 4 | |
| 5 | /-! |
| 6 | # Simultaneous collapses at a mesh scale |
| 7 | |
| 8 | This accounting generalizes the proof for pairs in YM/MergeProof/North/Gush.lean |
| 9 | to a projection along fibers. The Deck prices a nonempty finite number of children |
| 10 | (not necessarily common across grouping regions). |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.MergeProof.Ribbons.Fibers.Deck |
| 15 | open Finset Function Marker Extra.Trajectories Accent Ribbon Packets Lattice Wilson RG Further.ShellBirth49.Fusing |
| 16 | open scoped Topology BigOperators Classical |
| 17 | variable {V I J : Type*} [DecidableEq V] [DecidableEq I][DecidableEq J][Fintype V] {n:Side}{G:Gauge}{B:Census V} |
| 18 | variable {S₀ : Type*} [Fintype S₀][DecidableEq S₀] {Δ : Fibers S₀ V} |
| 19 | variable (D:Deck V S₀ Δ I J G n) (t:ℝ)(U:Config G n)(h:D.Wet t) |
| 20 | open Collide |
| 21 | include h |
| 22 | lemma footprint (i:J): ((D.spill i).1).Nonempty:= (h.sure i).1.mono (h.sure i).2 |
| 23 | lemma shade (s:Finset (I⊕J)): D.stain s⊆ D.reach s:=by |
| 24 | intro i hi; obtain ⟨j,hj,hx⟩:=mem_biUnion.mp hi; exact mem_biUnion.mpr ⟨Sum.inr j,mem_toRight.mp hj,h.old _ ((h.sure j).2 hx)⟩ |
| 25 | lemma hold (p:D.Ink): Sure (D.fuse p.val):=by |
| 26 | obtain ⟨i,hi⟩:=p.property.wet; exact ⟨(h.sure i).1.mono (subset_biUnion_of_mem (fun j=>(D.spill j).2) hi),D.shade _ h _⟩ |
| 27 | lemma plume (s:Finset D.Quills) : D.stain (s.biUnion D.glyph)=s.toRight.biUnion fun i=>D.stain i.val:=by |
| 28 | have hp (i:D.Paper): i.val.toRight=∅:= Finset.not_nonempty_iff_eq_empty.mp (fun hr=> i.property.dry (D.blot _ hr)) |
| 29 | ext i; constructor |
| 30 | · intro hi; obtain ⟨a,ha,hx⟩:=mem_biUnion.mp hi; obtain ⟨v|v,hv,he⟩:=mem_biUnion.mp (mem_toRight.mp ha) |
| 31 | · exact (notMem_empty a (hp v ▸ mem_toRight.mpr (show Sum.inr a∈v.val from he))).elim |
| 32 | exact mem_biUnion.mpr ⟨v,mem_toRight.mpr hv,mem_biUnion.mpr ⟨a,mem_toRight.mpr he,hx⟩⟩ |
| 33 | intro hi; obtain ⟨a,ha,hx⟩:=mem_biUnion.mp hi; obtain ⟨x,hp,hx⟩:=mem_biUnion.mp hx |
| 34 | exact mem_biUnion.mpr ⟨x,mem_toRight.mpr (mem_biUnion.mpr ⟨_,mem_toRight.mp ha,mem_toRight.mp hp⟩),hx⟩ |
| 35 | omit h |
| 36 | |
| 37 | -- we propagate Pace predicate irrespective of cost. ensures selected condition, global equality. |
| 38 | def Pace (s:Finset D.Quills):Prop:= Fits D.quip s ∧ selected (fun i:D.Ink=>D.fuse i.val) (Pattern (flags t U)) s.toRight |
| 39 | include h |
| 40 | lemma repair (s:Finset D.Quills)(hp:D.Pace t U s): D.kiln.slabs (s.biUnion D.glyph)=s.image D.glyph:=by |
| 41 | have he: (s.image D.glyph).biUnion id=s.biUnion D.glyph:=by rw [image_biUnion]; rfl |
| 42 | rw [← he]; apply Kiln.undo |
| 43 | · intro _ hx; obtain ⟨i,-,rfl⟩:= mem_image.mp hx; exact (D.run i).fire |
| 44 | · intro i hi j hj hz; obtain ⟨a,ha,rfl⟩:= mem_image.mp hi; obtain ⟨b,hb,rfl⟩:=mem_image.mp hj; change Disjoint ((D.glyph a).biUnion _) ((D.glyph b).biUnion _) |
| 45 | rw [← D.paint,← D.paint]; exact hp.1.1 ha hb fun h=> hz (congr_arg _ h) |
| 46 | have hh := ((Accent.marked_pattern _ _ _ (fun i _=>(D.hold _ h i).1.mono (D.hold _ h i).2)).mp hp.2).1 |
| 47 | intro i hi j hj hz; obtain ⟨hi,hv⟩:=mem_filter.mp hi; obtain ⟨hj,hx⟩:=mem_filter.mp hj; obtain ⟨a|a,ha,rfl⟩:=mem_image.mp hi |
| 48 | · exact False.elim (a.property.dry hv) |
| 49 | obtain ⟨b|b,hb,rfl⟩:=mem_image.mp hj |
| 50 | · exact False.elim (b.property.dry hx) |
| 51 | exact hh (mem_toRight.mpr ha) (mem_toRight.mpr hb) (fun h=> hz (congr_arg (fun a:D.Ink=> D.glyph (Sum.inr a)) h)) |
| 52 | lemma sheets (s:Finset D.Quills)(hp:D.Pace t U s): |
| 53 | let p:=s.biUnion D.glyph; selected D.spill (Pattern (flags t U)) p.toRight ∧ (s:Set D.Quills).PairwiseDisjoint D.glyph :=by |
| 54 | let p:=s.biUnion D.glyph; dsimp only; have he:= D.repair _ _ h _ hp; have hz {i} (hi:i∈s):D.glyph i∈D.kiln.slabs p:=he ▸ mem_image_of_mem D.glyph hi |
| 55 | have hk := (Accent.marked_pattern _ _ _ (fun i _=> (D.hold _ h i).1.mono (D.hold _ h i).2)).mp hp.2 |
| 56 | refine ⟨(Accent.marked_pattern _ _ _ (fun i _=> D.footprint _ h i)).mpr ⟨fun i hi j hj hn=>?_, (D.plume t h s).trans hk.2⟩,fun i hi j hj hn=> Collide.erases _ p (hz hi) (hz hj) (fun e=>hn (D.tale e))⟩ |
| 57 | obtain ⟨a|a,ha,hI⟩:=mem_biUnion.mp (mem_toRight.mp hi) |
| 58 | · exact False.elim (a.property.dry (D.blot _ ⟨i,mem_toRight.mpr hI⟩)) |
| 59 | obtain ⟨b|b,hb,hJ⟩:=mem_biUnion.mp (mem_toRight.mp hj) |
| 60 | · exact False.elim (b.property.dry (D.blot _ ⟨j,mem_toRight.mpr hJ⟩)) |
| 61 | rcases eq_or_ne a b with rfl|e |
| 62 | · exact a.property.old (mem_toRight.mpr hI) (mem_toRight.mpr hJ) hn |
| 63 | exact Disjoint.mono (Finset.Subset.trans (h.old (Sum.inr i)) (subset_biUnion_of_mem D.cover (show Sum.inr i∈a.val from hI))) (Finset.Subset.trans (h.old (Sum.inr j)) (subset_biUnion_of_mem D.cover (show Sum.inr j∈b.val from hJ))) (hk.1 (mem_toRight.mpr ha) (mem_toRight.mpr hb) e) |
| 64 | omit h |
| 65 | def bud (p:D.Quills) := ∏ i∈D.glyph p,D.toll i U |
| 66 | def nectar (p:D.Ink) := if D.reach p.val∩ flags t U = D.stain p.val then D.bud U (.inr p) else 0 |
| 67 | def sap (p:D.Quills) := Sum.elim (fun i=> D.bud U (.inl i)) (D.nectar t U) p |
| 68 | |
| 69 | def value (s:Finset D.Quills):= Ribbons.item D.quip (fun i=>D.fuse i.val) (flags t U) (D.sap t U) s |
| 70 | def fee (s:Finset (I⊕J)):= Fibers.reap Δ (Ribbons.item D.mode_ D.spill (flags t U) (fun i=> D.toll i U) s) |
| 71 | include h |
| 72 | lemma sweets (s:Finset D.Quills)(hv:D.Pace t U s)(p:D.Quills)(hi:p∈s): D.sap t U p=D.bud U p:=by |
| 73 | rcases p with b|b; rfl |
| 74 | change D.nectar t U b=_; unfold nectar; split; rfl |
| 75 | next he=> symm; by_contra hn; apply he |
| 76 | have hk := (Accent.marked_pattern _ _ _ (fun i _=> (D.hold _ h i).1.mono (D.hold _ h i).2)).mp hv.2 |
| 77 | ext i; constructor |
| 78 | · intro hx; obtain ⟨h1,h2⟩:=mem_inter.mp hx; obtain ⟨p,hp,ht⟩:=mem_biUnion.mp (hk.2.symm ▸ h2 : i∈s.toRight.biUnion _) |
| 79 | by_cases hp':p=b; exact hp' ▸ ht |
| 80 | exact False.elim ((disjoint_left.mp (hk.1 hp (mem_toRight.mpr hi) hp')) ((D.hold _ h p).2 ht) h1) |
| 81 | intro hI; refine mem_inter.mpr ⟨D.shade _ h b.val hI,?_⟩; exact hk.2 ▸ mem_biUnion.mpr ⟨b,mem_toRight.mpr hi,hI⟩ -- Eligibility even WITHOUT nonzero |
| 82 | lemma billed (s:Finset D.Quills)(hp:D.Pace t U s): D.fee t U (s.biUnion D.glyph)=D.value t U s:=by |
| 83 | obtain ⟨ht,hF⟩:=D.sheets t U h s hp |
| 84 | rw [value,fee,Ribbons.item,if_pos ht,Ribbons.item,if_pos hp.2,prod_biUnion hF]; |
| 85 | have he(p:D.Quills): (∏ i∈D.glyph p,Poly.send (D.mode_ i) (D.toll i U))=Poly.send (D.plank p) (D.bud U p):=tagged_prod _ _ (D.run p).buys _ |
| 86 | simp only [he]; rw [Fibers.recomp Δ (q:=D.plank) (fun i _=> (D.run i).ready) (D.bud U)] |
| 87 | exact prod_congr rfl fun i hi=> (congr_arg (Poly.send (D.quip i)) (D.sweets t U h s hp i hi)).symm |
| 88 | end YM.MergeProof.Ribbons.Fibers.Deck |