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 NavierStokes.WithinPathFamily |
| 2 | import NavierStokes.JointODE |
| 3 | |
| 4 | /-! # Joint ODE jets on closed parameter and pulse domains -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace NavierStokes.WithinJointODE |
| 9 | |
| 10 | open Set Filter Function |
| 11 | open scoped Topology ContDiff |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {P E : Type u} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 16 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 17 | variable {a b : ℝ} |
| 18 | |
| 19 | theorem contDiffOn_odeFamily (hab : a ≤ b) {U : Set P} {V : Set ℝ} |
| 20 | (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) (hv : UniqueDiffOn ℝ V) |
| 21 | (hI : Icc a b ⊆ V) |
| 22 | (A : P × ℝ → E →L[ℝ] E) (x₀ : P → E) (f : P × ℝ → E) |
| 23 | (hA : ContDiffOn ℝ ∞ A (U ×ˢ V)) (hx₀ : ContDiffOn ℝ ∞ x₀ U) |
| 24 | (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : |
| 25 | ContDiffOn ℝ ∞ (SmoothPathFamily.odeFamily hab A x₀ f) U := |
| 26 | ParametricODE.contDiffOn_solution_family hab _ _ _ |
| 27 | (WithinPathFamily.contDiffOn_pathFamily U V hU hu hv hI A hA) hx₀ |
| 28 | (WithinPathFamily.contDiffOn_pathFamily U V hU hu hv hI f hf) |
| 29 | |
| 30 | /-- Endpoint rescaling preserves within regularity in slow parameters and |
| 31 | gives joint regularity at every current pulse time. Only the original data |
| 32 | are supplied, including at the slow boundary. -/ |
| 33 | theorem contDiffOn_reparamSolution {U : Set P} |
| 34 | (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) |
| 35 | (A : P × ℝ → E →L[ℝ] E) (x₀ : P → E) (f : P × ℝ → E) |
| 36 | (hA : ContDiffOn ℝ ∞ A (U ×ˢ univ)) (hx₀ : ContDiffOn ℝ ∞ x₀ U) |
| 37 | (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) : |
| 38 | ContDiffOn ℝ ∞ (JointODE.reparamSolution a A x₀ f) (U ×ˢ univ) := by |
| 39 | have hmap : MapsTo (JointODE.timeMap (P := P) a) |
| 40 | ((U ×ˢ (univ : Set ℝ)) ×ˢ (univ : Set ℝ)) (U ×ˢ univ) := |
| 41 | fun _ hz => ⟨hz.1.1, mem_univ _⟩ |
| 42 | have hx : ContDiffOn ℝ ∞ (fun q : P × ℝ => x₀ q.1) (U ×ˢ univ) := |
| 43 | hx₀.comp contDiffOn_fst (fun _ hz => hz.1) |
| 44 | have hpath := contDiffOn_odeFamily (a := 0) (b := 1) zero_le_one |
| 45 | (hU.prod convex_univ) (hu.prod uniqueDiffOn_univ) uniqueDiffOn_univ |
| 46 | (subset_univ _) (JointODE.rescale a A) (fun q : P × ℝ => x₀ q.1) |
| 47 | (JointODE.rescale a f) (JointODE.rescale_contDiffOn A hA hmap) hx |
| 48 | (JointODE.rescale_contDiffOn f hf hmap) |
| 49 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 50 | (ContinuousMap.evalCLM ℝ (⟨1, zero_le_one, le_rfl⟩ : Icc (0 : ℝ) 1))).comp_contDiffOn hpath |
| 51 | |
| 52 | end NavierStokes.WithinJointODE |
| 53 | |
| 54 | namespace NavierStokes.WithinJetClosure |
| 55 | |
| 56 | open Set Filter |
| 57 | open scoped Topology ContDiff |
| 58 | |
| 59 | variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 60 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 61 | |
| 62 | end NavierStokes.WithinJetClosure |