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.MeanCoefficientPath |
| 2 | |
| 3 | /-! All-order spatial translation regularity uniformly over a compact parameter interval. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanCoefficients |
| 8 | |
| 9 | open EulerSmoothLimit MeasureTheory InnerProductSpace |
| 10 | open scoped ContDiff BoundedContinuousFunction |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | section Mapping |
| 15 | |
| 16 | variable {K : Type u} [TopologicalSpace K] [CompactSpace K] |
| 17 | {V : Type v} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 18 | {W : Type w} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 19 | |
| 20 | private local instance : NormedAddCommGroup (Space →ᵇ V) := inferInstance |
| 21 | private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance |
| 22 | private local instance : NormedAddCommGroup (Space →ᵇ W) := inferInstance |
| 23 | private local instance : NormedSpace ℝ (Space →ᵇ W) := inferInstance |
| 24 | |
| 25 | def mapCoefficientPath (L : V →L[ℝ] W) : C(K, Space →ᵇ V) →L[ℝ] C(K, Space →ᵇ W) := |
| 26 | (L.compLeftContinuousBounded Space).compLeftContinuous ℝ K |
| 27 | |
| 28 | omit [CompactSpace K] in |
| 29 | @[simp] theorem mapCoefficientPath_apply (L : V →L[ℝ] W) |
| 30 | (A : C(K, Space →ᵇ V)) (t : K) (x : Space) : mapCoefficientPath L A t x = L (A t x) := rfl |
| 31 | |
| 32 | end Mapping |
| 33 | |
| 34 | /-- Actual coefficient jets, continuous in the uniform time-path norm at every fixed spatial order. -/ |
| 35 | structure SmoothCoefficientPath (K : Type u) [TopologicalSpace K] [CompactSpace K] |
| 36 | (V : Type v) [NormedAddCommGroup V] [NormedSpace ℝ V] where |
| 37 | field : C(K, Space →ᵇ V) |
| 38 | smooth : ∀ t, ContDiff ℝ ∞ (field t : Space → V) |
| 39 | jet : (n : ℕ) → C(K, Space →ᵇ (Space [×n]→L[ℝ] V)) |
| 40 | jet_eq : ∀ n t x, jet n t x = iteratedFDeriv ℝ n (field t : Space → V) x |
| 41 | |
| 42 | namespace SmoothCoefficientPath |
| 43 | |
| 44 | variable {K : Type u} [TopologicalSpace K] [CompactSpace K] |
| 45 | {V : Type v} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 46 | |
| 47 | private local instance : NormedAddCommGroup (Space →ᵇ V) := inferInstance |
| 48 | private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance |
| 49 | private local instance : NormedAddCommGroup (Space →ᵇ (Space →L[ℝ] V)) := inferInstance |
| 50 | private local instance : NormedSpace ℝ (Space →ᵇ (Space →L[ℝ] V)) := inferInstance |
| 51 | private local instance (n : ℕ) : NormedAddCommGroup (Space →ᵇ (Space [×n]→L[ℝ] V)) := inferInstance |
| 52 | private local instance (n : ℕ) : NormedSpace ℝ (Space →ᵇ (Space [×n]→L[ℝ] V)) := inferInstance |
| 53 | |
| 54 | def derivativeField (A : SmoothCoefficientPath K V) : C(K, Space →ᵇ (Space →L[ℝ] V)) := |
| 55 | mapCoefficientPath |
| 56 | (continuousMultilinearCurryFin1 ℝ Space V).toContinuousLinearEquiv.toContinuousLinearMap (A.jet 1) |
| 57 | |
| 58 | theorem derivativeField_eq (A : SmoothCoefficientPath K V) (t : K) (x : Space) : |
| 59 | A.derivativeField t x = fderiv ℝ (A.field t : Space → V) x := by |
| 60 | change continuousMultilinearCurryFin1 ℝ Space V (A.jet 1 t x) = _ |
| 61 | rw [A.jet_eq] |
| 62 | apply ContinuousLinearMap.ext |
| 63 | intro a |
| 64 | rw [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] |
| 65 | simp |
| 66 | |
| 67 | def derivativeJet (A : SmoothCoefficientPath K V) (n : ℕ) : |
| 68 | C(K, Space →ᵇ (Space [×n]→L[ℝ] (Space →L[ℝ] V))) := |
| 69 | mapCoefficientPath (K := K) (V := Space [×(n+1)]→L[ℝ] V) |
| 70 | (W := Space [×n]→L[ℝ] (Space →L[ℝ] V)) |
| 71 | (continuousMultilinearCurryRightEquiv' ℝ n Space V).toContinuousLinearEquiv.toContinuousLinearMap |
| 72 | (A.jet (n+1)) |
| 73 | |
| 74 | theorem derivativeJet_eq (A : SmoothCoefficientPath K V) (n : ℕ) (t : K) (x : Space) : |
| 75 | A.derivativeJet n t x = iteratedFDeriv ℝ n (fderiv ℝ (A.field t : Space → V)) x := by |
| 76 | change continuousMultilinearCurryRightEquiv' ℝ n Space V (A.jet (n+1) t x) = _ |
| 77 | rw [A.jet_eq, iteratedFDeriv_succ_eq_comp_right] |
| 78 | exact (continuousMultilinearCurryRightEquiv' ℝ n Space V).apply_symm_apply _ |
| 79 | |
| 80 | def derivative (A : SmoothCoefficientPath K V) : SmoothCoefficientPath K (Space →L[ℝ] V) where |
| 81 | field := A.derivativeField |
| 82 | smooth t := by |
| 83 | have he : (A.derivativeField t : Space → Space →L[ℝ] V) = |
| 84 | fderiv ℝ (A.field t : Space → V) := funext (A.derivativeField_eq t) |
| 85 | rw [he] |
| 86 | exact (A.smooth t).fderiv_right (m := ∞) (by simp) |
| 87 | jet := A.derivativeJet |
| 88 | jet_eq n t x := by |
| 89 | have he : (A.derivativeField t : Space → Space →L[ℝ] V) = |
| 90 | fderiv ℝ (A.field t : Space → V) := funext (A.derivativeField_eq t) |
| 91 | rw [he] |
| 92 | exact A.derivativeJet_eq n t x |
| 93 | |
| 94 | theorem translation_hasFDerivAt (A : SmoothCoefficientPath K V) (a : Space) : |
| 95 | HasFDerivAt (translateCoefficientPath A.field) |
| 96 | (pathDerivativeMap (translateCoefficientPath A.derivative.field a)) a := by |
| 97 | apply translateCoefficientPath_hasFDerivAt A.field A.derivative.field A.smooth |
| 98 | A.derivativeField_eq ‖A.jet 2‖ (norm_nonneg _) |
| 99 | intro t x |
| 100 | rw [← norm_iteratedFDeriv_one, norm_iteratedFDeriv_fderiv, ← A.jet_eq] |
| 101 | exact ((A.jet 2 t).norm_coe_le_norm x).trans ((A.jet 2).norm_coe_le_norm t) |
| 102 | |
| 103 | theorem translation_fderiv (A : SmoothCoefficientPath K V) : |
| 104 | fderiv ℝ (translateCoefficientPath A.field) = |
| 105 | fun a => pathDerivativeBundling (translateCoefficientPath A.derivative.field a) := |
| 106 | funext (fun a => (A.translation_hasFDerivAt a).fderiv) |
| 107 | |
| 108 | private theorem translation_contDiff_nat_aux (n : ℕ) : |
| 109 | ∀ (V : Type v) [NormedAddCommGroup V] [NormedSpace ℝ V] (A : SmoothCoefficientPath K V), |
| 110 | ContDiff ℝ n (translateCoefficientPath A.field) := by |
| 111 | induction n with |
| 112 | | zero => |
| 113 | intro V _ _ A |
| 114 | exact contDiff_zero.mpr (continuous_iff_continuousAt.mpr |
| 115 | (fun a => (A.translation_hasFDerivAt a).continuousAt)) |
| 116 | | succ n ih => |
| 117 | intro V _ _ A |
| 118 | rw [Nat.cast_add, Nat.cast_one, contDiff_succ_iff_fderiv] |
| 119 | refine ⟨fun a => (A.translation_hasFDerivAt a).differentiableAt, by simp, ?_⟩ |
| 120 | rw [A.translation_fderiv] |
| 121 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := (n : ℕ∞ω)) |
| 122 | (E := C(K, Space →ᵇ (Space →L[ℝ] V))) (F := Space →L[ℝ] C(K, Space →ᵇ V)) |
| 123 | (pathDerivativeBundling (K := K) (V := V))).comp |
| 124 | (ih (Space →L[ℝ] V) A.derivative) |
| 125 | |
| 126 | /-- Smoothness in the spatial translation parameter holds in the uniform time-path topology. -/ |
| 127 | theorem translation_contDiff (A : SmoothCoefficientPath K V) : |
| 128 | ContDiff ℝ ∞ (translateCoefficientPath A.field) := |
| 129 | contDiff_infty.mpr (fun n => translation_contDiff_nat_aux n V A) |
| 130 | |
| 131 | end SmoothCoefficientPath |
| 132 | |
| 133 | end EulerMeanCoefficients |