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.Deriv.Add |
| 3 | |
| 4 | /-! Time translation preserves the independent whole-space Euler class, |
| 5 | including its one-sided initial-time equation and uniform energy bound. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | open Set MeasureTheory |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | namespace Euler.EulerExistenceAndSmoothnessR3 |
| 14 | |
| 15 | local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) |
| 16 | |
| 17 | variable {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} |
| 18 | |
| 19 | theorem shiftTime (h : EulerExistenceAndSmoothnessR3 u₀ v p) |
| 20 | (a : ℝ) (ha : 0 ≤ a) : |
| 21 | EulerExistenceAndSmoothnessR3 (v · a) |
| 22 | (fun x t => v x (a + t)) (fun x t => p x (a + t)) := by |
| 23 | have hv (x : ℝ³) : ContDiffOn ℝ ∞ (v x ·) (Ici 0) := |
| 24 | h.velocity_smooth.comp (contDiff_const.prodMk contDiff_id).contDiffOn |
| 25 | (fun r hr => ⟨mem_univ x, hr⟩) |
| 26 | refine { |
| 27 | euler := ?_ |
| 28 | div_free := fun x t ht => h.div_free x (a + t) (add_nonneg ha ht) |
| 29 | initial_condition := fun x => by simp |
| 30 | velocity_smooth := ?_ |
| 31 | pressure_smooth := ?_ |
| 32 | integrable := fun t ht => h.integrable (a + t) (add_nonneg ha ht) |
| 33 | globally_bounded_energy := ?_ } |
| 34 | · intro x t ht |
| 35 | have hd := ((hv x).differentiableOn (by simp) (a + t) |
| 36 | (add_nonneg ha ht)).hasDerivWithinAt |
| 37 | have hi : HasDerivWithinAt (fun r : ℝ => a + r) 1 (Ici 0) t := by |
| 38 | simpa only [zero_add, id_eq] using ((hasDerivAt_id t).const_add a).hasDerivWithinAt |
| 39 | have hc := hd.scomp t hi (fun r hr => add_nonneg ha hr) |
| 40 | have he : derivWithin (fun r => v x (a + r)) (Ici 0) t = |
| 41 | derivWithin (v x ·) (Ici 0) (a + t) := by |
| 42 | simpa only [Function.comp_def, one_smul] using |
| 43 | hc.derivWithin (uniqueDiffOn_Ici 0 t ht) |
| 44 | rw [he] |
| 45 | exact h.euler x (a + t) (add_nonneg ha ht) |
| 46 | · exact h.velocity_smooth.comp |
| 47 | (contDiff_fst.prodMk (contDiff_const.add contDiff_snd)).contDiffOn |
| 48 | (fun z hz => ⟨mem_univ z.1, add_nonneg ha hz.2⟩) |
| 49 | · exact h.pressure_smooth.comp |
| 50 | (contDiff_fst.prodMk (contDiff_const.add contDiff_snd)).contDiffOn |
| 51 | (fun z hz => ⟨mem_univ z.1, add_nonneg ha hz.2⟩) |
| 52 | · obtain ⟨E, hE⟩ := h.globally_bounded_energy |
| 53 | exact ⟨E, fun t ht => hE (a + t) (add_nonneg ha ht)⟩ |
| 54 | |
| 55 | end Euler.EulerExistenceAndSmoothnessR3 |