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.Overlay.Table |
| 2 | import YM.Vac.Caps |
| 3 | |
| 4 | /-! |
| 5 | # Stop at ANY m with these costs. Marker number and site count visible. |
| 6 | |
| 7 | Merges don't give independent coefficients on arbitrary power sets. But the |
| 8 | total absolute bound uses that relaxation as an inequality, proving existence |
| 9 | of the relevant sums rather than assuming smallness of their values. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Overlay |
| 15 | open Function Marker RG Lattice Wilson MeasureTheory Filter |
| 16 | open Finset |
| 17 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 18 | variable {G : Gauge} {n : Side} {V : Type*} [Fintype V] [DecidableEq V] {R : Census V} {P : Rep G n} |
| 19 | variable (a : Bands R P) {w : V → ℝ} {u c d b : ℝ} (h : a.Active) (t : a.Radial w u c d b) |
| 20 | |
| 21 | lemma per_system {α : Type*} {f : α → ℝ} {P : α → R.Mode} {c : ℝ} (h : ∀ i,0≤f i) (hv : ∀ i, (P i).val.Nonempty) |
| 22 | (ht : ∀ i : V, SumBudget (fun j => if i∈ (P j).val then f j else 0) c) : |
| 23 | SumBudget f (Fintype.card V * c) := by |
| 24 | let q (x : V) k := if x∈(P k).val then f k else 0 |
| 25 | have he := summable_sum (s:=Finset.univ) (f:=q) fun i (_ : i∈Finset.univ) => (ht i).2.1 |
| 26 | have hh (i) : f i ≤ ∑ x, q x i := by |
| 27 | obtain ⟨y,hy⟩ := hv i |
| 28 | calc |
| 29 | _ = q y i := by simp only [q,if_pos hy] |
| 30 | _ ≤ _ := Finset.single_le_sum (fun i _ ↦ (ht i).1 _) (mem_univ _) |
| 31 | have HF := he.of_nonneg_of_le h hh |
| 32 | refine ⟨h, HF,(HF.tsum_le_tsum hh he).trans ?_⟩ |
| 33 | rw [Summable.tsum_finsetSum (f:=q) (fun i _ ↦ (ht i).2.1)] |
| 34 | exact (sum_le_sum fun i _ => (ht i).2.2).trans (by simp) |
| 35 | |
| 36 | namespace Bands |
| 37 | |
| 38 | include h t |
| 39 | lemma bulkBound (U : Config G n) : Summable (fun i => a.ray i U) ∧ |
| 40 | Poly.price w (a.extra U) ≤ Fintype.card V*(u+c) := by |
| 41 | obtain ⟨q,hq,H⟩ := t.bulk |
| 42 | let C (i : ℕ) := Poly.toll w (a.rays i)*P.p.mass (a.support i) (q i) |
| 43 | have hn (i) : 0≤ C i := mul_nonneg (Poly.worth t.pure _).le (le_trans (hq i).1 (P.p.loMass _ _ (hq i).1)) |
| 44 | have he := per_system hn h.proper H |
| 45 | have hf (i) : Poly.price w (a.ray i U) ≤ C i := by |
| 46 | rw [ray,Poly.solo]; apply mul_le_mul_of_nonneg_left _ (Poly.worth t.pure _).le |
| 47 | apply le_trans _ (P.p.loMass _ _ (hq i).1) |
| 48 | obtain ⟨x,hx⟩ := h.proper i |
| 49 | by_cases hy : Healthy P.p.threshold (a.support i) U |
| 50 | · rw [masked_eq _ _ _ _ hy]; exact ((hq i).2 x hx).2 U hy [] (by simp) (by simp) |
| 51 | rw [masked_ne _ _ _ _ hy,norm_zero]; exact (hq i).1 |
| 52 | obtain ⟨he,hC⟩ := Poly.budgeted t.pure he.2.1 hf |
| 53 | refine ⟨he, (Poly.addition t.pure _ _).trans (add_le_add (le_trans (Poly.batch t.pure ..) ?_) (hC.trans ‹SumBudget C _›.2.2) |>.trans_eq (mul_add _ _ _).symm)⟩ |
| 54 | simp_rw [Poly.solo,Poly.solo_toll] |
| 55 | exact le_trans (sum_le_sum (f:=fun i => w i*‖a.units i‖) fun i _ => t.localU i) (by simp) |
| 56 | |
| 57 | lemma baseBound {δ κ : ℝ} (H : P.activities.Valid P.p δ κ) (U : Config G n) : |
| 58 | (∀ i : ℕ,Summable (fun j => a.tagged i j U)) ∧ SumBudget (fun i => Poly.price w (a.each i U)) |
| 59 | (Fintype.card (Site n)*κ+Fintype.card V*(d*b)) := by |
| 60 | obtain ⟨q,hq,hH⟩ := H.boundK |
| 61 | let k := fun i => P.activities.forced i |
| 62 | have ha (i) : (k i).support.Nonempty := (k i).inventory_ne.mono (k i).inventory_sup |
| 63 | have he : Summable q := Activities.summable_charge ha (fun i => (hq i).1) hH |
| 64 | have h' := sumRoot ha (fun i => (hq i).1) hH |
| 65 | obtain ⟨f,hf,hB⟩ := t.hits |
| 66 | let T (x : ℕ × ℕ) := Poly.toll w (a.marks x.1 x.2)*P.p.mass (k x.1).support (f x) |
| 67 | have hw (i) : 0≤f i := (hf i.1 i.2).1 |
| 68 | have hp : SumBudget T (Fintype.card V*(d*b)) := per_system (fun i => |
| 69 | mul_nonneg (Poly.worth t.pure _).le (le_trans (hw i) (P.p.loMass _ _ (hw i)))) |
| 70 | (P:=fun i => a.marks i.1 i.2) (fun i => h.occurs i.1 i.2) hB |
| 71 | let x (i : ℕ) := ∑' j,T (i,j) |
| 72 | obtain ⟨hi,hx⟩ := (summable_prod_of_nonneg (show 0 ≤ T from hp.1)).mp hp.2.1 |
| 73 | have hs (i : ℕ) : Summable (fun j => a.tagged i j U) ∧ Poly.price w (∑' j,a.tagged i j U) ≤ x i := by |
| 74 | refine Poly.budgeted t.pure (hi i) fun j => ?_ |
| 75 | rw [tagged,Poly.solo]; exact mul_le_mul_of_nonneg_left (((hf i j).2 _).trans (P.p.loMass _ _ (hw _))) (Poly.worth t.pure _).le |
| 76 | have ht (i : ℕ) : Poly.price w (a.each i U) ≤ q i+x i := by |
| 77 | rw [each] |
| 78 | apply (Poly.addition t.pure ..).trans (add_le_add ?_ (hs i).2) |
| 79 | simpa only [Poly.solo,Poly.quiet_toll,Complex.norm_real,one_mul] using (hq i).2 U |
| 80 | have hy := he.add hx |
| 81 | have H := hy.of_nonneg_of_le (fun i => Poly.nonnegative t.pure _) ht |
| 82 | refine ⟨fun i => (hs i).1,fun i => Poly.nonnegative t.pure _,H,(H.tsum_le_tsum ht hy).trans ?_⟩ |
| 83 | rw [Summable.tsum_add he (f:=q) (g:=x) (show Summable x from hx)] |
| 84 | exact add_le_add h' ((hp.2.1.tsum_prod).symm.trans_le hp.2.2) |
| 85 | |
| 86 | lemma population {δ κ : ℝ} (H : P.activities.Valid P.p δ κ) (U : Config G n) : |
| 87 | Summable (fun i => a.packet i U) ∧ Poly.price w (a.cluster U) ≤ Real.exp (Fintype.card (Site n)*κ+Fintype.card V*(d*b)) := by |
| 88 | obtain ⟨hn,hs,hg⟩ := (a.baseBound h t H U).2 |
| 89 | let f (i) := Poly.price w (a.each i U) |
| 90 | obtain HH : Summable fun t => ∏ i∈t,f i := summable_finsetProd_of_summable_nonneg hn hs |
| 91 | have hp (s : Finset ℕ) : Poly.price w (a.packet s U)≤ ∏ i∈s,f i := by |
| 92 | unfold packet; split |
| 93 | · exact Poly.multiple t.pure _ _ |
| 94 | rw [Poly.zero_price]; exact prod_nonneg fun i _ => hn i |
| 95 | have hh := Poly.budgeted t.pure HH hp |
| 96 | refine ⟨hh.1,hh.2.trans ?_⟩ |
| 97 | apply le_of_tendsto HH.hasSum; refine Eventually.of_forall fun s => ?_ |
| 98 | let l := s.biUnion id |
| 99 | calc |
| 100 | _ ≤ ∑ v∈l.powerset, ∏ i∈v,f i := sum_le_sum_of_subset_of_nonneg (fun x hx => mem_powerset.mpr fun i hi => mem_biUnion.mpr ⟨x,hx,hi⟩) (fun i _ _ => prod_nonneg fun i _ => hn i) |
| 101 | _ = ∏ i∈l, (1+f i) := (Finset.prod_one_add l).symm |
| 102 | _ ≤ ∏ i∈l, Real.exp (f i) := prod_le_prod (fun i _ => add_nonneg zero_le_one (hn i)) |
| 103 | (fun i _ => le_trans (le_of_eq (add_comm _ _)) (Real.add_one_le_exp (f i))) |
| 104 | _ = Real.exp (∑ i∈l, f i) := (Real.exp_sum ..).symm |
| 105 | _ ≤ _ := Real.exp_monotone ((hs.sum_le_tsum _ fun i _ => hn i).trans hg) |
| 106 | |
| 107 | lemma same {δ κ : ℝ} (H : P.activities.Valid P.p δ κ) (U : Config G n) : |
| 108 | (a.density U).part R.quiet=(P.eval U:ℂ) := by |
| 109 | have hh (i : R.Mode) (hx : i.val.Nonempty) (x : ℂ) : (Poly.send i x).part R.quiet=0 := by rw [Poly.part_send,if_neg (show R.quiet≠i from fun H => nonempty_iff_ne_empty.mp hx (congr_arg Subtype.val H.symm))] |
| 110 | have hE : (a.extra U).part R.quiet=0 := by |
| 111 | rw [extra,Poly.part_plus,Poly.share ((a.bulkBound h t U).1),Poly.part_sum] |
| 112 | simp_rw [ray, hh _ (h.proper _),hh _ (show (R.fire _).val.Nonempty from Finset.singleton_nonempty _), tsum_zero,sum_const_zero,zero_add] |
| 113 | have he := (a.population h t H U).1 |
| 114 | have hg (i : ℕ) : (a.each i U).part R.quiet= (P.activities.K i U : ℂ) := by |
| 115 | rw [each,Poly.part_plus,Poly.share ((a.baseBound h t H U).1 i)] |
| 116 | simp only [tagged, hh _ (h.occurs _ _), Poly.part_send, ↓reduceIte, tsum_zero,add_zero] -- rewrite order |
| 117 | rw [density,Poly.part_smul,Poly.quiet_mul,Poly.pass_part _ hE,one_mul, Rep.eval,Complex.ofReal_mul] |
| 118 | congr 1 |
| 119 | unfold cluster Activities.gas |
| 120 | rw [Poly.share he, Complex.ofReal_tsum] |
| 121 | refine tsum_congr fun b => ?_ |
| 122 | unfold packet Activities.gasOccurrence; split |
| 123 | · rw [Complex.ofReal_prod] |
| 124 | let e : Poly R →* ℂ := { toFun := fun v => v.part R.quiet, map_one' := by simp only [Poly.one_part,↓reduceIte], map_mul' := fun i j => Poly.quiet_mul _ _ } |
| 125 | refine Eq.trans (map_prod e ..) ?_ |
| 126 | exact prod_congr rfl fun i _ ↦ hg i |
| 127 | simp |
| 128 | end Bands |
| 129 | end YM.Overlay |