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.LinearFundamentalExistence |
| 2 | |
| 3 | /-! A short-interval estimate for actual differentiable trajectories. |
| 4 | The proof uses the supremum norm and the mean value inequality, so the |
| 5 | constant is two under the stated smallness condition. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerShortTimeLinearGrowth |
| 10 | |
| 11 | open Set |
| 12 | |
| 13 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 14 | |
| 15 | theorem norm_le_two (T L : ℝ) (hL : 0 ≤ L) |
| 16 | (f f' : ℝ → E) |
| 17 | (hd : ∀ t ∈ Icc (0 : ℝ) T, HasDerivWithinAt f (f' t) (Icc (0 : ℝ) T) t) |
| 18 | (hb : ∀ t ∈ Icc (0 : ℝ) T, ‖f' t‖ ≤ L*‖f t‖) |
| 19 | (hshort : L*T ≤ 1/2) |
| 20 | (s t : Icc (0 : ℝ) T) (hst : s ≤ t) : |
| 21 | ‖f t‖ ≤ 2*‖f s‖ := by |
| 22 | have hT : 0 ≤ T := s.property.1.trans s.property.2 |
| 23 | have hsub : Icc (s : ℝ) T ⊆ Icc (0 : ℝ) T := |
| 24 | fun _ hr => ⟨s.property.1.trans hr.1,hr.2⟩ |
| 25 | have hd' (r : ℝ) (hr : r ∈ Icc (s : ℝ) T) : |
| 26 | HasDerivWithinAt f (f' r) (Icc (s : ℝ) T) r := |
| 27 | (hd r (hsub hr)).mono hsub |
| 28 | have hc : ContinuousOn f (Icc (s : ℝ) T) := |
| 29 | fun r hr => (hd' r hr).continuousWithinAt |
| 30 | let V : C(Icc (s : ℝ) T,E) := |
| 31 | ⟨fun r => f r,continuousOn_iff_continuous_domRestrict.mp hc⟩ |
| 32 | have hnorm (r : ℝ) (hr : r ∈ Icc (s : ℝ) T) : ‖f' r‖ ≤ L*‖V‖ := |
| 33 | (hb r (hsub hr)).trans |
| 34 | (mul_le_mul_of_nonneg_left (V.norm_coe_le_norm ⟨r,hr⟩) hL) |
| 35 | have hpoint (u : Icc (s : ℝ) T) : |
| 36 | ‖V u‖ ≤ ‖f s‖+(L*T)*‖V‖ := by |
| 37 | have hh := Convex.norm_image_sub_le_of_norm_hasDerivWithin_le (C := L*‖V‖) |
| 38 | hd' hnorm (convex_Icc (s : ℝ) T) (show (s : ℝ) ∈ Icc (s : ℝ) T from |
| 39 | ⟨le_rfl,s.property.2⟩) u.property |
| 40 | have hdist : ‖(u : ℝ)-(s : ℝ)‖ ≤ T := by |
| 41 | rw [Real.norm_eq_abs,abs_of_nonneg (sub_nonneg.mpr u.property.1)] |
| 42 | linarith [s.property.1,u.property.2] |
| 43 | have hdiff : ‖f u-f s‖ ≤ (L*T)*‖V‖ := |
| 44 | hh.trans ((mul_le_mul_of_nonneg_left hdist (mul_nonneg hL (norm_nonneg V))).trans_eq |
| 45 | (by ring)) |
| 46 | calc |
| 47 | ‖V u‖ = ‖(f u-f s)+f s‖ := by simp only [sub_add_cancel]; rfl |
| 48 | _ ≤ ‖f u-f s‖+‖f s‖ := norm_add_le _ _ |
| 49 | _ ≤ (L*T)*‖V‖+‖f s‖ := add_le_add hdiff le_rfl |
| 50 | _ = ‖f s‖+(L*T)*‖V‖ := add_comm _ _ |
| 51 | have hV : ‖V‖ ≤ ‖f s‖+(L*T)*‖V‖ := |
| 52 | (ContinuousMap.norm_le V (by positivity)).mpr hpoint |
| 53 | have hsmall := mul_le_mul_of_nonneg_right hshort (norm_nonneg V) |
| 54 | have hV' : ‖V‖ ≤ 2*‖f s‖ := by linarith |
| 55 | exact (V.norm_coe_le_norm ⟨t,hst,t.property.2⟩).trans hV' |
| 56 | |
| 57 | end EulerShortTimeLinearGrowth |