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.LpCompactTranslation |
| 2 | import Euler.LpDominatedConvergence |
| 3 | |
| 4 | /-! Expanding ordinary-space cutoffs and their actual first derivative controls. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerLpTranslation |
| 9 | |
| 10 | open MeasureTheory EulerSmoothLimit EulerNoncompactTransport Filter |
| 11 | open scoped ContDiff Topology |
| 12 | |
| 13 | def cutoff (n : ℕ) (x : Space) : ℝ := spatialBump (cutoffScale n • x) |
| 14 | |
| 15 | theorem cutoff_smooth (n : ℕ) : ContDiff ℝ ∞ (cutoff n) := |
| 16 | spatialBump.contDiff.comp (contDiff_id.const_smul (cutoffScale n)) |
| 17 | |
| 18 | theorem cutoff_compact (n : ℕ) : HasCompactSupport (cutoff n) := |
| 19 | spatialBump.hasCompactSupport.comp_smul (cutoffScale_pos n).ne' |
| 20 | |
| 21 | theorem cutoff_bounds (n : ℕ) (x : Space) : 0 ≤ cutoff n x ∧ cutoff n x ≤ 1 := |
| 22 | ⟨spatialBump.nonneg, spatialBump.le_one⟩ |
| 23 | |
| 24 | theorem cutoff_sub_one_norm (n : ℕ) (x : Space) : ‖cutoff n x - 1‖ ≤ 1 := by |
| 25 | rw [Real.norm_eq_abs, abs_le] |
| 26 | constructor <;> linarith [cutoff_bounds n x] |
| 27 | |
| 28 | theorem cutoff_tendsto (x : Space) : Tendsto (fun n => cutoff n x) atTop (𝓝 1) := by |
| 29 | have h := spatialBump.continuous.continuousAt.tendsto.comp (cutoffScale_tendsto.smul_const x) |
| 30 | have hb : spatialBump (0 : Space) = 1 := spatialBump.one_of_mem_closedBall (by simp [spatialBump]) |
| 31 | simpa only [cutoff, zero_smul, hb, Function.comp_def] using h |
| 32 | |
| 33 | theorem cutoff_derivative_bound : ∃ M : ℝ, 0 ≤ M ∧ |
| 34 | ∀ n x, ‖fderiv ℝ (cutoff n) x‖ ≤ M * cutoffScale n := by |
| 35 | have hs : ContDiff ℝ ∞ (spatialBump : Space → ℝ) := spatialBump.contDiff |
| 36 | obtain ⟨M, hM⟩ := (spatialBump.hasCompactSupport.fderiv ℝ).exists_bound_of_continuous |
| 37 | (hs.fderiv_right (m := ∞) (by simp)).continuous |
| 38 | have hM0 : 0 ≤ M := (norm_nonneg _).trans (hM 0) |
| 39 | refine ⟨M, hM0, ?_⟩ |
| 40 | intro n x |
| 41 | have hder := ((hs.differentiable (by simp)) (cutoffScale n • x)).hasFDerivAt.comp x |
| 42 | ((hasFDerivAt_id x).const_smul (cutoffScale n)) |
| 43 | change HasFDerivAt (cutoff n) |
| 44 | ((fderiv ℝ (spatialBump : Space → ℝ) (cutoffScale n • x)).comp |
| 45 | (cutoffScale n • ContinuousLinearMap.id ℝ Space)) x at hder |
| 46 | rw [hder.fderiv] |
| 47 | calc |
| 48 | _ ≤ ‖fderiv ℝ (spatialBump : Space → ℝ) (cutoffScale n • x)‖ * |
| 49 | ‖cutoffScale n • ContinuousLinearMap.id ℝ Space‖ := ContinuousLinearMap.opNorm_comp_le _ _ |
| 50 | _ = ‖fderiv ℝ (spatialBump : Space → ℝ) (cutoffScale n • x)‖ * cutoffScale n := by |
| 51 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos (cutoffScale_pos n), ContinuousLinearMap.norm_id, mul_one] |
| 52 | _ ≤ M * cutoffScale n := mul_le_mul_of_nonneg_right (hM _) (cutoffScale_pos n).le |
| 53 | |
| 54 | theorem cutoff_derivative_tendsto (x : Space) : |
| 55 | Tendsto (fun n => fderiv ℝ (cutoff n) x) atTop (𝓝 0) := by |
| 56 | obtain ⟨M, _, hM⟩ := cutoff_derivative_bound |
| 57 | apply squeeze_zero_norm (fun n => hM n x) |
| 58 | simpa only [mul_zero] using cutoffScale_tendsto.const_mul M |
| 59 | |
| 60 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 61 | |
| 62 | def cutoffField (f : Space → V) (n : ℕ) (x : Space) : V := cutoff n x • f x |
| 63 | |
| 64 | theorem cutoffField_smooth (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 65 | ContDiff ℝ ∞ (cutoffField f n) := (cutoff_smooth n).smul hf |
| 66 | |
| 67 | theorem cutoffField_compact (f : Space → V) (n : ℕ) : HasCompactSupport (cutoffField f n) := |
| 68 | (cutoff_compact n).smul_right |
| 69 | |
| 70 | theorem cutoffField_fderiv (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : Space) : |
| 71 | fderiv ℝ (cutoffField f n) x = cutoff n x • fderiv ℝ f x + |
| 72 | (fderiv ℝ (cutoff n) x).smulRight (f x) := |
| 73 | fderiv_fun_smul ((cutoff_smooth n).differentiable (by simp) x) (hf.differentiable (by simp) x) |
| 74 | |
| 75 | theorem cutoffField_tendsto (f : Space → V) (x : Space) : |
| 76 | Tendsto (fun n => cutoffField f n x) atTop (𝓝 (f x)) := by |
| 77 | simpa only [one_smul, cutoffField] using (cutoff_tendsto x).smul_const (f x) |
| 78 | |
| 79 | theorem cutoffField_fderiv_tendsto (f : Space → V) (hf : ContDiff ℝ ∞ f) (x : Space) : |
| 80 | Tendsto (fun n => fderiv ℝ (cutoffField f n) x) atTop (𝓝 (fderiv ℝ f x)) := by |
| 81 | have hright : Tendsto (fun n => (fderiv ℝ (cutoff n) x).smulRight (f x)) atTop (𝓝 0) := by |
| 82 | have hc : Continuous (fun L : Space →L[ℝ] ℝ => L.smulRight (f x)) := by fun_prop |
| 83 | simpa only [ContinuousLinearMap.zero_smulRight, Function.comp_def] using hc.continuousAt.tendsto.comp |
| 84 | (cutoff_derivative_tendsto x) |
| 85 | simp_rw [cutoffField_fderiv f hf] |
| 86 | simpa only [one_smul, add_zero] using ((cutoff_tendsto x).smul_const (fderiv ℝ f x)).add hright |
| 87 | |
| 88 | end EulerLpTranslation |