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.Further.THRESHOLD_SOURCE_RESTART.Baked |
| 2 | /-! |
| 3 | # Exact coverage with the new and old K masks at k |
| 4 | |
| 5 | Include the old support-disjointness checks (not the inflated versions), |
| 6 | flag equality and compulsory-list exactness. On a fixed torus, |
| 7 | with ALL winding labels already retained. The `balance` proof will use the |
| 8 | hasSum version for regrouping. |
| 9 | Proof method extends `Push.CORRECTED_COLUMNS` `.Invited`. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Further.ThresholdSourceRestart.Sluice.Menu |
| 14 | open Function Set Filter MeasureTheory Wilson RG Lattice Marker Overlay |
| 15 | open Push.Corrected Work.H03 WilsonStartup Finset |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 17 | variable {G : Gauge} {α : Type} {n : Side} {H : Rep G n} {q : BudgetPoint} (L : Menu H q α) |
| 18 | |
| 19 | def alloted (B : Finset L.Record) := B.biUnion Subtype.val |
| 20 | def Mass (B : Finset L.Record) (U : Config G n) := (B : Set L.Record).PairwiseDisjoint (fun i => L.limit i.val) ∧ |
| 21 | B.biUnion (fun i => L.inv i.val)=flags q.threshold U |
| 22 | |
| 23 | lemma posters (B : Finset L.Record) : L.inv (L.alloted B)=B.biUnion (fun i=>L.inv i.val) := by |
| 24 | ext x; simp only [inv,paint,alloted, Finset.mem_biUnion, Finset.mem_toLeft,Finset.mem_toRight]; grind |
| 25 | lemma quota (B : Finset L.Record) : (L.alloted B).toLeft=B.biUnion (fun i=>i.val.toLeft) := by |
| 26 | ext; simp only [alloted,Finset.mem_biUnion,Finset.mem_toLeft] |
| 27 | |
| 28 | variable {U : Config G n} {B : Finset L.Record} |
| 29 | lemma all_of_it (h : L.Mass B U) (hh : ∀ i∈B,L.Ready i U) : L.paint (L.alloted B)=listAll q U := by |
| 30 | ext i; constructor |
| 31 | · intro he; obtain ⟨b,hb,ht⟩ := mem_biUnion.mp (mem_toRight.mp (mem_toLeft.mp he)) |
| 32 | exact (hh b hb).1 (mem_toLeft.mpr (mem_toRight.mpr ht)) |
| 33 | intro he; have hp : i.native ∈ flags q.threshold U := claim_all q U ▸ Finset.mem_biUnion.mpr ⟨i,he,i.native_mem⟩ |
| 34 | rw [← h.2] at hp; obtain ⟨b,hb,hm⟩ := mem_biUnion.mp hp |
| 35 | have hx : ¬ Disjoint i.skin (L.inv b.val) := not_disjoint_iff.mpr ⟨_,i.native_mem,hm⟩ |
| 36 | have ht := (hh b hb).2.1 _ he hx |
| 37 | exact mem_toLeft.mpr (mem_toRight.mpr (mem_biUnion.mpr ⟨b,hb,mem_toRight.mp (mem_toLeft.mp ht)⟩)) |
| 38 | lemma old_survives (h : L.Mass B U) (hh : ∀ i∈B,L.Ready i U) : H.activities.admissible H.p U (L.alloted B).toLeft := by |
| 39 | rw [L.quota]; constructor |
| 40 | · intro i hi j hj e |
| 41 | obtain ⟨b,hb,hI⟩ := mem_biUnion.mp (show _∈_ from hi); obtain ⟨r,hr,hJ⟩ := mem_biUnion.mp (show _∈_ from hj) |
| 42 | rcases eq_or_ne b r with hp|hp |
| 43 | · subst r; exact b.property.2.2 hI hJ e |
| 44 | exact disjoint_left.mpr fun x hx hz => disjoint_left.mp (h.1 hb hr hp) (L.halo_charge _ _ hI (Halos.enters hx)) |
| 45 | (L.halo_charge _ _ hJ (Halos.enters hz)) |
| 46 | ext x; constructor |
| 47 | · intro he; obtain ⟨j,hj,ht⟩ := mem_biUnion.mp he; obtain ⟨b,hb,hj⟩ := mem_biUnion.mp hj |
| 48 | have he := (hh b hb).2.2.1 _ hj |
| 49 | exact (Finset.mem_inter.mp (he.1.symm ▸ ht)).2 |
| 50 | intro he |
| 51 | have hp : x ∈ flags q.threshold U := by |
| 52 | obtain ⟨P,hP,h'⟩ := (flags_spec ..).mp he; exact (flags_spec ..).mpr ⟨P,hP,L.shrinks.trans_lt h'⟩ |
| 53 | rw [← h.2] at hp; obtain ⟨b,hb,hx⟩ := mem_biUnion.mp hp |
| 54 | obtain ⟨i,hi,h⟩ := mem_biUnion.mp ((hh b hb).2.2.2 (Finset.mem_inter.mpr ⟨hx,he⟩)) |
| 55 | exact mem_biUnion.mpr ⟨i,mem_biUnion.mpr ⟨b,hb,hi⟩,h⟩ |
| 56 | |
| 57 | -- conversely using every nonzero glow. Old K not tested nonzero! Need |
| 58 | -- selection even for zero old vacuum terms. |
| 59 | theorem takeoff {t : Finset ℕ} {A : Finset α} (h : H.activities.admissible H.p U t) (h' : ∀ i∈t,permits H i U) |
| 60 | (he : ∀ i∈A,L.glow (.inr (.inr i)) U≠0) : ∃ B : Finset L.Record, L.Mass B U ∧ |
| 61 | (∀ i∈B,(L.sole i).eligible q.threshold U) ∧ L.alloted B=t.disjSum ((listAll q U).disjSum A) := by |
| 62 | let X := t.disjSum ((listAll q U).disjSum A); let Y := Ac.Parts L.zone X |
| 63 | have hx : L.paint X=listAll q U := by simp [paint,X] |
| 64 | have hy : L.inv X=flags q.threshold U := by unfold inv; rw [hx,claim_all] |
| 65 | have hY (p : ↥Y) : L.Fuel p.val := by |
| 66 | have hp := Ac.lives L.zone X p.property |
| 67 | refine ⟨hp.2,?_,fun i hi j hj e => h.1 ?_ ?_ e⟩ |
| 68 | · obtain ⟨i,hi⟩ := hp.2.1 |
| 69 | have hw {x} (he : x∈L.zone i) (H : x∈flags q.threshold U) : (L.paint p.val).Nonempty := by |
| 70 | obtain ⟨j,hj,hV⟩ := mem_biUnion.mp (show x∈L.inv X from hy ▸ H) |
| 71 | have hQ := mem_toRight.mp (mem_toLeft.mp hj) |
| 72 | have hr : Sum.inr (Sum.inl j)∈Ac.burst L.zone X i := (Ac.bright ..).mpr |
| 73 | ⟨hQ,Relation.ReflTransGen.single ⟨hp.1 hi,hQ,x,he,watches q _ (Halos.enters hV)⟩⟩ |
| 74 | rw [Ac.contains L.zone p.property i hi] at hr |
| 75 | exact ⟨j,mem_toLeft.mpr (mem_toRight.mpr hr)⟩ |
| 76 | rcases i with i|i|i |
| 77 | · obtain ⟨x,hx⟩ := (H.activities.forced i).inventory_ne |
| 78 | have ht : i∈t := inl_mem_disjSum.mp (hp.1 hi) |
| 79 | have he := (h' i ht).1 |
| 80 | have hi : x∈flags H.p.threshold U := (Finset.mem_inter.mp (he.symm ▸ hx)).2 |
| 81 | obtain ⟨P,hP,h⟩ := (flags_spec ..).mp hi |
| 82 | exact hw (Halos.enters ((H.activities.forced i).inventory_sup hx)) ((flags_spec ..).mpr ⟨P,hP,L.shrinks.trans_lt h⟩) |
| 83 | · exact ⟨i,mem_toLeft.mpr (mem_toRight.mpr hi)⟩ |
| 84 | have hv := he i (inr_mem_disjSum.mp (inr_mem_disjSum.mp (hp.1 hi))) |
| 85 | have hM : L.more.leaf i U ≠ 0 := fun H => hv (by simp [glow,H]) |
| 86 | obtain ⟨x,hb,hh⟩ := Finset.not_disjoint_iff.mp (L.more.needy _ _ hM); exact hw hb hh |
| 87 | · exact inl_mem_disjSum.mp (hp.1 (mem_toLeft.mp hi)) |
| 88 | exact inl_mem_disjSum.mp (hp.1 (mem_toLeft.mp hj)) |
| 89 | let f (p : ↥Y) : L.Record := ⟨p.val,hY p⟩ |
| 90 | let B := Finset.univ.image f |
| 91 | have hp : L.alloted B=X := by |
| 92 | apply Eq.trans _ (show Y.biUnion id=X from Ac.reconstruct L.zone X) |
| 93 | ext y; unfold alloted B; rw [Finset.mem_biUnion,Finset.mem_biUnion]; constructor |
| 94 | · rintro ⟨i,hi,h⟩; obtain ⟨p,-,rfl⟩ := mem_image.mp hi; exact ⟨p.val,p.property,h⟩ |
| 95 | rintro ⟨p,hp,h⟩; exact ⟨f ⟨p,hp⟩,mem_image_of_mem f (mem_univ (⟨p,hp⟩ : ↥Y)),h⟩ |
| 96 | have hB : L.Mass B U := by |
| 97 | refine ⟨fun i hi j hj e => ?_,(L.posters B).symm.trans ((congr_arg _ hp).trans hy)⟩ |
| 98 | obtain ⟨p,hp,rfl⟩ := mem_image.mp hi; obtain ⟨s,hs,rfl⟩ := mem_image.mp hj |
| 99 | exact Ac.separate _ _ p.property s.property (fun he => e (Subtype.ext he)) |
| 100 | refine ⟨B,hB,fun i hi => ?_,hp⟩ |
| 101 | have ht i (hi : i∈B) : L.paint i.val ⊆ listAll q U := by |
| 102 | intro j hj |
| 103 | apply inl_mem_disjSum.mp (inr_mem_disjSum.mp (show Sum.inr (Sum.inl j) ∈ X from |
| 104 | hp ▸ mem_biUnion.mpr ⟨i,hi,mem_toRight.mp (mem_toLeft.mp hj)⟩)) |
| 105 | have hq j (hj : j∈B) (x) (hm : x∈L.limit j.val) (hM : x∈L.limit i.val) : j=i := by_contra |
| 106 | fun e => disjoint_left.mp (hB.1 hj hi e) hm hM |
| 107 | constructor |
| 108 | · change L.limit i.val ∩ flags q.threshold U = L.inv i.val |
| 109 | ext x; rw [←hB.2,Finset.mem_inter]; constructor |
| 110 | · rintro ⟨hx,hx'⟩; obtain ⟨b,hb,hh⟩ := mem_biUnion.mp hx' |
| 111 | have hk := hq b hb x (L.has_supp _ hh) hx |
| 112 | subst b; exact hh |
| 113 | intro h; exact ⟨L.has_supp i.val h, mem_biUnion.mpr ⟨i,hi,h⟩⟩ |
| 114 | change L.Ready i U |
| 115 | refine ⟨ht i hi,fun j hj he => ?_, fun j hj => h' j (inl_mem_disjSum.mp (show _∈X from |
| 116 | hp ▸ Finset.mem_biUnion.mpr ⟨i,hi,mem_toLeft.mp hj⟩)),?_⟩ |
| 117 | · obtain ⟨x,hx,hx'⟩ := not_disjoint_iff.mp he |
| 118 | have hh : j ∈ L.paint (L.alloted B) := by rw [hp,show L.paint X=listAll q U from ‹_›]; exact hj |
| 119 | obtain ⟨b,hb,hh⟩ := mem_biUnion.mp (mem_toRight.mp (mem_toLeft.mp hh)) |
| 120 | have hQ := hq b hb x (mem_biUnion.mpr ⟨_,hh,watches q j (Halos.enters hx)⟩) (L.has_supp _ hx') |
| 121 | subst b; exact mem_toLeft.mpr (mem_toRight.mpr hh) |
| 122 | intro x hx; obtain ⟨hv,hx⟩ := mem_inter.mp hx |
| 123 | rw [← h.2] at hx; obtain ⟨p,hp',hP⟩ := mem_biUnion.mp hx |
| 124 | have hh : Sum.inl p ∈ L.alloted B := by rw [hp]; exact inl_mem_disjSum.mpr hp' |
| 125 | obtain ⟨j,hj,Hj⟩ := mem_biUnion.mp hh |
| 126 | have h' := hq j hj x (L.halo_charge _ _ (mem_toLeft.mpr Hj) (Halos.enters ((H.activities.forced p).inventory_sup hP))) (L.has_supp _ hv) |
| 127 | subst j; exact mem_biUnion.mpr ⟨p,mem_toLeft.mpr Hj,hP⟩ |
| 128 | end YM.Further.ThresholdSourceRestart.Sluice.Menu |