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.Extra.WILSON_STARTUP.Channels |
| 2 | import YM.Further.THRESHOLD_SOURCE_RESTART.Columns |
| 3 | import YM.Further.THRESHOLD_SOURCE_RESTART.Halos |
| 4 | import YM.Further.THRESHOLD_SOURCE_RESTART.Silt |
| 5 | |
| 6 | /-! |
| 7 | # Compulsory k-threshold records |
| 8 | |
| 9 | These `Key` are at EVERY ORIENTATION incl degenerate torus periods. Cost |
| 10 | with the factor of card Signed. Each keeps ONE clipped direct gain per |
| 11 | Key, and the kept-short-row compensations will be charged only on such |
| 12 | keys. Every nonempty connected record has to retain at least one. |
| 13 | `Menu`: all the optional primitive corrections to the exponent, already |
| 14 | applied including every contributing address history and a real footprint. |
| 15 | Local rules for exact compatible gas identity after carrying the key set |
| 16 | in addition to older K records. Builds `Narrows` before Marker use. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Further.ThresholdSourceRestart.Sluice |
| 21 | open Function Set Filter MeasureTheory Wilson RG Lattice Marker Overlay |
| 22 | open Push.Corrected Work.H03 WilsonStartup |
| 23 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 24 | variable {G : Gauge} {n : Side} {H : Rep G n} (q : BudgetPoint) |
| 25 | |
| 26 | def must (i : Key n) (U : Config G n) := q.threshold < G.chord (faceValue (i.frame U) i.root) |
| 27 | def listAll (U : Config G n) := Finset.univ.filter (must q · U) |
| 28 | @[simp] lemma enlisted (i : Key n) (U : Config G n) : i ∈ listAll q U ↔ must q i U := by simp [listAll] |
| 29 | lemma list_gauge (k : Site n → G.El) (U : Config G n) : listAll q (gauge k U)=listAll q U := by |
| 30 | ext i; simp [must,Key.frame,pulls_gauge] |
| 31 | lemma list_transfer (i : Key n) (U : Config G n) (s : Signed) (x : Site n) : |
| 32 | Key.perm s x i ∈ listAll q U ↔ i ∈ listAll q (pull s x U) := by |
| 33 | simp only [enlisted, must,Key.oriented (U:=U),show (Key.perm s x i).root=i.root from rfl] |
| 34 | lemma enroll (i : Key n) : MeasurableSet {U : Config G n| i ∈ listAll q U} := by |
| 35 | simp only [enlisted,must] |
| 36 | unfold Key.frame faceValue; apply IsOpen.measurableSet; apply isOpen_lt continuous_const; fun_prop |
| 37 | lemma enroll_reads (i : Key n) {U V : Config G n} (h : Agrees i.skin U V) : i ∈ listAll q U ↔ i ∈ listAll q V := by |
| 38 | have he (U : Config G n) := Face.send_price U i.root i.1 i.native G.chord G.chord_inv fun k g => G.chord_conj g k |
| 39 | simp only [enlisted,must,Key.frame,he] |
| 40 | change _ < G.chord (faceValue U i.positive) ↔ _ < G.chord (faceValue V i.positive) |
| 41 | rw [show faceValue U i.positive=faceValue V i.positive from face_local i.positive U V (i.skin_positive ▸ h)] |
| 42 | lemma claim_all (U : Config G n) : (listAll q U).biUnion Key.skin=flags q.threshold U := by |
| 43 | ext x; constructor |
| 44 | · intro hi; obtain ⟨i,hi,hx⟩ := Finset.mem_biUnion.mp hi |
| 45 | have hh := (enlisted q i U).mp hi |
| 46 | have he := Face.send_price U i.root i.1 i.native G.chord G.chord_inv fun k g => G.chord_conj g k |
| 47 | exact (flags_spec ..).mpr ⟨i.positive,i.skin_positive ▸ hx,hh.trans_eq he⟩ |
| 48 | intro hi; obtain ⟨p,hp,he⟩ := (flags_spec ..).mp hi |
| 49 | let i := Key.shifted 1 p |
| 50 | have hU : pull (1:Signed) 0 U = U := pull_id U |
| 51 | have ht : i.root.2=p.2 := rfl |
| 52 | have hu (U : Config G n) : faceValue U i.root = faceValue U ((0:Site n),p.2) := rfl |
| 53 | have hx : i ∈ listAll q U := (enlisted ..).mpr <| (by |
| 54 | unfold must; dsimp only [i]; rw [Key.shift_frame,hU,hu,translate_face]; simpa) |
| 55 | refine Finset.mem_biUnion.mpr ⟨i,hx,?_⟩ |
| 56 | change x ∈ (touched ((0:Site n),p.2)).image (affine 1 (affine 1 0 p.1)) |
| 57 | simp only [affine, Signed.act_one,add_zero] |
| 58 | rcases p with ⟨a,b⟩ |
| 59 | simp_rw [WilsonStartup.four_visit] at *; simp [affine,← add_assoc,add_comm _ a] at hp ⊢; grind |
| 60 | |
| 61 | -- Enough reads at flags on mandatory patches; compartment exhaust will |
| 62 | -- check even the equal-plaquette variants on a thin lattice. |
| 63 | def walls (i : Key n) := halo (8*q.B) {i.native} |
| 64 | lemma mentions {i j : Key n} (h : ¬ Disjoint i.skin j.skin) : j.skin ⊆ walls q i := by |
| 65 | obtain ⟨z,h1,h2⟩ := Finset.not_disjoint_iff.mp h |
| 66 | intro x he; have hP := j.nearby he; have hI := i.nearby h1; have hJ := j.nearby h2 |
| 67 | have hz := separation_triangle z j.native x; have hx := separation_triangle i.native z x |
| 68 | rw [separation_comm z j.native] at hz |
| 69 | have := q.B_pos; exact halo_spec.mpr ⟨_,Finset.mem_singleton_self _,by omega⟩ |
| 70 | lemma watches (i : Key n) : inspected i.skin ⊆ walls q i := by |
| 71 | intro x hx; obtain ⟨v,h,hv⟩ := Halos.at_old hx |
| 72 | have hp := separation_triangle i.native v x; have := i.nearby h; have := q.B_pos |
| 73 | exact halo_spec.mpr ⟨_,Finset.mem_singleton_self _,by omega⟩ |
| 74 | |
| 75 | -- Optional portion on all fields at actual masks. If nonzero also needs key. |
| 76 | structure Shade (G : Gauge) (n : Side) (q : BudgetPoint) (α : Type) where |
| 77 | patch : α → Support n |
| 78 | active i : (patch i).Nonempty |
| 79 | leaf : α → Config G n → ℝ |
| 80 | meas i : Measurable (leaf i) |
| 81 | stays i : GaugeInvariant (leaf i) |
| 82 | leg i : UsesFinal q.threshold (patch i) (leaf i) |
| 83 | needy i U : leaf i U≠0 → ¬ Healthy q.threshold (patch i) U |
| 84 | move (s : Signed) (x : Site n) : Equiv.Perm α |
| 85 | carries (s x i) : patch (move s x i)=(patch i).image (affine s x) |
| 86 | shifts s x i U : leaf (move s x i) U = leaf i (pull s x U) |
| 87 | |
| 88 | -- H.p operations on same H.path. More constructors may reuse this port |
| 89 | -- but note `cut` is BEFORE new K's. No summing costs implicit. |
| 90 | structure Flare (G : Gauge) (n : Side) (q : BudgetPoint) where |
| 91 | charge : Key n → Config G n → ℝ |
| 92 | meas i : Measurable (charge i) |
| 93 | stays i : GaugeInvariant (charge i) |
| 94 | leg i : UsesFinal q.threshold (walls q i) (charge i) |
| 95 | shifts s x i U : charge (Key.perm s x i) U=charge i (pull s x U) |
| 96 | |
| 97 | -- Cut here refers just to the UNmarked exponent change |
| 98 | -- (gas representation will change also). |
| 99 | def wished (H : Rep G n) := { H with p := q } |
| 100 | structure Menu (H : Rep G n) (q : BudgetPoint) (α : Type) where |
| 101 | shrinks : q.threshold ≤ H.p.threshold |
| 102 | flare : Flare G n q |
| 103 | more : Shade G n q α |
| 104 | absolute U : Summable (fun i => more.leaf i U) |
| 105 | cut U : H.exponent U-(wished q H).exponent U=(∑ i∈listAll q U,flare.charge i U)+(∑' i,more.leaf i U) |
| 106 | |
| 107 | variable {q} {α : Type} (L : Menu H q α) |
| 108 | |
| 109 | abbrev Codes (n : Side) (α : Type) := ℕ ⊕ Key n ⊕ α |
| 110 | namespace Menu |
| 111 | abbrev paint (_ : Menu H q α) (p : Finset (Codes n α)) := p.toRight.toLeft |
| 112 | abbrev solicit (_ : Menu H q α) (p : Finset (Codes n α)) := p.toRight.toRight |
| 113 | def zone : Codes n α → Support n := Sum.elim (fun i => inspected (oldSites H i)) (Sum.elim (walls q) L.more.patch) |
| 114 | def limit (p : Finset (Codes n α)) := p.biUnion L.zone |
| 115 | def inv (p : Finset (Codes n α)) := (L.paint p).biUnion Key.skin |
| 116 | |
| 117 | def Fuel (p : Finset (Codes n α)) := Ac.Spark L.zone p ∧ (L.paint p).Nonempty ∧ |
| 118 | (p.toLeft : Set ℕ).PairwiseDisjoint (oldSites H) |
| 119 | abbrev Record := {p // L.Fuel p} |
| 120 | lemma has_inv (p : L.Record) : (L.inv p.val).Nonempty := by |
| 121 | obtain ⟨i,hi⟩ := p.property.2.1; exact ⟨i.native,Finset.mem_biUnion.mpr ⟨_,hi,i.native_mem⟩⟩ |
| 122 | lemma holds (p : Finset (Codes n α)) (i) (hh : i∈L.paint p) : walls q i ⊆ L.limit p := |
| 123 | Finset.subset_biUnion_of_mem L.zone (Finset.mem_toRight.mp (Finset.mem_toLeft.mp hh)) |
| 124 | lemma has_supp (p : Finset (Codes n α)) : L.inv p ⊆ L.limit p := by |
| 125 | intro x h; obtain ⟨i,hi,hx⟩ := Finset.mem_biUnion.mp h |
| 126 | exact L.holds _ _ hi (watches q _ (Halos.enters hx)) |
| 127 | lemma halo_charge (p : Finset (Codes n α)) (i) (hi : i∈p.toLeft) : inspected (oldSites H i) ⊆ L.limit p := |
| 128 | Finset.subset_biUnion_of_mem L.zone (Finset.mem_toLeft.mp hi) |
| 129 | lemma zone_ne (i : Codes n α) : (L.zone i).Nonempty := by |
| 130 | cases i with |
| 131 | | inl i => exact (H.activities.forced i).inventory_ne.mono (Finset.Subset.trans (H.activities.forced i).inventory_sup Halos.enters) |
| 132 | | inr i => cases i with |
| 133 | | inl i => exact ⟨_,watches q i (Halos.enters i.native_mem)⟩ |
| 134 | | inr i => exact L.more.active i |
| 135 | end Menu |
| 136 | end YM.Further.ThresholdSourceRestart.Sluice |