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.StaticEulerTime |
| 2 | import Euler.StaticEulerSolution |
| 3 | |
| 4 | /-! The actual local Euler velocity and pressure force agree with the |
| 5 | constructed smooth coefficient paths. In particular the local velocity |
| 6 | has a true one-sided time derivative at the initial and terminal times. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerStaticEuler |
| 11 | |
| 12 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpTranslation EulerVolterraConvolution |
| 13 | open scoped ContDiff BoundedContinuousFunction |
| 14 | |
| 15 | variable (P : ℝ) [Fact (0 < P)] (u : SmoothL2Field Space) (C R : ℝ) |
| 16 | (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 17 | |
| 18 | theorem velocityCoefficient_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 19 | (velocityCoefficient P u C R hC hR hu hdiv).field t x = |
| 20 | localVelocity P u C R hC hR hu hdiv (t,x) := by |
| 21 | change (amplitude P C R hC hR)⁻¹ • |
| 22 | (unitVelocityCoefficient P u C R hC hR hu hdiv).field |
| 23 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) x = _ |
| 24 | rw [unitVelocityCoefficient_apply] |
| 25 | change (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 26 | (exactPacket P u C R hC hR hu hdiv) ((t : ℝ)/amplitude P C R hC hR,x) = |
| 27 | (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 28 | (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) |
| 29 | rw [div_eq_mul_inv,mul_comm (t : ℝ)] |
| 30 | |
| 31 | theorem forceCoefficient_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 32 | (forceCoefficient P u C R hC hR hu hdiv).field t x = |
| 33 | localForce P u C R hC hR hu hdiv (t,x) := by |
| 34 | change ((amplitude P C R hC hR)⁻¹)^2 • |
| 35 | (unitForceCoefficient P u C R hC hR hu hdiv).field |
| 36 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) x = _ |
| 37 | rw [unitForceCoefficient_apply] |
| 38 | change ((amplitude P C R hC hR)⁻¹)^2 • EulerConstantEuler.force |
| 39 | (exactPacket P u C R hC hR hu hdiv) ((t : ℝ)/amplitude P C R hC hR,x) = |
| 40 | ((amplitude P C R hC hR)⁻¹)^2 • EulerConstantEuler.force |
| 41 | (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) |
| 42 | rw [div_eq_mul_inv,mul_comm (t : ℝ)] |
| 43 | |
| 44 | theorem localVelocity_hasDerivWithinAt |
| 45 | (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 46 | HasDerivWithinAt (fun s => localVelocity P u C R hC hR hu hdiv (s,x)) |
| 47 | ((derivativeCoefficient P u C R hC hR hu hdiv).field t x) |
| 48 | (Icc (0 : ℝ) (amplitude P C R hC hR)) t := by |
| 49 | have hd := coefficient_time P u C R hC hR hu hdiv t x |
| 50 | apply hd.congr_of_mem _ t.property |
| 51 | intro s hs |
| 52 | have he := velocityCoefficient_apply P u C R hC hR hu hdiv ⟨s,hs⟩ x |
| 53 | simpa only [SmoothTimeField.realField,extendPath,projIcc_of_mem (amplitude_pos P C R hC hR).le hs] |
| 54 | using he.symm |
| 55 | |
| 56 | end EulerStaticEuler |