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.Next.FOUNDATIONS.SU2 |
| 2 | import YM.Push.GRID_APPROXIMATION.AttachDefs |
| 3 | import YM.Push.GRID_APPROXIMATION.Hit |
| 4 | import YM.Push.GRID_APPROXIMATION.Joint |
| 5 | import YM.Push.GRID_APPROXIMATION.Nil |
| 6 | |
| 7 | /-! |
| 8 | # Supply `Launch` budgets from precise upstream inputs |
| 9 | |
| 10 | Price **before** merging. Need `a` with origins and rooted-mark budget |
| 11 | at one higher exponent after budgeting per-K sampling and a |
| 12 | vacuum hit budget at one higher exponent too. Prove origin-to-hit cost, |
| 13 | κ division conventions and estimates for actual old polynomials. Needed |
| 14 | alongside the unready physics. Does not claim it follows from `CellHyp`, |
| 15 | `Metered` etc (they don't give these estimates). Overlap receives old |
| 16 | K cost even when markers existed before F birth. Sufficient constants shown, |
| 17 | independent of volume. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | set_option linter.unusedSectionVars false |
| 21 | noncomputable section |
| 22 | namespace YM.Push.GridApprox.Attach |
| 23 | open RG Lattice Wilson Cells MeasureTheory Measure Function Filter Finset Ac Marker Overlay Nil |
| 24 | open scoped Topology BigOperators |
| 25 | variable {G : Gauge} {n : Side} {V : Type*} [Fintype V] [DecidableEq V] {R : Census V} |
| 26 | {P : Rep G n} {a : Bands R P} |
| 27 | |
| 28 | /-- Cost port at birth. Tuning realizations still required. `κ0` |
| 29 | desired incoming hit budget at exp `[A+1]`, `κ1` desired marked forced |
| 30 | root budget (with its additional exponential of reserve and w markers). |
| 31 | Use actual entries prior to merging, needs true hit reserve from that |
| 32 | vacuum too. Doesn't force `extraTest` to have names reserved for spares. |
| 33 | -/ |
| 34 | structure Before (a : Bands R P) (w : V → ℝ) (κ0 κ1 : ℝ) : Prop where |
| 35 | positions : Injective a.origins |
| 36 | markBound : 0 ≤ κ1 |
| 37 | hold : ∃ v : ℕ → ℝ, (∀ i,0≤v i ∧ ∀ U, ‖P.activities.K i U‖ ≤ v i) ∧ |
| 38 | Hit (fun i => (P.activities.forced i).support) P.p.B v (P.p.supportExponent+1) κ0 |
| 39 | bills : ∃ g : ℕ×ℕ → ℝ, (∀ i j, 0≤g (i,j) ∧ (∀ U, ‖a.entries i j U‖ ≤ g (i,j)) ∧ (0<g (i,j) → a.entries i j≠0)) ∧ |
| 40 | ∀ i : V, SumBudget (fun j : ℕ × ℕ => if i∈ (a.marks j.1 j.2).val then |
| 41 | (Poly.toll w (a.marks j.1 j.2)*g j)*Real.exp |
| 42 | ((P.p.supportExponent+1+1)*coverNumber P.p.B (P.activities.forced j.1).support) else 0) κ1 |
| 43 | |
| 44 | /-- Disjoint appended supports (sufficient for far copy application) or |
| 45 | an arbitrary site hit guarantee could also be used; use disjoint here to |
| 46 | keep cost explicit. Inputs separate masked/exponential and complement |
| 47 | uses. May derive from genuine norm-factorial tests in applications with |
| 48 | conversions. -/ |
| 49 | structure Adds (I : Plan a) (w : V → ℝ) (u c ε : ℝ) : Prop where |
| 50 | sparse : Pairwise (fun i j => Disjoint (I.Y i) (I.Y j)) |
| 51 | nonnegative : 0 ≤ ε |
| 52 | unitBudget i : w i * ‖I.c i‖ ≤ u |
| 53 | localBudget i : ∃ r : ℝ, P.p.supBounds (a.origins i) (I.Y i) (I.F i) r ∧ |
| 54 | w i * P.p.mass (I.Y i) r ≤ c |
| 55 | fineBudget i : ∃ d : ℝ, 0≤d ∧ (∀ U, ‖I.F i U‖ ≤ d) ∧ |
| 56 | (w i*d) * Real.exp ((P.p.supportExponent+1)*coverNumber P.p.B (I.Y i)) ≤ ε |
| 57 | |
| 58 | section old |
| 59 | variable {w : V → ℝ} {ρ γ κ0 κ1 δ κ u c d b : ℝ} (hr : P.activities.Valid P.p δ κ) (ha : a.Active) (ht : a.Radial w u c d b) |
| 60 | |
| 61 | include ha ht hr in |
| 62 | lemma Before.accounts (H : Before a w κ0 κ1) (ρ : ℝ) (hρ : 0 < ρ) : |
| 63 | ∃ f : ℕ → ℝ, (∀ i,0≤f i) ∧ Hit (fun i => (P.activities.forced i).support) |
| 64 | P.p.B f (P.p.supportExponent+1) ((κ0+hitConstant P.p.B*κ1)/ρ) ∧ |
| 65 | ∀ i, ∃ A : Nil.Sheet R, 0≤A ∧ wordsPrice w A ≤ ρ*f i ∧ ∀ U j, ‖(a.each i U).part j‖ ≤ A j := by |
| 66 | obtain ⟨v,hv,hR⟩ := H.hold |
| 67 | obtain ⟨g,hg,hB⟩ := H.bills |
| 68 | let C (i : ℕ) := (P.activities.forced i).support |
| 69 | let W (x : ℕ × ℕ) := Poly.toll w (a.marks x.1 x.2)*g x |
| 70 | let M := P.p.B |
| 71 | let A := P.p.supportExponent+1 |
| 72 | have hw (i : R.Mode) := Poly.worth ht.pure i |
| 73 | have hn (x : ℕ×ℕ) : 0 ≤ W x := mul_nonneg (hw _).le (hg x.1 x.2).1 |
| 74 | let f (i : ℕ) := (v i + ∑' j,W (i,j))/ρ |
| 75 | have he : Hit (C ∘ Prod.fst) M W A (hitConstant M*κ1) := by |
| 76 | apply root_to_hit _ _ a.origins H.positions _ hn (fun j => (a.marks j.1 j.2).val) _ _ H.markBound _ hB |
| 77 | intro i hi |
| 78 | obtain ⟨x,hx⟩ := ha.occurs i.1 i.2 |
| 79 | refine ⟨x,hx, ha.retained i.1 i.2 ((hg i.1 i.2).2.2 ?_) x hx⟩ |
| 80 | exact pos_of_mul_pos_right hi (hw _).le |
| 81 | let X (x : Site n) (i : ℕ) := if x∈C i then Real.exp (A*coverNumber M (C i)) else 0 |
| 82 | have hf (x : Site n) : |
| 83 | SumBudget (fun i:ℕ => v i*X x i) κ0 ∧ SumBudget (fun i:ℕ×ℕ => W i*X x i.1) (hitConstant M*κ1) := by |
| 84 | simpa only [X,C,M,A,mul_ite,mul_zero,Function.comp_def] |
| 85 | using And.intro (hR x) (he x) |
| 86 | have hL (i : ℕ) : Summable fun j => W (i,j) := by |
| 87 | have hx : (C i).Nonempty := (P.activities.forced i).inventory_ne.mono (P.activities.forced i).inventory_sup |
| 88 | obtain ⟨x,hx⟩ := hx |
| 89 | have hh (j) : 0≤W j*X x j.1 := (hf x).2.1 j |
| 90 | have hz := ((summable_prod_of_nonneg (f:=fun i:ℕ×ℕ => W i*X x i.1) hh).mp ((hf x).2.2.1)).1 i |
| 91 | exact hz.of_nonneg_of_le (fun j => hn (i,j)) (fun j => le_mul_of_one_le_right (hn (i,j)) (by |
| 92 | unfold X; dsimp only; rw [if_pos hx]; have hA : 0≤A := add_nonneg P.p.exponent_pos.le zero_le_one |
| 93 | exact Real.one_le_exp (mul_nonneg hA (by positivity)))) |
| 94 | let B (i : ℕ) (j : R.Mode) (l : ℕ) : ℝ := if j=a.marks i l then g (i,l) else 0 |
| 95 | have hN i j l : 0 ≤ B i j l := by unfold B; split; exacts [(hg _ _).1,le_rfl] |
| 96 | have hT (i j) : Summable (B i j) := by |
| 97 | apply Summable.of_nonneg_of_le (hN i j) (g:=_) |
| 98 | · intro l; unfold B; split |
| 99 | next he => exact le_of_eq (show g (i,l)=W (i,l)*(Poly.toll w j)⁻¹ by |
| 100 | rw [he]; unfold W; have h := (hw (a.marks i l)).ne'; field_simp) |
| 101 | next he => exact mul_nonneg (hn (i,l)) (inv_nonneg.mpr (hw j).le) |
| 102 | exact (hL i).mul_right _ |
| 103 | refine ⟨f,fun i => div_nonneg (add_nonneg (hv i).1 (tsum_nonneg fun j => hn (i,j))) hρ.le,?_,?_⟩ |
| 104 | · intro x |
| 105 | let p (i : ℕ) := if x∈ C i then f i*Real.exp (A*coverNumber M (C i)) else 0 |
| 106 | have hy i : p i=(v i*X x i + (∑' j, W (i,j) * X x i)) * ρ⁻¹ := by |
| 107 | unfold p f; rw [tsum_mul_right]; unfold X; split <;> simp [div_eq_mul_inv,add_mul]; ring |
| 108 | let Q : ℕ × ℕ → ℝ := fun i => W i * X x i.1 |
| 109 | obtain ⟨⟨h1,h2,h3⟩,⟨hz,hs,h5⟩⟩ := hf x |
| 110 | have h4 := ((summable_prod_of_nonneg (show 0 ≤ Q from hz)).mp hs).2 |
| 111 | have hX := h2.add h4 |
| 112 | change SumBudget p _ |
| 113 | have hp : p = fun i => (v i*X x i + (∑' j, Q (i,j))) * ρ⁻¹ := funext hy |
| 114 | rw [hp]; refine ⟨fun i => mul_nonneg (add_nonneg (h1 _) (tsum_nonneg fun j => hz (i,j))) (inv_nonneg.mpr hρ.le), hX.mul_right _,?_⟩ |
| 115 | have hh : Summable Q := hs |
| 116 | rw [tsum_mul_right, Summable.tsum_add h2 h4, ← hh.tsum_prod, div_eq_mul_inv]; exact mul_le_mul_of_nonneg_right |
| 117 | (add_le_add h3 h5) (inv_nonneg.mpr hρ.le) |
| 118 | intro i |
| 119 | let Q (j : R.Mode) := (if j=R.quiet then v i else 0)+(∑' l, B i j l) |
| 120 | refine ⟨Q,fun j => ?_,?_, fun U j => ?_⟩ |
| 121 | · change 0≤Q j; unfold Q; apply add_nonneg _ (tsum_nonneg (hN i j)); split; exacts [(hv _).1,le_rfl] |
| 122 | · have he (l : ℕ) : ∑ j, Poly.toll w j * B i j l = W (i,l) := by |
| 123 | unfold B; rw [Finset.sum_eq_single (a.marks i l)] |
| 124 | · simp [W] |
| 125 | · intro j _ hj; rw [if_neg hj,mul_zero] |
| 126 | simp |
| 127 | unfold wordsPrice Q |
| 128 | simp_rw [mul_add,Finset.sum_add_distrib,← tsum_mul_left,mul_ite,mul_zero] |
| 129 | rw [← Summable.tsum_finsetSum (fun j _ => (hT i j).mul_left _)]; simp_rw [he] |
| 130 | simp only [Finset.sum_ite_eq',Finset.mem_univ, ↓reduceIte, Poly.quiet_toll,one_mul] |
| 131 | unfold f; exact le_of_eq (by field_simp) |
| 132 | · have hp (l : ℕ) : ‖(a.tagged i l U).part j‖ ≤ B i j l := by |
| 133 | unfold Bands.tagged B; rw [Poly.part_send]; split |
| 134 | next he => exact (hg i l).2.1 U |
| 135 | next he => simp |
| 136 | have hS := a.baseBound ha ht hr U |>.1 i |
| 137 | have hQ := (hT i j).of_nonneg_of_le (fun l => norm_nonneg _) hp |
| 138 | unfold Bands.each Q; rw [Poly.part_plus,Poly.share hS,Poly.part_send] |
| 139 | apply (norm_add_le ..).trans; apply add_le_add _ ((norm_tsum_le_tsum_norm hQ).trans (hQ.tsum_le_tsum hp (hT i j))) |
| 140 | split; next he => simpa only [Complex.norm_real] using (hv i).2 U |
| 141 | simp |
| 142 | end old |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | end YM.Push.GridApprox.Attach |