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.R3.RieszSymbolRegularity |
| 2 | import NavierStokes.R3.RieszL2Bounds |
| 3 | import NavierStokes.R3.ComparisonCutoffs |
| 4 | import Mathlib.Analysis.FunctionalSpaces.SobolevInequality |
| 5 | import Mathlib.MeasureTheory.Function.LpSpace.Complete |
| 6 | import NavierStokes.R3.LpNormTools |
| 7 | import NavierStokes.R3.FourierTestDerivatives |
| 8 | import NavierStokes.R3.RieszLinearityDecay |
| 9 | |
| 10 | /-! |
| 11 | # Differential identities for the Riesz test operators |
| 12 | |
| 13 | The operators here are the actual inverse Fourier integrals from |
| 14 | `ComparisonFourierSetup`. Differentiation uses their integrable Fourier moments. |
| 15 | -/ |
| 16 | |
| 17 | /-! ## From `NavierStokes/R3/SmoothSobolevL6.lean` |
| 18 | |
| 19 | The text of `NavierStokes/R3/SmoothSobolevL6.lean`, folded into this file, which was its only importer. -/ |
| 20 | |
| 21 | section |
| 22 | |
| 23 | /-! |
| 24 | # Homogeneous Sobolev bounds for smooth square-integrable functions |
| 25 | |
| 26 | Spatial cutoffs extend the compactly supported Sobolev inequality to a smooth |
| 27 | function whose value and derivative belong to `L²`. The derivative of the |
| 28 | cutoff contributes an error tending to zero; Fatou's lemma passes to the limit. |
| 29 | -/ |
| 30 | |
| 31 | |
| 32 | noncomputable section |
| 33 | |
| 34 | open MeasureTheory Filter |
| 35 | open scoped ContDiff ENNReal Topology |
| 36 | |
| 37 | namespace NavierStokesR3.RieszTestOperators |
| 38 | |
| 39 | open ProblemStatement ComparisonCutoffs |
| 40 | |
| 41 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 42 | |
| 43 | /-- The product rule with a uniformly bounded spatial cutoff. -/ |
| 44 | theorem norm_fderiv_cutoff_smul_le {f : Space → E} (hf : ContDiff ℝ 1 f) |
| 45 | {R : ℝ} (hR : 0 < R) (x : Space) : |
| 46 | ‖fderiv ℝ (fun y => cutoff R y • f y) x‖ ≤ |
| 47 | ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by |
| 48 | change ‖fderiv ℝ (cutoff R • f) x‖ ≤ _ |
| 49 | rw [fderiv_smul ((cutoff_smooth R).differentiable (by simp) x) |
| 50 | (hf.differentiable (by simp) x)] |
| 51 | calc |
| 52 | ‖cutoff R x • fderiv ℝ f x + (fderiv ℝ (cutoff R) x).smulRight (f x)‖ |
| 53 | ≤ ‖cutoff R x • fderiv ℝ f x‖ + |
| 54 | ‖(fderiv ℝ (cutoff R) x).smulRight (f x)‖ := norm_add_le _ _ |
| 55 | _ = cutoff R x * ‖fderiv ℝ f x‖ + ‖fderiv ℝ (cutoff R) x‖ * ‖f x‖ := by |
| 56 | rw [_root_.norm_smul (cutoff R x) (fderiv ℝ f x), Real.norm_eq_abs, |
| 57 | abs_of_nonneg (cutoff_nonneg R x), |
| 58 | ContinuousLinearMap.norm_smulRight_apply] |
| 59 | _ ≤ 1 * ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by |
| 60 | exact add_le_add |
| 61 | (mul_le_mul_of_nonneg_right (cutoff_le_one R x) (norm_nonneg _)) |
| 62 | (mul_le_mul_of_nonneg_right (cutoff_fderiv_le hR x) (norm_nonneg _)) |
| 63 | _ = ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by rw [one_mul] |
| 64 | |
| 65 | /-- The cutoff derivative has a vanishing `L²` error. -/ |
| 66 | theorem eLpNorm_fderiv_cutoff_smul_le {f : Space → E} (hf : ContDiff ℝ 1 f) |
| 67 | {R : ℝ} (hR : 0 < R) : |
| 68 | eLpNorm (fderiv ℝ (fun y => cutoff R y • f y)) 2 volume ≤ |
| 69 | eLpNorm (fderiv ℝ f) 2 volume + |
| 70 | ENNReal.ofReal (derivativeConstant 1 / R) * eLpNorm f 2 volume := by |
| 71 | calc |
| 72 | eLpNorm (fderiv ℝ (fun y => cutoff R y • f y)) 2 volume |
| 73 | ≤ eLpNorm (fun x => ‖fderiv ℝ f x‖ + |
| 74 | (derivativeConstant 1 / R) * ‖f x‖) 2 volume := |
| 75 | eLpNorm_mono_real (norm_fderiv_cutoff_smul_le hf hR) |
| 76 | _ ≤ eLpNorm (fun x => ‖fderiv ℝ f x‖) 2 volume + |
| 77 | eLpNorm (fun x => (derivativeConstant 1 / R) * ‖f x‖) 2 volume := |
| 78 | eLpNorm_add_le (hf.continuous_fderiv (by simp)).norm.aestronglyMeasurable |
| 79 | (continuous_const.mul hf.continuous.norm).aestronglyMeasurable (by norm_num) |
| 80 | _ = eLpNorm (fderiv ℝ f) 2 volume + |
| 81 | ENNReal.ofReal (derivativeConstant 1 / R) * eLpNorm f 2 volume := by |
| 82 | rw [eLpNorm_norm] |
| 83 | change _ + eLpNorm ((derivativeConstant 1 / R) • (fun x => ‖f x‖)) 2 volume = _ |
| 84 | rw [eLpNorm_const_smul, eLpNorm_norm, Real.enorm_eq_ofReal |
| 85 | (div_nonneg (derivativeConstant_pos 1).le hR.le)] |
| 86 | |
| 87 | /-- The homogeneous `H¹ → L⁶` inequality without a support assumption. |
| 88 | Only the function itself must have finite `L²` norm for this extended-norm |
| 89 | inequality; the right side may be infinite. -/ |
| 90 | theorem smooth_eLpNorm_six_le {f : Space → E} (hf : ContDiff ℝ 1 f) |
| 91 | (h2 : MemLp f 2 volume) : |
| 92 | eLpNorm f 6 volume ≤ |
| 93 | (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ≥0∞) * |
| 94 | eLpNorm (fderiv ℝ f) 2 volume := by |
| 95 | let C : ℝ≥0∞ := eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 |
| 96 | let D : ℝ≥0∞ := eLpNorm (fderiv ℝ f) 2 volume |
| 97 | let M : ℝ≥0∞ := eLpNorm f 2 volume |
| 98 | let u : ℕ → Space → E := fun n x => cutoff (n : ℝ) x • f x |
| 99 | have hu (n : ℕ) : ContDiff ℝ 1 (u n) := |
| 100 | ((cutoff_smooth (n : ℝ)).of_le (by simp)).smul hf |
| 101 | have hnat : Tendsto (fun n : ℕ => (n : ℝ)) atTop atTop := |
| 102 | tendsto_natCast_atTop_atTop |
| 103 | have hpointwise (x : Space) : |
| 104 | Tendsto (fun n => u n x) atTop (𝓝 (f x)) := by |
| 105 | apply tendsto_nhds_of_eventually_eq |
| 106 | filter_upwards [hnat.eventually (eventually_cutoff_eq_one x)] with n hn |
| 107 | simp only [u, hn, one_smul] |
| 108 | have hfatou : eLpNorm f 6 volume ≤ |
| 109 | atTop.liminf (fun n => eLpNorm (u n) 6 volume) := |
| 110 | Lp.eLpNorm_lim_le_liminf_eLpNorm |
| 111 | (fun n => (hu n).continuous.aestronglyMeasurable) f |
| 112 | (Filter.Eventually.of_forall hpointwise) |
| 113 | have hn_dim : Module.finrank ℝ Space = 3 := by |
| 114 | simp [Space, NavierStokes.ProblemStatement.Space] |
| 115 | have hbound : ∀ᶠ n : ℕ in atTop, |
| 116 | eLpNorm (u n) 6 volume ≤ |
| 117 | C * (D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) := by |
| 118 | filter_upwards [eventually_ge_atTop (1 : ℕ)] with n hn |
| 119 | have hnR : 0 < (n : ℝ) := by |
| 120 | exact_mod_cast (lt_of_lt_of_le Nat.zero_lt_one hn) |
| 121 | have hcompact : HasCompactSupport (u n) := |
| 122 | (cutoff_hasCompactSupport hnR).smul_right |
| 123 | have hSob := eLpNorm_le_eLpNorm_fderiv_of_eq_inner (volume : Measure Space) |
| 124 | (hu n) hcompact (p := 2) (p' := 6) (by norm_num) (by omega) |
| 125 | (by rw [hn_dim]; norm_num) |
| 126 | have hSob' : eLpNorm (u n) 6 volume ≤ |
| 127 | C * eLpNorm (fderiv ℝ (u n)) 2 volume := by |
| 128 | simpa [C] using hSob |
| 129 | exact hSob'.trans |
| 130 | (mul_le_mul_right (eLpNorm_fderiv_cutoff_smul_le hf hnR) C) |
| 131 | have herr : Tendsto |
| 132 | (fun n : ℕ => ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) |
| 133 | atTop (𝓝 0) := by |
| 134 | simpa using ENNReal.Tendsto.mul_const |
| 135 | (ENNReal.tendsto_ofReal |
| 136 | (tendsto_const_div_atTop_nhds_zero_nat (derivativeConstant 1))) |
| 137 | (Or.inr h2.eLpNorm_ne_top) |
| 138 | have hsum : Tendsto |
| 139 | (fun n : ℕ => D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) |
| 140 | atTop (𝓝 (D + 0)) := |
| 141 | tendsto_const_nhds.add herr |
| 142 | have hlimit : Tendsto |
| 143 | (fun n : ℕ => C * (D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M)) |
| 144 | atTop (𝓝 (C * D)) := by |
| 145 | simpa only [add_zero] using ENNReal.Tendsto.const_mul hsum |
| 146 | (Or.inr (show C ≠ (⊤ : ℝ≥0∞) from ENNReal.coe_ne_top)) |
| 147 | exact hfatou.trans ((Filter.liminf_le_liminf hbound).trans_eq hlimit.liminf_eq) |
| 148 | |
| 149 | /-- A smooth function with square-integrable value and derivative belongs to |
| 150 | `L⁶`, with no support hypothesis. -/ |
| 151 | theorem smooth_memLp_six {f : Space → E} (hf : ContDiff ℝ 1 f) |
| 152 | (h2 : MemLp f 2 volume) (hD2 : MemLp (fderiv ℝ f) 2 volume) : |
| 153 | MemLp f 6 volume := by |
| 154 | refine ⟨hf.continuous.aestronglyMeasurable, (smooth_eLpNorm_six_le hf h2).trans_lt ?_⟩ |
| 155 | exact ENNReal.mul_lt_top ENNReal.coe_lt_top hD2.2 |
| 156 | |
| 157 | /-- The real-valued homogeneous Sobolev bound when both `L²` norms are finite. -/ |
| 158 | theorem smooth_eLpNorm_six_toReal_le {f : Space → E} (hf : ContDiff ℝ 1 f) |
| 159 | (h2 : MemLp f 2 volume) (hD2 : MemLp (fderiv ℝ f) 2 volume) : |
| 160 | (eLpNorm f 6 volume).toReal ≤ |
| 161 | (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * |
| 162 | (eLpNorm (fderiv ℝ f) 2 volume).toReal := by |
| 163 | have hfinite : |
| 164 | (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ≥0∞) * |
| 165 | eLpNorm (fderiv ℝ f) 2 volume ≠ (⊤ : ℝ≥0∞) := |
| 166 | (ENNReal.mul_lt_top ENNReal.coe_lt_top hD2.2).ne |
| 167 | simpa only [ENNReal.toReal_mul, ENNReal.coe_toReal] using |
| 168 | ENNReal.toReal_mono hfinite (smooth_eLpNorm_six_le hf h2) |
| 169 | |
| 170 | end NavierStokesR3.RieszTestOperators |
| 171 | end |
| 172 | |
| 173 | end |
| 174 | |
| 175 | noncomputable section |
| 176 | |
| 177 | open MeasureTheory |
| 178 | open scoped ContDiff FourierTransform RealInnerProductSpace BigOperators ENNReal |
| 179 | |
| 180 | namespace NavierStokesR3.RieszTestOperators |
| 181 | |
| 182 | open ProblemStatement Comparison |
| 183 | open HarmonicTestFunctionals |
| 184 | |
| 185 | /-- A coordinate derivative, retained as a Schwartz function. -/ |
| 186 | abbrev partialTest (k : Fin 3) (ψ : ComplexTest) : ComplexTest := |
| 187 | LineDeriv.lineDerivOpCLM ℂ ComplexTest (NavierStokes.ProblemStatement.coordinateVector k) ψ |
| 188 | |
| 189 | @[simp] theorem partialTest_apply (k : Fin 3) (ψ : ComplexTest) (x : Space) : |
| 190 | partialTest k ψ x = Comparison.partialD k (fun y => ψ y) x := rfl |
| 191 | |
| 192 | /-- The Fourier transform of a directional derivative of a Schwartz function. -/ |
| 193 | theorem fourier_pderivTest (ψ : ComplexTest) (d ξ : Space) : |
| 194 | (FourierTransform.fourierCLE ℂ ComplexTest (LineDeriv.lineDerivOpCLM ℂ ComplexTest d ψ)) ξ = |
| 195 | (2 * Real.pi * Complex.I) * (⟪ξ, d⟫ : ℂ) * |
| 196 | (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by |
| 197 | have hD : Integrable (fderiv ℝ (fun y => ψ y)) := |
| 198 | (SchwartzMap.fderivCLM ℂ Space ℂ ψ).integrable |
| 199 | change 𝓕 (fun x => fderiv ℝ (fun y => ψ y) x d) ξ = _ |
| 200 | rw [← Real.fourier_continuousLinearMap_apply hD, |
| 201 | Real.fourier_fderiv ψ.integrable ψ.differentiable hD] |
| 202 | simp only [VectorFourier.fourierSMulRight_apply, _root_.neg_apply, Complex.real_smul, smul_eq_mul, Complex.ofReal_neg, |
| 203 | FourierTransform.fourierCLE_apply, SchwartzMap.fourier_coe] |
| 204 | erw [innerSL_apply_apply] |
| 205 | ring |
| 206 | |
| 207 | /-- An integrable first Fourier moment permits differentiation of the inverse |
| 208 | Fourier integral in every direction. -/ |
| 209 | theorem fderiv_fourierInv_apply {f : Space → ℂ} (hf : Integrable f) |
| 210 | (hf1 : Integrable (fun ξ : Space => ‖ξ‖ * ‖f ξ‖)) (x d : Space) : |
| 211 | fderiv ℝ (𝓕⁻ f) x d = |
| 212 | 𝓕⁻ (fun ξ : Space => |
| 213 | (2 * Real.pi * Complex.I) * (⟪ξ, d⟫ : ℂ) * f ξ) x := by |
| 214 | let L : Space →L[ℝ] Space →L[ℝ] ℝ := |
| 215 | -(innerSL ℝ : Space →L[ℝ] Space →L[ℝ] ℝ) |
| 216 | have hL : L.toLinearMap₁₂ = -innerₗ Space := rfl |
| 217 | have hR : Integrable (VectorFourier.fourierSMulRight L f) := by |
| 218 | refine (hf1.const_mul (2 * Real.pi * ‖L‖)).mono' |
| 219 | hf.aestronglyMeasurable.fourierSMulRight ?_ |
| 220 | filter_upwards with ξ |
| 221 | exact (VectorFourier.norm_fourierSMulRight_le L f ξ).trans_eq (by ring) |
| 222 | have hd : fderiv ℝ (𝓕⁻ f) x = |
| 223 | 𝓕⁻ (VectorFourier.fourierSMulRight L f) x := by |
| 224 | simpa only [FourierTransform.fourierInv, hL] using |
| 225 | (VectorFourier.hasFDerivAt_fourierIntegral L hf hf1 x).fderiv |
| 226 | rw [hd] |
| 227 | have heval : (𝓕⁻ (VectorFourier.fourierSMulRight L f) x) d = |
| 228 | 𝓕⁻ (fun ξ => VectorFourier.fourierSMulRight L f ξ d) x := by |
| 229 | simpa only [FourierTransform.fourierInv, hL] using |
| 230 | (Real.fourierIntegral_continuousLinearMap_apply' |
| 231 | (L := L) (a := d) (w := x) hR) |
| 232 | rw [heval] |
| 233 | apply congrArg (fun g : Space → ℂ => 𝓕⁻ g x) |
| 234 | funext ξ |
| 235 | simp only [L, VectorFourier.fourierSMulRight_apply, _root_.neg_apply, Complex.real_smul, smul_eq_mul, Complex.ofReal_neg] |
| 236 | erw [innerSL_apply_apply] |
| 237 | ring |
| 238 | |
| 239 | /-- Riesz transforms commute with directional derivatives on Schwartz inputs. -/ |
| 240 | theorem pderiv_rieszTest (i j : Fin 3) (ψ : ComplexTest) (d x : Space) : |
| 241 | fderiv ℝ (rieszTest i j ψ) x d = |
| 242 | rieszTest i j (LineDeriv.lineDerivOpCLM ℂ ComplexTest d ψ) x := by |
| 243 | change fderiv ℝ (𝓕⁻ (fun ξ : Space => |
| 244 | (rieszSymbol i j ξ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ)) x d = _ |
| 245 | rw [fderiv_fourierInv_apply (integrable_rieszMultiplier i j ψ) |
| 246 | (by simpa only [pow_one] using integrable_pow_mul_norm_rieszMultiplier i j ψ 1)] |
| 247 | unfold rieszTest |
| 248 | apply congrArg (fun g : Space → ℂ => 𝓕⁻ g x) |
| 249 | funext ξ |
| 250 | rw [fourier_pderivTest] |
| 251 | ring |
| 252 | |
| 253 | theorem partial_rieszTest (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) (x : Space) : |
| 254 | Comparison.partialD k (rieszTest i j ψ) x = rieszTest i j (partialTest k ψ) x := |
| 255 | pderiv_rieszTest i j ψ (NavierStokes.ProblemStatement.coordinateVector k) x |
| 256 | |
| 257 | theorem partial_rieszTest_eq (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : |
| 258 | Comparison.partialD k (rieszTest i j ψ) = rieszTest i j (partialTest k ψ) := |
| 259 | funext (partial_rieszTest i j ψ k) |
| 260 | |
| 261 | theorem memLp_partial_rieszTest (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : |
| 262 | MemLp (Comparison.partialD k (rieszTest i j ψ)) 2 volume := by |
| 263 | rw [partial_rieszTest_eq] |
| 264 | exact memLp_rieszTest i j (partialTest k ψ) |
| 265 | |
| 266 | theorem integral_norm_sq_partial_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) |
| 267 | (k : Fin 3) : |
| 268 | (∫ x : Space, ‖Comparison.partialD k (rieszTest i j ψ) x‖ ^ 2) ≤ |
| 269 | ∫ x : Space, ‖Comparison.partialD k (fun y => ψ y) x‖ ^ 2 := by |
| 270 | rw [partial_rieszTest_eq] |
| 271 | simpa only [partialTest_apply] using |
| 272 | integral_norm_sq_rieszTest_le i j (partialTest k ψ) |
| 273 | |
| 274 | theorem lpNorm_two_partial_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) |
| 275 | (k : Fin 3) : |
| 276 | comparisonLpNorm 2 (Comparison.partialD k (rieszTest i j ψ)) ≤ |
| 277 | comparisonLpNorm 2 (Comparison.partialD k (fun y => ψ y)) := by |
| 278 | have hψ : MemLp (Comparison.partialD k (fun y => ψ y)) 2 volume := |
| 279 | (partialTest k ψ).memLp 2 volume |
| 280 | have h := integral_norm_sq_partial_rieszTest_le i j ψ k |
| 281 | change l2Sq (Comparison.partialD k (rieszTest i j ψ)) ≤ |
| 282 | l2Sq (Comparison.partialD k (fun y => ψ y)) at h |
| 283 | rw [← LpNormTools.lpNorm_two_sq_eq_l2Sq (memLp_partial_rieszTest i j ψ k), |
| 284 | ← LpNormTools.lpNorm_two_sq_eq_l2Sq hψ] at h |
| 285 | exact (sq_le_sq₀ (LpNormTools.lpNorm_nonneg _ _) (LpNormTools.lpNorm_nonneg _ _)).mp h |
| 286 | |
| 287 | /-- The three coordinate columns control the operator norm of a real-linear map. -/ |
| 288 | theorem norm_clm_le_sum_coordinate_norms {E : Type*} [NormedAddCommGroup E] |
| 289 | [NormedSpace ℝ E] (A : Space →L[ℝ] E) : |
| 290 | ‖A‖ ≤ ∑ k : Fin 3, ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖ := by |
| 291 | apply A.opNorm_le_bound (Finset.sum_nonneg fun _ _ => norm_nonneg _) |
| 292 | intro v |
| 293 | have hsplit : A v = ∑ k : Fin 3, |
| 294 | v k • A (NavierStokes.ProblemStatement.coordinateVector k) := by |
| 295 | conv_lhs => rw [← NavierStokes.PeriodicUniqueness.sum_coordinates v] |
| 296 | simp only [map_sum, map_smul] |
| 297 | rw [hsplit] |
| 298 | calc |
| 299 | ‖∑ k : Fin 3, v k • A (NavierStokes.ProblemStatement.coordinateVector k)‖ ≤ |
| 300 | ∑ k : Fin 3, ‖v k • A (NavierStokes.ProblemStatement.coordinateVector k)‖ := |
| 301 | norm_sum_le _ _ |
| 302 | _ ≤ ∑ k : Fin 3, ‖v‖ * ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖ := by |
| 303 | apply Finset.sum_le_sum |
| 304 | intro k _ |
| 305 | rw [norm_smul] |
| 306 | exact mul_le_mul_of_nonneg_right (PiLp.norm_apply_le v k) (norm_nonneg _) |
| 307 | _ = (∑ k : Fin 3, ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖) * ‖v‖ := by |
| 308 | rw [← Finset.mul_sum, mul_comm] |
| 309 | |
| 310 | private theorem memLp_partial_norm_sum (i j : Fin 3) (ψ : ComplexTest) : |
| 311 | MemLp (fun x : Space => ∑ k : Fin 3, |
| 312 | ‖Comparison.partialD k (rieszTest i j ψ) x‖) 2 volume := by |
| 313 | exact MeasureTheory.memLp_finsetSum Finset.univ |
| 314 | (fun k _ => (memLp_partial_rieszTest i j ψ k).norm) |
| 315 | |
| 316 | /-- The complete spatial derivative has a finite `L²` norm. -/ |
| 317 | theorem memLp_fderiv_rieszTest (i j : Fin 3) (ψ : ComplexTest) : |
| 318 | MemLp (fderiv ℝ (rieszTest i j ψ)) 2 volume := by |
| 319 | have hC1 : ContDiff ℝ 1 (rieszTest i j ψ) := |
| 320 | (contDiff_rieszTest i j ψ).of_le (by simp) |
| 321 | refine (memLp_partial_norm_sum i j ψ).mono' |
| 322 | (hC1.continuous_fderiv (by simp)).aestronglyMeasurable ?_ |
| 323 | filter_upwards with x |
| 324 | exact norm_clm_le_sum_coordinate_norms (fderiv ℝ (rieszTest i j ψ) x) |
| 325 | |
| 326 | private theorem lpNorm_two_fin3_sum_le {E : Type*} [NormedAddCommGroup E] |
| 327 | (f : Fin 3 → Space → E) (hf : ∀ k, MemLp (f k) 2 volume) : |
| 328 | comparisonLpNorm 2 (fun x => ∑ k : Fin 3, f k x) ≤ ∑ k : Fin 3, comparisonLpNorm 2 (f k) := by |
| 329 | have h := (LpNormTools.lpNorm_add_le (by norm_num : (1 : ℝ≥0∞) ≤ 2) |
| 330 | ((hf 0).add (hf 1)) (hf 2)).trans |
| 331 | (add_le_add_left (LpNormTools.lpNorm_add_le |
| 332 | (by norm_num : (1 : ℝ≥0∞) ≤ 2) (hf 0) (hf 1)) _) |
| 333 | simpa only [Fin.sum_univ_three, Pi.add_apply, add_assoc] using h |
| 334 | |
| 335 | theorem lpNorm_two_fderiv_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) : |
| 336 | comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) ≤ |
| 337 | 3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by |
| 338 | have hDψ : MemLp (fderiv ℝ (fun y => ψ y)) 2 volume := |
| 339 | (SchwartzMap.fderivCLM ℂ Space ℂ ψ).memLp 2 volume |
| 340 | have hcol (k : Fin 3) (x : Space) : |
| 341 | ‖Comparison.partialD k (fun y => ψ y) x‖ ≤ ‖fderiv ℝ (fun y => ψ y) x‖ := by |
| 342 | simpa only [Comparison.partialD, NavierStokes.PeriodicIntegration.spatialPartial, |
| 343 | NavierStokes.ProblemStatement.coordinateVector, PiLp.norm_single, |
| 344 | norm_one, mul_one] using |
| 345 | (fderiv ℝ (fun y => ψ y) x).le_opNorm |
| 346 | (NavierStokes.ProblemStatement.coordinateVector k) |
| 347 | calc |
| 348 | comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) ≤ |
| 349 | comparisonLpNorm 2 (fun x : Space => ∑ k : Fin 3, |
| 350 | ‖Comparison.partialD k (rieszTest i j ψ) x‖) := by |
| 351 | apply LpNormTools.lpNorm_mono_of_norm_le (memLp_partial_norm_sum i j ψ) |
| 352 | intro x |
| 353 | rw [Real.norm_of_nonneg (Finset.sum_nonneg fun _ _ => norm_nonneg _)] |
| 354 | exact norm_clm_le_sum_coordinate_norms (fderiv ℝ (rieszTest i j ψ) x) |
| 355 | _ ≤ ∑ k : Fin 3, comparisonLpNorm 2 (fun x : Space => |
| 356 | ‖Comparison.partialD k (rieszTest i j ψ) x‖) := |
| 357 | lpNorm_two_fin3_sum_le _ (fun k => (memLp_partial_rieszTest i j ψ k).norm) |
| 358 | _ = ∑ k : Fin 3, comparisonLpNorm 2 (Comparison.partialD k (rieszTest i j ψ)) := by |
| 359 | simp only [comparisonLpNorm, eLpNorm_norm] |
| 360 | _ ≤ ∑ k : Fin 3, comparisonLpNorm 2 (Comparison.partialD k (fun y => ψ y)) := by |
| 361 | exact Finset.sum_le_sum fun k _ => lpNorm_two_partial_rieszTest_le i j ψ k |
| 362 | _ ≤ ∑ _k : Fin 3, comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by |
| 363 | exact Finset.sum_le_sum fun k _ => |
| 364 | LpNormTools.lpNorm_mono_of_norm_le hDψ (hcol k) |
| 365 | _ = 3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by simp |
| 366 | |
| 367 | theorem memLp_rieszTest_six (i j : Fin 3) (ψ : ComplexTest) : |
| 368 | MemLp (rieszTest i j ψ) 6 volume := |
| 369 | smooth_memLp_six ((contDiff_rieszTest i j ψ).of_le (by simp)) |
| 370 | (memLp_rieszTest i j ψ) (memLp_fderiv_rieszTest i j ψ) |
| 371 | |
| 372 | /-- The homogeneous `L⁶` estimate needed in the pressure flux. Both the output |
| 373 | and its derivative have genuine finite norms by the membership theorems above. -/ |
| 374 | theorem lpNorm_six_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) : |
| 375 | comparisonLpNorm 6 (rieszTest i j ψ) ≤ |
| 376 | 3 * (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * |
| 377 | comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by |
| 378 | have h := smooth_eLpNorm_six_toReal_le |
| 379 | ((contDiff_rieszTest i j ψ).of_le (by simp)) |
| 380 | (memLp_rieszTest i j ψ) (memLp_fderiv_rieszTest i j ψ) |
| 381 | change comparisonLpNorm 6 (rieszTest i j ψ) ≤ |
| 382 | (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * |
| 383 | comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) at h |
| 384 | calc |
| 385 | _ ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * |
| 386 | comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) := h |
| 387 | _ ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * |
| 388 | (3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y))) := |
| 389 | mul_le_mul_of_nonneg_left (lpNorm_two_fderiv_rieszTest_le i j ψ) (by positivity) |
| 390 | _ = _ := by ring |
| 391 | |
| 392 | /-- Applying the test operator to the ordinary Laplacian recovers the negative |
| 393 | mixed derivative. The multiplier identity is valid also at frequency zero. -/ |
| 394 | theorem rieszTest_laplacianCLM (i j : Fin 3) (ψ : ComplexTest) (x : Space) : |
| 395 | rieszTest i j (laplacianCLM ψ) x = |
| 396 | -(partialCLM i (partialCLM j ψ)) x := by |
| 397 | have hmult (ξ : Space) : |
| 398 | (rieszSymbol i j ξ : ℂ) * |
| 399 | (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ = |
| 400 | (FourierTransform.fourierCLE ℂ ComplexTest (-(partialCLM i (partialCLM j ψ)))) ξ := by |
| 401 | rw [map_neg] |
| 402 | change (rieszSymbol i j ξ : ℂ) * |
| 403 | (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ = |
| 404 | -((FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i (partialCLM j ψ))) ξ) |
| 405 | rw [fourier_laplacianCLM_apply, fourier_partialCLM_apply, fourier_partialCLM_apply] |
| 406 | have hsymbol : (rieszSymbol i j ξ : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) = |
| 407 | -((ξ i : ℂ) * (ξ j : ℂ)) := by |
| 408 | exact_mod_cast rieszSymbol_mul_norm_sq i j ξ |
| 409 | calc |
| 410 | _ = -(4 * (Real.pi : ℂ) ^ 2) * |
| 411 | ((rieszSymbol i j ξ : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ)) * |
| 412 | (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by ring |
| 413 | _ = _ := by |
| 414 | rw [hsymbol] |
| 415 | ring_nf |
| 416 | simp [Complex.I_sq] |
| 417 | have hfun : (fun ξ : Space => (rieszSymbol i j ξ : ℂ) * |
| 418 | (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ) = |
| 419 | (FourierTransform.fourierCLE ℂ ComplexTest (-(partialCLM i (partialCLM j ψ))) : |
| 420 | Space → ℂ) := funext hmult |
| 421 | unfold rieszTest |
| 422 | rw [hfun] |
| 423 | have hinv := congrArg (fun φ : ComplexTest => φ x) |
| 424 | ((FourierTransform.fourierCLE ℂ ComplexTest).symm_apply_apply |
| 425 | (-(partialCLM i (partialCLM j ψ)))) |
| 426 | simpa only [FourierTransform.fourierCLE_symm_apply, SchwartzMap.fourierInv_coe] using! hinv |
| 427 | |
| 428 | /-- The canonical pressure functional solves the test-function Poisson equation. -/ |
| 429 | theorem pressurePair_laplacianCLM (i j : Fin 3) (g : Space → ℝ) (ψ : ComplexTest) : |
| 430 | pressurePair i j g (laplacianCLM ψ) = |
| 431 | -(∫ x : Space, (g x : ℂ) * (partialCLM i (partialCLM j ψ)) x) := by |
| 432 | simp only [pressurePair, rieszTest_laplacianCLM, mul_neg, integral_neg] |
| 433 | |
| 434 | end NavierStokesR3.RieszTestOperators |