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.SmoothTimeField |
| 2 | import Euler.SmoothPathTimeJets |
| 3 | import Euler.BoundedPathFamily |
| 4 | |
| 5 | /-! Constructing literal bounded smooth coefficient paths from an actual |
| 6 | smooth path family and uniform bounds on its differentiated evolution. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | |
| 11 | open scoped ContDiff BoundedContinuousFunction |
| 12 | |
| 13 | namespace SmoothTimeField |
| 14 | |
| 15 | open Set EulerSmoothPathTimeJets EulerBoundedPathFamily EulerVolterraConvolution |
| 16 | |
| 17 | variable {E V : Type} |
| 18 | [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 20 | (T : ℝ) (hT : 0 ≤ T) (f q : E → C(Icc (0 : ℝ) T,V)) |
| 21 | (hf : ContDiff ℝ ∞ f) (hq : ContDiff ℝ ∞ q) |
| 22 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 23 | HasDerivWithinAt (extendPath T hT (f x)) (q x t) (Icc (0 : ℝ) T) t) |
| 24 | (C D : ℕ → ℝ) |
| 25 | (hC : ∀ n t x, ‖iteratedFDeriv ℝ n (fun y => f y t) x‖ ≤ C n) |
| 26 | (hD : ∀ n t x, ‖iteratedFDeriv ℝ n (fun y => q y t) x‖ ≤ D n) |
| 27 | |
| 28 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] V) := inferInstance |
| 29 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] V) := inferInstance |
| 30 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 31 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 32 | |
| 33 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ V] in |
| 34 | include hC in |
| 35 | private theorem value_bound (t : Icc (0 : ℝ) T) (x : E) : ‖f x t‖ ≤ C 0 := by |
| 36 | simpa only [norm_iteratedFDeriv_zero] using hC 0 t x |
| 37 | |
| 38 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ V] in |
| 39 | include hT hD in |
| 40 | private theorem derivativeBound_nonneg (n : ℕ) : 0 ≤ D n := |
| 41 | (norm_nonneg _).trans (hD n ⟨0,le_rfl,hT⟩ 0) |
| 42 | |
| 43 | def ofPathFamily : SmoothTimeField (Icc (0 : ℝ) T) E V where |
| 44 | field := boundedPath T hT f q hf.continuous (C 0) (D 0) |
| 45 | (value_bound T f C hC) (derivativeBound_nonneg T hT q D hD 0) |
| 46 | (value_bound T q D hD) hd |
| 47 | smooth t := by |
| 48 | change ContDiff ℝ ∞ (fun x => f x t) |
| 49 | exact (ContinuousMap.evalCLM ℝ t).contDiff.comp hf |
| 50 | jet n := boundedPath T hT (jetFamily T f n) (jetFamily T q n) |
| 51 | (jetFamily_contDiff T f hf n).continuous (C n) (D n) |
| 52 | (fun t x => by rw [jetFamily_apply T f hf]; exact hC n t x) |
| 53 | (derivativeBound_nonneg T hT q D hD n) |
| 54 | (fun t x => by rw [jetFamily_apply T q hq]; exact hD n t x) |
| 55 | (jetFamily_hasDerivWithinAt T hT f q hf hq hd n) |
| 56 | jet_eq n t x := jetFamily_apply T f hf n x t |
| 57 | |
| 58 | @[simp] theorem ofPathFamily_apply (t : Icc (0 : ℝ) T) (x : E) : |
| 59 | (ofPathFamily T hT f q hf hq hd C D hC hD).field t x = f x t := rfl |
| 60 | |
| 61 | @[simp] theorem ofPathFamily_jet_apply (n : ℕ) (t : Icc (0 : ℝ) T) (x : E) : |
| 62 | (ofPathFamily T hT f q hf hq hd C D hC hD).jet n t x = |
| 63 | iteratedFDeriv ℝ n (fun y => f y t) x := |
| 64 | jetFamily_apply T f hf n x t |
| 65 | |
| 66 | theorem ofPathFamily_jet_norm (n : ℕ) : |
| 67 | ‖(ofPathFamily T hT f q hf hq hd C D hC hD).jet n‖ ≤ C n := by |
| 68 | have hnonneg : 0 ≤ C n := (norm_nonneg _).trans (hC n ⟨0,le_rfl,hT⟩ 0) |
| 69 | apply (ContinuousMap.norm_le _ hnonneg).2 |
| 70 | intro t |
| 71 | apply (BoundedContinuousFunction.norm_le hnonneg).2 |
| 72 | intro x |
| 73 | rw [ofPathFamily_jet_apply] |
| 74 | exact hC n t x |
| 75 | |
| 76 | theorem ofPathFamily_field_norm : |
| 77 | ‖(ofPathFamily T hT f q hf hq hd C D hC hD).field‖ ≤ C 0 := by |
| 78 | have hnonneg : 0 ≤ C 0 := (norm_nonneg _).trans (hC 0 ⟨0,le_rfl,hT⟩ 0) |
| 79 | apply (ContinuousMap.norm_le _ hnonneg).2 |
| 80 | intro t |
| 81 | apply (BoundedContinuousFunction.norm_le hnonneg).2 |
| 82 | intro x |
| 83 | exact value_bound T f C hC t x |
| 84 | |
| 85 | end SmoothTimeField |