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 Euler.MeanHarmonicSmallBall |
| 2 | import Mathlib.Analysis.Calculus.BumpFunction.Convolution |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.Convolution |
| 4 | |
| 5 | /-! Actual compact mollification on R³ is smooth and contractive on scalar L². -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerMeanHarmonic |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit |
| 12 | open scoped ContDiff Convolution |
| 13 | |
| 14 | def scalarMollification (φ : ContDiffBump (0 : Space)) (f : Space → ℝ) : Space → ℝ := |
| 15 | φ.normed volume ⋆[ContinuousLinearMap.lsmul ℝ ℝ, volume] f |
| 16 | |
| 17 | theorem scalarMollification_smooth (φ : ContDiffBump (0 : Space)) |
| 18 | (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 19 | ContDiff ℝ ∞ (scalarMollification φ f) := |
| 20 | φ.hasCompactSupport_normed.contDiff_convolution_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 21 | φ.contDiff_normed (hf.locallyIntegrable (by norm_num)) |
| 22 | |
| 23 | /-- The elementary variance inequality for the actual normalized convolution. -/ |
| 24 | theorem scalarMollification_sq_le (φ : ContDiffBump (0 : Space)) |
| 25 | (f : Space → ℝ) (hf : MemLp f 2 volume) (x : Space) : |
| 26 | scalarMollification φ f x ^ 2 ≤ scalarMollification φ (fun y => f y ^ 2) x := by |
| 27 | let m := scalarMollification φ f x |
| 28 | have hi : Integrable (fun y => φ.normed volume y * f (x-y)) volume := |
| 29 | φ.hasCompactSupport_normed.convolutionExists_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 30 | (φ.contDiff_normed (n := (⊤ : ℕ∞))).continuous (hf.locallyIntegrable (by norm_num)) x |
| 31 | have hf2 : Integrable (fun y => f y ^ 2) volume := |
| 32 | (memLp_two_iff_integrable_sq hf.aestronglyMeasurable).1 hf |
| 33 | have hi2 : Integrable (fun y => φ.normed volume y * f (x-y)^2) volume := |
| 34 | φ.hasCompactSupport_normed.convolutionExists_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 35 | (φ.contDiff_normed (n := (⊤ : ℕ∞))).continuous hf2.locallyIntegrable x |
| 36 | have hi0 := φ.integrable_normed (μ := (volume : Measure Space)) |
| 37 | have H : (∫ y, (2*m) * (φ.normed volume y * f (x-y)) - |
| 38 | m^2 * φ.normed volume y) ≤ ∫ y, φ.normed volume y * f (x-y)^2 := by |
| 39 | apply integral_mono ((hi.const_mul (2*m)).sub (hi0.const_mul (m^2))) hi2 |
| 40 | intro y |
| 41 | change (2*m) * (φ.normed volume y * f (x-y)) - |
| 42 | m^2 * φ.normed volume y ≤ φ.normed volume y * f (x-y)^2 |
| 43 | have h := mul_nonneg (φ.nonneg_normed (μ := (volume : Measure Space)) y) |
| 44 | (sq_nonneg (f (x-y)-m)) |
| 45 | nlinarith |
| 46 | rw [integral_sub (hi.const_mul (2*m)) (hi0.const_mul (m^2)), |
| 47 | integral_const_mul, integral_const_mul, φ.integral_normed] at H |
| 48 | have hm : (∫ y, φ.normed volume y * f (x-y)) = m := rfl |
| 49 | rw [hm] at H |
| 50 | change m^2 ≤ ∫ y, φ.normed volume y * f (x-y)^2 |
| 51 | nlinarith |
| 52 | |
| 53 | theorem scalarMollification_sq_integrable (φ : ContDiffBump (0 : Space)) |
| 54 | (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 55 | Integrable (fun x => scalarMollification φ f x ^ 2) volume := by |
| 56 | have hf2 : Integrable (fun y => f y ^ 2) volume := |
| 57 | (memLp_two_iff_integrable_sq hf.aestronglyMeasurable).1 hf |
| 58 | have hc : Integrable (scalarMollification φ (fun y => f y ^ 2)) volume := |
| 59 | φ.integrable_normed.integrable_convolution (ContinuousLinearMap.lsmul ℝ ℝ) hf2 |
| 60 | apply hc.mono' ((scalarMollification_smooth φ f hf).continuous.pow 2).aestronglyMeasurable |
| 61 | filter_upwards [] with x |
| 62 | change ‖scalarMollification φ f x ^ 2‖ ≤ _ |
| 63 | simpa only [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg (scalarMollification φ f x))] using |
| 64 | scalarMollification_sq_le φ f hf x |
| 65 | |
| 66 | theorem scalarMollification_memLp (φ : ContDiffBump (0 : Space)) |
| 67 | (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 68 | MemLp (scalarMollification φ f) 2 volume := |
| 69 | (memLp_two_iff_integrable_sq |
| 70 | (scalarMollification_smooth φ f hf).continuous.aestronglyMeasurable).2 |
| 71 | (scalarMollification_sq_integrable φ f hf) |
| 72 | |
| 73 | theorem scalarMollification_energy_le (φ : ContDiffBump (0 : Space)) |
| 74 | (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 75 | lpNorm (scalarMollification φ f) 2 volume ^ 2 ≤ lpNorm f 2 volume ^ 2 := by |
| 76 | rw [lpNorm_sq_eq_integral_sq _ (scalarMollification_memLp φ f hf), |
| 77 | lpNorm_sq_eq_integral_sq _ hf] |
| 78 | have hf2 : Integrable (fun y => f y ^ 2) volume := |
| 79 | (memLp_two_iff_integrable_sq hf.aestronglyMeasurable).1 hf |
| 80 | calc |
| 81 | _ ≤ ∫ x, scalarMollification φ (fun y => f y ^ 2) x := |
| 82 | integral_mono (scalarMollification_sq_integrable φ f hf) |
| 83 | (φ.integrable_normed.integrable_convolution (ContinuousLinearMap.lsmul ℝ ℝ) hf2) |
| 84 | (scalarMollification_sq_le φ f hf) |
| 85 | _ = _ := by |
| 86 | rw [scalarMollification, integral_convolution (ContinuousLinearMap.lsmul ℝ ℝ) |
| 87 | φ.integrable_normed hf2, φ.integral_normed] |
| 88 | simp only [ContinuousLinearMap.lsmul_apply, one_smul] |
| 89 | |
| 90 | theorem scalarMollification_norm_le (φ : ContDiffBump (0 : Space)) |
| 91 | (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 92 | lpNorm (scalarMollification φ f) 2 volume ≤ lpNorm f 2 volume := |
| 93 | (sq_le_sq₀ lpNorm_nonneg lpNorm_nonneg).1 (scalarMollification_energy_le φ f hf) |
| 94 | |
| 95 | end EulerMeanHarmonic |