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.HeatRegularizedPaths |
| 2 | import Euler.SobolevHeatDerivativeCommutation |
| 3 | |
| 4 | /-! Genuine heat regularizations of the constructed mild solution satisfy the differentiated heat equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerRegularizedMildEquation |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 11 | EulerSobolevHeatGenerator EulerSobolevLaplacian EulerHeatRegularizedPaths |
| 12 | EulerMildWordEquation EulerVolterraConvolution |
| 13 | open scoped Topology NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The actual three-derivative heat regularization of an H¹ mild state. -/ |
| 18 | def regularizedState (T : ℝ) (n : ℕ) (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) : |
| 19 | C(Icc (0 : ℝ) T, SobolevSpace period 3) := |
| 20 | mapPath period T ((heatRegularizer period 0 n).comp (truncateOperator period 0)) u |
| 21 | |
| 22 | /-- The same genuine heat regularization of the source, retained at the gradient-energy source order. -/ |
| 23 | def regularizedForcing (T : ℝ) (n : ℕ) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) : |
| 24 | C(Icc (0 : ℝ) T, SobolevSpace period 1) := |
| 25 | mapPath period T ((restrictOperator period (by norm_num : 1 ≤ 3)).comp (heatRegularizer period 0 n)) f |
| 26 | |
| 27 | /-- The original-order restriction of the regularized state is exactly the actual H¹ heat path. -/ |
| 28 | theorem regularizedState_low_eq (T : ℝ) (n : ℕ) (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) : |
| 29 | (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 30 | (regularizedState period T n u) = pathHeat period 1 T (regularizerVariance n) u := by |
| 31 | apply ContinuousMap.ext |
| 32 | intro t |
| 33 | apply value_injective period |
| 34 | change value period (restrictOperator period (by norm_num : 1 ≤ 3) |
| 35 | (heatRegularizer period 0 n (truncateOperator period 0 (u t)))) = |
| 36 | value period (heatOperator period 1 (regularizerVariance n) (u t)) |
| 37 | rw [value_restrictOperator, heatRegularizer_value, value_truncateOperator, heatOperator_value] |
| 38 | |
| 39 | /-- The regularized state converges uniformly in its original actual H¹ topology. -/ |
| 40 | theorem regularizedState_low_tendsto (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) : |
| 41 | Filter.Tendsto (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ |
| 42 | (Icc (0 : ℝ) T) (regularizedState period T n u)) Filter.atTop (𝓝 u) := by |
| 43 | have h := (pathHeat_continuous period T u).continuousAt.tendsto.comp regularizerVariance_tendsto |
| 44 | have hzero : pathHeat period 1 T 0 u = u := by |
| 45 | apply ContinuousMap.ext |
| 46 | intro t |
| 47 | exact heatOperator_zero period (u t) |
| 48 | rw [hzero] at h |
| 49 | simpa only [regularizedState_low_eq, Function.comp_def] using h |
| 50 | |
| 51 | /-- The source's actual L² value is regularized by the same genuine heat operator. -/ |
| 52 | theorem regularizedForcing_value_eq (T : ℝ) (n : ℕ) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) : |
| 53 | (valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedForcing period T n f) = |
| 54 | (valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 55 | (pathHeat period 0 T (regularizerVariance n) f) := by |
| 56 | apply ContinuousMap.ext |
| 57 | intro t |
| 58 | change value period (restrictOperator period (by norm_num : 1 ≤ 3) (heatRegularizer period 0 n (f t))) = |
| 59 | value period (heatOperator period 0 (regularizerVariance n) (f t)) |
| 60 | rw [value_restrictOperator, heatRegularizer_value, heatOperator_value] |
| 61 | |
| 62 | /-- The regularized forcing converges uniformly in actual L², with no source derivative premise. -/ |
| 63 | theorem regularizedForcing_value_tendsto (T : ℝ) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) : |
| 64 | Filter.Tendsto (fun n => (valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 65 | (regularizedForcing period T n f)) Filter.atTop |
| 66 | (𝓝 ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) f)) := by |
| 67 | have h := (pathHeat_continuous period T f).continuousAt.tendsto.comp regularizerVariance_tendsto |
| 68 | have hzero : pathHeat period 0 T 0 f = f := by |
| 69 | apply ContinuousMap.ext |
| 70 | intro t |
| 71 | exact heatOperator_zero period (f t) |
| 72 | rw [hzero] at h |
| 73 | have hv := ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T)).continuous.continuousAt.tendsto.comp h |
| 74 | simpa only [regularizedForcing_value_eq, Function.comp_def] using hv |
| 75 | |
| 76 | /-- The first derivative of the genuine regularizer, as a bounded heat-commuting block. -/ |
| 77 | def regularizerFirst (n : ℕ) (i : Fin 4) : SobolevSpace period 0 →L[ℝ] SobolevSpace period 2 := |
| 78 | (derivativeOperator period 2 i).comp (heatRegularizer period 0 n) |
| 79 | |
| 80 | /-- The regularized first-derivative block commutes with actual heat. -/ |
| 81 | theorem regularizerFirst_heat (n : ℕ) (i : Fin 4) (v : ℝ≥0) (x : SobolevSpace period 0) : |
| 82 | regularizerFirst period n i (heatOperator period 0 v x) = |
| 83 | heatOperator period 2 v (regularizerFirst period n i x) := by |
| 84 | change derivativeOperator period 2 i (heatRegularizer period 0 n (heatOperator period 0 v x)) = _ |
| 85 | rw [heatRegularizer_heat, derivative_heat] |
| 86 | rfl |
| 87 | |
| 88 | /-- The regularized first derivative has the exact commuting Laplacian value. -/ |
| 89 | theorem regularizerFirst_laplacian (n : ℕ) (i : Fin 4) (x : SobolevSpace period 0) : |
| 90 | laplacianEvaluation period 2 (by norm_num) (regularizerFirst period n i x) = |
| 91 | value period (derivativeOperator period 0 i (laplacianOperator period 1 (heatRegularizer period 0 n x))) := by |
| 92 | rw [← laplacianOperator_value] |
| 93 | exact congrArg (value period) (laplacian_derivative period i (heatRegularizer period 0 n x)) |
| 94 | |
| 95 | /-- Restriction preserves the source's regularized first derivative exactly. -/ |
| 96 | theorem regularizerFirst_source (n : ℕ) (i : Fin 4) (x : SobolevSpace period 0) : |
| 97 | value period (regularizerFirst period n i x) = |
| 98 | value period (derivativeOperator period 0 i |
| 99 | (restrictOperator period (by norm_num : 1 ≤ 3) (heatRegularizer period 0 n x))) := rfl |
| 100 | |
| 101 | /-- Actual derivative evaluation is linear in a scaled sum. -/ |
| 102 | theorem value_derivative_smul_add (i : Fin 4) (ν : ℝ) (a b : SobolevSpace period 1) : |
| 103 | value period (derivativeOperator period 0 i (ν • a+b)) = |
| 104 | ν • value period (derivativeOperator period 0 i a) + value period (derivativeOperator period 0 i b) := by |
| 105 | let L := (valueOperator period 0).comp (derivativeOperator period 0 i) |
| 106 | change L (ν • a+b) = ν • L a + L b |
| 107 | rw [map_add, map_smul] |
| 108 | |
| 109 | /-- The exact algebraic form of the regularized first-word heat right-hand side. -/ |
| 110 | theorem regularizerFirst_rhs (n : ℕ) (i : Fin 4) (ν : ℝ) |
| 111 | (u : SobolevSpace period 1) (f : SobolevSpace period 0) : |
| 112 | ν • laplacianEvaluation period 2 (by norm_num) (regularizerFirst period n i (truncateOperator period 0 u)) + |
| 113 | value period (regularizerFirst period n i f) = |
| 114 | value period (derivativeOperator period 0 i |
| 115 | (ν • laplacianOperator period 1 (heatRegularizer period 0 n (truncateOperator period 0 u)) + |
| 116 | restrictOperator period (by norm_num : 1 ≤ 3) (heatRegularizer period 0 n f))) := by |
| 117 | rw [regularizerFirst_laplacian period n i (truncateOperator period 0 u), |
| 118 | regularizerFirst_source period n i f] |
| 119 | exact (value_derivative_smul_add period i ν _ _).symm |
| 120 | |
| 121 | /-- Every genuine spatial heat regularization of the actual mild solution satisfies the first-word heat equation used in maximal regularity. -/ |
| 122 | theorem regularizedState_first_time_derivative (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) |
| 123 | (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) |
| 124 | (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 125 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 126 | u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + |
| 127 | ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r))) |
| 128 | (n : ℕ) (t : ℝ) (ht : t ∈ Ioo 0 T) (i : Fin 4) : |
| 129 | HasDerivAt (fun s => value period (derivativeOperator period 2 i |
| 130 | (extendPath T hT (regularizedState period T n u) s))) |
| 131 | (value period (derivativeOperator period 0 i |
| 132 | (ν • laplacianOperator period 1 (extendPath T hT (regularizedState period T n u) t) + |
| 133 | extendPath T hT (regularizedForcing period T n f) t))) t := by |
| 134 | have hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period 1 => f p.1) := |
| 135 | f.continuous.comp continuous_fst |
| 136 | have hd := viscous_mild_block_hasDerivAt period (by norm_num : 2 ≤ 2) |
| 137 | (regularizerFirst period n i) (regularizerFirst_heat period n i) ν hν T hT u₀ |
| 138 | (fun t _ => f t) hF u hsol t ht |
| 139 | have hd' := hd.congr_deriv (regularizerFirst_rhs period n i ν (u ⟨t, ht.1.le, ht.2.le⟩) (f ⟨t, ht.1.le, ht.2.le⟩)) |
| 140 | change HasDerivAt _ (value period (derivativeOperator period 0 i |
| 141 | (ν • laplacianOperator period 1 (heatRegularizer period 0 n (truncateOperator period 0 (u (projIcc 0 T hT t)))) + |
| 142 | restrictOperator period (by norm_num : 1 ≤ 3) (heatRegularizer period 0 n (f (projIcc 0 T hT t)))))) t |
| 143 | rw [projIcc_of_mem hT ⟨ht.1.le, ht.2.le⟩] |
| 144 | exact hd' |
| 145 | |
| 146 | end EulerRegularizedMildEquation |