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 Euler.PacketMomentumExpansion |
| 2 | |
| 3 | /-! The low coefficients of the actual packet residual, before solving their equations. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketResidual |
| 8 | |
| 9 | open Finset EulerFiniteGrades |
| 10 | |
| 11 | variable {V Q W : Type*} [AddCommGroup V] [Module ℝ V] |
| 12 | [AddCommGroup Q] [Module ℝ Q] [AddCommGroup W] [Module ℝ W] |
| 13 | |
| 14 | theorem coefficient_eq_diagonal (M n : ℕ) (hn : n+1 ≤ M) |
| 15 | (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) |
| 16 | (u : ℕ → V) (p : ℕ → Q) : |
| 17 | coefficient M L G H B C u p n = |
| 18 | L (u n) + G (p n) + H (p (n+1)) + |
| 19 | (∑ i ∈ range (n+1), B (u i) (u (n-i))) + |
| 20 | (∑ i ∈ range (n+2), C (u i) (u (n+1-i))) := by |
| 21 | unfold coefficient shiftDown |
| 22 | rw [truncate_of_le M n _ (by omega), truncate_of_le M n _ (by omega), |
| 23 | truncate_of_le M (n+1) _ hn, truncate_of_le (2*M) (n+1) _ (by omega), |
| 24 | convolution_eq_range M n (by omega), convolution_eq_range M (n+1) hn] |
| 25 | |
| 26 | end EulerPacketResidual |
| 27 | |
| 28 | namespace EulerPacketPointJets |
| 29 | |
| 30 | open Finset EulerSmoothLimit EulerPacketResidual |
| 31 | |
| 32 | /-- This is the coefficient equation used in the source recursion, with actual derivatives. -/ |
| 33 | theorem momentumGrade_eq_diagonal (N n : ℕ) (hn : n+1 ≤ N) |
| 34 | (FInv M : Space →L[ℝ] Space) (m : Space) |
| 35 | (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) : |
| 36 | momentumGrade N FInv M m u p z n = |
| 37 | linearPart M (jet (u n) z) + slowPressure FInv (jet (p n) z) + |
| 38 | fastPressure m (jet (p (n+1)) z) + |
| 39 | (∑ i ∈ range (n+1), slowAdvection FInv (jet (u i) z) (jet (u (n-i)) z)) + |
| 40 | (∑ i ∈ range (n+2), fastAdvection m (jet (u i) z) (jet (u (n+1-i)) z)) := |
| 41 | coefficient_eq_diagonal N n hn _ _ _ _ _ _ _ |
| 42 | |
| 43 | end EulerPacketPointJets |