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.InviscidSobolevEvolution |
| 2 | |
| 3 | /-! Adding the actual correction removes a genuine approximate-solution residual. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCorrectionResidualCancellation |
| 8 | |
| 9 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 10 | EulerCorrectionOperators EulerQuadraticSource EulerVolterraConvolution |
| 11 | EulerInviscidSobolevEvolution EulerSobolevCoefficientPressure |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The inherited Sobolev group structure for exact residual cancellation. -/ |
| 17 | local instance residualSobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 18 | /-- The inherited real Sobolev module structure for exact residual cancellation. -/ |
| 19 | local instance residualSobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | |
| 21 | /-- The actual linear coefficient plus the full transport-and-algebraic quadratic nonlinearity. -/ |
| 22 | def nonlinearity {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 23 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 24 | (u : SobolevSpace period (q+1)) : SobolevSpace period q := |
| 25 | coefficientSobolevOperator period (D.linear.jet t) (truncateOperator period q u) + |
| 26 | (D.coefficients period hq).quadratic t u u |
| 27 | |
| 28 | /-- The actual raw correction source is exactly the prescribed residual plus the full nonlinear increment about the prescribed approximation. -/ |
| 29 | theorem rawSource_eq_residual_increment {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 30 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) (e : SobolevSpace period (q+1)) : |
| 31 | D.rawSource period hq t e = D.residual t + |
| 32 | nonlinearity period D hq t (D.approximation t+e) - |
| 33 | nonlinearity period D hq t (D.approximation t) := by |
| 34 | let B := (D.coefficients period hq).quadratic t |
| 35 | let A := (coefficientSobolevOperator period (D.linear.jet t)).comp (truncateOperator period q) |
| 36 | change D.residual t + linearize B A (D.approximation t) e + B e e = |
| 37 | D.residual t + (A (D.approximation t+e) + B (D.approximation t+e) (D.approximation t+e)) - |
| 38 | (A (D.approximation t) + B (D.approximation t) (D.approximation t)) |
| 39 | simp only [linearize_apply,map_add,add_apply] |
| 40 | abel |
| 41 | |
| 42 | /-- The signed approximate and correction equations cancel the residual and add their actual pressures. -/ |
| 43 | theorem residual_cancellation {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 44 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 45 | (e : SobolevSpace period (q+1)) (pa : SobolevSpace period q) : |
| 46 | (D.residual t-nonlinearity period D hq t (D.approximation t)- |
| 47 | coefficientSobolevOperator period (D.metric.jet t) pa) + |
| 48 | (-D.rawSource period hq t e- |
| 49 | coefficientSobolevOperator period (D.metric.jet t) (D.pressure period hq t e)) = |
| 50 | -nonlinearity period D hq t (D.approximation t+e)- |
| 51 | coefficientSobolevOperator period (D.metric.jet t) (pa+D.pressure period hq t e) := by |
| 52 | rw [rawSource_eq_residual_increment period D hq t e,map_add] |
| 53 | abel |
| 54 | |
| 55 | end EulerCorrectionResidualCancellation |