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.RegularizedTopBlocks |
| 2 | import Euler.SobolevWordConstraints |
| 3 | |
| 4 | /-! Every energy-order word of the actual heat-regularized mild solution obeys its genuine L² differential equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerRegularizedWordEquation |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 11 | EulerSobolevHeatGenerator EulerMildWordEquation EulerMildTopWord EulerRegularizedTopBlocks |
| 12 | EulerHeatRegularizedPaths EulerVolterraConvolution EulerMetricHeatEnergy EulerSobolevWordConstraints |
| 13 | EulerDivergenceFreeHeat EulerGaussianCylinderHeat |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- A genuinely regularized derivative word as a bounded map from the source Sobolev space into H². -/ |
| 19 | def regularizedWordBlock {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) : |
| 20 | SobolevSpace period q →L[ℝ] SobolevSpace period 2 := |
| 21 | (boundedWordBlock period 2 m (by omega : 2+m ≤ q+3) w).comp (heatRegularizer period q n) |
| 22 | |
| 23 | /-- Every concrete regularized word block commutes with the actual heat semigroup. -/ |
| 24 | theorem regularizedWordBlock_heat {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) |
| 25 | (v : NNReal) (u : SobolevSpace period q) : |
| 26 | regularizedWordBlock period hm n w (heatOperator period q v u) = |
| 27 | heatOperator period 2 v (regularizedWordBlock period hm n w u) := by |
| 28 | change boundedWordBlock period 2 m (by omega) w (heatRegularizer period q n (heatOperator period q v u)) = _ |
| 29 | rw [heatRegularizer_heat, boundedWordBlock_heat] |
| 30 | rfl |
| 31 | |
| 32 | /-- Its underlying field is exactly heat applied to the actual energy-order derivative of the unregularized state. -/ |
| 33 | theorem regularizedWordBlock_value {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) |
| 34 | (u : SobolevSpace period (q+1)) : |
| 35 | value period (regularizedWordBlock period hm n w (truncateOperator period q u)) = |
| 36 | cylinderHeat period (regularizerVariance n) (word period u hm w) := by |
| 37 | change value period (boundedWordBlock period 2 m (by omega) w |
| 38 | (heatRegularizer period q n (truncateOperator period q u))) = _ |
| 39 | rw [boundedWordBlock_value, heatRegularizer_truncate] |
| 40 | exact heatRegularizer_word period n hm w u |
| 41 | |
| 42 | /-- The actual regularized energy-order word path. -/ |
| 43 | def regularizedWordPath {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) |
| 44 | (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : |
| 45 | C(Icc (0 : ℝ) T, SobolevSpace period 2) := |
| 46 | mapPath period T ((regularizedWordBlock period hm n w).comp (truncateOperator period q)) u |
| 47 | |
| 48 | /-- At depth two the actual Laplacian evaluation is exactly the original genuine jet Laplacian. -/ |
| 49 | theorem laplacianEvaluation_two (u : SobolevSpace period 2) : |
| 50 | laplacianEvaluation period 2 (le_refl 2) u = jetLaplacian period (toJet period u) := by |
| 51 | rw [laplacianEvaluation_apply, jetLaplacian] |
| 52 | exact Finset.sum_congr rfl (fun i _ => (toJet_word period u (le_refl 2) (fun _ : Fin 2 => i)).symm) |
| 53 | |
| 54 | /-- Every regularized word at the full solution energy order satisfies the actual time PDE, with no top-order differentiability premise. -/ |
| 55 | theorem regularized_word_hasDerivAt {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) |
| 56 | (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 57 | (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) |
| 58 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 59 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 60 | u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + |
| 61 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) |
| 62 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 63 | HasDerivAt (fun r => value period (extendPath T hT (regularizedWordPath period hm n w T u) r)) |
| 64 | (ν • jetLaplacian period (toJet period (regularizedWordPath period hm n w T u ⟨t, ht.1.le, ht.2.le⟩)) + |
| 65 | value period (regularizedWordBlock period hm n w (f ⟨t, ht.1.le, ht.2.le⟩))) t := by |
| 66 | have h := viscous_mild_block_hasDerivAt period (le_refl 2) |
| 67 | (regularizedWordBlock period hm n w) (regularizedWordBlock_heat period hm n w) |
| 68 | ν hν T hT u₀ (fun t _ => f t) (f.continuous.comp continuous_fst) u hsol t ht |
| 69 | rw [laplacianEvaluation_two] at h |
| 70 | exact h |
| 71 | |
| 72 | /-- Actual energy-order word regularization preserves lifted divergence-freeness. -/ |
| 73 | theorem regularized_word_divergenceFree {q m : ℕ} (hm : m ≤ q+1) (n : ℕ) (w : Fin m → Fin 4) |
| 74 | (κ : ℝ) (m₀ : Vector3) (u : SobolevSpace period (q+1)) |
| 75 | (hu : value period u ∈ divergenceFreeSpace period κ m₀) : |
| 76 | value period (regularizedWordBlock period hm n w (truncateOperator period q u)) ∈ |
| 77 | divergenceFreeSpace period κ m₀ := by |
| 78 | rw [regularizedWordBlock_value] |
| 79 | apply (gradientSpace period κ m₀).orthogonalProjectionOnto_eq_zero_iff.mp |
| 80 | apply Subtype.ext |
| 81 | change gradientProjection period κ m₀ (cylinderHeat period (regularizerVariance n) (word period u hm w)) = 0 |
| 82 | rw [gradientProjection_cylinderHeat] |
| 83 | have hz : gradientProjection period κ m₀ (word period u hm w) = 0 := by |
| 84 | have h := (gradientSpace period κ m₀).orthogonalProjectionOnto_eq_zero_iff.mpr |
| 85 | (word_divergenceFree period hm κ m₀ u hu w) |
| 86 | exact congrArg Subtype.val h |
| 87 | rw [hz, map_zero] |
| 88 | |
| 89 | end EulerRegularizedWordEquation |