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.SobolevHeat |
| 2 | import Euler.CylinderSobolevDensity |
| 3 | import Euler.SobolevRestriction |
| 4 | |
| 5 | /-! Smooth high-regularity approximations converging contractively in the original Sobolev order. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderSobolevSpace |
| 10 | |
| 11 | open MeasureTheory EulerLiftedGradientSpace EulerMetricTransport EulerCylinderSobolev EulerCylinderMollifier |
| 12 | EulerMollifierRepresentative EulerSobolevHeat EulerGaussianCylinderHeat EulerNoncompactTransport |
| 13 | open scoped Topology ContDiff NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Three successive genuine heat smoothing steps. -/ |
| 18 | def heatGainThree (q : ℕ) (v : ℝ≥0) (hv : 0 < v) : |
| 19 | SobolevSpace period q →L[ℝ] SobolevSpace period (q+3) := |
| 20 | (heatGain period (q+2) v hv).comp ((heatGain period (q+1) v hv).comp (heatGain period q v hv)) |
| 21 | |
| 22 | /-- Its underlying field is exactly heat evolution with three times the variance. -/ |
| 23 | theorem heatGainThree_value {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 24 | value period (heatGainThree period q v hv u) = cylinderHeat period (v+(v+v)) (value period u) := by |
| 25 | simp only [heatGainThree, ContinuousLinearMap.comp_apply, heatGain_value, cylinderHeat_semigroup] |
| 26 | |
| 27 | /-- Forgetting the three gained derivatives recovers the usual contractive heat operator. -/ |
| 28 | theorem restrict_heatGainThree {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 29 | restrictOperator period (by omega : q ≤ q+3) (heatGainThree period q v hv u) = heatOperator period q (v+(v+v)) u := by |
| 30 | apply value_injective period |
| 31 | rw [value_restrictOperator, heatGainThree_value, heatOperator_value] |
| 32 | |
| 33 | /-- A positive Gaussian scale tending to zero. -/ |
| 34 | def smoothingVariance (n : ℕ) : ℝ≥0 := (cutoffScale n).toNNReal |
| 35 | |
| 36 | theorem smoothingVariance_pos (n : ℕ) : 0 < smoothingVariance n := Real.toNNReal_pos.mpr (cutoffScale_pos n) |
| 37 | |
| 38 | theorem smoothingVariance_tendsto : Filter.Tendsto smoothingVariance Filter.atTop (𝓝 0) := by |
| 39 | change Filter.Tendsto (fun n => (cutoffScale n).toNNReal) Filter.atTop (𝓝 (0 : ℝ≥0)) |
| 40 | have h := continuous_real_toNNReal.continuousAt.tendsto.comp cutoffScale_tendsto |
| 41 | simpa only [Real.toNNReal_zero, Function.comp_def, smoothingVariance] using h |
| 42 | |
| 43 | /-- An approximation having three extra strong derivatives and an actual C∞ representative. -/ |
| 44 | def smoothApprox (q n : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace period (q+3) := |
| 45 | (sobolevMollifier period (q+3) n).comp |
| 46 | (heatGainThree period q (smoothingVariance n) (smoothingVariance_pos n)) |
| 47 | |
| 48 | /-- Exact description of the approximation in its original Sobolev topology. -/ |
| 49 | theorem restrict_smoothApprox {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 50 | restrictOperator period (by omega : q ≤ q+3) (smoothApprox period q n u) = |
| 51 | sobolevMollifier period q n (heatOperator period q |
| 52 | (smoothingVariance n+(smoothingVariance n+smoothingVariance n)) u) := by |
| 53 | apply value_injective period |
| 54 | change mollify period n (value period (heatGainThree period q (smoothingVariance n) (smoothingVariance_pos n) u)) = _ |
| 55 | rw [heatGainThree_value] |
| 56 | rfl |
| 57 | |
| 58 | /-- The approximations are contractive at the original Sobolev order. -/ |
| 59 | theorem smoothApprox_bound {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 60 | ‖restrictOperator period (by omega : q ≤ q+3) (smoothApprox period q n u)‖ ≤ ‖u‖ := by |
| 61 | rw [restrict_smoothApprox] |
| 62 | exact (sobolevMollifier_bound period n _).trans (heatOperator_bound period _ u) |
| 63 | |
| 64 | theorem contractive_comp_dist {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 65 | (M : X →L[ℝ] X) (hM : ∀ z, ‖M z‖ ≤ ‖z‖) (H u : X) : |
| 66 | dist (M H) u ≤ dist H u + dist (M u) u := by |
| 67 | have hd : dist (M H) (M u) ≤ dist H u := by |
| 68 | simpa only [map_sub, ← dist_eq_norm] using hM (H-u) |
| 69 | exact (dist_triangle (M H) (M u) u).trans (add_le_add hd (le_refl (dist (M u) u))) |
| 70 | |
| 71 | /-- A useful perturbation bound for simultaneous heat and convolution regularization. -/ |
| 72 | theorem smoothApprox_dist {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 73 | dist (restrictOperator period (by omega : q ≤ q+3) (smoothApprox period q n u)) u ≤ |
| 74 | dist (heatOperator period q (smoothingVariance n+(smoothingVariance n+smoothingVariance n)) u) u + |
| 75 | dist (sobolevMollifier period q n u) u := by |
| 76 | rw [restrict_smoothApprox] |
| 77 | exact contractive_comp_dist (sobolevMollifier period q n) (sobolevMollifier_bound period n) |
| 78 | (heatOperator period q (smoothingVariance n+(smoothingVariance n+smoothingVariance n)) u) u |
| 79 | |
| 80 | /-- The smooth high-regularity approximations converge in the complete original Sobolev norm. -/ |
| 81 | theorem smoothApprox_tendsto {q : ℕ} (u : SobolevSpace period q) : |
| 82 | Filter.Tendsto (fun n => restrictOperator period (by omega : q ≤ q+3) (smoothApprox period q n u)) |
| 83 | Filter.atTop (𝓝 u) := by |
| 84 | have hv : Filter.Tendsto (fun n => smoothingVariance n+(smoothingVariance n+smoothingVariance n)) |
| 85 | Filter.atTop (𝓝 0) := by |
| 86 | simpa only [add_zero] using smoothingVariance_tendsto.add (smoothingVariance_tendsto.add smoothingVariance_tendsto) |
| 87 | have hh := (heatOperator_continuous period u).continuousAt.tendsto.comp hv |
| 88 | rw [heatOperator_zero] at hh |
| 89 | have hm := sobolevMollifier_tendsto period u |
| 90 | apply tendsto_iff_dist_tendsto_zero.mpr |
| 91 | apply squeeze_zero (fun n => dist_nonneg) (fun n => smoothApprox_dist period n u) |
| 92 | have hc : Filter.Tendsto (fun _n : ℕ => u) Filter.atTop (𝓝 u) := tendsto_const_nhds |
| 93 | have hh' : Filter.Tendsto (fun n => dist (heatOperator period q |
| 94 | (smoothingVariance n+(smoothingVariance n+smoothingVariance n)) u) u) Filter.atTop (𝓝 0) := by |
| 95 | simpa only [Function.comp_apply, dist_self] using hh.dist hc |
| 96 | have hm' : Filter.Tendsto (fun n => dist (sobolevMollifier period q n u) u) Filter.atTop (𝓝 0) := by |
| 97 | simpa only [dist_self] using hm.dist hc |
| 98 | simpa only [add_zero] using hh'.add hm' |
| 99 | |
| 100 | /-- Each high-regularity approximation has a concrete smooth cylinder representative. -/ |
| 101 | theorem smoothApprox_representative {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 102 | ∃ f : LiftDomain period → Vector3, |
| 103 | (value period (smoothApprox period q n u) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 104 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x) := by |
| 105 | let U := heatGainThree period q (smoothingVariance n) (smoothingVariance_pos n) u |
| 106 | exact ⟨smoothMollifier period n (value period U), sobolevMollifier_representative period n U, |
| 107 | smoothMollifier_smooth period n (value period U)⟩ |
| 108 | |
| 109 | end EulerCylinderSobolevSpace |