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.Distribution.Product |
| 2 | import YM.Work.C13.Decay |
| 3 | |
| 4 | /-! |
| 5 | # Exponential shifts of the interior test (C13) |
| 6 | |
| 7 | The estimate on the remainder works at arbitrary frequency (not just when |
| 8 | `‖L x‖` is small). With the reserve it gives the derivative in the |
| 9 | Schwartz topology. The parameter derivative is with respect to all complex |
| 10 | variables at once; frequency derivatives are still real. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace YM.Work.C13 |
| 17 | |
| 18 | open Function Filter Asymptotics Boundary |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | |
| 23 | /-- Uniform bound for the Taylor remainder of the shift, in all frequency |
| 24 | derivative orders. It costs `exp (a * ‖x‖)` and a polynomial. -/ |
| 25 | lemma norm_iteratedFDeriv_exp_remainder_le (L : E →L[ℝ] ℂ) (a : ℝ) |
| 26 | (hLa : ‖L‖ ≤ a) (hL : ‖L‖ ≤ 1) (j : ℕ) (x : E) : |
| 27 | ‖iteratedFDeriv ℝ j (fun y => Complex.exp (L y) - 1 - L y) x‖ ≤ |
| 28 | ‖L‖^2 * (1 + ‖x‖)^2 * Real.exp (a * ‖x‖) := by |
| 29 | let f := fun y => Complex.exp (L y) |
| 30 | let g := fun y => Complex.exp (L y) - 1 |
| 31 | let r := fun y => Complex.exp (L y) - 1 - L y |
| 32 | have h (y : E) : HasFDerivAt r (scaleCLM L (g y)) y := by |
| 33 | rw [scaleCLM_apply] |
| 34 | dsimp only [g] |
| 35 | rw [show (Complex.exp (L y) - 1) • L = Complex.exp (L y) • L - L by |
| 36 | simpa using (sub_smul (Complex.exp (L y)) (1:ℂ) L)] |
| 37 | exact ((L.hasFDerivAt.cexp.sub_const 1).sub L.hasFDerivAt) |
| 38 | have hx := L.le_opNorm x |
| 39 | have he : Real.exp ‖L x‖ ≤ Real.exp (a*‖x‖) := by |
| 40 | apply Real.exp_le_exp.mpr |
| 41 | exact hx.trans (mul_le_mul_of_nonneg_right hLa (norm_nonneg x)) |
| 42 | have hs : ‖x‖ ≤ 1 + ‖x‖ := by linarith |
| 43 | have hsq : 1 + ‖x‖ ≤ (1 + ‖x‖)^2 := by nlinarith [norm_nonneg x] |
| 44 | change ‖iteratedFDeriv ℝ j r x‖ ≤ _ |
| 45 | cases j with |
| 46 | | zero => |
| 47 | rw [norm_iteratedFDeriv_zero] |
| 48 | calc |
| 49 | ‖r x‖ ≤ ‖L x‖ ^ 2 * Real.exp ‖L x‖ := by |
| 50 | simpa [r, Finset.sum_range_succ, sub_sub] using |
| 51 | Complex.norm_exp_sub_sum_le_norm_mul_exp (L x) 2 |
| 52 | _ ≤ (‖L‖ * ‖x‖)^2 * Real.exp (a*‖x‖) := by gcongr |
| 53 | _ ≤ _ := by rw [mul_pow]; gcongr |
| 54 | | succ j => |
| 55 | rw [← norm_iteratedFDeriv_fderiv, |
| 56 | show fderiv ℝ r = (scaleCLM L) ∘ g from funext fun y => (h y).fderiv] |
| 57 | have hf : ContDiff ℝ j f := L.contDiff.cexp |
| 58 | have hg : ContDiff ℝ j g := hf.sub contDiff_const |
| 59 | have hu : ‖iteratedFDeriv ℝ j ((scaleCLM L) ∘ g) x‖ ≤ |
| 60 | ‖L‖ * ‖iteratedFDeriv ℝ j g x‖ := |
| 61 | ((scaleCLM L).norm_iteratedFDeriv_comp_left hg.contDiffAt le_rfl).trans |
| 62 | (mul_le_mul_of_nonneg_right (norm_scaleCLM_le L) (norm_nonneg _)) |
| 63 | refine hu.trans ?_ |
| 64 | cases j with |
| 65 | | zero => |
| 66 | rw [norm_iteratedFDeriv_zero] |
| 67 | have hh : ‖g x‖ ≤ (‖L‖ * (1+‖x‖)^2) * Real.exp (a * ‖x‖) := calc |
| 68 | ‖g x‖ ≤ ‖L x‖ * Real.exp ‖L x‖ := by |
| 69 | simpa [g] using Complex.norm_exp_sub_sum_le_norm_mul_exp (L x) 1 |
| 70 | _ ≤ (‖L‖ * ‖x‖) * Real.exp (a * ‖x‖) := by gcongr |
| 71 | _ ≤ _ := by gcongr; exact hs.trans hsq |
| 72 | exact (mul_le_mul_of_nonneg_left hh (norm_nonneg _)).trans_eq (by ring) |
| 73 | | succ j => |
| 74 | have hgj : iteratedFDeriv ℝ (j+1) g x = iteratedFDeriv ℝ (j+1) f x := by |
| 75 | change iteratedFDeriv ℝ (j+1) (f - fun _ => (1:ℂ)) x = _ |
| 76 | rw [iteratedFDeriv_sub_apply hf.contDiffAt contDiffAt_const, iteratedFDeriv_succ_const] |
| 77 | simp |
| 78 | have hpow : ‖L‖^(j+1) ≤ ‖L‖ := by |
| 79 | rw [pow_succ] |
| 80 | exact mul_le_of_le_one_left (norm_nonneg _) (pow_le_one₀ (norm_nonneg _) hL) |
| 81 | have hh : ‖iteratedFDeriv ℝ (j+1) g x‖ ≤ |
| 82 | ‖L‖ * (1 + ‖x‖)^2 * Real.exp (a*‖x‖) := by |
| 83 | rw [hgj]; apply (norm_iteratedFDeriv_exp_linear_le L x (j+1)).trans |
| 84 | apply mul_le_mul _ _ (Real.exp_pos _).le (by positivity) |
| 85 | · refine hpow.trans (le_mul_of_one_le_right (norm_nonneg _) ?_) |
| 86 | linarith [norm_nonneg x] |
| 87 | · exact (Real.exp_le_exp.mpr (Complex.re_le_norm _)).trans he |
| 88 | exact (mul_le_mul_of_nonneg_left hh (norm_nonneg _)).trans_eq (by ring) |
| 89 | |
| 90 | /-- Seminorm cost of the difference from the proposed linearization. |
| 91 | `r` will itself already be a test (difference of tests); the exponential |
| 92 | reserve then controls its size, quadratically in the shift. -/ |
| 93 | lemma exists_exp_seminorm_cost (f : Probe E) {k j : ℕ} {a : ℝ} |
| 94 | (hf : ∀ i : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ x, |
| 95 | (1 + ‖x‖)^(k+2) * Real.exp (a * ‖x‖) * ‖iteratedFDeriv ℝ i f x‖ ≤ C) : |
| 96 | ∃ C : ℝ, 0 ≤ C ∧ ∀ L : E →L[ℝ] ℂ, ‖L‖ ≤ a → ‖L‖ ≤ 1 → ∀ r : Probe E, |
| 97 | (∀ x, r x = f x * (Complex.exp (L x) - 1 - L x)) → Probe.size k j r ≤ ‖L‖^2 * C := by |
| 98 | classical |
| 99 | choose D hD hcost using hf |
| 100 | have hsum : 0 ≤ ∑ i ∈ Finset.range (j+1), (j.choose i : ℝ) * D i := by |
| 101 | exact Finset.sum_nonneg fun i _ => mul_nonneg (Nat.cast_nonneg _) (hD i) |
| 102 | refine ⟨_, hsum, fun L ha hL r hr => ?_⟩ |
| 103 | let g := fun x => Complex.exp (L x) - 1 - L x |
| 104 | have hg : ContDiff ℝ ∞ g := (L.contDiff.cexp.sub contDiff_const).sub L.contDiff |
| 105 | refine SchwartzMap.seminorm_le_bound ℂ _ _ _ (mul_nonneg (sq_nonneg _) hsum) fun x => ?_ |
| 106 | rw [show (r : E → ℂ) = fun x => f x * g x from funext hr] |
| 107 | apply le_trans (mul_le_mul_of_nonneg_left (norm_iteratedFDeriv_mul_le (f.smooth ⊤) hg |
| 108 | x (n := j) (by exact_mod_cast le_top)) (by positivity)) |
| 109 | rw [Finset.mul_sum, Finset.mul_sum] |
| 110 | refine Finset.sum_le_sum fun i _ => ?_ |
| 111 | have hb : ‖iteratedFDeriv ℝ (j-i) g x‖ ≤ ‖L‖^2 * (1 + ‖x‖)^2 * Real.exp (a * ‖x‖) := |
| 112 | norm_iteratedFDeriv_exp_remainder_le L a ha hL _ x |
| 113 | have hx : ‖x‖^k ≤ (1 + ‖x‖)^k := by gcongr; linarith |
| 114 | calc |
| 115 | _ ≤ (1 + ‖x‖)^k * ((j.choose i : ℝ) * ‖iteratedFDeriv ℝ i f x‖ * |
| 116 | (‖L‖^2 * (1 + ‖x‖)^2 * Real.exp (a * ‖x‖))) := |
| 117 | mul_le_mul hx (mul_le_mul_of_nonneg_left hb (by positivity)) (by positivity) (by positivity) |
| 118 | _ = ‖L‖^2 * ((j.choose i : ℝ) * |
| 119 | ((1 + ‖x‖)^(k+2) * Real.exp (a * ‖x‖) * ‖iteratedFDeriv ℝ i f x‖)) := by |
| 120 | rw [pow_add]; ring |
| 121 | _ ≤ _ := by gcongr; exact hcost i x |
| 122 | |
| 123 | /-- Linear frequency multipliers act on genuine Schwartz probes. -/ |
| 124 | def applyFrequency (L : E →L[ℝ] ℂ) (f : Probe E) : Probe E := |
| 125 | SchwartzMap.smulLeftCLM ℂ L f |
| 126 | |
| 127 | lemma applyFrequency_apply (L : E →L[ℝ] ℂ) (f : Probe E) (x : E) : |
| 128 | applyFrequency L f x = L x * f x := |
| 129 | SchwartzMap.smulLeftCLM_apply_apply L.hasTemperateGrowth f x |
| 130 | |
| 131 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℂ P] [FiniteDimensional ℂ P] |
| 132 | |
| 133 | /-- Candidate complex derivative into the Schwartz space. -/ |
| 134 | def shiftDeriv (B : P →L[ℂ] (E →L[ℝ] ℂ)) (f : Probe E) : P →L[ℂ] Probe E := |
| 135 | LinearMap.toContinuousLinearMap { |
| 136 | toFun := fun v => applyFrequency (B v) f |
| 137 | map_add' := fun v w => by |
| 138 | ext1 x |
| 139 | simp [applyFrequency_apply, add_mul] |
| 140 | map_smul' := fun c v => by |
| 141 | ext1 x |
| 142 | simp [applyFrequency_apply, mul_assoc] } |
| 143 | |
| 144 | lemma shiftDeriv_apply (B : P →L[ℂ] (E →L[ℝ] ℂ)) (f : Probe E) (v : P) (x : E) : |
| 145 | shiftDeriv B f v x = B v x * f x := applyFrequency_apply _ f x |
| 146 | |
| 147 | /-- Joint complex differentiation into the actual Schwartz topology. `T` is |
| 148 | only specified by the shift formula near `p`; elsewhere it may even be |
| 149 | discontinuous. -/ |
| 150 | theorem hasFDerivAt_shift (B : P →L[ℂ] (E →L[ℝ] ℂ)) (T : P → Probe E) (p : P) |
| 151 | (hp : ExpReserve (T p : E → ℂ)) |
| 152 | (hshift : ∀ᶠ q in 𝓝 p, ∀ x, T q x = Complex.exp (B (q-p) x) * T p x) : |
| 153 | HasFDerivAt T (shiftDeriv B (T p)) p := by |
| 154 | let R := fun q => T q - T p - shiftDeriv B (T p) (q-p) |
| 155 | let N := fun q => (↑‖q-p‖ : ℂ) |
| 156 | have hN : ∀ᶠ q in 𝓝 p, N q = 0 → R q = 0 := by |
| 157 | refine Eventually.of_forall fun q hq => ?_ |
| 158 | have he : q = p := by simpa [N, sub_eq_zero] using hq |
| 159 | subst q; simp [R] |
| 160 | -- All weighted seminorms of the scaled difference tend to zero. |
| 161 | have ht : Tendsto (fun q => (N q)⁻¹ • R q) (𝓝 p) (𝓝 0) := by |
| 162 | apply (Probe.tendN _ _ _).mpr |
| 163 | obtain ⟨a, ha, hf⟩ := hp.bound |
| 164 | intro k j ε hε |
| 165 | obtain ⟨C, hC, hcost⟩ := exists_exp_seminorm_cost (j := j) (T p) (hf (k+2)) |
| 166 | have hsmall : Tendsto (fun q => ‖B (q-p)‖) (𝓝 p) (𝓝 0) := Continuous.tendsto' |
| 167 | (continuous_norm.comp (B.continuous.comp (continuous_id.sub continuous_const))) _ _ (by simp) |
| 168 | have hlim : Tendsto (fun q => ‖B‖^2 * C * ‖q-p‖) (𝓝 p) (𝓝 0) := Continuous.tendsto' |
| 169 | (continuous_const.mul (continuous_norm.comp (continuous_id.sub continuous_const))) _ _ (by simp) |
| 170 | filter_upwards [hsmall.eventually_lt_const ha, hsmall.eventually_lt_const zero_lt_one, hshift, |
| 171 | hlim.eventually_lt_const hε] with q hqa hq hT hlt |
| 172 | have hR : Probe.size k j (R q) ≤ ‖B (q-p)‖^2 * C := by |
| 173 | apply hcost _ hqa.le hq.le |
| 174 | intro x |
| 175 | simp [R, shiftDeriv_apply, hT x] |
| 176 | ring |
| 177 | rw [sub_zero, Probe.size] |
| 178 | calc |
| 179 | _ = ‖q-p‖⁻¹ * Probe.size k j (R q) := by simp [N, Probe.size, map_smul_eq_mul] |
| 180 | _ ≤ ‖q-p‖⁻¹ * ((‖B‖ * ‖q-p‖)^2 * C) := by |
| 181 | apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 182 | apply hR.trans |
| 183 | apply mul_le_mul_of_nonneg_right _ hC |
| 184 | exact pow_le_pow_left₀ (norm_nonneg _) (B.le_opNorm _) _ |
| 185 | _ = ‖B‖^2 * C * ‖q-p‖ := by |
| 186 | by_cases hs : ‖q-p‖ = 0 |
| 187 | · simp [hs] |
| 188 | · field_simp |
| 189 | _ < ε := hlt |
| 190 | rw [hasFDerivAt_iff_isLittleOTVS] |
| 191 | have hr : R =o[ℂ; 𝓝 p] N := (isLittleOTVS_iff_tendsto_inv_smul hN).mpr ht |
| 192 | refine hr.trans_isBigOTVS (IsBigO.isBigOTVS ?_) |
| 193 | exact isBigO_of_le _ fun q => by simp [N] |
| 194 | |
| 195 | end YM.Work.C13 |