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 | import NavierStokes.ExponentialMomentMatrix |
| 6 | |
| 7 | /-! |
| 8 | # Smooth parameter families of exponential bump moments |
| 9 | |
| 10 | This is the logarithmic-coordinate clause of `outgoing:moment-rank`. Exponents, |
| 11 | bumps and support intervals may vary with the parameter. The actual integrated |
| 12 | matrix and its nonsingular inverse are smooth, with all fixed inverse jets |
| 13 | bounded on compact parameter sets. |
| 14 | -/ |
| 15 | |
| 16 | /-! ## From `NavierStokes/SmoothPowerMomentMatrix.lean` |
| 17 | |
| 18 | The text of `NavierStokes/SmoothPowerMomentMatrix.lean`, folded into this file, which was its only importer. -/ |
| 19 | |
| 20 | section |
| 21 | |
| 22 | /-! |
| 23 | # Smooth families of actual power moment matrices |
| 24 | |
| 25 | The integration intervals may move with the parameter. Locally uniform compact |
| 26 | support is derived from their continuous endpoints. Smoothness of the integral |
| 27 | matrix and its actual inverse is then proved from the primitive data, and |
| 28 | compactness bounds every fixed parameter jet of that inverse. |
| 29 | -/ |
| 30 | |
| 31 | noncomputable section |
| 32 | |
| 33 | open Set Filter Function MeasureTheory |
| 34 | open scoped Topology ContDiff Interval BigOperators Matrix.Norms.Elementwise |
| 35 | |
| 36 | namespace NavierStokes.SmoothPowerMomentMatrix |
| 37 | |
| 38 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 39 | |
| 40 | /-- Primitive smooth data for separated positive bump moments. Endpoint |
| 41 | continuity suffices; in particular smoothly moving intervals are allowed. -/ |
| 42 | structure Family (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 43 | (n : ℕ) (U : Set E) where |
| 44 | exponent : E → Fin n → ℝ |
| 45 | lower : E → Fin n → ℝ |
| 46 | upper : E → Fin n → ℝ |
| 47 | bump : E → Fin n → ℝ → ℝ |
| 48 | exponent_smooth : ∀ i, ContDiffOn ℝ ∞ (fun p => exponent p i) U |
| 49 | lower_continuous : ∀ j, ContinuousOn (fun p => lower p j) U |
| 50 | upper_continuous : ∀ j, ContinuousOn (fun p => upper p j) U |
| 51 | bump_smooth : ∀ j, ContDiffOn ℝ ∞ (fun z : E × ℝ => bump z.1 j z.2) (U ×ˢ univ) |
| 52 | exponent_injective : ∀ p ∈ U, Injective (exponent p) |
| 53 | lower_pos : ∀ p ∈ U, ∀ j, 0 < lower p j |
| 54 | separated : ∀ p ∈ U, ∀ i j, i < j → upper p i < lower p j |
| 55 | bump_nonnegative : ∀ p ∈ U, ∀ j t, 0 ≤ bump p j t |
| 56 | bump_nonzero : ∀ p ∈ U, ∀ j, ∃ t, bump p j t ≠ 0 |
| 57 | bump_support : ∀ p ∈ U, ∀ j, support (bump p j) ⊆ Icc (lower p j) (upper p j) |
| 58 | |
| 59 | namespace Family |
| 60 | |
| 61 | variable {n : ℕ} {U : Set E} (D : Family E n U) |
| 62 | |
| 63 | end Family |
| 64 | end NavierStokes.SmoothPowerMomentMatrix |
| 65 | end |
| 66 | |
| 67 | end |
| 68 | |
| 69 | noncomputable section |
| 70 | |
| 71 | open Set Filter Function MeasureTheory |
| 72 | open scoped Topology ContDiff Interval BigOperators Matrix.Norms.Elementwise |
| 73 | |
| 74 | namespace NavierStokes.SmoothExponentialMomentMatrix |
| 75 | |
| 76 | /-- Primitive data on an open parameter domain. Logarithmic-coordinate support |
| 77 | intervals may lie anywhere on the real line. -/ |
| 78 | structure Family (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 79 | (n : ℕ) (U : Set E) where |
| 80 | exponent : E → Fin n → ℝ |
| 81 | lower : E → Fin n → ℝ |
| 82 | upper : E → Fin n → ℝ |
| 83 | bump : E → Fin n → ℝ → ℝ |
| 84 | exponent_smooth : ∀ i, ContDiffOn ℝ ∞ (fun p => exponent p i) U |
| 85 | lower_continuous : ∀ j, ContinuousOn (fun p => lower p j) U |
| 86 | upper_continuous : ∀ j, ContinuousOn (fun p => upper p j) U |
| 87 | bump_smooth : ∀ j, ContDiffOn ℝ ∞ (fun z : E × ℝ => bump z.1 j z.2) (U ×ˢ univ) |
| 88 | exponent_injective : ∀ p ∈ U, Injective (exponent p) |
| 89 | separated : ∀ p ∈ U, ∀ i j, i < j → upper p i < lower p j |
| 90 | bump_nonnegative : ∀ p ∈ U, ∀ j t, 0 ≤ bump p j t |
| 91 | bump_nonzero : ∀ p ∈ U, ∀ j, ∃ t, bump p j t ≠ 0 |
| 92 | bump_support : ∀ p ∈ U, ∀ j, support (bump p j) ⊆ Icc (lower p j) (upper p j) |
| 93 | |
| 94 | namespace Family |
| 95 | |
| 96 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 97 | {n : ℕ} {U : Set E} (D : Family E n U) |
| 98 | |
| 99 | end Family |
| 100 | end NavierStokes.SmoothExponentialMomentMatrix |