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 | theorem weakAdvection_memLp {u : Space → Space} {du : Fin 3 → Space → Space} |
| 49 | (hu : Continuous u) {B : ℝ} (hB : 0 ≤ B) (hb : ∀ x, ‖u x‖ ≤ B) |
| 50 | (hd : ∀ i, MemLp (du i) 2 volume) : MemLp (weakAdvection u du) 2 volume := by |
| 51 | apply memLp_finsetSum |
| 52 | intro i _ |
| 53 | apply ((hd i).const_smul B).mono |
| 54 | · exact ((EuclideanSpace.proj i).continuous.comp hu).aestronglyMeasurable.smul |
| 55 | (hd i).aestronglyMeasurable |
| 56 | · filter_upwards with x |
| 57 | rw [norm_smul, Pi.smul_apply, norm_smul, Real.norm_of_nonneg hB] |
| 58 | exact mul_le_mul_of_nonneg_right ((PiLp.norm_apply_le (u x) i).trans (hb x)) |
| 59 | (norm_nonneg _) |
| 60 | |
| 61 | /-- In the ordinary H³ solution class the pressure gradient is square |
| 62 | integrable because the equation expresses it as a sum of L² fields. This is |
| 63 | a conclusion, not an added pressure normalization hypothesis. -/ |
| 64 | theorem StrongSolutionOnIcc.pressureGradient_memLp {ν a b : ℝ} {f u : VelocityField} |
| 65 | {p : PressureField} (h : StrongSolutionOnIcc ν f a b u p) |
| 66 | {t : ℝ} (ht : t ∈ Ioo a b) (hf : MemLp (fun x => f (t, x)) 2 volume) : |
| 67 | MemLp (fun x => NavierStokes.ProblemStatement.pressureGradient p t x) 2 volume := by |
| 68 | have htt : t ∈ Icc a b := Ioo_subset_Icc_self ht |
| 69 | have hd := h.curve.approximation t htt |
| 70 | have had := weakAdvection_memLp (h.curve.spatial_continuous t htt) |
| 71 | (mul_nonneg (by norm_num) (h.curve.normAt_nonneg t)) (h.curve.norm_le htt) |
| 72 | hd.derivative_memLp |
| 73 | have hla : MemLp (weakLaplacian (fun i j x => h.curve.second i j (t, x))) 2 volume := by |
| 74 | apply memLp_finsetSum |
| 75 | intro i _ |
| 76 | exact hd.second_memLp i i |
| 77 | apply (hf.sub ((h.timeDerivative_memLp t ht).add had) |>.add (hla.const_smul ν)).ae_eq |
| 78 | filter_upwards [h.navier_stokes t ht] with x hx |
| 79 | change f (t, x) - (h.timeDerivative (t, x) + weakAdvection (fun x => u (t, x)) |
| 80 | (fun i x => h.curve.first i (t, x)) x) + |
| 81 | ν • weakLaplacian (fun i j x => h.curve.second i j (t, x)) x = _ |
| 82 | rw [← hx] |
| 83 | abel |
| 84 | |
| 85 | /-- A classical H³ solution on a half-open lifespan. The same velocity and |
| 86 | pressure solve the equation on every shorter closed slab. -/ |
| 87 | structure ClassicalH3Solution (ν : ℝ) (f : VelocityField) (initial : Space → Space) |
| 88 | (T : ℝ) (u : VelocityField) (p : PressureField) where |
| 89 | lifespan_pos : 0 < T |
| 90 | initial_velocity : ∀ x, u (0, x) = initial x |
| 91 | on_shorter_interval : ∀ S ∈ Ioo (0 : ℝ) T, StrongSolutionOnIcc ν f 0 S u p |
| 92 | |
| 93 | end NavierStokesR3.H3Comparison |