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.HeatRestart |
| 2 | import Euler.SobolevSmoothApproximation |
| 3 | |
| 4 | /-! Genuine heat regularization of continuous Sobolev paths, uniformly in time. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerHeatRegularizedPaths |
| 9 | |
| 10 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 11 | EulerGaussianCylinderHeat EulerMildWordEquation |
| 12 | open scoped Topology NNReal |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- A concrete three-derivative heat regularizer on the actual Sobolev scale. -/ |
| 17 | def heatRegularizer (q n : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace period (q+3) := |
| 18 | heatGainThree period q (smoothingVariance n) (smoothingVariance_pos n) |
| 19 | |
| 20 | /-- The total actual Gaussian variance of the regularizer. -/ |
| 21 | def regularizerVariance (n : ℕ) : ℝ≥0 := smoothingVariance n + (smoothingVariance n + smoothingVariance n) |
| 22 | |
| 23 | /-- The total regularizing variance tends to zero. -/ |
| 24 | theorem regularizerVariance_tendsto : Filter.Tendsto regularizerVariance Filter.atTop (𝓝 0) := by |
| 25 | change Filter.Tendsto (fun n => smoothingVariance n + (smoothingVariance n + smoothingVariance n)) Filter.atTop (𝓝 0) |
| 26 | simpa only [add_zero] using |
| 27 | smoothingVariance_tendsto.add (smoothingVariance_tendsto.add smoothingVariance_tendsto) |
| 28 | |
| 29 | /-- The regularizer has exactly its stated genuine L² heat value. -/ |
| 30 | theorem heatRegularizer_value {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 31 | value period (heatRegularizer period q n u) = cylinderHeat period (regularizerVariance n) (value period u) := |
| 32 | heatGainThree_value period _ _ u |
| 33 | |
| 34 | /-- Forgetting the three extra derivatives gives the actual contractive heat evolution. -/ |
| 35 | theorem restrict_heatRegularizer {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 36 | restrictOperator period (by omega : q ≤ q+3) (heatRegularizer period q n u) = |
| 37 | heatOperator period q (regularizerVariance n) u := |
| 38 | restrict_heatGainThree period _ _ u |
| 39 | |
| 40 | /-- The genuine regularizer commutes with actual heat. -/ |
| 41 | theorem heatRegularizer_heat {q : ℕ} (n : ℕ) (v : ℝ≥0) (u : SobolevSpace period q) : |
| 42 | heatRegularizer period q n (heatOperator period q v u) = |
| 43 | heatOperator period (q+3) v (heatRegularizer period q n u) := by |
| 44 | apply value_injective period |
| 45 | rw [heatRegularizer_value, heatOperator_value, heatOperator_value, heatRegularizer_value, |
| 46 | cylinderHeat_semigroup, cylinderHeat_semigroup, add_comm] |
| 47 | |
| 48 | /-- Heat acting pointwise on a continuous Sobolev time path. -/ |
| 49 | def pathHeat (q : ℕ) (T : ℝ) (v : ℝ≥0) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : |
| 50 | C(Icc (0 : ℝ) T, SobolevSpace period q) := mapPath period T (heatOperator period q v) u |
| 51 | |
| 52 | /-- Strong heat continuity is uniform over every compact continuous time path. -/ |
| 53 | theorem pathHeat_continuous {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : |
| 54 | Continuous (fun v : ℝ≥0 => pathHeat period q T v u) := by |
| 55 | apply ContinuousMap.continuous_of_continuous_uncurry |
| 56 | exact Continuous.comp |
| 57 | (g := fun p : ℝ≥0 × SobolevSpace period q => heatOperator period q p.1 p.2) |
| 58 | (f := fun p : ℝ≥0 × Icc (0 : ℝ) T => (p.1, u p.2)) |
| 59 | (heatOperator_joint_continuous period q) (continuous_fst.prodMk (u.continuous.comp continuous_snd)) |
| 60 | |
| 61 | /-- A continuous path regularized by three genuine spatial heat derivatives. -/ |
| 62 | def regularizedPath {q : ℕ} (T : ℝ) (n : ℕ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : |
| 63 | C(Icc (0 : ℝ) T, SobolevSpace period (q+3)) := mapPath period T (heatRegularizer period q n) u |
| 64 | |
| 65 | /-- Regularized paths converge uniformly in their original complete Sobolev norm. -/ |
| 66 | theorem regularizedPath_tendsto {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : |
| 67 | Filter.Tendsto (fun n => mapPath period T (restrictOperator period (by omega : q ≤ q+3)) |
| 68 | (regularizedPath period T n u)) Filter.atTop (𝓝 u) := by |
| 69 | have h := (pathHeat_continuous period T u).continuousAt.tendsto.comp regularizerVariance_tendsto |
| 70 | have hzero : pathHeat period q T 0 u = u := by |
| 71 | apply ContinuousMap.ext |
| 72 | intro t |
| 73 | exact heatOperator_zero period (u t) |
| 74 | rw [hzero] at h |
| 75 | convert h using 1 |
| 76 | funext n |
| 77 | apply ContinuousMap.ext |
| 78 | intro t |
| 79 | exact restrict_heatRegularizer period n (u t) |
| 80 | |
| 81 | /-- Regularization at adjacent Sobolev levels has exactly the same underlying field. -/ |
| 82 | theorem heatRegularizer_truncate {q : ℕ} (n : ℕ) (u : SobolevSpace period (q+1)) : |
| 83 | heatRegularizer period q n (truncateOperator period q u) = |
| 84 | restrictOperator period (by omega : q+3 ≤ q+1+3) (heatRegularizer period (q+1) n u) := by |
| 85 | apply value_injective period |
| 86 | rw [heatRegularizer_value, value_truncateOperator, value_restrictOperator, heatRegularizer_value] |
| 87 | |
| 88 | end EulerHeatRegularizedPaths |