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.Tar |
| 2 | import YM.Spark.Limit |
| 3 | /-! |
| 4 | # Identification of a strictly damped contour as a function |
| 5 | |
| 6 | For fixed interior imaginary coordinates, `Aurora.shape` already gives us the |
| 7 | attenuation as a Schwartz test: take real coordinates zero. To obtain control |
| 8 | at all real coordinates, turn the phase multiplying this test into a |
| 9 | translation on its Fourier transform. Estimates here are for the actual |
| 10 | Schwartz topology. Use `Spark.allowance` first with compactly supported |
| 11 | position test, then the Schwartz cutoff limit -- no Bochner integral in a |
| 12 | putative Banach space of Schwartz tests. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Work.C14 |
| 17 | open Function Set Filter MeasureTheory Boundary Boundary.Probe |
| 18 | open scoped Topology BigOperators ContDiff InnerProductSpace |
| 19 | |
| 20 | section translations |
| 21 | |
| 22 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 23 | |
| 24 | /-- A bound polynomial in the norm of the translation. -/ |
| 25 | def shiftCost (g : Probe X) (i j : ℕ) (x : X) : ℝ := |
| 26 | 2 ^ i * (size i j g + ‖x‖ ^ i * size 0 j g) |
| 27 | |
| 28 | lemma shiftCost_nonneg (g : Probe X) (i j : ℕ) (x : X) : 0 ≤ shiftCost g i j x := by |
| 29 | unfold shiftCost size |
| 30 | positivity |
| 31 | |
| 32 | lemma shiftCost_cont (g : Probe X) (i j : ℕ) : Continuous (shiftCost g i j) := by |
| 33 | unfold shiftCost |
| 34 | fun_prop |
| 35 | |
| 36 | lemma deriv_ahead (g : Probe X) (j : ℕ) (x u : X) : |
| 37 | iteratedFDeriv ℝ j (ahead x g) u = iteratedFDeriv ℝ j g (u-x) := by |
| 38 | change iteratedFDeriv ℝ j (fun z => g (z-x)) u = _ |
| 39 | exact iteratedFDeriv_comp_sub j x u |
| 40 | |
| 41 | lemma ahead_bound (g : Probe X) (i j : ℕ) (x : X) : size i j (ahead x g) ≤ shiftCost g i j x := by |
| 42 | refine (ahead x g).seminorm_le_bound ℂ i j (shiftCost_nonneg ..) fun u => ?_ |
| 43 | rw [deriv_ahead] |
| 44 | have h : ‖u‖ ≤ ‖u-x‖ + ‖x‖ := by simpa using norm_add_le (u-x) x |
| 45 | let A := ‖iteratedFDeriv ℝ j g (u-x)‖ |
| 46 | have hA : 0 ≤ A := norm_nonneg _ |
| 47 | change ‖u‖ ^ i * A ≤ _ |
| 48 | rcases le_total ‖x‖ ‖u-x‖ with H|H |
| 49 | · calc |
| 50 | ‖u‖ ^ i * A ≤ (2*‖u-x‖) ^ i * A := |
| 51 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) (by linarith) i) hA |
| 52 | _ = 2 ^ i * (‖u-x‖ ^ i * A) := by rw [mul_pow, mul_assoc] |
| 53 | _ ≤ 2 ^ i * size i j g := |
| 54 | mul_le_mul_of_nonneg_left (SchwartzMap.le_seminorm ℂ i j g (u-x)) (by positivity) |
| 55 | _ ≤ shiftCost g i j x := mul_le_mul_of_nonneg_left |
| 56 | (le_add_of_nonneg_right (by unfold size; positivity)) (by positivity) |
| 57 | calc |
| 58 | ‖u‖ ^ i * A ≤ (2*‖x‖) ^ i * A := |
| 59 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) (by linarith) i) hA |
| 60 | _ ≤ (2*‖x‖) ^ i * size 0 j g := mul_le_mul_of_nonneg_left |
| 61 | (SchwartzMap.norm_iteratedFDeriv_le_seminorm ℂ g j (u-x)) (by positivity) |
| 62 | _ = 2 ^ i * (‖x‖ ^ i * size 0 j g) := by rw [mul_pow, mul_assoc] |
| 63 | _ ≤ shiftCost g i j x := mul_le_mul_of_nonneg_left |
| 64 | (le_add_of_nonneg_left (by unfold size; positivity)) (by positivity) |
| 65 | |
| 66 | /-- Any one continuous distribution costs only a finite sum of the polynomials. -/ |
| 67 | lemma dist_ahead_bound (w : Distn X) (g : Probe X) : |
| 68 | ∃ (s : Finset (ℕ × ℕ)) (C : ℝ), 0 ≤ C ∧ |
| 69 | ∀ x : X, ‖w (ahead x g)‖ ≤ C * ∑ p ∈ s, shiftCost g p.1 p.2 x := by |
| 70 | let q := (normSeminorm ℂ ℂ).comp w.toLinearMap |
| 71 | have hq : Continuous q := continuous_norm.comp w.continuous |
| 72 | obtain ⟨s,C,_,hC⟩ := Seminorm.bound_of_continuous (schwartz_withSeminorms ℂ X ℂ) q hq |
| 73 | refine ⟨s,C,C.coe_nonneg,fun x => ?_⟩ |
| 74 | have h : ‖w (ahead x g)‖ ≤ (C:ℝ) * s.sup (schwartzSeminormFamily ℂ X ℂ) (ahead x g) := |
| 75 | hC (ahead x g) |
| 76 | refine h.trans (mul_le_mul_of_nonneg_left ?_ C.coe_nonneg) |
| 77 | refine Seminorm.finset_sup_apply_le (Finset.sum_nonneg fun p _ => shiftCost_nonneg ..) fun p hp => ?_ |
| 78 | exact (ahead_bound g p.1 p.2 x).trans (Finset.single_le_sum |
| 79 | (f := fun u => shiftCost g u.1 u.2 x) (fun i _ => shiftCost_nonneg ..) hp) |
| 80 | |
| 81 | variable [FiniteDimensional ℝ X] |
| 82 | |
| 83 | lemma ahead_cont (g : Probe X) : Continuous fun x => ahead x g := by |
| 84 | refine continuous_iff_continuousAt.mpr fun x => Spark.ready ?_ ?_ |
| 85 | · intro n b |
| 86 | simp_rw [Spark.Jet, deriv_ahead] |
| 87 | have hg := (g.smooth n).continuous_iteratedFDeriv (m := n) le_rfl |
| 88 | exact (hg.tendsto (b-x)).comp (tendsto_snd.sub tendsto_fst) |
| 89 | intro i j |
| 90 | let C := shiftCost g i j x + 1 |
| 91 | refine ⟨C, ?_⟩ |
| 92 | have hlt : shiftCost g i j x < C := lt_add_one _ |
| 93 | exact (((shiftCost_cont g i j).tendsto x).eventually (gt_mem_nhds hlt)).mono |
| 94 | fun v hv => (ahead_bound g i j v).trans (show shiftCost g i j v < C from hv).le |
| 95 | |
| 96 | variable [MeasurableSpace X] [BorelSpace X] |
| 97 | |
| 98 | lemma shiftCost_integrable (g f : Probe X) (i j : ℕ) : |
| 99 | Integrable (fun x : X => shiftCost g i j x * ‖f x‖) := by |
| 100 | have h0 := f.integrable (μ := volume) |
| 101 | have hk := f.integrable_pow_mul volume i |
| 102 | have heq : (fun x : X => shiftCost g i j x * ‖f x‖) = |
| 103 | (fun x : X => 2 ^ i * (size i j g * ‖f x‖ + size 0 j g * (‖x‖ ^ i * ‖f x‖))) := by |
| 104 | funext |
| 105 | unfold shiftCost |
| 106 | ring |
| 107 | rw [heq] |
| 108 | exact (((h0.norm.const_mul _).add (hk.const_mul _)).const_mul _) |
| 109 | |
| 110 | lemma ahead_integrable (c : ℂ) (w : Distn X) (g f : Probe X) : |
| 111 | Integrable (fun x : X => c * w (ahead x g) * f x) := by |
| 112 | have hh : Continuous (fun x : X => c * w (ahead x g) * f x) := |
| 113 | (continuous_const.mul (w.continuous.comp (ahead_cont g))).mul f.continuous |
| 114 | obtain ⟨s,C,_,h⟩ := dist_ahead_bound w g |
| 115 | let P (x : X) := ‖c‖ * C * ∑ p ∈ s, shiftCost g p.1 p.2 x * ‖f x‖ |
| 116 | have hi : Integrable P := |
| 117 | (integrable_finsetSum s (fun p _ => shiftCost_integrable g f p.1 p.2)).const_mul _ |
| 118 | refine hi.mono' hh.aestronglyMeasurable (ae_of_all _ fun x => ?_) |
| 119 | calc |
| 120 | ‖c * w (ahead x g) * f x‖ = ‖c‖ * ‖w (ahead x g)‖ * ‖f x‖ := by rw [norm_mul, norm_mul] |
| 121 | _ ≤ ‖c‖ * (C * ∑ p ∈ s, shiftCost g p.1 p.2 x) * ‖f x‖ := mul_le_mul_of_nonneg_right |
| 122 | (mul_le_mul_of_nonneg_left (h x) (norm_nonneg _)) (norm_nonneg _) |
| 123 | _ = P x := by simp only [P, ← Finset.sum_mul, mul_assoc] |
| 124 | |
| 125 | end translations |
| 126 | section modulation |
| 127 | |
| 128 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 129 | variable [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] |
| 130 | variable (g : Probe X) (L : X → Probe X) (hL : ∀ x b : X, L x b = plane b x * g b) |
| 131 | include hL |
| 132 | |
| 133 | lemma modulation_eq : L = (fun x => port (ahead x (hat g))) := by |
| 134 | have hh (x : X) : hat (L x) = ahead x (hat g) := by |
| 135 | ext1 p |
| 136 | rw [ahead_at, hat_eq, hat_eq] |
| 137 | refine integral_congr_ae (ae_of_all _ fun b => ?_) |
| 138 | dsimp only |
| 139 | rw [hL, ← mul_assoc, ← plane_add, show -p+x=-(p-x) by abel] |
| 140 | funext x |
| 141 | rw [← hh x, comes] |
| 142 | |
| 143 | lemma modulation_cont : Continuous L := by |
| 144 | rw [modulation_eq g L hL] |
| 145 | exact port.continuous.comp (ahead_cont _) |
| 146 | |
| 147 | lemma modulation_integrable (w : Distn X) (f : Probe X) : |
| 148 | Integrable (fun x => ((pref X)⁻¹ : ℂ) * w (L x) * f x) := by |
| 149 | rw [modulation_eq g L hL] |
| 150 | exact ahead_integrable _ (w.comp port) _ _ |
| 151 | |
| 152 | /-- Pass the distribution through a compact integral with the indicated |
| 153 | absolute (radian) Fourier normalization. -/ |
| 154 | lemma modulation_compact (w : Distn X) (f : Probe X) (hf : HasCompactSupport ⇑f) : |
| 155 | w (sew g (port f)) = ∫ x, ((pref X)⁻¹ : ℂ) * w (L x) * f x := by |
| 156 | let K := tsupport f |
| 157 | have hk : IsCompact K := hf |
| 158 | have hm : MeasurableSet K := hk.measurableSet |
| 159 | let μ : Measure K := (volume : Measure X).comap ((↑) : K → X) |
| 160 | haveI : CompactSpace K := isCompact_iff_compactSpace.mp hk |
| 161 | haveI : IsFiniteMeasure μ := by |
| 162 | constructor |
| 163 | unfold μ |
| 164 | rw [(MeasurableEmbedding.subtype_coe hm).comap_apply, image_univ, Subtype.range_coe] |
| 165 | exact hk.measure_lt_top |
| 166 | -- both the probe family F (parameter x) and scalar integrands in x vanish off K |
| 167 | have hsub (a : X → ℂ) (h : ∀ x, x ∉ K → a x = 0) : (∫ x : K, a x ∂μ) = ∫ x, a x := |
| 168 | (integral_subtype_comap hm a).trans (setIntegral_eq_integral_of_forall_compl_eq_zero h) |
| 169 | let c := ((pref X)⁻¹ : ℂ) |
| 170 | let F : X → Probe X := fun x => (c * f x) • L x |
| 171 | have hzero (x : X) (h : x ∉ K) : F x = 0 := by |
| 172 | have hx : f x = 0 := image_eq_zero_of_notMem_tsupport h |
| 173 | simp [F, hx] |
| 174 | have he (b : X) : sew g (port f) b = ∫ x : K, F x b ∂μ := by |
| 175 | rw [hsub (fun x => F x b) (by intro x hx; simp [hzero x hx]), sews, port_eq] |
| 176 | rw [Complex.real_smul] |
| 177 | -- `c` uses the inverse with complex coercion; agree with `port_eq`. |
| 178 | have hc : (((pref X)⁻¹ : ℝ) : ℂ) = c := by simp [c] |
| 179 | rw [hc, ← mul_assoc, ← integral_const_mul] |
| 180 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 181 | change g b * c * (plane x b * f x) = ((c * f x) • L x) b |
| 182 | simp only [_root_.smul_apply, smul_eq_mul, hL, plane_dot x b] |
| 183 | ring |
| 184 | have hc : Continuous F := (continuous_const.mul f.continuous).smul (modulation_cont g L hL) |
| 185 | rw [Spark.allowance μ (fun x : K => F x) (sew g (port f)) he (hc.comp continuous_subtype_val) w, |
| 186 | hsub (fun x => w (F x)) (by intro x hx; rw [hzero x hx, map_zero])] |
| 187 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 188 | change w ((c * f x) • L x) = c * w (L x) * f x |
| 189 | rw [map_smul, smul_eq_mul, mul_right_comm] |
| 190 | |
| 191 | lemma modulation_all (w : Distn X) (f : Probe X) : |
| 192 | w (sew g (port f)) = ∫ x, ((pref X)⁻¹ : ℂ) * w (L x) * f x := by |
| 193 | let c := ((pref X)⁻¹ : ℂ) |
| 194 | let a (q : Probe X) (x : X) := c * w (L x) * q x |
| 195 | have hi (q) : Integrable (a q) := modulation_integrable g L hL w q |
| 196 | have hd (k : ℕ) (x : X) : ‖a (cap k f) x‖ ≤ ‖a f x‖ := by |
| 197 | have hb : ‖keeper k x‖ ≤ 1 := by |
| 198 | rw [keeper, along_at, tinted, Complex.norm_real, Real.norm_of_nonneg stall.nonneg] |
| 199 | exact stall.le_one |
| 200 | have heq : a (cap k f) x = a f x * keeper k x := by |
| 201 | unfold a cap |
| 202 | rw [sews] |
| 203 | ring |
| 204 | rw [heq, norm_mul] |
| 205 | exact mul_le_of_le_one_right (norm_nonneg _) hb |
| 206 | have ha (x : X) : Tendsto (fun k => a (cap k f) x) atTop (𝓝 (a f x)) := by |
| 207 | refine tendsto_const_nhds.congr' ?_ |
| 208 | obtain ⟨N, hN⟩ := exists_nat_gt ‖x‖ |
| 209 | filter_upwards [eventually_ge_atTop N] with n hn |
| 210 | have he : (N:ℝ) ≤ n := by exact_mod_cast hn |
| 211 | have ht : keeper n x = 1 := keeper_one n (le_trans (le_trans hN.le he) (by linarith)) |
| 212 | change a f x = a (cap n f) x |
| 213 | simp only [a, cap, sews, ht, one_mul] |
| 214 | have hr := tendsto_integral_of_dominated_convergence (fun x => ‖a f x‖) |
| 215 | (fun k => (hi (cap k f)).aestronglyMeasurable) (hi f).norm |
| 216 | (fun k => ae_of_all _ (hd k)) (ae_of_all _ ha) |
| 217 | let J := w.comp ((sew g).comp port) |
| 218 | have hl := (J.continuous.tendsto f).comp (persistent f) |
| 219 | exact tendsto_nhds_unique_of_eventuallyEq hl hr (Eventually.of_forall fun k => |
| 220 | modulation_compact g L hL w (cap k f) (finite_cap k)) |
| 221 | |
| 222 | end modulation |
| 223 | |
| 224 | open Mink Bid Boundary.Surface |
| 225 | |
| 226 | section income |
| 227 | |
| 228 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 229 | variable {W : Surface S} {D : ∀ i, Blanket i} |
| 230 | |
| 231 | /-- For fixed strictly admissible imaginary part. No change of regulator or |
| 232 | uniform bound as the imaginary part varies is needed here. -/ |
| 233 | lemma emit_integral (Y : W.Aurora D) (n : ℕ) (v : Fin n → S.Union) |
| 234 | (y : Points n) (h : y ∈ fields n) (hm : (D n).Modified) (f : Joint n) : |
| 235 | (D n).partialD (W.W n v) y f = (∫ x, Y.emit v (glow x y) * f x) ∧ |
| 236 | Integrable (fun x => Y.emit v (glow x y) * f x) := by |
| 237 | let P (x : Points n) := Y.lens n (glow x y) |
| 238 | let g := P 0 |
| 239 | let w := Distn.fourier (W.W n v) |
| 240 | have hP (x b : Points n) : P x b = plane b x * (D n).attenuate y b := by |
| 241 | have hy : glow x y ∈ tube n := by simpa only [tube, mem_preimage, im_glow] using h |
| 242 | simp only [P, Y.shape n _ hy, Blanket.lens, re_glow, im_glow] |
| 243 | have hg (b : Points n) : g b = (D n).attenuate y b := by simp only [g, hP, plane_zero, one_mul] |
| 244 | have hL (x b : Points n) : P x b = plane b x * g b := by rw [hP, hg] |
| 245 | have he (q : Probe (Points n)) : (D n).diffuser y q = sew g q := by |
| 246 | ext1 x |
| 247 | rw [Blanket.diffuser, SchwartzMap.smulLeftCLM_apply_apply (hm.actual y (warmer n h)), |
| 248 | sews, hg] |
| 249 | rfl |
| 250 | refine ⟨?_, modulation_integrable g P hL w f⟩ |
| 251 | change w ((D n).diffuser y (port f)) = _ |
| 252 | rw [he] |
| 253 | exact modulation_all g P hL w f |
| 254 | |
| 255 | end income |
| 256 | |
| 257 | theorem answer : YM.Bid.C14 := by |
| 258 | intro G L S W D hm _ _ Y _ |
| 259 | exact ⟨fun n v y h f => (emit_integral Y n v y h (hm n) f).1, |
| 260 | fun n v y h f => (emit_integral Y n v y h (hm n) f).2⟩ |
| 261 | |
| 262 | end YM.Work.C14 |