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.H3Curve |
| 2 | |
| 3 | /-! # The classical H³ solution class on a finite Euclidean slab |
| 4 | |
| 5 | Velocity and its spatial jets belong to the genuine H³ completion. Time |
| 6 | differentiation is in L², and the equation holds almost everywhere in space. |
| 7 | Pressure is an arbitrary C¹ spatial potential; |
| 8 | no normalization, support, or bound on the pressure itself is imposed. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set Filter MeasureTheory |
| 14 | open scoped ContDiff Topology BigOperators |
| 15 | |
| 16 | namespace NavierStokesR3.H3Comparison |
| 17 | |
| 18 | open ProblemStatement |
| 19 | |
| 20 | def weakAdvection (u : Space → Space) (du : Fin 3 → Space → Space) (x : Space) : Space := |
| 21 | ∑ i, u x i • du i x |
| 22 | |
| 23 | def weakLaplacian (ddu : Fin 3 → Fin 3 → Space → Space) (x : Space) : Space := |
| 24 | ∑ i, ddu i i x |
| 25 | |
| 26 | def weakDivergence (du : Fin 3 → Space → Space) (x : Space) : ℝ := ∑ i, du i x i |
| 27 | |
| 28 | /-- The usual strong formulation on a closed time slab, with H³ spatial |
| 29 | regularity and an actual L² time derivative at interior times. -/ |
| 30 | structure StrongSolutionOnIcc (ν : ℝ) (f : VelocityField) (a b : ℝ) |
| 31 | (u : VelocityField) (p : PressureField) where |
| 32 | time_lt : a < b |
| 33 | curve : H3Curve u (Icc a b) |
| 34 | timeDerivative : VelocityField |
| 35 | timeDerivative_memLp : ∀ t ∈ Ioo a b, MemLp (fun x => timeDerivative (t, x)) 2 volume |
| 36 | hasDerivAt_velocity : ∀ t (ht : t ∈ Ioo a b), |
| 37 | HasDerivAt curve.velocityLp |
| 38 | ((timeDerivative_memLp t ht).toLp (fun x => timeDerivative (t, x))) t |
| 39 | pressure_C1 : ∀ t ∈ Ioo a b, ContDiff ℝ 1 (fun x => p (t, x)) |
| 40 | divergence_free : ∀ t ∈ Ioo a b, |
| 41 | ∀ᵐ x ∂volume, weakDivergence (fun i x => curve.first i (t, x)) x = 0 |
| 42 | navier_stokes : ∀ t ∈ Ioo a b, ∀ᵐ x ∂volume, |
| 43 | timeDerivative (t, x) + weakAdvection (fun x => u (t, x)) |
| 44 | (fun i x => curve.first i (t, x)) x - |
| 45 | ν • weakLaplacian (fun i j x => curve.second i j (t, x)) x + |
| 46 | NavierStokes.ProblemStatement.pressureGradient p t x = f (t, x) |
| 47 | |
| 48 | /-- A classical H³ solution on a half-open lifespan. The same velocity and |
| 49 | pressure solve the equation on every shorter closed slab. -/ |
| 50 | structure ClassicalH3Solution (ν : ℝ) (f : VelocityField) (initial : Space → Space) |
| 51 | (T : ℝ) (u : VelocityField) (p : PressureField) where |
| 52 | lifespan_pos : 0 < T |
| 53 | initial_velocity : ∀ x, u (0, x) = initial x |
| 54 | on_shorter_interval : ∀ S ∈ Ioo (0 : ℝ) T, StrongSolutionOnIcc ν f 0 S u p |
| 55 | |
| 56 | end NavierStokesR3.H3Comparison |