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.ViscosityDefect |
| 2 | import Euler.ViscosityCauchy |
| 3 | |
| 4 | /-! A pointwise viscous derivative expressed as a continuous path. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerViscousPathDerivative |
| 9 | |
| 10 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeatGenerator |
| 11 | EulerViscosityDefect EulerViscosityCauchy EulerVolterraConvolution |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- The actual pointwise viscous derivative equals evaluation of its continuous source path. -/ |
| 16 | theorem hasDerivAt_path {s q : ℕ} (hs : 2 ≤ s) (ν T : ℝ) (hT : 0 ≤ T) |
| 17 | (u : C(Icc (0 : ℝ) T,SobolevSpace period s)) |
| 18 | (f : C(Icc (0 : ℝ) T,SobolevSpace period q)) |
| 19 | (r : ℝ) (hr : r ∈ Ioo 0 T) |
| 20 | (hd : HasDerivAt (fun x => value period (extendPath T hT u x)) |
| 21 | (ν • laplacianEvaluation period s hs (u ⟨r,hr.1.le,hr.2.le⟩) + |
| 22 | value period (f ⟨r,hr.1.le,hr.2.le⟩)) r) : |
| 23 | HasDerivAt (extendPath T hT (valuePath period T u)) |
| 24 | (extendPath T hT (viscousDefect period hs ν T u + valuePath period T f) r) r := by |
| 25 | apply hd.congr_deriv |
| 26 | change _ = (viscousDefect period hs ν T u + valuePath period T f) (projIcc 0 T hT r) |
| 27 | rw [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 28 | rfl |
| 29 | |
| 30 | end EulerViscousPathDerivative |