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.Corona.Halo |
| 2 | import YM.Extra.SOURCE_HISTORIES.Clusters |
| 3 | |
| 4 | /-! Summability and price of K families meeting the birth stencil at the |
| 5 | **actual vacuum support exponent**, incl genuine winding costs. No volume |
| 6 | powers; no differentiation of predicates. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Extra.Histories.Attach |
| 10 | open Function Filter MeasureTheory Set Lattice Wilson RG Source Labels |
| 11 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 12 | |
| 13 | variable {n : Side} {G : Gauge} (R : Rep G n) (Y : Support n) |
| 14 | |
| 15 | lemma lengths (k : ℕ) (b : Finset ℕ) (h : ∀ i ∈ b, ¬Disjoint (X R i) Y) : |
| 16 | coverNumber k (Y∪b.biUnion (X R)) ≤ coverNumber k Y + ∑ i ∈ b, coverNumber k (X R i) := by |
| 17 | classical |
| 18 | induction b using Finset.induction_on with |
| 19 | | empty => simp |
| 20 | | @insert i b hi ih => |
| 21 | obtain ⟨x,hx,hb⟩ := Finset.not_disjoint_iff.mp (h i (by simp)) |
| 22 | rw [Finset.sum_insert hi,Finset.biUnion_insert] |
| 23 | rw [show Y ∪ (X R i ∪ b.biUnion (X R))=X R i∪(Y∪b.biUnion (X R)) by rw [Finset.union_left_comm]] |
| 24 | refine le_trans (Corona.meets_sum hx (Finset.mem_union_left _ hb) k) ?_ |
| 25 | specialize ih fun i hi => h i (by simp [hi]) |
| 26 | omega |
| 27 | |
| 28 | private lemma tab (c : Cluster R Y) (f : ℕ → ℝ) (h : ∀ i, 0 ≤ f i) : |
| 29 | R.p.mass (span R Y c) (∏ i ∈ c.val, f i) ≤ R.p.mass Y 1 * ∏ i ∈ c.val, R.p.mass (X R i) (f i) := by |
| 30 | let x := R.p.B |
| 31 | let A := R.p.supportExponent |
| 32 | have he : A * (coverNumber x (span R Y c) : ℝ) ≤ A * coverNumber x Y + ∑ i ∈ c.val, A * coverNumber x (X R i) := by |
| 33 | rw [← Finset.mul_sum,← mul_add] |
| 34 | apply mul_le_mul_of_nonneg_left _ R.p.exponent_pos.le |
| 35 | exact_mod_cast lengths R Y x c.val c.property.2.2 |
| 36 | unfold BudgetPoint.mass |
| 37 | rw [Finset.prod_mul_distrib] |
| 38 | refine (mul_le_mul_of_nonneg_right (Real.exp_monotone he) (Finset.prod_nonneg (fun i _ => h i))).trans_eq ?_ |
| 39 | rw [Real.exp_add,Real.exp_sum,mul_one,mul_assoc] |
| 40 | |
| 41 | private lemma hit_all {f : ℕ → ℝ} {w : ℝ} |
| 42 | (hp : ∀ x : Site n, SumBudget (fun i => if x∈X R i then f i else 0) w) |
| 43 | (D : Finset ℕ) (he : ∀ i ∈ D, ¬Disjoint (X R i) Y) : ∑ i ∈ D, f i ≤ Y.card*w := by |
| 44 | classical |
| 45 | let g (x : Site n) (i : ℕ) := if x∈X R i then f i else 0 |
| 46 | have ht (i) (hi : i∈D) : f i ≤ ∑ x ∈ Y, g x i := by |
| 47 | obtain ⟨x,hx,hh⟩ := Finset.not_disjoint_iff.mp (he _ hi) |
| 48 | rw [show f i = g x i from (if_pos hx).symm] |
| 49 | exact Finset.single_le_sum (f:=fun v => g v i) (fun y _ => (hp y).1 i) hh |
| 50 | calc |
| 51 | _ ≤ ∑ i ∈ D, ∑ x ∈ Y, g x i := Finset.sum_le_sum ht |
| 52 | _ = ∑ x ∈ Y, ∑ i ∈ D, g x i := Finset.sum_comm |
| 53 | _ ≤ ∑ _ ∈ Y, w := Finset.sum_le_sum fun i _ => le_trans ((hp i).2.1.sum_le_tsum _ |
| 54 | (fun k _ => (hp i).1 k)) ((hp i).2.2) |
| 55 | _ = _ := by simp |
| 56 | |
| 57 | lemma budget_cluster {f : ℕ → ℝ} (h : ∀ i, 0 ≤ f i) {w : ℝ} |
| 58 | (hw : ∀ x : Site n, SumBudget (fun i => if x ∈ X R i then R.p.mass (X R i) (f i) else 0) w) : |
| 59 | SumBudget (fun c : Cluster R Y => R.p.mass (span R Y c) (∏ i∈c.val, f i)) |
| 60 | (R.p.mass Y 1 * (Real.exp (Y.card*w)-1)) := by |
| 61 | classical |
| 62 | let a i := R.p.mass (X R i) (f i) |
| 63 | have ha i : 0 ≤ a i := mul_nonneg (Real.exp_pos _).le (h i) |
| 64 | have hA : 0 ≤ R.p.mass Y 1 := mul_nonneg (Real.exp_pos _).le zero_le_one |
| 65 | let g (b : Finset ℕ) := ∏ i ∈ b, a i |
| 66 | have hg (b) : 0 ≤ g b := Finset.prod_nonneg (fun i _ => ha i) |
| 67 | let L (c : Cluster R Y) := R.p.mass (span R Y c) (∏ i∈c.val, f i) |
| 68 | have hl (c) : 0 ≤ L c := mul_nonneg (Real.exp_pos _).le (Finset.prod_nonneg (fun i _ => h i)) |
| 69 | have he (s : Finset (Cluster R Y)) : |
| 70 | ∑ c ∈ s, L c ≤ R.p.mass Y 1 * (Real.exp (Y.card*w)-1) := by |
| 71 | let D := s.biUnion Subtype.val |
| 72 | have ht (i) (hi : i∈D) : ¬Disjoint (X R i) Y := by |
| 73 | obtain ⟨j,-,hh⟩ := Finset.mem_biUnion.mp hi; exact j.property.2.2 i hh |
| 74 | have hy : ∏ i∈D, (a i + 1) ≤ Real.exp (Y.card*w) := calc |
| 75 | _ ≤ ∏ i∈D, Real.exp (a i) := Finset.prod_le_prod (fun i _ => by specialize ha i; linarith) |
| 76 | (fun i _ => Real.add_one_le_exp _) |
| 77 | _ = Real.exp (∑ i ∈ D, a i) := (Real.exp_sum ..).symm |
| 78 | _ ≤ _ := Real.exp_monotone (hit_all R Y hw D ht) |
| 79 | have hx : s.image Subtype.val ⊆ D.powerset.erase ∅ := by |
| 80 | intro c hc |
| 81 | obtain ⟨b,hb,rfl⟩ := Finset.mem_image.mp hc |
| 82 | exact Finset.mem_erase.mpr ⟨b.property.1.ne_empty, Finset.mem_powerset.mpr |
| 83 | (fun _ hk => Finset.mem_biUnion.mpr ⟨_,hb,hk⟩)⟩ |
| 84 | have hu : ∑ b ∈ D.powerset.erase ∅, g b = ∏ i∈D, (a i + 1) - 1 := by |
| 85 | have hs : ∏ i∈D, (a i + 1) = ∑ b ∈ D.powerset,g b := by simpa [g] using Finset.prod_add a (fun _ => 1) D |
| 86 | rw [eq_sub_iff_add_eq,hs,← Finset.sum_erase_add _ _ (show ∅∈D.powerset by simp)] |
| 87 | rw [show g ∅ = 1 from Finset.prod_empty] |
| 88 | calc |
| 89 | _ ≤ ∑ c ∈ s, R.p.mass Y 1 * g c.val := Finset.sum_le_sum (fun c _ => tab R Y c f h) |
| 90 | _ = R.p.mass Y 1 * ∑ b ∈ s.image Subtype.val,g b := by |
| 91 | rw [Finset.sum_image Subtype.val_injective.injOn, Finset.mul_sum] |
| 92 | _ ≤ R.p.mass Y 1 * ∑ b ∈ D.powerset.erase ∅,g b := mul_le_mul_of_nonneg_left |
| 93 | (Finset.sum_le_sum_of_subset_of_nonneg hx (fun i _ _ => hg i)) hA |
| 94 | _ ≤ _ := by rw [hu]; exact mul_le_mul_of_nonneg_left (sub_le_sub_right hy _) hA |
| 95 | exact ⟨hl, summable_of_sum_le hl he, Real.tsum_le_of_sum_le hl he⟩ |
| 96 | |
| 97 | end YM.Extra.Histories.Attach |