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.SmoothTimeFieldJoint |
| 2 | import Euler.SmoothTimeSuperposition |
| 3 | import Euler.SmoothPathTimeJets |
| 4 | import Euler.BoundedFieldTimeDerivative |
| 5 | |
| 6 | /-! A literal time derivative of smooth bounded fields differentiates |
| 7 | every actual spatial jet, both pointwise and in the uniform field norm. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | open scoped ContDiff BoundedContinuousFunction |
| 13 | |
| 14 | namespace SmoothTimeField |
| 15 | |
| 16 | open Set EulerVolterraConvolution EulerSmoothPathTimeJets |
| 17 | |
| 18 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 20 | (T : ℝ) (hT : 0 ≤ T) (A A₁ : SmoothTimeField (Icc (0 : ℝ) T) E V) |
| 21 | |
| 22 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] V) := inferInstance |
| 23 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] V) := inferInstance |
| 24 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 26 | |
| 27 | def sliceFamily (x : E) : C(Icc (0 : ℝ) T,V) := |
| 28 | A.superposition ((ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T)) x) |
| 29 | |
| 30 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ V] in |
| 31 | @[simp] theorem sliceFamily_apply (x : E) (t : Icc (0 : ℝ) T) : |
| 32 | sliceFamily T A x t = A.field t x := rfl |
| 33 | |
| 34 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ V] in |
| 35 | theorem sliceFamily_contDiff : ContDiff ℝ ∞ (sliceFamily T A) := |
| 36 | A.superposition_contDiff.comp |
| 37 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := E) |
| 38 | (F := C(Icc (0 : ℝ) T,E)) (ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T))) |
| 39 | |
| 40 | theorem sliceFamily_jet (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : |
| 41 | jetFamily T (sliceFamily T A) n x t = A.jet n t x := by |
| 42 | rw [jetFamily_apply T _ (sliceFamily_contDiff T A)] |
| 43 | exact (A.jet_eq n t x).symm |
| 44 | |
| 45 | theorem TimeDerivative.jet_pointwise (htime : TimeDerivative T hT A A₁) |
| 46 | (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : |
| 47 | HasDerivWithinAt (fun s => extendPath T hT (A.jet n) s x) |
| 48 | (A₁.jet n t x) (Icc (0 : ℝ) T) t := by |
| 49 | have hd : ∀ y (s : Icc (0 : ℝ) T), |
| 50 | HasDerivWithinAt (extendPath T hT (sliceFamily T A y)) |
| 51 | (sliceFamily T A₁ y s) (Icc (0 : ℝ) T) s := fun y s => htime s y |
| 52 | have h := jetFamily_hasDerivWithinAt T hT (sliceFamily T A) (sliceFamily T A₁) |
| 53 | (sliceFamily_contDiff T A) (sliceFamily_contDiff T A₁) hd n x t |
| 54 | have he : extendPath T hT (jetFamily T (sliceFamily T A) n x) = |
| 55 | fun s => extendPath T hT (A.jet n) s x := by |
| 56 | funext s |
| 57 | exact sliceFamily_jet T A n x (projIcc 0 T hT s) |
| 58 | rw [he, sliceFamily_jet] at h |
| 59 | exact h |
| 60 | |
| 61 | theorem TimeDerivative.derivative (htime : TimeDerivative T hT A A₁) : |
| 62 | TimeDerivative T hT A.derivative A₁.derivative := by |
| 63 | intro t x |
| 64 | let L := (continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap |
| 65 | have h := L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) |
| 66 | (TimeDerivative.jet_pointwise T hT A A₁ htime 1 x t) |
| 67 | exact h |
| 68 | |
| 69 | theorem TimeDerivative.jet_uniform (htime : TimeDerivative T hT A A₁) |
| 70 | (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 71 | HasDerivWithinAt (extendPath T hT (A.jet n)) |
| 72 | (A₁.jet n t) (Icc (0 : ℝ) T) t := by |
| 73 | have h := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT (A.jet n) (A₁.jet n) |
| 74 | (fun s hs x => by |
| 75 | simpa only [extendPath, projIcc_of_mem hT hs] using |
| 76 | TimeDerivative.jet_pointwise T hT A A₁ htime n x ⟨s,hs⟩) t t.property |
| 77 | simpa only [extendPath, projIcc_of_mem hT t.property] using h |
| 78 | |
| 79 | end SmoothTimeField |