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.LpSpatialCutoff |
| 2 | import Euler.LpDerivativeBundling |
| 3 | |
| 4 | /-! Compact approximation proves actual translation differentiability for noncompact smooth L² fields. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerLpTranslation |
| 9 | |
| 10 | open MeasureTheory EulerSmoothLimit EulerNoncompactTransport EulerLpDerivative Filter |
| 11 | open scoped ContDiff Topology |
| 12 | |
| 13 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 14 | |
| 15 | def cutoffLp (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) : L2Space V := |
| 16 | compactField (cutoffField f n) (cutoffField_compact f n) (cutoffField_smooth f hf n) |
| 17 | |
| 18 | def cutoffDerivativeLp (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 19 | L2Space (Space →L[ℝ] V) := |
| 20 | compactDerivative (cutoffField f n) (cutoffField_compact f n) (cutoffField_smooth f hf n) |
| 21 | |
| 22 | theorem cutoffLp_ae (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 23 | cutoffLp f hf n =ᵐ[volume] cutoffField f n := |
| 24 | compactField_ae _ _ _ |
| 25 | |
| 26 | theorem cutoffDerivativeLp_ae (f : Space → V) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 27 | cutoffDerivativeLp f hf n =ᵐ[volume] fderiv ℝ (cutoffField f n) := |
| 28 | compactDerivative_ae _ _ _ |
| 29 | |
| 30 | theorem cutoffLp_tendsto (f : Space → V) (hf : ContDiff ℝ ∞ f) |
| 31 | (hLp : MemLp f 2 volume) : Tendsto (cutoffLp f hf) atTop (𝓝 (hLp.toLp f)) := by |
| 32 | apply EulerLpConvergence.tendsto_of_dominated volume (cutoffLp f hf) (hLp.toLp f) |
| 33 | (cutoffField f) f (cutoffLp_ae f hf) hLp.coeFn_toLp (fun x => ‖f x‖) hLp.norm |
| 34 | · apply Eventually.of_forall |
| 35 | intro n |
| 36 | apply Eventually.of_forall |
| 37 | intro x |
| 38 | have he : cutoffField f n x - f x = (cutoff n x - 1) • f x := by |
| 39 | simp only [cutoffField, sub_smul, one_smul] |
| 40 | rw [he, norm_smul] |
| 41 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (cutoff_sub_one_norm n x) (norm_nonneg _) |
| 42 | · exact Eventually.of_forall (cutoffField_tendsto f) |
| 43 | |
| 44 | theorem cutoffDerivativeLp_tendsto (f : Space → V) (hf : ContDiff ℝ ∞ f) |
| 45 | (hLp : MemLp f 2 volume) (hDLp : MemLp (fderiv ℝ f) 2 volume) : |
| 46 | Tendsto (cutoffDerivativeLp f hf) atTop (𝓝 (hDLp.toLp (fderiv ℝ f))) := by |
| 47 | obtain ⟨M, hM0, hM⟩ := cutoff_derivative_bound |
| 48 | have hD (n : ℕ) (x : Space) : ‖fderiv ℝ (cutoff n) x‖ ≤ M := |
| 49 | (hM n x).trans ((mul_le_mul_of_nonneg_left (cutoffScale_le_one n) hM0).trans_eq (mul_one M)) |
| 50 | apply EulerLpConvergence.tendsto_of_dominated volume (cutoffDerivativeLp f hf) |
| 51 | (hDLp.toLp (fderiv ℝ f)) (fun n => fderiv ℝ (cutoffField f n)) (fderiv ℝ f) |
| 52 | (cutoffDerivativeLp_ae f hf) hDLp.coeFn_toLp |
| 53 | (fun x => ‖fderiv ℝ f x‖ + M * ‖f x‖) (hDLp.norm.add (hLp.norm.const_mul M)) |
| 54 | · apply Eventually.of_forall |
| 55 | intro n |
| 56 | apply Eventually.of_forall |
| 57 | intro x |
| 58 | rw [cutoffField_fderiv f hf] |
| 59 | have he : cutoff n x • fderiv ℝ f x + (fderiv ℝ (cutoff n) x).smulRight (f x) - fderiv ℝ f x = |
| 60 | (cutoff n x - 1) • fderiv ℝ f x + (fderiv ℝ (cutoff n) x).smulRight (f x) := by |
| 61 | rw [sub_smul, one_smul] |
| 62 | abel |
| 63 | rw [he] |
| 64 | apply (norm_add_le _ _).trans |
| 65 | apply add_le_add |
| 66 | · rw [norm_smul] |
| 67 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (cutoff_sub_one_norm n x) (norm_nonneg _) |
| 68 | · rw [ContinuousLinearMap.norm_smulRight_apply] |
| 69 | exact mul_le_mul_of_nonneg_right (hD n x) (norm_nonneg _) |
| 70 | · exact Eventually.of_forall (cutoffField_fderiv_tendsto f hf) |
| 71 | |
| 72 | /-- No compact support assumption is needed once the actual field and its actual derivative lie in L². -/ |
| 73 | theorem smooth_hasFDerivAt (f : Space → V) (hf : ContDiff ℝ ∞ f) |
| 74 | (hLp : MemLp f 2 volume) (hDLp : MemLp (fderiv ℝ f) 2 volume) : |
| 75 | HasFDerivAt (fun a : Space => translation a (hLp.toLp f)) |
| 76 | (derivativeMap volume (hDLp.toLp (fderiv ℝ f))) 0 := by |
| 77 | apply translation_hasFDerivAt_limit (cutoffLp f hf) |
| 78 | (fun n => derivativeMap volume (cutoffDerivativeLp f hf n)) |
| 79 | (hLp.toLp f) (derivativeMap volume (hDLp.toLp (fderiv ℝ f))) |
| 80 | · intro n |
| 81 | exact compactField_hasFDerivAt _ _ _ |
| 82 | · exact cutoffLp_tendsto f hf hLp |
| 83 | · exact (EulerLpDerivative.derivativeBundling volume).continuous.continuousAt.tendsto.comp |
| 84 | (cutoffDerivativeLp_tendsto f hf hLp hDLp) |
| 85 | |
| 86 | end EulerLpTranslation |