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.ClassicalBridge |
| 2 | import Mathlib.Analysis.Calculus.TangentCone.Prod |
| 3 | import Mathlib.Analysis.Normed.Group.Bounded |
| 4 | |
| 5 | /-! Joint smoothness in the reference bounds spatial derivatives on every fixed |
| 6 | compact spatial set and closed finite time interval, including time zero. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open Set Filter MeasureTheory ContinuousLinearMap |
| 11 | open scoped ContDiff Topology |
| 12 | |
| 13 | namespace Euler.EulerExistenceAndSmoothnessR3 |
| 14 | |
| 15 | local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) |
| 16 | |
| 17 | variable {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} |
| 18 | (h : EulerExistenceAndSmoothnessR3 u₀ v p) |
| 19 | |
| 20 | include h |
| 21 | |
| 22 | theorem spatial_fderiv_eq_within (x : ℝ³) (t : ℝ) (ht : 0 ≤ t) : |
| 23 | fderiv ℝ (v · t) x = |
| 24 | (fderivWithin ℝ (Function.uncurry v) (univ ×ˢ Ici 0) (x, t)).comp |
| 25 | (inl ℝ ℝ³ ℝ) := by |
| 26 | have hd := (h.velocity_smooth.differentiableOn (by simp) (x, t) |
| 27 | ⟨mem_univ x, ht⟩).hasFDerivWithinAt |
| 28 | exact (hd.comp_hasFDerivAt (f := fun y : ℝ³ => (y, t)) x |
| 29 | (hasFDerivAt_prodMk_left (𝕜 := ℝ) x t) |
| 30 | (Eventually.of_forall (fun y => ⟨mem_univ y, ht⟩))).fderiv |
| 31 | |
| 32 | theorem spatial_fderiv_continuousOn : |
| 33 | ContinuousOn (fun z : ℝ³ × ℝ => fderiv ℝ (v · z.2) z.1) |
| 34 | (univ ×ˢ Ici 0) := by |
| 35 | have hc := h.velocity_smooth.continuousOn_fderivWithin |
| 36 | (uniqueDiffOn_univ.prod (uniqueDiffOn_Ici 0)) (by simp) |
| 37 | apply (hc.clm_comp (continuousOn_const (c := inl ℝ ℝ³ ℝ))).congr |
| 38 | intro z hz |
| 39 | exact h.spatial_fderiv_eq_within z.1 z.2 hz.2 |
| 40 | |
| 41 | theorem spatial_fderiv_bounded_on_compact (K : Set ℝ³) (hK : IsCompact K) |
| 42 | (T : ℝ) : ∃ C : ℝ, ∀ x ∈ K, ∀ t ∈ Icc (0 : ℝ) T, |
| 43 | ‖fderiv ℝ (v · t) x‖ ≤ C := by |
| 44 | obtain ⟨C, hC⟩ := (hK.prod isCompact_Icc).exists_bound_of_continuousOn |
| 45 | (h.spatial_fderiv_continuousOn.mono |
| 46 | (show K ×ˢ Icc (0 : ℝ) T ⊆ univ ×ˢ Ici 0 from |
| 47 | fun _ hz => ⟨mem_univ _, hz.2.1⟩)) |
| 48 | exact ⟨C, fun x hx t ht => hC (x, t) ⟨hx, ht⟩⟩ |
| 49 | |
| 50 | end Euler.EulerExistenceAndSmoothnessR3 |