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 NavierStokes.R3.ProblemStatement |
| 2 | import NavierStokes.PeriodicUniqueness |
| 3 | import Mathlib.MeasureTheory.Function.L2Space |
| 4 | |
| 5 | /-! |
| 6 | # Common definitions for whole-space comparison |
| 7 | |
| 8 | These are the ordinary volume energies and differential expressions. No |
| 9 | comparison estimate or pressure representation is assumed in this module. |
| 10 | -/ |
| 11 | |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set MeasureTheory |
| 16 | open scoped ContDiff BigOperators ENNReal InnerProductSpace |
| 17 | |
| 18 | namespace NavierStokesR3.Comparison |
| 19 | |
| 20 | open ProblemStatement |
| 21 | |
| 22 | abbrev slab (a b : ℝ) : Set SpaceTime := Icc a b ×ˢ univ |
| 23 | |
| 24 | abbrev partialD {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | (i : Fin 3) (f : Space → E) (x : Space) : E := |
| 26 | NavierStokes.PeriodicIntegration.spatialPartial i f x |
| 27 | |
| 28 | def comparisonLpNorm {E : Type*} [NormedAddCommGroup E] (p : ℝ≥0∞) (f : Space → E) : ℝ := |
| 29 | (eLpNorm f p (volume : Measure Space)).toReal |
| 30 | |
| 31 | def l2Sq {E : Type*} [NormedAddCommGroup E] (f : Space → E) : ℝ := |
| 32 | ∫ x : Space, ‖f x‖ ^ 2 |
| 33 | |
| 34 | def gradientSq (f : Space → Space) (x : Space) : ℝ := |
| 35 | ∑ i : Fin 3, ‖partialD i f x‖ ^ 2 |
| 36 | |
| 37 | def weightedEnergy (χ : Space → ℝ) (w : VelocityField) (t : ℝ) : ℝ := |
| 38 | ∫ x : Space, χ x * ‖w (t, x)‖ ^ 2 |
| 39 | |
| 40 | def weightedEnergyRate (χ : Space → ℝ) (w : VelocityField) (t : ℝ) : ℝ := |
| 41 | ∫ x : Space, χ x * (2 * ⟪w (t, x), |
| 42 | NavierStokes.ProblemStatement.temporalDerivative w t x⟫_ℝ) |
| 43 | |
| 44 | def weightedDissipation (χ : Space → ℝ) (w : VelocityField) (t : ℝ) : ℝ := |
| 45 | ∫ x : Space, χ x * gradientSq (fun y => w (t, y)) x |
| 46 | |
| 47 | def dissipationRoot (φ : Space → ℝ) (w : VelocityField) (t : ℝ) : ℝ := |
| 48 | Real.sqrt (weightedDissipation (fun x => φ x ^ 8) w t) |
| 49 | |
| 50 | def cutoffL6 (φ : Space → ℝ) (w : VelocityField) (t : ℝ) : ℝ := |
| 51 | comparisonLpNorm 6 (fun x => (φ x ^ 4) • w (t, x)) |
| 52 | |
| 53 | def tensorDiff (u v : VelocityField) (t : ℝ) (i j : Fin 3) (x : Space) : ℝ := |
| 54 | u (t, x) i * u (t, x) j - v (t, x) i * v (t, x) j |
| 55 | |
| 56 | end NavierStokesR3.Comparison |