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.SmoothTimeFieldLinear |
| 2 | |
| 3 | /-! Addition of actual smooth bounded fields and their genuine time jets. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | open scoped ContDiff BoundedContinuousFunction |
| 9 | |
| 10 | universe u |
| 11 | |
| 12 | namespace SmoothTimeField |
| 13 | |
| 14 | variable {K E V : Type u} [TopologicalSpace K] [CompactSpace K] |
| 15 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 17 | |
| 18 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] V) := inferInstance |
| 19 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] V) := inferInstance |
| 20 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 21 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 22 | |
| 23 | def add (A B : SmoothTimeField K E V) : SmoothTimeField K E V where |
| 24 | field := A.field + B.field |
| 25 | smooth t := (A.smooth t).add (B.smooth t) |
| 26 | jet n := A.jet n + B.jet n |
| 27 | jet_eq n t x := by |
| 28 | change A.jet n t x + B.jet n t x = |
| 29 | iteratedFDeriv ℝ n ((A.field t : E → V) + (B.field t : E → V)) x |
| 30 | rw [A.jet_eq, B.jet_eq] |
| 31 | exact (iteratedFDeriv_add_apply ((A.smooth t).contDiffAt.of_le (by simp)) |
| 32 | ((B.smooth t).contDiffAt.of_le (by simp))).symm |
| 33 | |
| 34 | @[simp] theorem add_apply (A B : SmoothTimeField K E V) (t : K) (x : E) : |
| 35 | (A.add B).field t x = A.field t x + B.field t x := rfl |
| 36 | |
| 37 | theorem add_jet_norm_le (A B : SmoothTimeField K E V) (n : ℕ) : |
| 38 | ‖(A.add B).jet n‖ ≤ ‖A.jet n‖ + ‖B.jet n‖ := norm_add_le _ _ |
| 39 | |
| 40 | theorem jet_eq_of_field_eq (A B : SmoothTimeField K E V) |
| 41 | (h : ∀ t x, A.field t x = B.field t x) (n : ℕ) : A.jet n = B.jet n := by |
| 42 | apply ContinuousMap.ext |
| 43 | intro t |
| 44 | apply BoundedContinuousFunction.ext |
| 45 | intro x |
| 46 | rw [A.jet_eq, B.jet_eq] |
| 47 | exact congrArg (fun f : E → V => iteratedFDeriv ℝ n f x) (funext (h t)) |
| 48 | |
| 49 | end SmoothTimeField |
| 50 | |
| 51 | namespace SmoothTimeField |
| 52 | |
| 53 | open Set |
| 54 | |
| 55 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 56 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 57 | {T : ℝ} {hT : 0 ≤ T} |
| 58 | |
| 59 | theorem TimeDerivative.add |
| 60 | {A A₁ B B₁ : SmoothTimeField (Icc (0 : ℝ) T) E V} |
| 61 | (hA : TimeDerivative T hT A A₁) (hB : TimeDerivative T hT B B₁) : |
| 62 | TimeDerivative T hT (A.add B) (A₁.add B₁) := by |
| 63 | intro t x |
| 64 | exact (hA t x).add (hB t x) |
| 65 | |
| 66 | end SmoothTimeField |