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.InjectivePathDerivative |
| 2 | |
| 3 | /-! Genuine closed-interval derivatives lift through injective bounded embeddings. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerInjectivePathDerivative |
| 8 | |
| 9 | open Set MeasureTheory EulerVolterraConvolution EulerIntegralPathLimit |
| 10 | |
| 11 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 13 | |
| 14 | /-- A continuous stronger-space derivative is genuine even at the interval endpoints. -/ |
| 15 | theorem hasDerivWithinAt_of_injective_map (L : E →L[ℝ] F) (hL : Function.Injective L) |
| 16 | (T : ℝ) (hT : 0 ≤ T) (u f : C(Icc (0 : ℝ) T,E)) |
| 17 | (hd : ∀ t ∈ Ioo 0 T, HasDerivAt (fun r => L (extendPath T hT u r)) |
| 18 | (L (extendPath T hT f t)) t) (t : Icc (0 : ℝ) T) : |
| 19 | HasDerivWithinAt (extendPath T hT u) (f t) (Icc (0 : ℝ) T) t := by |
| 20 | have heq := integral_equation_of_injective_map L hL T hT u f hd |
| 21 | have hg := ((extendPath_continuous T hT f).integral_hasStrictDerivAt 0 (t : ℝ)).hasDerivAt.const_add |
| 22 | (u ⟨0,le_rfl,hT⟩) |
| 23 | have hg' := hg.hasDerivWithinAt (s := Icc (0 : ℝ) T) |
| 24 | rw [show extendPath T hT f (t : ℝ) = f t by simp only [extendPath,projIcc_of_mem hT t.property]] at hg' |
| 25 | apply hg'.congr_of_mem _ t.property |
| 26 | intro r hr |
| 27 | change u (projIcc 0 T hT r) = _ |
| 28 | rw [projIcc_of_mem hT hr] |
| 29 | exact heq ⟨r,hr⟩ |
| 30 | |
| 31 | end EulerInjectivePathDerivative |