Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.R3RieszKernel |
| 2 | import Mathlib.Analysis.Fourier.Convolution |
| 3 | |
| 4 | /-! |
| 5 | # Convergence of the Gaussian regularizations of pressure |
| 6 | |
| 7 | The finite-scale kernels act by ordinary absolutely convergent convolution. |
| 8 | Their operators converge in tempered distributions on `L¹` inputs and |
| 9 | strongly in `L²` on `L²` inputs. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | namespace NavierStokes.R3RieszApproximation |
| 14 | |
| 15 | open Set Filter MeasureTheory ProblemStatement FourierTransform TemperedDistribution |
| 16 | open R3PressureFourier R3RieszKernel R3ConvolutionYoung R3PressureCommutator |
| 17 | open scoped Topology ENNReal SchwartzMap |
| 18 | |
| 19 | theorem classical_fourier_continuous {g : Space → ℂ} (hg : Integrable g) : Continuous (𝓕 g) := |
| 20 | VectorFourier.fourierIntegral_continuous Real.continuous_fourierChar continuous_inner hg |
| 21 | |
| 22 | def regularized (n : ℕ) (i j : Fin 3) (g : Space → ℂ) : Space → ℂ := |
| 23 | scalarConvolution (truncatedKernel n i j) g |
| 24 | |
| 25 | theorem regularized_integrable (n : ℕ) (i j : Fin 3) {g : Space → ℂ} (hg : Integrable g) : |
| 26 | Integrable (regularized n i j g) := |
| 27 | (truncatedKernel_integrable n i j).integrable_convolution (ContinuousLinearMap.mul ℂ ℂ) hg |
| 28 | |
| 29 | theorem regularized_ae_integrable (n : ℕ) (i j : Fin 3) {g : Space → ℂ} (hg : Integrable g) : |
| 30 | ∀ᵐ x ∂volume, Integrable (fun y : Space => truncatedKernel n i j y * g (x - y)) := |
| 31 | (truncatedKernel_integrable n i j).ae_convolution_exists (ContinuousLinearMap.mul ℂ ℂ) hg |
| 32 | |
| 33 | theorem regularized_fourier (n : ℕ) (i j : Fin 3) {g : Space → ℂ} (hg : Integrable g) (ξ : Space) : |
| 34 | 𝓕 (regularized n i j g) ξ = 𝓕 (truncatedKernel n i j) ξ * 𝓕 g ξ := |
| 35 | Real.fourier_mul_convolution_eq (truncatedKernel_integrable n i j) hg ξ |
| 36 | |
| 37 | theorem symbol_memLp (n : ℕ) (i j : Fin 3) : MemLp (𝓕 (truncatedKernel n i j)) ⊤ := |
| 38 | memLp_top_of_bound (classical_fourier_continuous (truncatedKernel_integrable n i j)).aestronglyMeasurable 1 |
| 39 | (Eventually.of_forall (norm_fourier_truncatedKernel_le n i j)) |
| 40 | |
| 41 | def symbolLp (n : ℕ) (i j : Fin 3) : Lp ℂ ⊤ (volume : Measure Space) := |
| 42 | (symbol_memLp n i j).toLp (𝓕 (truncatedKernel n i j)) |
| 43 | |
| 44 | theorem symbolLp_ae (n : ℕ) (i j : Fin 3) : |
| 45 | symbolLp n i j =ᵐ[volume] 𝓕 (truncatedKernel n i j) := (symbol_memLp n i j).coeFn_toLp |
| 46 | |
| 47 | def operatorL1 (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : 𝓢'(Space, ℂ) := |
| 48 | 𝓕⁻ ((symbolLp n i j • frequencyL1 g : Lp ℂ ⊤ volume) : 𝓢'(Space, ℂ)) |
| 49 | |
| 50 | def operatorL2 (n : ℕ) (i j : Fin 3) (g : Lp ℂ 2 (volume : Measure Space)) : Lp ℂ 2 (volume : Measure Space) := |
| 51 | 𝓕⁻ (symbolLp n i j • 𝓕 g) |
| 52 | |
| 53 | theorem regularized_memLp_one (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : |
| 54 | MemLp (regularized n i j g) 1 := |
| 55 | memLp_one_iff_integrable.mpr (regularized_integrable n i j (L1.integrable_coeFn g)) |
| 56 | |
| 57 | def regularizedLp (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : Lp ℂ 1 (volume : Measure Space) := |
| 58 | (regularized_memLp_one n i j g).toLp (regularized n i j g) |
| 59 | |
| 60 | theorem regularizedLp_ae (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : |
| 61 | regularizedLp n i j g =ᵐ[volume] regularized n i j g := |
| 62 | (regularized_memLp_one n i j g).coeFn_toLp |
| 63 | |
| 64 | /-- The Fourier regularization is the distribution of the actual |
| 65 | integrable convolution with its Gaussian kernel. -/ |
| 66 | theorem operatorL1_eq_regularizedLp (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : |
| 67 | operatorL1 n i j g = (regularizedLp n i j g : 𝓢'(Space, ℂ)) := by |
| 68 | have he : frequencyL1 (regularizedLp n i j g) = symbolLp n i j • frequencyL1 g := by |
| 69 | apply Lp.ext |
| 70 | filter_upwards [frequencyL1_ae (regularizedLp n i j g), |
| 71 | Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 g), symbolLp_ae n i j, |
| 72 | frequencyL1_ae g] with x hx hm hs hg |
| 73 | rw [hx, Real.fourier_congr_ae (regularizedLp_ae n i j g) x, |
| 74 | regularized_fourier n i j (L1.integrable_coeFn g), hm] |
| 75 | simp only [Pi.smul_apply', smul_eq_mul, hs, hg] |
| 76 | rw [operatorL1, ← he, ← fourier_L1, fourierInv_fourier_eq] |
| 77 | |
| 78 | theorem operatorL1_eq_operatorL2 (n : ℕ) (i j : Fin 3) |
| 79 | {f : Lp ℂ 1 (volume : Measure Space)} {g : Lp ℂ 2 (volume : Measure Space)} |
| 80 | (h : (f : Space → ℂ) =ᵐ[volume] g) : |
| 81 | operatorL1 n i j f = (operatorL2 n i j g : 𝓢'(Space, ℂ)) := by |
| 82 | have hfreq : (frequencyL1 f : 𝓢'(Space, ℂ)) = (𝓕 g : Lp ℂ 2 volume) := by |
| 83 | rw [← fourier_L1, ← Lp.fourier_toTemperedDistribution_eq, lp_distribution_eq_of_ae h] |
| 84 | have hfreqae := lp_ae_of_distribution_eq hfreq |
| 85 | have hprod : (symbolLp n i j • frequencyL1 f : Lp ℂ ⊤ volume) =ᵐ[volume] |
| 86 | (symbolLp n i j • 𝓕 g : Lp ℂ 2 volume) := by |
| 87 | filter_upwards [Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 f), |
| 88 | Lp.coeFn_lpSMul (r := 2) (symbolLp n i j) (𝓕 g), hfreqae] with x hl hr he |
| 89 | rw [hl, hr] |
| 90 | simp only [Pi.smul_apply', he] |
| 91 | rw [operatorL1, lp_distribution_eq_of_ae hprod, Lp.fourierInv_toTemperedDistribution_eq] |
| 92 | rfl |
| 93 | |
| 94 | /-- Pointwise convergence of uniformly bounded Fourier representatives |
| 95 | implies convergence of their tempered distributions. -/ |
| 96 | theorem distribution_tendsto_of_bounded {F : ℕ → Lp ℂ ⊤ (volume : Measure Space)} |
| 97 | {f : Lp ℂ ⊤ (volume : Measure Space)} {M : ℝ} |
| 98 | (hF : ∀ n, ∀ᵐ x ∂volume, ‖F n x‖ ≤ M) |
| 99 | (hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (f x))) : |
| 100 | Tendsto (fun n => (F n : 𝓢'(Space, ℂ))) atTop (𝓝 (f : 𝓢'(Space, ℂ))) := by |
| 101 | apply PointwiseConvergenceCLM.tendsto_iff_forall_tendsto.mpr |
| 102 | intro φ |
| 103 | simp only [Lp.toTemperedDistribution_apply] |
| 104 | apply tendsto_integral_of_dominated_convergence (fun x => ‖φ x‖ * M) |
| 105 | · intro n |
| 106 | exact φ.continuous.aestronglyMeasurable.smul (Lp.memLp (F n)).1 |
| 107 | · exact φ.integrable.norm.mul_const M |
| 108 | · intro n |
| 109 | filter_upwards [hF n] with x hx |
| 110 | rw [norm_smul] |
| 111 | exact mul_le_mul_of_nonneg_left hx (norm_nonneg _) |
| 112 | · filter_upwards [hlim] with x hx |
| 113 | exact tendsto_const_nhds.smul hx |
| 114 | |
| 115 | theorem operatorL1_tendsto (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Space)) : |
| 116 | Tendsto (fun n => operatorL1 n i j g) atTop (𝓝 (pressureL1 i j g)) := by |
| 117 | let F (n : ℕ) : Lp ℂ ⊤ (volume : Measure Space) := symbolLp n i j • frequencyL1 g |
| 118 | have hrep (n : ℕ) : F n =ᵐ[volume] |
| 119 | fun x => 𝓕 (truncatedKernel n i j) x * 𝓕 (g : Space → ℂ) x := by |
| 120 | filter_upwards [Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 g), |
| 121 | symbolLp_ae n i j, frequencyL1_ae g] with x hm hs hg |
| 122 | change F n x = _ at hm ⊢ |
| 123 | simpa only [Pi.smul_apply', smul_eq_mul, hs, hg] using hm |
| 124 | have hb (n : ℕ) : ∀ᵐ x ∂volume, ‖F n x‖ ≤ ‖g‖ := by |
| 125 | filter_upwards [hrep n] with x hx |
| 126 | rw [hx, norm_mul] |
| 127 | exact (mul_le_of_le_one_left (norm_nonneg _) (norm_fourier_truncatedKernel_le n i j x)).trans |
| 128 | (norm_classical_fourier_le g x) |
| 129 | have hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (pressureHat i j g x)) := by |
| 130 | filter_upwards [(ae_all_iff.mpr hrep), pressureHat_ae i j g] with x hx h0 |
| 131 | simpa only [hx, h0] using (fourier_truncatedKernel_tendsto i j x).mul_const (𝓕 (g : Space → ℂ) x) |
| 132 | have hh := distribution_tendsto_of_bounded hb hlim |
| 133 | simpa only [Function.comp_def, operatorL1, pressureL1, F] using |
| 134 | (continuous_fourierInv.tendsto (pressureHat i j g : 𝓢'(Space, ℂ))).comp hh |
| 135 | |
| 136 | /-- Convert the concrete `lpNorm` convergence estimate into convergence in |
| 137 | Mathlib's complete `Lp` space. -/ |
| 138 | theorem tendsto_Lp_two_of_lpNorm {F : ℕ → Lp ℂ 2 (volume : Measure Space)} |
| 139 | {f : Lp ℂ 2 (volume : Measure Space)} |
| 140 | (h : Tendsto (fun n => lpNorm (fun x => F n x - f x) 2 volume) atTop (𝓝 0)) : |
| 141 | Tendsto F atTop (𝓝 f) := by |
| 142 | rw [tendsto_iff_norm_sub_tendsto_zero] |
| 143 | have he (n : ℕ) : ‖F n - f‖ = lpNorm (fun x => F n x - f x) 2 volume := by |
| 144 | rw [Lp.norm_def, eLpNorm_congr_ae (Lp.coeFn_sub (F n) f), |
| 145 | toReal_eLpNorm ((Lp.memLp (F n)).1.sub (Lp.memLp f).1)] |
| 146 | rfl |
| 147 | simpa only [he] using h |
| 148 | |
| 149 | theorem operatorL2_tendsto (i j : Fin 3) (g : Lp ℂ 2 (volume : Measure Space)) : |
| 150 | Tendsto (fun n => operatorL2 n i j g) atTop (𝓝 (pressureL2 i j g)) := by |
| 151 | let F (n : ℕ) : Lp ℂ 2 (volume : Measure Space) := symbolLp n i j • 𝓕 g |
| 152 | let f : Lp ℂ 2 (volume : Measure Space) := rieszSymbolLp i j • 𝓕 g |
| 153 | have hrep (n : ℕ) : F n =ᵐ[volume] |
| 154 | fun x => 𝓕 (truncatedKernel n i j) x * (𝓕 g : Lp ℂ 2 volume) x := by |
| 155 | filter_upwards [Lp.coeFn_lpSMul (r := 2) (symbolLp n i j) (𝓕 g), symbolLp_ae n i j] with x hm hs |
| 156 | change F n x = _ at hm ⊢ |
| 157 | simpa only [Pi.smul_apply', smul_eq_mul, hs] using hm |
| 158 | have hrep₀ : f =ᵐ[volume] fun x => rieszSymbol i j x * (𝓕 g : Lp ℂ 2 volume) x := by |
| 159 | filter_upwards [Lp.coeFn_lpSMul (r := 2) (rieszSymbolLp i j) (𝓕 g), rieszSymbolLp_ae i j] with x hm hs |
| 160 | change f x = _ at hm ⊢ |
| 161 | simpa only [Pi.smul_apply', smul_eq_mul, hs] using hm |
| 162 | have hb (n : ℕ) : ∀ᵐ x ∂volume, ‖F n x‖ ≤ ‖(𝓕 g : Lp ℂ 2 volume) x‖ := by |
| 163 | filter_upwards [hrep n] with x hx |
| 164 | rw [hx, norm_mul] |
| 165 | exact mul_le_of_le_one_left (norm_nonneg _) (norm_fourier_truncatedKernel_le n i j x) |
| 166 | have hb₀ : ∀ᵐ x ∂volume, ‖f x‖ ≤ ‖(𝓕 g : Lp ℂ 2 volume) x‖ := by |
| 167 | filter_upwards [hrep₀] with x hx |
| 168 | rw [hx, norm_mul] |
| 169 | exact mul_le_of_le_one_left (norm_nonneg _) (norm_rieszSymbol_le i j x) |
| 170 | have hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (f x)) := by |
| 171 | filter_upwards [ae_all_iff.mpr hrep, hrep₀] with x hx h0 |
| 172 | simpa only [hx, h0] using |
| 173 | (fourier_truncatedKernel_tendsto i j x).mul_const ((𝓕 g : Lp ℂ 2 volume) x) |
| 174 | have hh := tendsto_lpNorm_two_of_dominated (fun n => (Lp.memLp (F n)).1) (Lp.memLp f).1 |
| 175 | (Lp.memLp (𝓕 g : Lp ℂ 2 volume)).norm hb hb₀ hlim |
| 176 | have hh' := tendsto_Lp_two_of_lpNorm hh |
| 177 | simpa only [Function.comp_def, operatorL2, pressureL2, F, f] using |
| 178 | (continuous_fourierInv.tendsto f).comp hh' |
| 179 | |
| 180 | |
| 181 | theorem regularized_congr_ae (n : ℕ) (i j : Fin 3) {f g : Space → ℂ} (h : f =ᵐ[volume] g) : |
| 182 | regularized n i j f = regularized n i j g := |
| 183 | convolution_congr (ContinuousLinearMap.mul ℂ ℂ) EventuallyEq.rfl h |
| 184 | |
| 185 | theorem tendsto_toLp_two_of_lpNorm {F : ℕ → Space → ℂ} {f : Space → ℂ} |
| 186 | (hF : ∀ n, MemLp (F n) 2) (hf : MemLp f 2) |
| 187 | (h : Tendsto (fun n => lpNorm (F n - f) 2 volume) atTop (𝓝 0)) : |
| 188 | Tendsto (fun n => (hF n).toLp (F n)) atTop (𝓝 (hf.toLp f)) := by |
| 189 | apply (Lp.tendsto_Lp_iff_tendsto_eLpNorm'' F hF f hf).mpr |
| 190 | have hh := (ENNReal.continuous_ofReal.tendsto 0).comp h |
| 191 | simpa only [Function.comp_def, ofReal_lpNorm ((hF _).sub hf), ENNReal.ofReal_zero] using hh |
| 192 | |
| 193 | |
| 194 | theorem norm_operatorL2_le (n : ℕ) (i j : Fin 3) (g : Lp ℂ 2 (volume : Measure Space)) : |
| 195 | ‖operatorL2 n i j g‖ ≤ ‖g‖ := by |
| 196 | have hnorm (f : Lp ℂ 2 (volume : Measure Space)) : ‖𝓕⁻ f‖ = ‖f‖ := |
| 197 | (Lp.fourierTransformₗᵢ Space ℂ).symm.norm_map f |
| 198 | rw [operatorL2, hnorm, ← Lp.norm_fourier_eq g] |
| 199 | apply Lp.norm_le_norm_of_ae_le |
| 200 | filter_upwards [Lp.coeFn_lpSMul (r := 2) (symbolLp n i j) (𝓕 g), symbolLp_ae n i j] with x hm hs |
| 201 | rw [hm] |
| 202 | change ‖symbolLp n i j x • (𝓕 g : Lp ℂ 2 volume) x‖ ≤ ‖(𝓕 g : Lp ℂ 2 volume) x‖ |
| 203 | rw [hs, norm_smul] |
| 204 | exact mul_le_of_le_one_left (norm_nonneg _) (norm_fourier_truncatedKernel_le n i j x) |
| 205 | |
| 206 | end NavierStokes.R3RieszApproximation |