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.GenericDifferentialPolynomial |
| 2 | import NavierStokes.GenericRealizationBounds |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.GenericDifferentialPolynomial |
| 7 | |
| 8 | open Set Filter DiagonalResidual |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 12 | variable {l : Filter D} {q : D → ℝ} {U S : Set D} |
| 13 | |
| 14 | /-- Tail data suffice for residual transfer; a coefficient independent of the |
| 15 | fields cancels exactly and therefore needs no growth bound in this step. -/ |
| 16 | structure TailRates (l : Filter D) (q : D → ℝ) (gain : ℕ → ℝ) |
| 17 | (f : D → ℝ) (stage : ℕ → D → ℝ) where |
| 18 | loss : ℕ → ℝ |
| 19 | threshold : ℕ → ℕ |
| 20 | rate : ∀ m J, threshold m ≤ J → |
| 21 | JetRate l q (fun x => f x - stage J x) m (gain J - loss m) |
| 22 | |
| 23 | /-- A finite differential polynomial in normal form, allowing coefficients |
| 24 | whose growth bounds are local to a different common support for every term. -/ |
| 25 | structure SupportedPolynomial (D ι : Type*) where |
| 26 | constant : D → ℝ |
| 27 | terms : List ((D → ℝ) × Expression D ι Empty) |
| 28 | |
| 29 | namespace SupportedPolynomial |
| 30 | |
| 31 | variable {ι : Type*} |
| 32 | |
| 33 | end SupportedPolynomial |
| 34 | |
| 35 | end NavierStokes.GenericDifferentialPolynomial |