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.R3SpatialConvolution |
| 2 | import NavierStokes.R3SpaceTimePressure |
| 3 | |
| 4 | /-! |
| 5 | # Spatial Gaussian regularizers converge on space-time |
| 6 | |
| 7 | The actual spatial convolutions converge to the normalized space-time |
| 8 | pressure distribution. This permits using slice-wise weighted estimates |
| 9 | without requiring the pressure to be square-integrable in time. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | namespace NavierStokes.R3SpaceTimeApproximation |
| 14 | |
| 15 | open Set Filter MeasureTheory FourierTransform TemperedDistribution |
| 16 | open R3SpaceTime R3SpaceTimePressure R3RieszKernel R3SpatialConvolution |
| 17 | open scoped Topology ENNReal SchwartzMap |
| 18 | |
| 19 | def multiplier (n : ℕ) (i j : Fin 3) (z : Domain) : ℂ := |
| 20 | 𝓕 (truncatedKernel n i j) (spaceProj z) |
| 21 | |
| 22 | theorem symbol_memLp (n : ℕ) (i j : Fin 3) : MemLp (multiplier n i j) ⊤ := |
| 23 | memLp_top_of_bound |
| 24 | ((R3RieszApproximation.classical_fourier_continuous (truncatedKernel_integrable n i j)).comp |
| 25 | spaceProj.continuous).aestronglyMeasurable 1 |
| 26 | (Eventually.of_forall fun z => norm_fourier_truncatedKernel_le n i j (spaceProj z)) |
| 27 | |
| 28 | def symbolLp (n : ℕ) (i j : Fin 3) : Lp ℂ ⊤ (volume : Measure Domain) := |
| 29 | (symbol_memLp n i j).toLp (multiplier n i j) |
| 30 | |
| 31 | theorem symbolLp_ae (n : ℕ) (i j : Fin 3) : |
| 32 | symbolLp n i j =ᵐ[volume] multiplier n i j := (symbol_memLp n i j).coeFn_toLp |
| 33 | |
| 34 | def operatorL1 (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : 𝓢'(Domain, ℂ) := |
| 35 | 𝓕⁻ ((symbolLp n i j • frequencyL1 g : Lp ℂ ⊤ volume) : 𝓢'(Domain, ℂ)) |
| 36 | |
| 37 | theorem regularized_memLp_one (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : |
| 38 | MemLp (regularized n i j g) 1 := |
| 39 | memLp_one_iff_integrable.mpr (regularized_integrable n i j (L1.integrable_coeFn g)) |
| 40 | |
| 41 | def regularizedLp (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : Lp ℂ 1 (volume : Measure Domain) := |
| 42 | (regularized_memLp_one n i j g).toLp (regularized n i j g) |
| 43 | |
| 44 | theorem regularizedLp_ae (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : |
| 45 | regularizedLp n i j g =ᵐ[volume] regularized n i j g := |
| 46 | (regularized_memLp_one n i j g).coeFn_toLp |
| 47 | |
| 48 | /-- The Fourier regularization is the distribution of the actual |
| 49 | integrable convolution with its Gaussian kernel. -/ |
| 50 | theorem operatorL1_eq_regularizedLp (n : ℕ) (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : |
| 51 | operatorL1 n i j g = (regularizedLp n i j g : 𝓢'(Domain, ℂ)) := by |
| 52 | have he : frequencyL1 (regularizedLp n i j g) = symbolLp n i j • frequencyL1 g := by |
| 53 | apply Lp.ext |
| 54 | filter_upwards [frequencyL1_ae (regularizedLp n i j g), |
| 55 | Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 g), symbolLp_ae n i j, |
| 56 | frequencyL1_ae g] with x hx hm hs hg |
| 57 | rw [hx, Real.fourier_congr_ae (regularizedLp_ae n i j g) x, |
| 58 | regularized_fourier n i j (L1.integrable_coeFn g), hm] |
| 59 | simp only [Pi.smul_apply', smul_eq_mul, hs, hg, multiplier] |
| 60 | rw [operatorL1, ← he, ← fourier_L1, fourierInv_fourier_eq] |
| 61 | |
| 62 | /-- Pointwise convergence of uniformly bounded Fourier representatives |
| 63 | implies convergence of their tempered distributions. -/ |
| 64 | theorem distribution_tendsto_of_bounded {F : ℕ → Lp ℂ ⊤ (volume : Measure Domain)} |
| 65 | {f : Lp ℂ ⊤ (volume : Measure Domain)} {M : ℝ} |
| 66 | (hF : ∀ n, ∀ᵐ x ∂volume, ‖F n x‖ ≤ M) |
| 67 | (hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (f x))) : |
| 68 | Tendsto (fun n => (F n : 𝓢'(Domain, ℂ))) atTop (𝓝 (f : 𝓢'(Domain, ℂ))) := by |
| 69 | apply PointwiseConvergenceCLM.tendsto_iff_forall_tendsto.mpr |
| 70 | intro φ |
| 71 | simp only [Lp.toTemperedDistribution_apply] |
| 72 | apply tendsto_integral_of_dominated_convergence (fun x => ‖φ x‖ * M) |
| 73 | · intro n |
| 74 | exact φ.continuous.aestronglyMeasurable.smul (Lp.memLp (F n)).1 |
| 75 | · exact φ.integrable.norm.mul_const M |
| 76 | · intro n |
| 77 | filter_upwards [hF n] with x hx |
| 78 | rw [norm_smul] |
| 79 | exact mul_le_mul_of_nonneg_left hx (norm_nonneg _) |
| 80 | · filter_upwards [hlim] with x hx |
| 81 | exact tendsto_const_nhds.smul hx |
| 82 | |
| 83 | theorem norm_classical_fourier_le (g : Lp ℂ 1 (volume : Measure Domain)) (x : Domain) : |
| 84 | ‖𝓕 (g : Domain → ℂ) x‖ ≤ ‖g‖ := by |
| 85 | rw [Real.fourier_eq] |
| 86 | apply (norm_integral_le_integral_norm _).trans |
| 87 | simp only [Circle.norm_smul] |
| 88 | exact (L1.norm_eq_integral_norm g).symm.le |
| 89 | |
| 90 | theorem operatorL1_tendsto (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : |
| 91 | Tendsto (fun n => operatorL1 n i j g) atTop (𝓝 (pressureL1 i j g)) := by |
| 92 | let F (n : ℕ) : Lp ℂ ⊤ (volume : Measure Domain) := symbolLp n i j • frequencyL1 g |
| 93 | have hrep (n : ℕ) : F n =ᵐ[volume] |
| 94 | fun x => 𝓕 (truncatedKernel n i j) (spaceProj x) * 𝓕 (g : Domain → ℂ) x := by |
| 95 | filter_upwards [Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 g), |
| 96 | symbolLp_ae n i j, frequencyL1_ae g] with x hm hs hg |
| 97 | change F n x = _ at hm ⊢ |
| 98 | simpa only [Pi.smul_apply', smul_eq_mul, hs, hg, multiplier] using hm |
| 99 | have hb (n : ℕ) : ∀ᵐ x ∂volume, ‖F n x‖ ≤ ‖g‖ := by |
| 100 | filter_upwards [hrep n] with x hx |
| 101 | rw [hx, norm_mul] |
| 102 | exact (mul_le_of_le_one_left (norm_nonneg _) (norm_fourier_truncatedKernel_le n i j (spaceProj x))).trans |
| 103 | (norm_classical_fourier_le g x) |
| 104 | have hlim : ∀ᵐ x ∂volume, Tendsto (fun n => F n x) atTop (𝓝 (pressureHat i j g x)) := by |
| 105 | filter_upwards [(ae_all_iff.mpr hrep), pressureHat_ae i j g] with x hx h0 |
| 106 | simpa only [hx, h0, rieszSymbol] using (fourier_truncatedKernel_tendsto i j (spaceProj x)).mul_const (𝓕 (g : Domain → ℂ) x) |
| 107 | have hh := distribution_tendsto_of_bounded hb hlim |
| 108 | simpa only [Function.comp_def, operatorL1, pressureL1, F] using |
| 109 | (continuous_fourierInv.tendsto (pressureHat i j g : 𝓢'(Domain, ℂ))).comp hh |
| 110 | |
| 111 | theorem regularized_tendsto (i j : Fin 3) (g : Lp ℂ 1 (volume : Measure Domain)) : |
| 112 | Tendsto (fun n => (regularizedLp n i j g : 𝓢'(Domain, ℂ))) atTop |
| 113 | (𝓝 (pressureL1 i j g)) := by |
| 114 | simpa only [operatorL1_eq_regularizedLp] using operatorL1_tendsto i j g |
| 115 | |
| 116 | /-- The convergence applies to the actual input function, independently of |
| 117 | which representative Mathlib chooses for its `Lp` class. -/ |
| 118 | theorem actual_regularized_distribution (n : ℕ) (i j : Fin 3) {g : Domain → ℂ} |
| 119 | (hg : MemLp g 1) : |
| 120 | let hn : MemLp (regularized n i j g) 1 := |
| 121 | memLp_one_iff_integrable.mpr (regularized_integrable n i j (memLp_one_iff_integrable.mp hg)) |
| 122 | operatorL1 n i j (hg.toLp g) = (hn.toLp (regularized n i j g) : 𝓢'(Domain, ℂ)) := by |
| 123 | intro hn |
| 124 | have he : frequencyL1 (hn.toLp (regularized n i j g)) = symbolLp n i j • frequencyL1 (hg.toLp g) := by |
| 125 | apply Lp.ext |
| 126 | filter_upwards [frequencyL1_ae (hn.toLp (regularized n i j g)), |
| 127 | Lp.coeFn_lpSMul (r := ⊤) (symbolLp n i j) (frequencyL1 (hg.toLp g)), symbolLp_ae n i j, |
| 128 | frequencyL1_ae (hg.toLp g)] with x hx hm hs hfreq |
| 129 | rw [hx, Real.fourier_congr_ae hn.coeFn_toLp x, |
| 130 | regularized_fourier n i j (memLp_one_iff_integrable.mp hg), hm] |
| 131 | simp only [Pi.smul_apply', smul_eq_mul, hs, hfreq, multiplier, |
| 132 | Real.fourier_congr_ae hg.coeFn_toLp x] |
| 133 | rw [operatorL1, ← he, ← fourier_L1, fourierInv_fourier_eq] |
| 134 | |
| 135 | theorem actual_regularized_test_tendsto (i j : Fin 3) {g : Domain → ℂ} |
| 136 | (hg : MemLp g 1) (φ : 𝓢(Domain, ℂ)) : |
| 137 | Tendsto (fun n => ∫ z : Domain, φ z * regularized n i j g z) atTop |
| 138 | (𝓝 (pressureL1 i j (hg.toLp g) φ)) := by |
| 139 | have hh := (PointwiseConvergenceCLM.tendsto_iff_forall_tendsto.mp |
| 140 | (operatorL1_tendsto i j (hg.toLp g))) φ |
| 141 | apply hh.congr' |
| 142 | filter_upwards with n |
| 143 | rw [actual_regularized_distribution n i j hg, Lp.toTemperedDistribution_apply] |
| 144 | apply integral_congr_ae |
| 145 | filter_upwards [(memLp_one_iff_integrable.mpr (regularized_integrable n i j (memLp_one_iff_integrable.mp hg))).coeFn_toLp] |
| 146 | with z hz |
| 147 | simp only [hz, smul_eq_mul] |
| 148 | |
| 149 | end NavierStokes.R3SpaceTimeApproximation |