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.SmoothPathSuperposition |
| 2 | |
| 3 | /-! Smooth bounded fields on a general real normed domain, with actual |
| 4 | spatial jets continuous in the uniform time-path norm. This extends the |
| 5 | ordinary-space coefficient interface to the lifted four-dimensional flow. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open scoped ContDiff BoundedContinuousFunction |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | structure SmoothTimeField (K E V : Type u) [TopologicalSpace K] [CompactSpace K] |
| 14 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | [NormedAddCommGroup V] [NormedSpace ℝ V] where |
| 16 | field : C(K, E →ᵇ V) |
| 17 | smooth : ∀ t, ContDiff ℝ ∞ (field t : E → V) |
| 18 | jet : (n : ℕ) → C(K, E →ᵇ (E [×n]→L[ℝ] V)) |
| 19 | jet_eq : ∀ n t x, jet n t x = iteratedFDeriv ℝ n (field t : E → V) x |
| 20 | |
| 21 | namespace SmoothTimeField |
| 22 | |
| 23 | variable {K E V W : Type u} [TopologicalSpace K] [CompactSpace K] |
| 24 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 26 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 27 | |
| 28 | private local instance : NormedAddCommGroup (E →ᵇ V) := inferInstance |
| 29 | private local instance : NormedSpace ℝ (E →ᵇ V) := inferInstance |
| 30 | private local instance : NormedAddCommGroup (E →ᵇ W) := inferInstance |
| 31 | private local instance : NormedSpace ℝ (E →ᵇ W) := inferInstance |
| 32 | private local instance : NormedAddCommGroup (E →ᵇ (E →L[ℝ] V)) := inferInstance |
| 33 | private local instance : NormedSpace ℝ (E →ᵇ (E →L[ℝ] V)) := inferInstance |
| 34 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 35 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 36 | |
| 37 | def mapPath (L : V →L[ℝ] W) : C(K,E →ᵇ V) →L[ℝ] C(K,E →ᵇ W) := |
| 38 | (L.compLeftContinuousBounded E).compLeftContinuous ℝ K |
| 39 | |
| 40 | def derivativeField (A : SmoothTimeField K E V) : C(K,E →ᵇ (E →L[ℝ] V)) := |
| 41 | mapPath (continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap |
| 42 | (A.jet 1) |
| 43 | |
| 44 | theorem derivativeField_eq (A : SmoothTimeField K E V) (t : K) (x : E) : |
| 45 | A.derivativeField t x = fderiv ℝ (A.field t : E → V) x := by |
| 46 | change continuousMultilinearCurryFin1 ℝ E V (A.jet 1 t x) = _ |
| 47 | rw [A.jet_eq] |
| 48 | apply ContinuousLinearMap.ext |
| 49 | intro a |
| 50 | rw [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] |
| 51 | simp |
| 52 | |
| 53 | def derivativeJet (A : SmoothTimeField K E V) (n : ℕ) : |
| 54 | C(K,E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := |
| 55 | mapPath (K := K) (V := E [×(n+1)]→L[ℝ] V) (W := E [×n]→L[ℝ] (E →L[ℝ] V)) |
| 56 | (continuousMultilinearCurryRightEquiv' ℝ n E V).toContinuousLinearEquiv.toContinuousLinearMap |
| 57 | (A.jet (n+1)) |
| 58 | |
| 59 | theorem derivativeJet_eq (A : SmoothTimeField K E V) (n : ℕ) (t : K) (x : E) : |
| 60 | A.derivativeJet n t x = iteratedFDeriv ℝ n (fderiv ℝ (A.field t : E → V)) x := by |
| 61 | change continuousMultilinearCurryRightEquiv' ℝ n E V (A.jet (n+1) t x) = _ |
| 62 | rw [A.jet_eq, iteratedFDeriv_succ_eq_comp_right] |
| 63 | exact (continuousMultilinearCurryRightEquiv' ℝ n E V).apply_symm_apply _ |
| 64 | |
| 65 | def derivative (A : SmoothTimeField K E V) : SmoothTimeField K E (E →L[ℝ] V) where |
| 66 | field := A.derivativeField |
| 67 | smooth t := by |
| 68 | have he : (A.derivativeField t : E → E →L[ℝ] V) = fderiv ℝ (A.field t : E → V) := |
| 69 | funext (A.derivativeField_eq t) |
| 70 | rw [he] |
| 71 | exact (A.smooth t).fderiv_right (m := ∞) (by simp) |
| 72 | jet := A.derivativeJet |
| 73 | jet_eq n t x := by |
| 74 | have he : (A.derivativeField t : E → E →L[ℝ] V) = fderiv ℝ (A.field t : E → V) := |
| 75 | funext (A.derivativeField_eq t) |
| 76 | rw [he] |
| 77 | exact A.derivativeJet_eq n t x |
| 78 | |
| 79 | end SmoothTimeField |
| 80 | |
| 81 | namespace EulerMeanCoefficients.SmoothCoefficientPath |
| 82 | |
| 83 | open EulerSmoothLimit |
| 84 | |
| 85 | def toSmoothTimeField {K V : Type} [TopologicalSpace K] [CompactSpace K] |
| 86 | [NormedAddCommGroup V] [NormedSpace ℝ V] (A : SmoothCoefficientPath K V) : |
| 87 | SmoothTimeField K Space V := |
| 88 | ⟨A.field, A.smooth, A.jet, A.jet_eq⟩ |
| 89 | |
| 90 | @[simp] theorem toSmoothTimeField_field {K V : Type} [TopologicalSpace K] [CompactSpace K] |
| 91 | [NormedAddCommGroup V] [NormedSpace ℝ V] (A : SmoothCoefficientPath K V) : |
| 92 | A.toSmoothTimeField.field = A.field := rfl |
| 93 | |
| 94 | end EulerMeanCoefficients.SmoothCoefficientPath |