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.Ebb |
| 2 | import YM.OPE.Grouping.Fibers |
| 3 | import YM.OPE.Grouping.Gush |
| 4 | |
| 5 | /-! |
| 6 | # Simultaneous collapses at a mesh scale |
| 7 | |
| 8 | This accounting generalizes the proof for pairs in YM/MergeProof/North/Ebb.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 MeasureTheory Set Ac Push.Local Push.GridApprox.Nil |
| 21 | -- quip quiet only on lone vac terms. |
| 22 | def Vaca (i:J) :Prop:=D.roster (.inr i)=∅ |
| 23 | include h |
| 24 | lemma muted {p:D.Ink}(hp:(D.quip (.inr p)).val=∅): ∃ i:J,D.Vaca i∧p.val={Sum.inr i}:=by |
| 25 | rw [D.paint] at hp; have hz (i)(hi:i∈p.val):D.roster i=∅:= Finset.eq_empty_of_forall_notMem (fun v hv=> notMem_empty v (hp ▸ mem_biUnion.mpr ⟨i,(show i∈ D.glyph (.inr p) from hi),hv⟩)) |
| 26 | obtain ⟨a,ha⟩:=p.property.wet; have hx:=mem_toRight.mp ha |
| 27 | have he (j)(hj:j∈p.val): j=Sum.inr a:=by |
| 28 | induction p.property.fire.2 _ hx j hj with |
| 29 | | refl=> rfl |
| 30 | | @tail k j _ hb ih=> |
| 31 | have hk:=(ih hb.1); obtain ⟨h1,h2,z,h3,h4⟩:=hb; rw [hk] at h3; have hh:=hz _ h2 |
| 32 | cases z with |
| 33 | | inl v=> exact False.elim (notMem_empty v (hz _ hx ▸ (show v∈D.roster (.inr a) from D.kiln.fuel_left.mp h3))) |
| 34 | | inr v=> |
| 35 | cases j with |
| 36 | | inl b=> obtain ⟨c,hc⟩:= h.clean b; exact False.elim (notMem_empty (Δ.bunch c) (hh ▸ mem_image_of_mem _ hc)) |
| 37 | | inr b=> |
| 38 | by_contra hn; have hA : v∈(D.spill a).1:= h.plain _ (hz _ hx) ▸ ((D.kiln.fuel_right).mp h3).2; have hB : v∈(D.spill b).1:= h.plain _ hh ▸ ((D.kiln.fuel_right).mp h4).2 |
| 39 | exact disjoint_left.mp (p.property.old ha (mem_toRight.mpr hj) fun e=> hn (congr_arg _ e.symm)) hA hB |
| 40 | exact ⟨a,hz _ hx,eq_singleton_iff_unique_mem.mpr ⟨hx,he⟩⟩ |
| 41 | lemma glass (i:J)(hi:D.Vaca i):D.roster (.inr i)=∅ ∧ D.mode_ (.inr i)=(Bud S₀).quiet:=by |
| 42 | have hp : (D.mode_ (.inr i)).val=∅:= Finset.eq_empty_of_forall_notMem (fun v hv=> notMem_empty (Δ.bunch v) ((show (Δ.span (D.mode_ (.inr i))).val=∅ from hi) ▸ mem_image_of_mem _ hv)) |
| 43 | exact ⟨hi,Subtype.ext hp⟩ |
| 44 | lemma admits (i:J)(hi:D.Vaca i): D.Tank {Sum.inr i}:=by |
| 45 | have hh:= (D.glass t h i hi).2 |
| 46 | refine { old:= (?_), buys:= fits_singleton _ _, ready:= ?_, fire:= ⟨singleton_nonempty _,fun a ha b hb=> by rw [mem_singleton.mp ha,mem_singleton.mp hb]; exact .refl⟩, wet:=⟨i,mem_toRight.mpr (mem_singleton_self _)⟩ } |
| 47 | · have hp : toRight ({Sum.inr i}:Finset (I⊕J))={i}:=by ext; simp |
| 48 | simp [hp] |
| 49 | rw [Fibers.worth_iff Δ,Fibers.combines Δ, singleton_biUnion]; simp [ (show (Δ.span (D.mode_ (.inr i))).val=∅ from hi)] |
| 50 | lemma sends (p:D.Ink)(i:J)(hi:D.Vaca i)(hv:p.val={Sum.inr i}): |
| 51 | D.fuse p.val=D.spill i ∧ D.quip (.inr p)=(Bud V).quiet ∧ D.nectar t U p=D.toll (.inr i) U:=by |
| 52 | have he: D.reach p.val=(D.spill i).1:=by simp [reach,hv,h.plain i hi] |
| 53 | have ha: D.stain p.val=(D.spill i).2:=by |
| 54 | unfold stain; rw [show p.val.toRight={i} from (by rw [hv];ext; simp)]; simp |
| 55 | refine ⟨by simp [fuse,he,ha],?_,?_⟩ |
| 56 | · apply Subtype.ext; rw [paint,(show D.glyph (.inr p)={Sum.inr i} from hv), singleton_biUnion]; exact hi |
| 57 | unfold nectar; rw [he,ha]; split |
| 58 | · unfold bud; rw [(show D.glyph (.inr p)={Sum.inr i} from hv)]; simp |
| 59 | next hh=> exact (Classical.byContradiction (fun hu=> hh (h.allows i U hu))).symm |
| 60 | |
| 61 | variable [Fintype I][Fintype J] |
| 62 | lemma sober (z:Box n): |
| 63 | (cram (fun i:D.Ink=>D.fuse i.val) (fun i=>Poly.send (D.quip (.inr i)) (D.nectar t U i)) z).part (Bud V).quiet= |
| 64 | (cram D.spill (fun i=>Poly.send (D.mode_ (.inr i)) (D.toll (.inr i) U)) z).part (Bud S₀).quiet:=by |
| 65 | let a:=fun i:D.Ink=> if D.fuse i.val=z then (Poly.send (D.quip (.inr i)) (D.nectar t U i)).part (Bud V).quiet else 0 |
| 66 | let b:=fun i:J=>if D.spill i=z then (Poly.send (D.mode_ (.inr i)) (D.toll (.inr i) U)).part (Bud S₀).quiet else 0 |
| 67 | let v:={i:J|D.Vaca i}; let f (i:v) : D.Ink:=⟨{Sum.inr i.val},D.admits _ h _ i.property⟩ |
| 68 | have hf: Injective f:= fun i j he=> Subtype.ext (Sum.inr.inj (Finset.singleton_inj.mp (congr_arg Subtype.val he))) |
| 69 | have hv(i:v): a (f i)=b i.val:=by |
| 70 | have hx:=D.sends t U h (f i) _ i.property rfl; unfold a b; rw [hx.1,hx.2.1,hx.2.2, (D.glass t h _ i.property).2]; simp [Poly.part_send] |
| 71 | unfold cram; rw [Poly.share (hs:=Summable.of_finite),Poly.share (hs:=Summable.of_finite)]; |
| 72 | erw [_root_.tsum_subtype {i:D.Ink|D.fuse i.val=z} (fun i=> (Poly.send (D.quip (.inr i)) (D.nectar t U i)).part (Bud V).quiet),_root_.tsum_subtype {i:J|D.spill i=z} (fun i=>(Poly.send (D.mode_ (.inr i)) (D.toll (.inr i) U)).part (Bud S₀).quiet)] |
| 73 | suffices hp:(∑' i,a i)=∑' i,b i by simpa [a,b,indicator] using hp |
| 74 | rw [← hf.tsum_eq (fun i hi=>?_)] |
| 75 | · simp_rw [hv]; refine tsum_subtype_eq_of_support_subset (fun i (hi: i∈Function.support b)=>?_) |
| 76 | change b i≠0 at hi; unfold b at hi; split at hi; swap; · contradiction |
| 77 | rw [Poly.part_send] at hi; split at hi; next he=> unfold v; change (Δ.span (D.mode_ (.inr i))).val=∅; simp [← he,Fibers.span,Census.quiet] |
| 78 | contradiction |
| 79 | change a i≠0 at hi; unfold a at hi; split at hi; swap; · contradiction |
| 80 | rw [Poly.part_send] at hi; split at hi |
| 81 | next he=> obtain ⟨i',hV,hZ⟩:= D.muted _ h (p:=i) (by rw [← he];rfl); exact ⟨⟨i',hV⟩,Subtype.ext hZ.symm⟩ |
| 82 | contradiction |
| 83 | end YM.MergeProof.Ribbons.Fibers.Deck |