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.GaussianHeatDerivative |
| 2 | |
| 3 | /-! Gaussian averaging genuinely gains one strong derivative for every cylinder L² datum. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGaussianCylinderHeat |
| 8 | |
| 9 | open MeasureTheory ProbabilityTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity |
| 10 | EulerLiftedWeakDerivative EulerCylinderMollifier EulerClosedTranslationGraph EulerSpatialSobolevInverse |
| 11 | EulerCylinderCoordinates |
| 12 | open scoped ENNReal NNReal Topology ContDiff |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | theorem lineHeatDerivative_add (a : LiftTangent) (v : ℝ≥0) (f g : LiftL2 period) : |
| 17 | lineHeatDerivative period a v (f+g) = lineHeatDerivative period a v f + lineHeatDerivative period a v g := by |
| 18 | have h : (∫ x : ℝ, x • lineOrbit period a (f+g) x ∂gaussianReal 0 v) = |
| 19 | (∫ x : ℝ, x • lineOrbit period a f x ∂gaussianReal 0 v) + |
| 20 | (∫ x : ℝ, x • lineOrbit period a g x ∂gaussianReal 0 v) := by |
| 21 | simp only [lineOrbit, map_add, smul_add] |
| 22 | exact integral_add (gaussianMomentOrbit_integrable period a v f) (gaussianMomentOrbit_integrable period a v g) |
| 23 | simp only [lineHeatDerivative, h, smul_add] |
| 24 | |
| 25 | theorem lineHeatDerivative_smul (a : LiftTangent) (v : ℝ≥0) (c : ℝ) (f : LiftL2 period) : |
| 26 | lineHeatDerivative period a v (c • f) = c • lineHeatDerivative period a v f := by |
| 27 | simp only [lineHeatDerivative, lineOrbit, map_smul] |
| 28 | have he : (fun x : ℝ => x • c • translation period (translationPath period a x) f) = |
| 29 | fun x : ℝ => c • x • translation period (translationPath period a x) f := by |
| 30 | funext x |
| 31 | exact smul_comm x c _ |
| 32 | rw [he, integral_smul, smul_comm] |
| 33 | |
| 34 | /-- The bounded moment operator used to close the derivative graph. -/ |
| 35 | def lineHeatDerivativeOperator (a : LiftTangent) (v : ℝ≥0) : LiftL2 period →L[ℝ] LiftL2 period := |
| 36 | LinearMap.mkContinuous |
| 37 | { toFun := lineHeatDerivative period a v |
| 38 | map_add' := lineHeatDerivative_add period a v |
| 39 | map_smul' := lineHeatDerivative_smul period a v } |
| 40 | ((v : ℝ)⁻¹ * gaussianAbsMoment v) (lineHeatDerivative_norm_le period a v) |
| 41 | |
| 42 | @[simp] theorem lineHeatDerivativeOperator_apply (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 43 | lineHeatDerivativeOperator period a v f = lineHeatDerivative period a v f := rfl |
| 44 | |
| 45 | /-- Genuine cylinder mollifications are differentiable along every one-parameter translation orbit. -/ |
| 46 | theorem mollify_lineOrbit_differentiable (a : LiftTangent) (n : ℕ) (f : LiftL2 period) : |
| 47 | Differentiable ℝ (lineOrbit period a (mollify period n f)) := by |
| 48 | have h : ContDiff ℝ ∞ (fun t : ℝ => orbit period (mollify period n f) (coordinateEquiv.symm (t • a))) := |
| 49 | (mollify_orbit_contDiff period n f).comp (coordinateEquiv.symm.contDiff.comp (contDiff_id.smul contDiff_const)) |
| 50 | have he : (fun t : ℝ => orbit period (mollify period n f) (coordinateEquiv.symm (t • a))) = |
| 51 | lineOrbit period a (mollify period n f) := by |
| 52 | funext t |
| 53 | simp only [orbit, euclideanCover, lineOrbit, translationPath, Function.comp_apply, coordinateEquiv.apply_symm_apply] |
| 54 | rw [he] at h |
| 55 | exact h.differentiable (by simp) |
| 56 | |
| 57 | /-- For positive variance the Gaussian average of every L² field has the stated strong derivative. -/ |
| 58 | theorem lineHeat_hasDerivAt (a : LiftTangent) {v : ℝ≥0} (hv : 0 < v) (f : LiftL2 period) : |
| 59 | HasDerivAt (lineOrbit period a (lineHeat period a v f)) (lineHeatDerivative period a v f) 0 := by |
| 60 | let fn := fun n => mollify period n f |
| 61 | let gn := fun n => deriv (lineOrbit period a (fn n)) 0 |
| 62 | have hDn (n : ℕ) : HasDerivAt (lineOrbit period a (fn n)) (gn n) 0 := |
| 63 | (mollify_lineOrbit_differentiable period a n f 0).hasDerivAt |
| 64 | have hmem (n : ℕ) : (lineHeat period a v (fn n), lineHeatDerivative period a v (fn n)) ∈ |
| 65 | translationDerivativeGraph period a := by |
| 66 | have h := lineHeat_strongDerivative period a a v (fn n) (gn n) (hDn n) |
| 67 | rw [lineHeat_derivative_identity period a hv.ne' (fn n) (gn n) (hDn n)] at h |
| 68 | exact h |
| 69 | have hlim : Filter.Tendsto (fun n => (lineHeat period a v (fn n), lineHeatDerivative period a v (fn n))) |
| 70 | Filter.atTop (𝓝 (lineHeat period a v f, lineHeatDerivative period a v f)) := |
| 71 | ((lineHeatOperator period a v).continuous.continuousAt.tendsto.comp (mollify_tendsto period f)).prodMk_nhds |
| 72 | ((lineHeatDerivativeOperator period a v).continuous.continuousAt.tendsto.comp (mollify_tendsto period f)) |
| 73 | exact (translationDerivativeGraph_closed period a).mem_of_tendsto hlim (Filter.Eventually.of_forall hmem) |
| 74 | |
| 75 | /-- Actual one-derivative smoothing, with both the derivative witness and its parabolic bound. -/ |
| 76 | theorem lineHeat_one_derivative (a : LiftTangent) {v : ℝ≥0} (hv : 0 < v) (f : LiftL2 period) : |
| 77 | ∃ g : LiftL2 period, |
| 78 | HasDerivAt (lineOrbit period a (lineHeat period a v f)) g 0 ∧ |
| 79 | ‖g‖ ≤ (gaussianAbsMoment 1 / Real.sqrt (v : ℝ)) * ‖f‖ := |
| 80 | ⟨lineHeatDerivative period a v f, lineHeat_hasDerivAt period a hv f, |
| 81 | lineHeatDerivative_smoothing_bound period a hv f⟩ |
| 82 | |
| 83 | /-- The derivative of the heat average commutes with every cylinder translation. -/ |
| 84 | theorem lineHeatDerivative_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : |
| 85 | translation period b (lineHeatDerivative period a v f) = |
| 86 | lineHeatDerivative period a v (translation period b f) := by |
| 87 | simp only [lineHeatDerivative, map_smul] |
| 88 | congr 1 |
| 89 | change (translation period b).toContinuousLinearMap |
| 90 | (∫ x : ℝ, x • lineOrbit period a f x ∂gaussianReal 0 v) = _ |
| 91 | rw [← (translation period b).toContinuousLinearMap.integral_comp_comm (gaussianMomentOrbit_integrable period a v f)] |
| 92 | apply integral_congr_ae |
| 93 | apply Filter.Eventually.of_forall |
| 94 | intro x |
| 95 | change translation period b (x • translation period (translationPath period a x) f) = |
| 96 | x • translation period (translationPath period a x) (translation period b f) |
| 97 | rw [map_smul, translation_add, translation_add, add_comm b] |
| 98 | |
| 99 | end EulerGaussianCylinderHeat |