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.Bid.Energy |
| 2 | |
| 3 | /-! |
| 4 | # E03 — row and column estimates for the physical kernels cut on the cover |
| 5 | |
| 6 | Use absolute sums *before* periodization and bound real-colour transport in |
| 7 | operator norm even for a winding route. The row prices for `mf` are per fixed |
| 8 | pair of types (including the one fine residue). Charge all the residues in the |
| 9 | column estimate. Only numerical stencil incidence of these kernels is asserted |
| 10 | in `Anchored`, not a bound on everything read by a larger operation. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Work.E03 |
| 16 | open Filter Function Lattice RG Wilson Finset Precision Exterior Bloch Pressure Bid |
| 17 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius BigOperators |
| 18 | |
| 19 | variable {G : Gauge} {c f : Side} |
| 20 | |
| 21 | lemma norm_rated_le (U : Config G c) (x : Site c) (w : Walk) (a : ℝ) : |
| 22 | ‖rated U x w a‖ ≤ ‖a‖ := by |
| 23 | have h : ‖(G.adjoint (travel U x w)).toContinuousLinearMap‖ ≤ 1 := |
| 24 | ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun i => by |
| 25 | change ‖G.adjoint _ i‖ ≤ _ |
| 26 | rw [G.norm_adjoint, one_mul]) |
| 27 | calc |
| 28 | ‖rated U x w a‖ = ‖a‖ * _ := norm_smul a _ |
| 29 | _ ≤ ‖a‖ * 1 := mul_le_mul_of_nonneg_left h (norm_nonneg _) |
| 30 | _ = ‖a‖ := mul_one _ |
| 31 | |
| 32 | section count |
| 33 | variable {α β m n : Type*} [Fintype α] [Fintype β] [Fintype m] [Fintype n] |
| 34 | (K : Row α β) {η A : ℝ} |
| 35 | (e : m ≃ Co c α) (d : n ≃ Co c β) (F : m → n → Cover → Pay G) |
| 36 | |
| 37 | /-- Count on the torus while paying the absolute cover bound separately for |
| 38 | each type. The same absolute envelope works for rows and for columns. -/ |
| 39 | lemma anchored_of_terms (B : ℕ) (he : 0 ≤ η) (hK : K.strip η A) |
| 40 | (hm : ∀ i j u, ‖F i j u‖ ≤ |
| 41 | if (d j).1 = (e i).1 + wrap c u then ‖K (e i).2 (d j).2 u‖ else 0) |
| 42 | (hs : ∀ i j u, F i j u ≠ 0 → separation (e i).1 (d j).1 ≤ B/50) : |
| 43 | Anchored (fun i j => ∑' u, F i j u) ((Fintype.card β : ℝ) * A) |
| 44 | ((Fintype.card α : ℝ) * A) (fun i => (e i).1) (fun j => (d j).1) B := by |
| 45 | classical |
| 46 | let cap (p : Co c α) (q : Co c β) (u : Cover) : ℝ := |
| 47 | if q.1 = p.1 + wrap c u then ‖K p.2 q.2 u‖ else 0 |
| 48 | have hu (i : α) (j : β) := (hK i j).unweighted he |
| 49 | have hc (p q) : Summable (cap p q) := by |
| 50 | apply (hu p.2 q.2).2.1.of_nonneg_of_le |
| 51 | · intro u; dsimp only [cap]; split <;> simp |
| 52 | intro u; dsimp only [cap]; split <;> simp |
| 53 | have hh (i j) : ‖∑' u, F i j u‖ ≤ ∑' u, cap (e i) (d j) u := by |
| 54 | have hv : Summable fun u => ‖F i j u‖ := |
| 55 | (hc (e i) (d j)).of_nonneg_of_le (fun u => norm_nonneg _) (hm i j) |
| 56 | exact (norm_tsum_le_tsum_norm hv).trans (hv.tsum_le_tsum (hm i j) (hc _ _)) |
| 57 | constructor |
| 58 | · intro i; refine (sum_le_sum fun j _ => hh i j).trans ?_ |
| 59 | calc |
| 60 | ∑ j, ∑' u, cap (e i) (d j) u = ∑ q : Co c β, ∑' u, cap (e i) q u := |
| 61 | d.sum_comp (fun q => ∑' u, cap (e i) q u) |
| 62 | _ = ∑ b : β, ∑ y : Site c, ∑' u, cap (e i) (y,b) u := by |
| 63 | rw [Fintype.sum_prod_type, Finset.sum_comm] |
| 64 | _ ≤ ∑ _b : β, A := Finset.sum_le_sum fun b _ => calc |
| 65 | ∑ y : Site c, ∑' u, cap (e i) (y,b) u = |
| 66 | ∑' u, ∑ y : Site c, cap (e i) (y,b) u := |
| 67 | (Summable.tsum_finsetSum (fun y _ => hc (e i) (y,b))).symm |
| 68 | _ = ∑' u, ‖K (e i).2 b u‖ := by simp [cap] |
| 69 | _ ≤ A := (hu _ _).2.2 |
| 70 | _ = _ := by simp |
| 71 | · intro j; refine (sum_le_sum fun i _ => hh i j).trans ?_ |
| 72 | calc |
| 73 | ∑ i, ∑' u, cap (e i) (d j) u = ∑ p : Co c α, ∑' u, cap p (d j) u := |
| 74 | e.sum_comp (fun p => ∑' u, cap p (d j) u) |
| 75 | _ = ∑ a : α, ∑ x : Site c, ∑' u, cap (x,a) (d j) u := by |
| 76 | rw [Fintype.sum_prod_type, Finset.sum_comm] |
| 77 | _ ≤ ∑ _a : α, A := Finset.sum_le_sum fun a _ => calc |
| 78 | ∑ x : Site c, ∑' u, cap (x,a) (d j) u = |
| 79 | ∑' u, ∑ x : Site c, cap (x,a) (d j) u := |
| 80 | (Summable.tsum_finsetSum (fun x _ => hc (x,a) (d j))).symm |
| 81 | _ = ∑' u, ‖K a (d j).2 u‖ := by simp [cap, ← sub_eq_iff_eq_add] |
| 82 | _ ≤ A := (hu _ _).2.2 |
| 83 | _ = _ := by simp |
| 84 | · intro i j h |
| 85 | by_contra hn |
| 86 | have hf (u : Cover) : F i j u = 0 := by |
| 87 | by_contra hv |
| 88 | exact hn (hs i j u hv) |
| 89 | apply h |
| 90 | simp [hf] |
| 91 | end count |
| 92 | |
| 93 | section geometry |
| 94 | lemma sep_step (x : Site c) (i : Axis) : separation x (x + step i) ≤ 1 := by |
| 95 | rw [separation_comm, separation, add_comm, add_sub_cancel_right] |
| 96 | exact pdist_step _ |
| 97 | |
| 98 | lemma sep_walk (g : Site c → Site f) |
| 99 | (hg : ∀ x (i : Axis), separation (g x) (g (x + step i)) ≤ 1) |
| 100 | (x : Site c) (w : Walk) : separation (g x) (g (stop x w)) ≤ w.length := by |
| 101 | induction w generalizing x with |
| 102 | | nil => simp [stop] |
| 103 | | cons d w ih => |
| 104 | have h : separation (g x) (g (x + d.vec)) ≤ 1 := by |
| 105 | unfold Step.vec; split |
| 106 | · rw [separation_comm] |
| 107 | have hv := hg (x + -step d.dir) d.dir |
| 108 | rw [show x + -step d.dir + step d.dir = x by abel] at hv; exact hv |
| 109 | exact hg x _ |
| 110 | calc |
| 111 | separation (g x) (g (stop x (d :: w))) ≤ |
| 112 | separation (g x) (g (x + d.vec)) + |
| 113 | separation (g (x + d.vec)) (g (stop (x + d.vec) w)) := separation_triangle .. |
| 114 | _ ≤ 1 + w.length := Nat.add_le_add h (ih _) |
| 115 | _ = _ := by simp [add_comm] |
| 116 | |
| 117 | lemma parent_step (S : StepData c f) (x : Site f) (i : Axis) : |
| 118 | separation (S.ratio.parent x) (S.ratio.parent (x + step i)) ≤ 1 := by |
| 119 | rw [S.ratio.parents_hop S.patch.odd_side] |
| 120 | split |
| 121 | · exact sep_step .. |
| 122 | simp |
| 123 | |
| 124 | lemma stop_add_left (o x : Site c) (w : Walk) : stop (o+x) w = o + stop x w := by |
| 125 | induction w generalizing x with |
| 126 | | nil => rfl |
| 127 | | cons d w ih => rw [stop, stop, add_assoc, ih] |
| 128 | |
| 129 | /-- Endpoint holds even on wrapping routes. -/ |
| 130 | lemma stop_route (o : Site c) (x y : Cover) : |
| 131 | stop (o + wrap c x) (route x y 1) = o + wrap c y := by |
| 132 | rw [stop_add_left, ← wrap_stop_cover, route_end] |
| 133 | |
| 134 | lemma casted_endpoint (S : StepData c f) (x : Site f) (i : Cover) : |
| 135 | stop x (route (lift (S.ratio.residue x)) (S.patch.L.val • i) 1) = |
| 136 | S.ratio.embed (S.ratio.parent x + wrap c i) := by |
| 137 | let o := S.ratio.parent x |
| 138 | let r := S.ratio.residue x |
| 139 | calc |
| 140 | stop x (route (lift r) (S.patch.L.val • i) 1) = |
| 141 | stop (S.ratio.embed o + wrap f (lift r)) (route (lift r) (S.patch.L.val • i) 1) := |
| 142 | congr_arg (fun z => stop z (route (lift r) (S.patch.L.val • i) 1)) |
| 143 | (S.ratio.unpack_at x).symm |
| 144 | _ = S.ratio.embed o + wrap f (S.patch.L.val • i) := stop_route .. |
| 145 | _ = S.ratio.embed (o + wrap c i) := by |
| 146 | change S.ratio.embed o + wrap f (S.ratio.count.val • i) = _ |
| 147 | rw [← S.ratio.embed_wrap, ← S.ratio.root_embed, ← S.ratio.root_embed, ← map_add] |
| 148 | rfl |
| 149 | end geometry |
| 150 | |
| 151 | /-- Match each physical type once, using `plaqEquiv` on each layer. -/ |
| 152 | def meshEquiv (c : Side) : Twin c ≃ Co c Layers2 where |
| 153 | toFun := mesh |
| 154 | invFun := fun q => match q.2 with |
| 155 | | .inl a => ((q.1, plaqEquiv.symm a), false) |
| 156 | | .inr a => ((q.1, plaqEquiv.symm a), true) |
| 157 | left_inv := by |
| 158 | rintro ⟨⟨x, a⟩, b⟩; cases b <;> simp [mesh, ← plaq_map] |
| 159 | right_inv := by |
| 160 | rintro ⟨x,a|a⟩ <;> simp [mesh, ← plaq_map] |
| 161 | |
| 162 | def poleEquiv (c : Side) : Bond c ≃ Co c (TypeFace 1) := |
| 163 | Equiv.prodCongr (Equiv.refl _) axisEquiv |
| 164 | |
| 165 | section applications |
| 166 | variable {α β m n : Type*} [Fintype α] [Fintype β] [Fintype m] [Fintype n] |
| 167 | variable {η A : ℝ} |
| 168 | |
| 169 | lemma lane_anchored (K : Row α β) (e : m ≃ Co c α) (d : n ≃ Co c β) |
| 170 | (B l : ℕ) (hp : 0 < l) (V : Config G c) (he : 0 ≤ η) (hK : K.strip η A) : |
| 171 | Anchored (fun i j => lane (B/100000) l V K (e i) (d j)) ((Fintype.card β : ℝ) * A) |
| 172 | ((Fintype.card α : ℝ) * A) (fun i => (e i).1) (fun j => (d j).1) B := by |
| 173 | refine anchored_of_terms K e d (fun i j => priced (B/100000) l V K (e i) (d j)) |
| 174 | B he hK ?_ ?_ |
| 175 | · intro i j u; dsimp only [priced] |
| 176 | split |
| 177 | next h => rw [if_pos h.2]; exact norm_rated_le .. |
| 178 | next h => split <;> simp |
| 179 | intro i j u h; dsimp only [priced] at h; split at h |
| 180 | next hq => |
| 181 | let w := route 0 u 1 |
| 182 | have hx : stop (e i).1 w = (e i).1 + wrap c u := by |
| 183 | simpa only [map_zero, add_zero] using stop_route (e i).1 0 u |
| 184 | calc |
| 185 | separation (e i).1 (d j).1 = separation (e i).1 (stop (e i).1 w) := by rw [hx, hq.2] |
| 186 | _ ≤ w.length := sep_walk (c:=c) (f:=c) id sep_step (e i).1 w |
| 187 | _ ≤ w.length*l := by |
| 188 | simpa only [mul_one] using Nat.mul_le_mul_left w.length (show 1 ≤ l from hp) |
| 189 | _ ≤ B/100000 := hq.1 |
| 190 | _ ≤ B/50 := by omega |
| 191 | next _ => exact (h rfl).elim |
| 192 | |
| 193 | lemma leap_anchored (S : StepData c f) (M : Towers S.patch.L) (B : ℕ) (V : Config G c) |
| 194 | (he : 0 ≤ η) (hK : M.mf.strip η A) : |
| 195 | Anchored (leap S M (B/100000) V) ((Fintype.card Layers2 : ℝ) * A) |
| 196 | ((Fintype.card (Co S.patch.L Layers2) : ℝ) * A) (S.ratio.parent ∘ tagged) tagged B := by |
| 197 | let e : Twin f ≃ Co c (Co S.patch.L Layers2) := (meshEquiv f).trans (splitCo S.ratio Layers2) |
| 198 | have hsplit (x : Twin f) : |
| 199 | e x = (S.ratio.parent (mesh x).1, S.ratio.residue (mesh x).1, (mesh x).2) := split_co .. |
| 200 | have hv : (S.ratio.parent ∘ tagged) = fun i => (e i).1 := by |
| 201 | funext i; rw [hsplit]; rfl |
| 202 | rw [hv] |
| 203 | refine anchored_of_terms M.mf e (meshEquiv c) |
| 204 | (fun i j u => casted S M (B/100000) V (mesh i) (mesh j) u) B he hK ?_ ?_ |
| 205 | · intro i j u; rw [hsplit]; dsimp only [casted, meshEquiv, Equiv.coe_fn_mk] |
| 206 | split |
| 207 | next h => rw [if_pos h.2]; exact norm_rated_le .. |
| 208 | next h => split <;> simp |
| 209 | intro i j u h; rw [hsplit]; dsimp only [casted] at h; split at h |
| 210 | next hq => |
| 211 | let x := (mesh i).1 |
| 212 | let w := route (lift (S.ratio.residue x)) (S.patch.L.val • u) 1 |
| 213 | have hx : S.ratio.parent (stop x w) = (mesh j).1 := by |
| 214 | rw [show stop x w = _ from casted_endpoint S x u, S.ratio.embed_parent] |
| 215 | exact hq.2.symm |
| 216 | change separation (S.ratio.parent x) (mesh j).1 ≤ _ |
| 217 | rw [← hx] |
| 218 | exact ((sep_walk _ (parent_step S) x w).trans hq.1).trans (by omega) |
| 219 | next _ => exact (h rfl).elim |
| 220 | end applications |
| 221 | |
| 222 | lemma anchored_mono {m n : Type*} [Fintype m] [Fintype n] {F : m → n → Pay G} |
| 223 | {x y X Y : ℝ} {d : m → Site c} {v : n → Site c} {B : ℕ} (h : Anchored F x y d v B) |
| 224 | (hx : x ≤ X) (hy : y ≤ Y) : Anchored F X Y d v B := |
| 225 | ⟨fun i => (h.rows i).trans hx, fun i => (h.columns i).trans hy, h.stencil⟩ |
| 226 | |
| 227 | -- Witness uses only P's cover prices and fixed type multiplicities. |
| 228 | theorem answer : YM.Bid.E03 := by |
| 229 | intro G P |
| 230 | let a := (Fintype.card Layers2 : ℝ) * P.C |
| 231 | let b := (Fintype.card (TypeFace 1) : ℝ) * P.C |
| 232 | let d := (Fintype.card Gain : ℝ) * P.C |
| 233 | let A := max 1 (max a (max b d)) |
| 234 | have ha : a ≤ A := le_max_of_le_right (le_max_left ..) |
| 235 | have hb : b ≤ A := le_max_of_le_right (le_max_of_le_right (le_max_left ..)) |
| 236 | have hd : d ≤ A := le_max_of_le_right (le_max_of_le_right (le_max_right ..)) |
| 237 | refine ⟨A, lt_of_lt_of_le zero_lt_one (le_max_left ..), fun _L _W => ⟨Eventually.of_forall ?_⟩⟩ |
| 238 | intro x c f S _hL _hc T hT _F _A _U _k V _hs _hp |
| 239 | obtain ⟨hm, ho, hf, -⟩ := hT.crosses |
| 240 | let L : Side := S.patch.L |
| 241 | have hl : 0 < (L.val : ℝ) := Bloch.side_pos _ |
| 242 | constructor |
| 243 | · refine anchored_mono (leap_anchored S T.R (radiusB x) V P.width.le hf) ?_ ?_ |
| 244 | · change (Fintype.card Layers2 : ℝ)*(P.C / (L.val:ℝ)^2) ≤ A/(L.val:ℝ)^2 |
| 245 | rw [← mul_div_assoc] |
| 246 | exact div_le_div_of_nonneg_right ha (by positivity) |
| 247 | calc |
| 248 | ((Fintype.card (Co L Layers2) : ℝ) * (P.C / (L.val:ℝ)^2)) = a * (L.val:ℝ)^2 := by |
| 249 | dsimp only [a, Co] |
| 250 | rw [Fintype.card_prod, site_card, Nat.cast_mul, Nat.cast_pow] |
| 251 | field_simp |
| 252 | _ ≤ A * (L.val:ℝ)^2 := mul_le_mul_of_nonneg_right ha (by positivity) |
| 253 | · exact anchored_mono (lane_anchored T.R.mn (poleEquiv c) (meshEquiv c) |
| 254 | (radiusB x) S.patch.L.val S.patch.L.property V P.width.le hm) ha hb |
| 255 | · exact anchored_mono (lane_anchored T.R.o (Equiv.refl _) (meshEquiv c) |
| 256 | (radiusB x) S.patch.L.val S.patch.L.property V P.width.le ho) ha hd |
| 257 | |
| 258 | end YM.Work.E03 |