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.SmoothTimeFieldTimeJets |
| 2 | import Mathlib.Algebra.Group.EvenFunction |
| 3 | |
| 4 | /-! Spatial derivatives and genuine within-time derivatives preserve |
| 5 | the expected parity, including the closed interval's endpoints. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace SmoothTimeField |
| 10 | |
| 11 | open Set ContinuousLinearMap EulerVolterraConvolution |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 16 | |
| 17 | theorem fderiv_even_of_odd (f : E → V) (hf : ContDiff ℝ ∞ f) (ho : Function.Odd f) : |
| 18 | Function.Even (fderiv ℝ f) := by |
| 19 | intro x |
| 20 | have he : (fun y => f (-y)) = fun y => -f y := funext ho |
| 21 | have h1 := ((hf.differentiable (by simp) (-x)).hasFDerivAt).comp x |
| 22 | ((hasFDerivAt_id (𝕜 := ℝ) x).neg) |
| 23 | have h2 := ((hf.differentiable (by simp) x).hasFDerivAt).neg |
| 24 | have hfd : fderiv ℝ (fun y => -f y) x = -fderiv ℝ f x := h2.fderiv |
| 25 | have hd : -fderiv ℝ f x = -fderiv ℝ f (-x) := by |
| 26 | simpa only [Function.comp_def,he,hfd,comp_neg,comp_id] using h1.fderiv |
| 27 | exact neg_injective hd.symm |
| 28 | |
| 29 | theorem TimeDerivative.odd {T : ℝ} {hT : 0 ≤ T} |
| 30 | {A A1 : SmoothTimeField (Icc (0 : ℝ) T) E V} |
| 31 | (hd : TimeDerivative T hT A A1) (hTpos : 0 < T) |
| 32 | (ho : ∀ t, Function.Odd (A.field t : E → V)) (t : Icc (0 : ℝ) T) : |
| 33 | Function.Odd (A1.field t : E → V) := by |
| 34 | intro x |
| 35 | have h1 := hd t (-x) |
| 36 | have h2 := (hd t x).neg |
| 37 | have he : (fun r => A.realField T hT r (-x)) = fun r => -A.realField T hT r x := |
| 38 | funext fun r => ho (projIcc 0 T hT r) x |
| 39 | rw [he] at h1 |
| 40 | have hs := uniqueDiffOn_Icc hTpos (t : ℝ) t.property |
| 41 | exact (h1.derivWithin hs).symm.trans (h2.derivWithin hs) |
| 42 | |
| 43 | end SmoothTimeField |