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.MeanSolenoidalSpace |
| 2 | import Mathlib.MeasureTheory.Function.ContinuousMapDense |
| 3 | |
| 4 | /-! Currying an actual L² field of derivatives into a bounded derivative operator. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerLpDerivative |
| 9 | |
| 10 | open MeasureTheory |
| 11 | |
| 12 | variable {X P V : Type*} [MeasurableSpace X] |
| 13 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 14 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 15 | (μ : Measure X) |
| 16 | |
| 17 | def applyDerivative (D : Lp (P →L[ℝ] V) 2 μ) (a : P) : Lp V 2 μ := |
| 18 | (ContinuousLinearMap.apply ℝ V a).compLpL 2 μ D |
| 19 | |
| 20 | theorem applyDerivative_ae (D : Lp (P →L[ℝ] V) 2 μ) (a : P) : |
| 21 | applyDerivative μ D a =ᵐ[μ] fun x => D x a := |
| 22 | (ContinuousLinearMap.apply ℝ V a).coeFn_compLp D |
| 23 | |
| 24 | theorem applyDerivative_norm_le (D : Lp (P →L[ℝ] V) 2 μ) (a : P) : |
| 25 | ‖applyDerivative μ D a‖ ≤ ‖D‖ * ‖a‖ := by |
| 26 | rw [mul_comm] |
| 27 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 28 | filter_upwards [applyDerivative_ae μ D a] with x hx |
| 29 | rw [hx, mul_comm] |
| 30 | exact (D x).le_opNorm a |
| 31 | |
| 32 | def derivativeLinear (D : Lp (P →L[ℝ] V) 2 μ) : P →ₗ[ℝ] Lp V 2 μ where |
| 33 | toFun := applyDerivative μ D |
| 34 | map_add' a b := by |
| 35 | apply Lp.ext |
| 36 | filter_upwards [applyDerivative_ae μ D (a+b), applyDerivative_ae μ D a, |
| 37 | applyDerivative_ae μ D b, Lp.coeFn_add (applyDerivative μ D a) (applyDerivative μ D b)] |
| 38 | with x hab ha hb hs |
| 39 | rw [hab, hs] |
| 40 | simp only [Pi.add_apply] |
| 41 | rw [ha, hb, map_add] |
| 42 | map_smul' c a := by |
| 43 | apply Lp.ext |
| 44 | filter_upwards [applyDerivative_ae μ D (c • a), applyDerivative_ae μ D a, |
| 45 | Lp.coeFn_smul c (applyDerivative μ D a)] with x hca ha hs |
| 46 | change (applyDerivative μ D (c • a)) x = (c • applyDerivative μ D a) x |
| 47 | rw [hca, hs] |
| 48 | simp only [Pi.smul_apply] |
| 49 | rw [ha, map_smul] |
| 50 | |
| 51 | /-- This is a concrete bounded derivative with values in the actual L² function space. -/ |
| 52 | def derivativeMap (D : Lp (P →L[ℝ] V) 2 μ) : P →L[ℝ] Lp V 2 μ := |
| 53 | (derivativeLinear μ D).mkContinuous ‖D‖ (applyDerivative_norm_le μ D) |
| 54 | |
| 55 | theorem derivativeMap_ae (D : Lp (P →L[ℝ] V) 2 μ) (a : P) : |
| 56 | derivativeMap μ D a =ᵐ[μ] fun x => D x a := applyDerivative_ae μ D a |
| 57 | |
| 58 | theorem derivativeMap_norm_le (D : Lp (P →L[ℝ] V) 2 μ) : ‖derivativeMap μ D‖ ≤ ‖D‖ := |
| 59 | (derivativeMap μ D).opNorm_le_bound (norm_nonneg D) (applyDerivative_norm_le μ D) |
| 60 | |
| 61 | end EulerLpDerivative |