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.SOURCE_HISTORIES.Stock |
| 2 | |
| 3 | /-! Exact absolute grouping/restoration of the old sector polynomial (one |
| 4 | source, all its meeting forced histories). -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Extra.Histories.Attach |
| 8 | open Function Filter MeasureTheory Set Lattice Wilson RG Source Labels |
| 9 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 10 | |
| 11 | variable {n : Side} {G : Gauge} (R : Rep G n) (Y : Support n) |
| 12 | variable (H : Shelf R.activities) (q : ℕ) |
| 13 | variable (U : Config G n) |
| 14 | |
| 15 | private lemma exchange (f : Config G n → ℂ) (p : Issued R Y H q U) : |
| 16 | chunk R Y p.val.1 f U * coat R (stamp R Y H q p.val.1) p.val.2 U = |
| 17 | f U * (R.activities.gasOccurrence R.p (redeem R Y H q U p).val U : ℂ) := by |
| 18 | classical |
| 19 | have he := seated R U p.property.2 p.property.1 |
| 20 | rw [stamp_x,stamp_i] at he |
| 21 | unfold chunk coat Activities.gasOccurrence |
| 22 | rw [if_pos he,if_pos p.property, if_pos (redeem R Y H q U p).property.1, |
| 23 | show (redeem R Y H q U p).val = _ ∪ unchanged R Y H q U p from rfl, Finset.prod_union (separate R Y H q U p)] |
| 24 | simp only [Complex.ofReal_mul, Complex.ofReal_prod, mul_assoc,unchanged] |
| 25 | |
| 26 | private lemma always_meets (b : Finset ℕ) (hb : R.activities.admissible R.p U b) (hu : ¬Healthy R.p.threshold Y U) : |
| 27 | (meet R Y b).Nonempty := by |
| 28 | obtain ⟨x,hx,hi⟩ := Finset.not_disjoint_iff.mp hu |
| 29 | rw [← hb.2] at hi |
| 30 | obtain ⟨j,hj,he⟩ := Finset.mem_biUnion.mp hi |
| 31 | exact ⟨j,(mem_meet ..).mpr ⟨hj,Finset.not_disjoint_iff.mpr ⟨x,(R.activities.forced j).inventory_sup he,hx⟩⟩⟩ |
| 32 | |
| 33 | lemma line_dominated {w : ℝ} {f : Config G n → ℂ} {C : ℝ} (hb : ∀ U, ‖f U‖ ≤ C) |
| 34 | (hv : R.activities.KBound R.p w) : Dominated (line R Y H q f) := by |
| 35 | obtain ⟨p,hp,hh⟩ := line_budget R Y H q hb hv |
| 36 | exact ⟨_,hp.2.1,fun i U => ((hh i).2 U).trans (R.p.loMass _ _ (hh i).1)⟩ |
| 37 | |
| 38 | /-- Splicing a stencil bad-field multiplier at one marker gives exactly |
| 39 | f times the old gas **without mask restriction or division**, at every U. |
| 40 | `coat_all` & `Dress` guarantee the interchange; `routes` establishes |
| 41 | truth before even summing labels. -/ |
| 42 | theorem paid {σ C Λ δ w : ℝ} (hv : R.Lawful σ C Λ δ w) {f : Config G n → ℂ} |
| 43 | (hf : ∃ B : ℝ,∀ U, ‖f U‖ ≤ B) (hh : ∀ U, Healthy R.p.threshold Y U → f U=0) : |
| 44 | ∑' b : Finset ℕ, ∑' i, line R Y H q f i U * coat R i b U = f U * (R.activities.gas R.p U : ℂ) := by |
| 45 | classical |
| 46 | obtain ⟨B,hB⟩ := hf |
| 47 | let k := stamp R Y H q |
| 48 | let g (p : Finset ℕ × ℕ) := line R Y H q f p.2 U * coat R p.2 p.1 U |
| 49 | have hp : Summable g := |
| 50 | ((coat_all hv (line_dominated R Y H q hB hv.labels.boundK)).summable U).prod_symm |
| 51 | let f' : Issued R Y H q U → Finset ℕ × ℕ := fun p => (p.val.2,k p.val.1) |
| 52 | have ht : Injective f' := by |
| 53 | intro i j he |
| 54 | exact Subtype.ext (Prod.ext (k.injective (congr_arg Prod.snd he)) (congr_arg Prod.fst he)) |
| 55 | have hx (x) (hx : g x ≠ 0) : x ∈ range f' := by |
| 56 | rcases x with ⟨b,i⟩ |
| 57 | change line R Y H q f i U * coat R i b U ≠ 0 at hx |
| 58 | have hy : i∈range k := by by_contra he; rw [line_empty _ _ _ _ _ he] at hx; simp at hx |
| 59 | obtain ⟨c,rfl⟩ := hy |
| 60 | have hz : k c ∈ b ∧ R.activities.admissible R.p U b := by |
| 61 | by_contra he; simp [coat,he] at hx |
| 62 | exact ⟨⟨(c,b),hz⟩,rfl⟩ |
| 63 | let a (b : Finset ℕ) := f U * (R.activities.gasOccurrence R.p b U : ℂ) |
| 64 | have ha (b) (ha : a b ≠ 0) : ∃ c : Old R Y U, c.val=b := by |
| 65 | have h1 : ¬Healthy R.p.threshold Y U := fun h => ha (by simp [a,hh U h]) |
| 66 | have h2 : R.activities.admissible R.p U b := by by_contra h; simp [a,Activities.gasOccurrence,h] at ha |
| 67 | exact ⟨⟨b,h2,always_meets R Y U b h2 h1⟩,rfl⟩ |
| 68 | calc |
| 69 | _ = ∑' x, g x := hp.tsum_prod.symm |
| 70 | _ = ∑' p, g (f' p) := (ht.tsum_eq (show Function.support g ⊆ _ from fun x h => hx x h)).symm |
| 71 | _ = ∑' p : Issued R Y H q U, a (redeem R Y H q U p).val := by |
| 72 | refine tsum_congr fun i => ?_ |
| 73 | change line R Y H q f ((stamp R Y H q) i.val.1) U * coat R _ _ _ = _ |
| 74 | rw [line_stamp]; exact exchange R Y H q U f i |
| 75 | _ = ∑' c : Old R Y U, a c.val := (routes R Y H q U).symm.tsum_eq fun c => a c.val |
| 76 | _ = ∑' b, a b := Subtype.val_injective.tsum_eq (show Function.support a ⊆ range ((↑):Old R Y U→_) from |
| 77 | fun x h => ha x h) |
| 78 | _ = _ := by unfold Activities.gas a; rw [Complex.ofReal_tsum,tsum_mul_left] |
| 79 | |
| 80 | end YM.Extra.Histories.Attach |