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.CUTOFF_PROJECTORS.Equations |
| 3 | import YM.Work.G08 |
| 4 | import YM.Work.G09 |
| 5 | |
| 6 | /-! |
| 7 | # Optional quantitative gate for using the same equation projectors |
| 8 | |
| 9 | This is NOT needed to prove the norm bound (`affordable`). But subsequent |
| 10 | steps may have to take a vector *in* the finite kernel and use it as a |
| 11 | combination of the equation columns with control on the coefficients. Rank |
| 12 | also requires more than projector boundedness. |
| 13 | |
| 14 | Give a precise *sufficient* |
| 15 | finite singular-value estimate in the reference frame of this family, with |
| 16 | the **top cost** (`terminal.symm` as in `dollar`) on the output. Derive it |
| 17 | under top-matrix and signed transfer hypotheses. These are missing |
| 18 | estimates. In particular the smallness of the signed top coordinate |
| 19 | difference is NOT assumed here from the equality of bottom coordinates. Use |
| 20 | Duet on the *actual* family with its `direction` and bank estimates; state |
| 21 | the precise Woke budget needed, then use the cone and cost theorems. Not a |
| 22 | construction of Woke data! |
| 23 | -/ |
| 24 | |
| 25 | set_option autoImplicit false |
| 26 | noncomputable section |
| 27 | |
| 28 | namespace YM.Push.CutoffProjectors |
| 29 | open Function Filter Next.Extract Extraction Lattice RG Bid Labels MeasureTheory |
| 30 | open scoped Topology BigOperators |
| 31 | |
| 32 | variable {G : Gauge} {C : Family G} {N p d : ℕ} |
| 33 | |
| 34 | namespace Packet |
| 35 | variable (E : Packet C d N p) |
| 36 | |
| 37 | /-- Exact quantitative hypothesis on the finite matrix, |
| 38 | `σ_min(top PRIMARY coordinates as function of equation parameters) ≥ c`, |
| 39 | in the fixed Hermitian metric from Frame. Norms inside chart are ℓ². |
| 40 | Meant even if I_d = 0 (inequality vacuous). Γ costs in Woke (and in the |
| 41 | cutoff norm estimates for `dollar`) are in different norms; compare below. |
| 42 | No assertion that an arbitrary presentation's reference step has singular |
| 43 | values bounded away from degeneracy in any other coordinates. -/ |
| 44 | def Separation (c : ℝ) : Prop := 0 < c ∧ ∀ x : equationSpace (C.labels.level d), |
| 45 | c * ‖chart (C.labels.level d) (x : C.label d)‖ ≤ ‖chart (C.labels.level d) (E.costMatrix x)‖ |
| 46 | |
| 47 | variable {E} |
| 48 | |
| 49 | /-- Directly useful in RelayCosts.mark (measure the top cost). -/ |
| 50 | theorem Separation.lift_bound {c : ℝ} (h : E.Separation c) (x : equationSpace (C.labels.level d)) : |
| 51 | ‖x‖ ≤ (fee (C.labels.level d)/c) * ‖(C.factory d N p).terminal.symm (E.reference x)‖ := by |
| 52 | let F := C.labels.level d |
| 53 | have ht : ‖chart F (x:F.Coeff)‖ ≤ ((1+‖chart F‖) * ‖E.costMatrix x‖)/c := by |
| 54 | rw [le_div_iff₀ h.1, mul_comm]; exact (h.2 x).trans (chart_norm_le F _) |
| 55 | calc |
| 56 | _ ≤ _ := norm_chart F (x : F.Coeff) |
| 57 | _ ≤ (1+‖unchart F‖) * (((1+‖chart F‖) * ‖E.costMatrix x‖)/c) := mul_le_mul_of_nonneg_left ht (by positivity) |
| 58 | _ = _ := by |
| 59 | change _ = (fee F/c) * ‖E.costMatrix x‖ |
| 60 | unfold fee; ring |
| 61 | |
| 62 | theorem Separation.injective {c : ℝ} (h : E.Separation c) : Injective E.reference := by |
| 63 | intro u v huv |
| 64 | have hb := h.lift_bound (u-v) |
| 65 | rw [map_sub, huv, sub_self, map_zero, norm_zero, mul_zero] at hb |
| 66 | exact sub_eq_zero.mp (norm_eq_zero.mp (le_antisymm hb (norm_nonneg _))) |
| 67 | |
| 68 | |
| 69 | |
| 70 | abbrev Couple (C : Family G) (d N p : ℕ) := Duet C.path (C.labels.level d) N p (C.ref d) N |
| 71 | |
| 72 | /-- State the actual signed comparison (including equality of functions on |
| 73 | links, not just numbers). Sign primary minus J. E's subtraction of the |
| 74 | representation itself may and will need more receipts than this, notably for |
| 75 | mixing & cost of masks. -/ |
| 76 | def Subtracts (E : Packet C d N p) (P : Couple C d N p) (x : equationSpace (C.labels.level d)) := |
| 77 | ∀ m : ℕ, C.ref d ≤ m → m ≤ N → |
| 78 | let r := C.path.rep N p m |
| 79 | let B := C.localSection d |
| 80 | let Q := (C.factory d N p).entries m (E.costMatrix x) |
| 81 | let J := E.chain m x |
| 82 | P.atPoint m = 0 ∧ (P.voice m).density 0 B r = Q.density 0 B r - J.density 0 B r ∧ |
| 83 | (P.voice m).x = Q.x - J.x |
| 84 | |
| 85 | /-- Exact demand, for origin mapping at N,p. Budget ties to J's own top |
| 86 | coordinate norm; the coefficient 8 chosen to allow an explicit 1/2 result. |
| 87 | `columns` here is the actual purchased price. This is a version where |
| 88 | **choosing** pre/post L & columns, etc. must really pay enough for Woke. |
| 89 | Not asserting sufficiency of E's scheduling. -/ |
| 90 | def Compares (E : Packet C d N p) (W : Worth) := ∀ x : equationSpace (C.labels.level d), |
| 91 | ∃ (P : Couple C d N p) (b : ℝ), E.Subtracts P x ∧ P.Woke C.params W (C.localSection d) b ∧ |
| 92 | 0 ≤ b ∧ b ≤ 8 * (1 + (C.path.levels.params N).columns) * |
| 93 | (C.labels.level d).coeffSize (E.topEquation x) |
| 94 | |
| 95 | /-- From Woke & Bank on THIS signed transfer. -/ |
| 96 | theorem Compares.smaller {W : Worth} (h : E.Compares W) (hb : Bank W C.path.levels) |
| 97 | (hr : roomCost C.path.levels W) (hm : C.Makes) (x : equationSpace (C.labels.level d)) : |
| 98 | let F := C.labels.level d |
| 99 | F.coeffSize (E.costMatrix x-E.topEquation x) ≤ F.coeffSize (E.topEquation x)/2 := by |
| 100 | let A := (C.path.levels.params N).columns |
| 101 | obtain ⟨P,b,hP,he,hv,hh⟩ := h x |
| 102 | have H := he.basic.1 |
| 103 | have htop : (P.voice N).x = E.costMatrix x - E.topEquation x := by |
| 104 | have ht := (hP N H le_rfl).2.2 |
| 105 | rw [ht] |
| 106 | rw [(hm.calibrated d N p H).bare_coord] |
| 107 | rfl |
| 108 | let F := C.labels.level d |
| 109 | have hA : 1 ≤ A := (C.path.levels.params _).columns_ge |
| 110 | have h0 : 0 < 32*(1+A)^2 := by nlinarith |
| 111 | have ht := ((Work.G09.cone_cost hr hb he N H le_rfl).1).trans (Work.G09.cost_finest hr hb he) |
| 112 | rw [htop] at ht |
| 113 | apply le_of_mul_le_mul_left _ h0 |
| 114 | calc |
| 115 | _ ≤ 2*(1+A) * b := ht |
| 116 | _ ≤ 2*(1+A)*(8*(1+A)*F.coeffSize (E.topEquation x)) := mul_le_mul_of_nonneg_left hh (by linarith) |
| 117 | _ = _ := by ring |
| 118 | |
| 119 | /-- The corresponding least-value bound on `topEquation` would not by |
| 120 | itself tell us the rank of *reference*. Need the comparison. `δ` here uses |
| 121 | actual sup norms (not chart norm). -/ |
| 122 | def TopFloor (E : Packet C d N p) (δ : ℝ) := 0 < δ ∧ |
| 123 | ∀ x : equationSpace (C.labels.level d), δ * ‖x‖ ≤ ‖E.topEquation x‖ |
| 124 | |
| 125 | section Sizes |
| 126 | open Work.G08 |
| 127 | |
| 128 | variable (F : Labels.Frame G d) |
| 129 | |
| 130 | theorem norm_le_size (x : F.Coeff) : ‖x‖ ≤ F.coeffSize x := by |
| 131 | apply (pi_norm_le_iff_of_nonneg (size_nonneg F x)).2 |
| 132 | exact fun i => Finset.single_le_sum (f:=fun i => ‖x i‖) (fun _ _ => norm_nonneg _) (Finset.mem_univ i) |
| 133 | |
| 134 | theorem size_le_norm (x : F.Coeff) : F.coeffSize x ≤ (Fintype.card F.Index : ℝ) * ‖x‖ := by |
| 135 | simpa only [Labels.Frame.coeffSize, nsmul_eq_mul] using Pi.sum_norm_apply_le_norm (G := fun _ : F.Index => ℂ) x |
| 136 | |
| 137 | /-- Constant for converting a TopFloor value. -/ |
| 138 | def loss : ℝ := (2:ℝ) * (Fintype.card F.Index : ℝ) * fee F |
| 139 | |
| 140 | lemma loss_pos : 0 < loss F := by |
| 141 | have he : 1 ≤ fee F := fee_one_le F |
| 142 | unfold loss; have : 0 < fee F := lt_of_lt_of_le zero_lt_one he |
| 143 | positivity |
| 144 | |
| 145 | theorem TopFloor.separation {δ : ℝ} {W : Worth} (h : E.TopFloor δ) (hh : E.Compares W) |
| 146 | (hb : Bank W C.path.levels) (hr : roomCost C.path.levels W) (hm : C.Makes) : |
| 147 | E.Separation (δ / loss (C.labels.level d)) := by |
| 148 | let F := C.labels.level d |
| 149 | let n : ℝ := Fintype.card F.Index |
| 150 | refine ⟨div_pos h.1 (loss_pos _), fun x => ?_⟩ |
| 151 | have htop := hh.smaller hb hr hm x |
| 152 | let M := E.costMatrix x |
| 153 | let T := E.topEquation x |
| 154 | have ht : F.coeffSize T ≤ 2 * F.coeffSize M := by |
| 155 | change F.coeffSize (M-T) ≤ F.coeffSize T/2 at htop |
| 156 | rw [size_sub_rev F] at htop |
| 157 | linarith [size_triangle F T M] |
| 158 | have hu : 0 ≤ 2*n := by dsimp [n]; positivity |
| 159 | have H : δ*‖x‖ ≤ 2*n*((1+‖unchart F‖)*‖chart F M‖) := calc |
| 160 | δ*‖x‖ ≤ F.coeffSize T := (h.2 x).trans (norm_le_size F T) |
| 161 | _ ≤ _ := ht |
| 162 | _ ≤ 2*n*‖M‖ := by rw [mul_assoc]; exact mul_le_mul_of_nonneg_left (size_le_norm F M) (by norm_num) |
| 163 | _ ≤ _ := mul_le_mul_of_nonneg_left (norm_chart F M) hu |
| 164 | change _ * ‖chart F (x:F.Coeff)‖ ≤ ‖chart F M‖ |
| 165 | rw [div_mul_eq_mul_div, div_le_iff₀ (loss_pos F)] |
| 166 | calc |
| 167 | _ ≤ δ * ((1+‖chart F‖)*‖x‖) := mul_le_mul_of_nonneg_left (chart_norm_le F x) h.1.le |
| 168 | _ = (1+‖chart F‖)*(δ*‖x‖) := by ring |
| 169 | _ ≤ (1+‖chart F‖)*(2*n*((1+‖unchart F‖)*‖chart F M‖)) := mul_le_mul_of_nonneg_left H (by positivity) |
| 170 | _ = ‖chart F M‖ * loss F := by unfold loss fee; dsimp [n]; ring |
| 171 | end Sizes |
| 172 | |
| 173 | end Packet |
| 174 | |
| 175 | /-! |
| 176 | A common stronger way to certify TopFloor: top initial read near a fixed |
| 177 | triangular model T. Include triangularity in the coefficient frame, no |
| 178 | assumption about *interacting* continuum dimension. |
| 179 | -/ |
| 180 | |
| 181 | abbrev Model (F : Labels.Frame G d) := equationSpace F →L[ℂ] F.Coeff |
| 182 | |
| 183 | def triangular {F : Labels.Frame G d} (T : Model F) := ∀ x : equationSpace F, ∀ i, |
| 184 | (∀ j : F.Index, (F.grades j).1 < (F.grades i).1 → (x : F.Coeff) j = 0) → T x i = (x : F.Coeff) i |
| 185 | |
| 186 | lemma triangular_injective {F : Labels.Frame G d} (T : Model F) (h : triangular T) : Injective T := by |
| 187 | have hu x (hx : T x = 0) : x = 0 := by |
| 188 | have he (n : ℕ) : ∀ i, (F.grades i).1 = n → (x:F.Coeff) i = 0 := by |
| 189 | induction n using Nat.strong_induction_on with |
| 190 | | h n ih => |
| 191 | intro i hi |
| 192 | exact (h x i (fun j hj => ih _ (hi ▸ hj) j rfl)).symm.trans (congr_fun hx i) |
| 193 | exact Subtype.ext (funext fun i => he _ i rfl) |
| 194 | intro x y he |
| 195 | exact sub_eq_zero.mp (hu (x-y) (by rw [map_sub, he, sub_self])) |
| 196 | |
| 197 | def Floor {F : Labels.Frame G d} (T : Model F) (c : ℝ) := 0 < c ∧ ∀ x, c * ‖x‖ ≤ ‖T x‖ |
| 198 | |
| 199 | theorem has_floor {F : Labels.Frame G d} (T : Model F) (hi : Injective T) : ∃ c, Floor T c := by |
| 200 | obtain ⟨B,hB⟩ := LinearMap.exists_leftInverse_of_injective T.toLinearMap (LinearMap.ker_eq_bot.mpr hi) |
| 201 | let P := B.toContinuousLinearMap |
| 202 | have he (x) : P (T x) = x := LinearMap.congr_fun hB x |
| 203 | let c := 1+‖P‖ |
| 204 | have hc : 0 < c := by dsimp [c]; positivity |
| 205 | refine ⟨c⁻¹,(inv_pos.mpr hc), fun x => ?_⟩ |
| 206 | rw [mul_comm, ← div_eq_mul_inv, div_le_iff₀ hc, mul_comm] |
| 207 | nth_rw 1 [← he x] |
| 208 | exact (P.le_opNorm _).trans (mul_le_mul_of_nonneg_right (by dsimp [c]; linarith) (norm_nonneg _)) |
| 209 | |
| 210 | lemma Floor.perturb {E : Packet C d N p} {c : ℝ} {T : Model (C.labels.level d)} |
| 211 | (h : Floor T c) (he : ‖E.topEquation - T‖ ≤ c/2) : E.TopFloor (c/2) := by |
| 212 | refine ⟨half_pos h.1, fun x => ?_⟩ |
| 213 | have hi := ((E.topEquation - T).le_opNorm x).trans (mul_le_mul_of_nonneg_right he (norm_nonneg _)) |
| 214 | change ‖E.topEquation x - T x‖ ≤ _ at hi |
| 215 | rw [norm_sub_rev] at hi |
| 216 | linarith [norm_sub_norm_le (T x) (E.topEquation x), h.2 x] |
| 217 | end YM.Push.CutoffProjectors |