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.WholeSpaceGaussianFields |
| 2 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.DistLEIntegral |
| 3 | import Mathlib.Analysis.SpecialFunctions.Integrals.Basic |
| 4 | |
| 5 | /-! The small-time heat remainder from genuine third spatial L² derivatives. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerWholeSpaceGaussian |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit Filter Set ContinuousLinearMap |
| 12 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSobolevBoundedField |
| 13 | EulerOrdinarySobolev EulerVectorCalculus |
| 14 | open scoped ContDiff ENNReal RealInnerProductSpace Topology |
| 15 | |
| 16 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 17 | |
| 18 | /-- The heat remainder of one actual spatial derivative is O(ε^(1/4)) |
| 19 | times the third spatial L² tensor. No Hölder or heat estimate is assumed. -/ |
| 20 | theorem derivative_high_remainder (A : SmoothL2Field V) (j : Fin 3) (x : Space) |
| 21 | {ε : ℝ} (hε : 0 < ε) : |
| 22 | ‖fderiv ℝ A.field x (axis j) - |
| 23 | average ε (A.directionalField (axis j)).field x‖ ≤ |
| 24 | 3*ε^((1:ℝ)/4)*‖A.jetLp 3‖ := by |
| 25 | let D := A.directionalField (axis j) |
| 26 | let F : ℝ → V := fun t => scaledAverage t D.field x |
| 27 | let B : ℝ → ℝ := fun t => (3/4:ℝ)*t^(-(3:ℝ)/4)*‖A.jetLp 3‖ |
| 28 | have hc : Continuous F := scaledAverage_continuous D.field D.smooth.continuous |
| 29 | ‖finiteField D‖ (field_sup_bound D) x |
| 30 | have hd (t : ℝ) (ht : t ∈ Ioo 0 ε) : |
| 31 | HasDerivAt F ((1/4:ℝ) • secondAverage t D.field x) t := |
| 32 | scaledAverage_field_hasDerivAt ht.1 D x |
| 33 | have hb (t : ℝ) (ht : t ∈ Ioo 0 ε) : ‖deriv F t‖ ≤ B t := by |
| 34 | rw [(hd t ht).deriv, norm_smul, Real.norm_of_nonneg (by norm_num : (0:ℝ) ≤ 1/4)] |
| 35 | have h := mul_le_mul_of_nonneg_left (secondAverage_directional_bound ht.1 A j x) |
| 36 | (by norm_num : (0:ℝ) ≤ 1/4) |
| 37 | exact h.trans_eq (by dsimp [B]; ring) |
| 38 | have hbi : IntervalIntegrable B volume 0 ε := |
| 39 | ((intervalIntegral.intervalIntegrable_rpow' (by norm_num : (-1:ℝ) < -(3:ℝ)/4)).const_mul |
| 40 | (3/4:ℝ)).mul_const ‖A.jetLp 3‖ |
| 41 | have h := norm_sub_le_integral_of_norm_deriv_le_of_le hε.le hc.continuousOn |
| 42 | (fun t ht => (hd t ht).differentiableAt.differentiableWithinAt) |
| 43 | (Eventually.of_forall hb) hbi |
| 44 | have he : (∫ t in (0:ℝ)..ε, B t) = 3*ε^((1:ℝ)/4)*‖A.jetLp 3‖ := by |
| 45 | dsimp [B] |
| 46 | rw [intervalIntegral.integral_mul_const, intervalIntegral.integral_const_mul, |
| 47 | integral_rpow (Or.inl (by norm_num : (-1:ℝ) < -(3:ℝ)/4))] |
| 48 | rw [show -(3:ℝ)/4+1=(1:ℝ)/4 by norm_num, |
| 49 | Real.zero_rpow (by norm_num : (1:ℝ)/4 ≠ 0)] |
| 50 | ring |
| 51 | rw [he] at h |
| 52 | change ‖scaledAverage ε D.field x-scaledAverage 0 D.field x‖ ≤ _ at h |
| 53 | rw [scaledAverage_eq hε, scaledAverage_zero, norm_sub_rev] at h |
| 54 | exact h |
| 55 | |
| 56 | end EulerWholeSpaceGaussian |