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 Mathlib.Analysis.Calculus.ContDiff.Basic |
| 3 | |
| 4 | /-! Genuine linear restriction of smooth coefficient fields, including |
| 5 | the exact spatial tensors and preservation of actual time derivatives. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | open scoped ContDiff BoundedContinuousFunction BigOperators |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | namespace SmoothTimeField |
| 15 | |
| 16 | variable {K E F V : Type u} [TopologicalSpace K] [CompactSpace K] |
| 17 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 18 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 20 | |
| 21 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] V) := inferInstance |
| 22 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] V) := inferInstance |
| 23 | private local instance (n : ℕ) : NormedAddCommGroup (F [×n]→L[ℝ] V) := inferInstance |
| 24 | private local instance (n : ℕ) : NormedSpace ℝ (F [×n]→L[ℝ] V) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 26 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 27 | private local instance (n : ℕ) : NormedAddCommGroup (F →ᵇ (F [×n]→L[ℝ] V)) := inferInstance |
| 28 | private local instance (n : ℕ) : NormedSpace ℝ (F →ᵇ (F [×n]→L[ℝ] V)) := inferInstance |
| 29 | |
| 30 | def precompLinear (A : SmoothTimeField K E V) (L : F →L[ℝ] E) : |
| 31 | SmoothTimeField K F V where |
| 32 | field := (BoundedContinuousFunction.compContinuousCLM V ℝ ⟨L,L.continuous⟩).compLeftContinuous ℝ K A.field |
| 33 | smooth t := (A.smooth t).comp_continuousLinearMap |
| 34 | jet n := ((BoundedContinuousFunction.compContinuousCLM (F [×n]→L[ℝ] V) ℝ ⟨L,L.continuous⟩).compLeftContinuous ℝ K) |
| 35 | (mapPath (ContinuousMultilinearMap.compContinuousLinearMapL (F := V) (fun _ : Fin n => L)) (A.jet n)) |
| 36 | jet_eq n t x := by |
| 37 | change (A.jet n t (L x)).compContinuousLinearMap (fun _ : Fin n => L) = |
| 38 | iteratedFDeriv ℝ n ((A.field t : E → V) ∘ L) x |
| 39 | rw [A.jet_eq] |
| 40 | exact (L.iteratedFDeriv_comp_right (A.smooth t) x (by simp)).symm |
| 41 | |
| 42 | @[simp] theorem precompLinear_apply (A : SmoothTimeField K E V) (L : F →L[ℝ] E) |
| 43 | (t : K) (x : F) : (A.precompLinear L).field t x = A.field t (L x) := rfl |
| 44 | |
| 45 | @[simp] theorem precompLinear_jet_apply (A : SmoothTimeField K E V) (L : F →L[ℝ] E) |
| 46 | (n : ℕ) (t : K) (x : F) : |
| 47 | (A.precompLinear L).jet n t x = (A.jet n t (L x)).compContinuousLinearMap (fun _ : Fin n => L) := rfl |
| 48 | |
| 49 | theorem precompLinear_jet_norm_le (A : SmoothTimeField K E V) (L : F →L[ℝ] E) (n : ℕ) : |
| 50 | ‖(A.precompLinear L).jet n‖ ≤ ‖A.jet n‖ * ‖L‖^n := by |
| 51 | apply (ContinuousMap.norm_le _ (mul_nonneg (norm_nonneg _) (pow_nonneg (norm_nonneg _) _))).2 |
| 52 | intro t |
| 53 | apply (BoundedContinuousFunction.norm_le |
| 54 | (mul_nonneg (norm_nonneg _) (pow_nonneg (norm_nonneg _) _))).2 |
| 55 | intro x |
| 56 | rw [precompLinear_jet_apply] |
| 57 | have hh := (A.jet n t (L x)).norm_compContinuousLinearMap_le (fun _ : Fin n => L) |
| 58 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hh |
| 59 | exact hh.trans (mul_le_mul_of_nonneg_right |
| 60 | (((A.jet n t).norm_coe_le_norm (L x)).trans ((A.jet n).norm_coe_le_norm t)) |
| 61 | (pow_nonneg (norm_nonneg _) _)) |
| 62 | |
| 63 | end SmoothTimeField |
| 64 | |
| 65 | namespace SmoothTimeField |
| 66 | |
| 67 | open Set |
| 68 | |
| 69 | variable {E F V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 70 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 71 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 72 | {T : ℝ} {hT : 0 ≤ T} |
| 73 | |
| 74 | theorem TimeDerivative.precompLinear (L : F →L[ℝ] E) |
| 75 | {A A₁ : SmoothTimeField (Icc (0 : ℝ) T) E V} |
| 76 | (h : TimeDerivative T hT A A₁) : |
| 77 | TimeDerivative T hT (A.precompLinear L) (A₁.precompLinear L) := by |
| 78 | intro t x |
| 79 | exact h t (L x) |
| 80 | |
| 81 | end SmoothTimeField |