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.R3SpaceTimeHarmonic |
| 2 | |
| 3 | /-! |
| 4 | # Spatial pressure on Euclidean space-time |
| 5 | |
| 6 | The bounded spatial Riesz symbol acts on the Fourier transform of integrable |
| 7 | space-time stresses. Spatially harmonic ambiguities vanish in the Sobolev |
| 8 | class supplied by the finite-energy equation. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | namespace NavierStokes.R3SpaceTimePressure |
| 13 | |
| 14 | open Set Filter MeasureTheory TemperedDistribution FourierTransform R3SpaceTime |
| 15 | open scoped SchwartzMap Laplacian LineDeriv Topology ENNReal ContDiff |
| 16 | |
| 17 | def rieszSymbol (i j : Fin 3) (z : Domain) : ℂ := |
| 18 | R3PressureFourier.rieszSymbol i j (spaceProj z) |
| 19 | |
| 20 | theorem rieszSymbol_measurable (i j : Fin 3) : Measurable (rieszSymbol i j) := |
| 21 | (R3PressureFourier.rieszSymbol_measurable i j).comp spaceProj.continuous.measurable |
| 22 | |
| 23 | theorem norm_rieszSymbol_le (i j : Fin 3) (z : Domain) : ‖rieszSymbol i j z‖ ≤ 1 := |
| 24 | R3PressureFourier.norm_rieszSymbol_le i j (spaceProj z) |
| 25 | |
| 26 | theorem rieszSymbol_memLp (i j : Fin 3) : MemLp (rieszSymbol i j) ⊤ := |
| 27 | memLp_top_of_bound (rieszSymbol_measurable i j).aestronglyMeasurable 1 |
| 28 | (Eventually.of_forall (norm_rieszSymbol_le i j)) |
| 29 | |
| 30 | def rieszSymbolLp (i j : Fin 3) : Lp ℂ ⊤ (volume : Measure Domain) := |
| 31 | (rieszSymbol_memLp i j).toLp (rieszSymbol i j) |
| 32 | |
| 33 | theorem rieszSymbolLp_ae (i j : Fin 3) : |
| 34 | rieszSymbolLp i j =ᵐ[volume] rieszSymbol i j := |
| 35 | (rieszSymbol_memLp i j).coeFn_toLp |
| 36 | |
| 37 | def frequencyL1 (f : Lp ℂ 1 (volume : Measure Domain)) : Lp ℂ ⊤ (volume : Measure Domain) := |
| 38 | (Real.Lp.fourierTransform f).memLp_top.toLp (Real.Lp.fourierTransform f) |
| 39 | |
| 40 | theorem frequencyL1_ae (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 41 | frequencyL1 f =ᵐ[volume] 𝓕 (f : Domain → ℂ) := |
| 42 | (Real.Lp.fourierTransform f).memLp_top.coeFn_toLp |
| 43 | |
| 44 | /-- The Fourier transform of an `L¹` distribution is its bounded classical |
| 45 | Fourier transform, regarded as an `L∞` distribution. -/ |
| 46 | theorem fourier_L1 (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 47 | 𝓕 (f : 𝓢'(Domain, ℂ)) = (frequencyL1 f : 𝓢'(Domain, ℂ)) := by |
| 48 | ext φ |
| 49 | simp only [TemperedDistribution.fourier_apply, Lp.toTemperedDistribution_apply (μ := (volume : Measure Domain))] |
| 50 | have hswap := VectorFourier.integral_fourierIntegral_smul_eq_flip |
| 51 | (f := (φ : Domain → ℂ)) (g := (f : Domain → ℂ)) |
| 52 | (μ := (volume : Measure Domain)) (ν := (volume : Measure Domain)) |
| 53 | (L := innerₗ Domain) Real.continuous_fourierChar continuous_inner φ.integrable |
| 54 | (L1.integrable_coeFn f) |
| 55 | calc |
| 56 | _ = ∫ x : Domain, φ x • (𝓕 (f : Domain → ℂ)) x := by |
| 57 | convert! hswap using 1 |
| 58 | congr 1 |
| 59 | funext x |
| 60 | congr 1 |
| 61 | rw [Real.fourier_eq] |
| 62 | unfold VectorFourier.fourierIntegral |
| 63 | apply integral_congr_ae |
| 64 | filter_upwards with y |
| 65 | simp only [LinearMap.flip_apply, innerₗ_apply_apply, real_inner_comm] |
| 66 | _ = _ := by |
| 67 | apply integral_congr_ae |
| 68 | filter_upwards [frequencyL1_ae f] with x hx |
| 69 | rw [hx] |
| 70 | |
| 71 | def pressureHat (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 72 | Lp ℂ ⊤ (volume : Measure Domain) := rieszSymbolLp i j • frequencyL1 f |
| 73 | |
| 74 | /-- `R_i R_j f`, defined for arbitrary integrable data. -/ |
| 75 | def pressureL1 (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : 𝓢'(Domain, ℂ) := |
| 76 | 𝓕⁻ (pressureHat i j f : 𝓢'(Domain, ℂ)) |
| 77 | |
| 78 | theorem pressureHat_ae (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 79 | pressureHat i j f =ᵐ[volume] |
| 80 | fun x => rieszSymbol i j x * (𝓕 (f : Domain → ℂ)) x := by |
| 81 | filter_upwards [Lp.coeFn_lpSMul (r := ⊤) (rieszSymbolLp i j) (frequencyL1 f), |
| 82 | rieszSymbolLp_ae i j, frequencyL1_ae f] with x hm hs hf |
| 83 | change pressureHat i j f x = _ at hm ⊢ |
| 84 | simpa only [Pi.smul_apply', smul_eq_mul, hs, hf] using hm |
| 85 | |
| 86 | def sobolevWeight (x : Domain) : ℂ := |
| 87 | Complex.ofReal ((1 + ‖x‖ ^ 2) ^ (-2 : ℝ)) |
| 88 | |
| 89 | theorem sobolevWeight_temperate : sobolevWeight.HasTemperateGrowth := by |
| 90 | unfold sobolevWeight |
| 91 | fun_prop |
| 92 | |
| 93 | theorem sobolevWeight_memLp : MemLp sobolevWeight 2 := by |
| 94 | apply (memLp_two_iff_integrable_sq_norm |
| 95 | sobolevWeight_temperate.1.continuous.aestronglyMeasurable).mpr |
| 96 | have hi : Integrable (fun x : Domain => (1 + ‖x‖ ^ 2) ^ (-4 : ℝ)) := by |
| 97 | convert! (integrable_rpow_neg_one_add_norm_sq |
| 98 | (μ := (volume : Measure Domain)) (r := 8) (by norm_num [finrank_domain])) using 1 |
| 99 | norm_num |
| 100 | apply hi.congr |
| 101 | filter_upwards with x |
| 102 | have hwpos : 0 ≤ (1 + ‖x‖ ^ 2) ^ (-2 : ℝ) := Real.rpow_nonneg (by positivity) _ |
| 103 | simp only [sobolevWeight, Complex.norm_real, Real.norm_eq_abs, |
| 104 | abs_of_nonneg hwpos] |
| 105 | rw [← Real.rpow_mul_natCast (by positivity)] |
| 106 | norm_num |
| 107 | |
| 108 | /-- A bounded Fourier representative gives the required negative Sobolev |
| 109 | regularity. This avoids assigning a pointwise value to the pressure itself. -/ |
| 110 | theorem inverse_fourier_memSobolev (F : Lp ℂ ⊤ (volume : Measure Domain)) : |
| 111 | MemSobolev (-4) 2 (𝓕⁻ (F : 𝓢'(Domain, ℂ))) := by |
| 112 | apply memSobolev_iff_exists_smulLeftCLM_fourier.mpr |
| 113 | use (sobolevWeight_memLp.toLp sobolevWeight • F : Lp ℂ 2 volume) |
| 114 | rw [fourier_fourierInv_eq] |
| 115 | have he := Lp.toTemperedDistribution_smul_eq (p := 2) (q := ⊤) (r := 2) |
| 116 | sobolevWeight_temperate sobolevWeight_memLp F |
| 117 | have hw : (fun x : Domain => Complex.ofReal ((1 + ‖x‖ ^ 2) ^ ((-4 : ℝ) / 2))) = |
| 118 | sobolevWeight := by |
| 119 | funext x |
| 120 | simp only [sobolevWeight, show (-4 : ℝ) / 2 = -2 by norm_num] |
| 121 | rw [hw] |
| 122 | exact he.symm |
| 123 | |
| 124 | theorem pressureL1_memSobolev (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 125 | MemSobolev (-4) 2 (pressureL1 i j f) := |
| 126 | inverse_fourier_memSobolev _ |
| 127 | |
| 128 | theorem lp_memSobolev (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 129 | MemSobolev (-4) 2 (f : 𝓢'(Domain, ℂ)) := by |
| 130 | have hh := inverse_fourier_memSobolev (frequencyL1 f) |
| 131 | rw [← fourier_L1, fourierInv_fourier_eq] at hh |
| 132 | exact hh |
| 133 | |
| 134 | theorem rieszSymbol_poisson (i j : Fin 3) (z : Domain) : |
| 135 | laplacianSymbol z * rieszSymbol i j z = -(coordinateSymbol i z * coordinateSymbol j z) := |
| 136 | R3PressureFourier.rieszSymbol_poisson i j (spaceProj z) |
| 137 | |
| 138 | theorem pressureHat_poisson (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 139 | smulLeftCLM ℂ laplacianSymbol (pressureHat i j f) = |
| 140 | -smulLeftCLM ℂ (coordinateSymbol i * coordinateSymbol j) (frequencyL1 f) := by |
| 141 | ext φ |
| 142 | simp only [smulLeftCLM_apply_apply, Lp.toTemperedDistribution_apply, |
| 143 | neg_apply, SchwartzMap.smulLeftCLM_apply_apply laplacianSymbol_temperate, |
| 144 | SchwartzMap.smulLeftCLM_apply_apply |
| 145 | ((coordinateSymbol_temperate i).mul (coordinateSymbol_temperate j))] |
| 146 | rw [← integral_neg] |
| 147 | apply integral_congr_ae |
| 148 | filter_upwards [pressureHat_ae i j f, frequencyL1_ae f] with x hp hf |
| 149 | simp only [hp, hf, Pi.mul_apply, smul_eq_mul] |
| 150 | have hsym := rieszSymbol_poisson i j x |
| 151 | linear_combination φ x * (𝓕 (f : Domain → ℂ)) x * hsym |
| 152 | |
| 153 | /-- The normalized pressure of an integrable stress component solves the |
| 154 | Poisson equation with its two distributional derivatives. -/ |
| 155 | theorem pressureL1_poisson (i j : Fin 3) (f : Lp ℂ 1 (volume : Measure Domain)) : |
| 156 | spatialLaplacian (pressureL1 i j f) = -∂_{spaceDirection i} (∂_{spaceDirection j} |
| 157 | (f : 𝓢'(Domain, ℂ))) := by |
| 158 | have he : 𝓕 (spatialLaplacian (pressureL1 i j f)) = |
| 159 | 𝓕 (-∂_{spaceDirection i} (∂_{spaceDirection j} (f : 𝓢'(Domain, ℂ)))) := by |
| 160 | rw [fourier_spatialLaplacian, pressureL1, fourier_fourierInv_eq, pressureHat_poisson, |
| 161 | FourierTransform.fourier_neg, fourier_second_derivative, fourier_L1] |
| 162 | module |
| 163 | have hi := congrArg (fun g : 𝓢'(Domain, ℂ) => 𝓕⁻ g) he |
| 164 | simpa only [fourierInv_fourier_eq] using hi |
| 165 | |
| 166 | def stressPressure (g : Fin 3 → Fin 3 → Lp ℂ 1 (volume : Measure Domain)) : 𝓢'(Domain, ℂ) := |
| 167 | ∑ i, ∑ j, pressureL1 i j (g i j) |
| 168 | |
| 169 | theorem spatialLaplacian_finset_sum {ι : Type*} (s : Finset ι) (F : ι → 𝓢'(Domain, ℂ)) : |
| 170 | spatialLaplacian (∑ i ∈ s, F i) = ∑ i ∈ s, spatialLaplacian (F i) := by |
| 171 | simp only [spatialLaplacian, LineDeriv.lineDerivOp_sum] |
| 172 | rw [Finset.sum_comm] |
| 173 | |
| 174 | theorem memSobolev_finset_sum {ι : Type*} (s : Finset ι) {r : ℝ} (F : ι → 𝓢'(Domain, ℂ)) |
| 175 | (hF : ∀ i ∈ s, MemSobolev r 2 (F i)) : MemSobolev r 2 (∑ i ∈ s, F i) := by |
| 176 | classical |
| 177 | induction s using Finset.induction_on with |
| 178 | | empty => simpa only [Finset.sum_empty] using memSobolev_fun_zero Domain ℂ r 2 |
| 179 | | @insert i s hi ih => |
| 180 | rw [Finset.sum_insert hi] |
| 181 | exact (hF i (Finset.mem_insert_self _ _)).add |
| 182 | (ih (fun j hj => hF j (Finset.mem_insert_of_mem hj))) |
| 183 | |
| 184 | /-- The pressure source for a complete integrable stress tensor. -/ |
| 185 | theorem stressPressure_poisson (g : Fin 3 → Fin 3 → Lp ℂ 1 (volume : Measure Domain)) : |
| 186 | spatialLaplacian (stressPressure g) = |
| 187 | -(∑ i, ∑ j, ∂_{spaceDirection i} (∂_{spaceDirection j} |
| 188 | (g i j : 𝓢'(Domain, ℂ)))) := by |
| 189 | simp only [stressPressure, spatialLaplacian_finset_sum, pressureL1_poisson, Finset.sum_neg_distrib] |
| 190 | |
| 191 | theorem stressPressure_memSobolev (g : Fin 3 → Fin 3 → Lp ℂ 1 (volume : Measure Domain)) : |
| 192 | MemSobolev (-4) 2 (stressPressure g) := by |
| 193 | apply memSobolev_finset_sum |
| 194 | intro i _ |
| 195 | exact memSobolev_finset_sum _ _ (fun j _ => pressureL1_memSobolev i j (g i j)) |
| 196 | |
| 197 | theorem spatialLaplacian_lineDeriv (f : 𝓢'(Domain, ℂ)) (m : Domain) : |
| 198 | spatialLaplacian (∂_{m} f) = ∂_{m} (spatialLaplacian f) := by |
| 199 | have hm : (fun x : Domain => Complex.ofReal (inner ℝ x m)).HasTemperateGrowth := by fun_prop |
| 200 | have he : 𝓕 (spatialLaplacian (∂_{m} f)) = 𝓕 (∂_{m} (spatialLaplacian f)) := by |
| 201 | simp only [fourier_spatialLaplacian, fourier_lineDerivOp_eq, map_smul, smul_smul] |
| 202 | rw [smulLeftCLM_smulLeftCLM_apply hm laplacianSymbol_temperate, |
| 203 | smulLeftCLM_smulLeftCLM_apply laplacianSymbol_temperate hm, |
| 204 | mul_comm laplacianSymbol (fun x : Domain => Complex.ofReal (inner ℝ x m))] |
| 205 | module |
| 206 | have hi := congrArg (fun g : 𝓢'(Domain, ℂ) => 𝓕⁻ g) he |
| 207 | simpa only [fourierInv_fourier_eq] using hi |
| 208 | |
| 209 | theorem eq_of_spatialLaplacian_eq {r : ℝ} {f g : 𝓢'(Domain, ℂ)} |
| 210 | (hf : MemSobolev r 2 f) (hg : MemSobolev r 2 g) |
| 211 | (he : spatialLaplacian f = spatialLaplacian g) : f = g := by |
| 212 | apply sub_eq_zero.mp |
| 213 | apply R3SpaceTimeHarmonic.eq_zero_of_spatially_harmonic_memSobolev (hf.sub hg) |
| 214 | simp only [spatialLaplacian, sub_eq_add_neg, LineDeriv.lineDerivOp_add, |
| 215 | LineDeriv.lineDerivOp_neg, Finset.sum_add_distrib, Finset.sum_neg_distrib] |
| 216 | change spatialLaplacian f + -spatialLaplacian g = 0 |
| 217 | rw [he, add_neg_cancel] |
| 218 | |
| 219 | |
| 220 | /-- In the negative Sobolev class supplied by the finite-energy equation, |
| 221 | the pressure gradient is uniquely determined by the integrable stress. -/ |
| 222 | theorem stressPressure_gradient_unique |
| 223 | (g : Fin 3 → Fin 3 → Lp ℂ 1 (volume : Measure Domain)) (m : Domain) |
| 224 | {P : 𝓢'(Domain, ℂ)} (hP : MemSobolev (-5) 2 P) |
| 225 | (hsource : spatialLaplacian P = -∂_{m} |
| 226 | (∑ i, ∑ j, ∂_{spaceDirection i} (∂_{spaceDirection j} |
| 227 | (g i j : 𝓢'(Domain, ℂ))))) : |
| 228 | P = ∂_{m} (stressPressure g) := by |
| 229 | apply eq_of_spatialLaplacian_eq hP |
| 230 | · convert! (stressPressure_memSobolev g).lineDerivOp (m := m) using 1 |
| 231 | norm_num |
| 232 | · rw [spatialLaplacian_lineDeriv, stressPressure_poisson, LineDeriv.lineDerivOp_neg] |
| 233 | exact hsource |
| 234 | |
| 235 | end NavierStokes.R3SpaceTimePressure |