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.PowerMomentMatrix |
| 2 | import NavierStokes.ParametricRephase |
| 3 | import Mathlib.Analysis.SpecialFunctions.Pow.Deriv |
| 4 | import Mathlib.Analysis.Matrix.Normed |
| 5 | |
| 6 | /-! |
| 7 | # Smooth families of actual power moment matrices |
| 8 | |
| 9 | The integration intervals may move with the parameter. Locally uniform compact |
| 10 | support is derived from their continuous endpoints. Smoothness of the integral |
| 11 | matrix and its actual inverse is then proved from the primitive data, and |
| 12 | compactness bounds every fixed parameter jet of that inverse. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter Function MeasureTheory |
| 18 | open scoped Topology ContDiff Interval BigOperators Matrix.Norms.Elementwise |
| 19 | |
| 20 | namespace NavierStokes.SmoothPowerMomentMatrix |
| 21 | |
| 22 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | |
| 24 | /-- Primitive smooth data for separated positive bump moments. Endpoint |
| 25 | continuity suffices; in particular smoothly moving intervals are allowed. -/ |
| 26 | structure Family (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | (n : ℕ) (U : Set E) where |
| 28 | exponent : E → Fin n → ℝ |
| 29 | lower : E → Fin n → ℝ |
| 30 | upper : E → Fin n → ℝ |
| 31 | bump : E → Fin n → ℝ → ℝ |
| 32 | exponent_smooth : ∀ i, ContDiffOn ℝ ∞ (fun p => exponent p i) U |
| 33 | lower_continuous : ∀ j, ContinuousOn (fun p => lower p j) U |
| 34 | upper_continuous : ∀ j, ContinuousOn (fun p => upper p j) U |
| 35 | bump_smooth : ∀ j, ContDiffOn ℝ ∞ (fun z : E × ℝ => bump z.1 j z.2) (U ×ˢ univ) |
| 36 | exponent_injective : ∀ p ∈ U, Injective (exponent p) |
| 37 | lower_pos : ∀ p ∈ U, ∀ j, 0 < lower p j |
| 38 | separated : ∀ p ∈ U, ∀ i j, i < j → upper p i < lower p j |
| 39 | bump_nonnegative : ∀ p ∈ U, ∀ j t, 0 ≤ bump p j t |
| 40 | bump_nonzero : ∀ p ∈ U, ∀ j, ∃ t, bump p j t ≠ 0 |
| 41 | bump_support : ∀ p ∈ U, ∀ j, support (bump p j) ⊆ Icc (lower p j) (upper p j) |
| 42 | |
| 43 | namespace Family |
| 44 | |
| 45 | variable {n : ℕ} {U : Set E} (D : Family E n U) |
| 46 | |
| 47 | end Family |
| 48 | end NavierStokes.SmoothPowerMomentMatrix |