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 Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 3 | |
| 4 | /-! |
| 5 | # Kinetic energy under spatial dilation |
| 6 | |
| 7 | Spatial dilation and multiplication of velocity by a fixed amplitude preserve |
| 8 | one energy bound over any prescribed set of times. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set MeasureTheory |
| 14 | |
| 15 | namespace NavierStokesR3.ProblemStatement |
| 16 | |
| 17 | /-- Dilation of space by a nonzero scalar preserves square integrability, |
| 18 | even when the velocity amplitude vanishes. -/ |
| 19 | theorem SquareIntegrableAtTime.spatial_smul {u : VelocityField} {t : ℝ} |
| 20 | (hu : SquareIntegrableAtTime u t) (a b : ℝ) (hb : b ≠ 0) : |
| 21 | SquareIntegrableAtTime (fun z => a • u (z.1, b • z.2)) t := by |
| 22 | have h := hu.comp_smul hb |
| 23 | simpa only [SquareIntegrableAtTime, norm_smul, mul_pow] using h.const_mul (‖a‖ ^ 2) |
| 24 | |
| 25 | /-- The exact energy factor for velocity amplitude `a` and spatial dilation `b`. |
| 26 | This identity also holds for the totalized integral when a slice is not integrable. -/ |
| 27 | theorem kineticEnergy_spatial_smul (u : VelocityField) (a b t : ℝ) : |
| 28 | kineticEnergy (fun z => a • u (z.1, b • z.2)) t = |
| 29 | (‖a‖ ^ 2 * |(b ^ 3)⁻¹|) * kineticEnergy u t := by |
| 30 | simp only [kineticEnergy, norm_smul, mul_pow] |
| 31 | rw [integral_const_mul, |
| 32 | Measure.integral_comp_smul volume (fun x : Space => ‖u (t, x)‖ ^ 2) b] |
| 33 | have hd : Module.finrank ℝ Space = 3 := by simp [Space, NavierStokes.ProblemStatement.Space] |
| 34 | rw [hd] |
| 35 | simp only [smul_eq_mul] |
| 36 | ring |
| 37 | |
| 38 | /-- A single finite energy bound survives any fixed amplitude and nonzero |
| 39 | spatial dilation without changing the time interval. -/ |
| 40 | theorem UniformFiniteEnergy.spatial_smul {times : Set ℝ} {u : VelocityField} |
| 41 | (hu : UniformFiniteEnergy times u) (a b : ℝ) (hb : b ≠ 0) : |
| 42 | UniformFiniteEnergy times (fun z => a • u (z.1, b • z.2)) := by |
| 43 | obtain ⟨E, hE, hu⟩ := hu |
| 44 | have hc : 0 ≤ ‖a‖ ^ 2 * |(b ^ 3)⁻¹| := mul_nonneg (sq_nonneg _) (abs_nonneg _) |
| 45 | refine ⟨(‖a‖ ^ 2 * |(b ^ 3)⁻¹|) * E, mul_nonneg hc hE, ?_⟩ |
| 46 | intro t ht |
| 47 | obtain ⟨hI, hB⟩ := hu t ht |
| 48 | refine ⟨hI.spatial_smul a b hb, ?_⟩ |
| 49 | rw [kineticEnergy_spatial_smul] |
| 50 | exact mul_le_mul_of_nonneg_left hB hc |
| 51 | |
| 52 | end NavierStokesR3.ProblemStatement |