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.OrdinaryEulerL2Stability |
| 2 | import Euler.ContinuousTimeIntegral |
| 3 | |
| 4 | /-! A variable-coefficient Gronwall estimate from a genuine one-sided |
| 5 | time derivative. The integrating factor uses the actual time integral. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set EulerVolterraConvolution EulerContinuousTimeIntegral |
| 12 | open scoped Topology |
| 13 | |
| 14 | theorem variable_linear_stability (T : ℝ) (hT : 0 ≤ T) |
| 15 | (X X' : ℝ → ℝ) (C : ℝ) (K : C(Icc (0 : ℝ) T,ℝ)) |
| 16 | (hcont : ContinuousOn X (Icc 0 T)) |
| 17 | (hder : ∀ t ∈ Ico 0 T, HasDerivWithinAt X (X' t) (Icc 0 T) t) |
| 18 | (hineq : ∀ t ∈ Ico 0 T, X' t ≤ C*extendPath T hT K t*X t) |
| 19 | (t : Icc (0 : ℝ) T) : |
| 20 | X t ≤ X 0*Real.exp (C*realIntegral T hT K t) := by |
| 21 | let I := realIntegral T hT K |
| 22 | let Y := fun r => X r*Real.exp (-C*I r) |
| 23 | let Y' := fun r => Real.exp (-C*I r)*(X' r-C*extendPath T hT K r*X r) |
| 24 | have hI (r : ℝ) : HasDerivAt I (extendPath T hT K r) r := |
| 25 | realIntegral_hasDerivAt T hT K r |
| 26 | have hcI : Continuous I := (show Differentiable ℝ I from |
| 27 | fun r => (hI r).differentiableAt).continuous |
| 28 | have hcY : ContinuousOn Y (Icc 0 T) := |
| 29 | hcont.mul ((Real.continuous_exp.comp (hcI.const_mul (-C))).continuousOn) |
| 30 | have hdY (r : ℝ) (hr : r ∈ Ico 0 T) : HasDerivWithinAt Y (Y' r) (Icc 0 T) r := by |
| 31 | have h := (hder r hr).mul (((hI r).const_mul (-C)).exp.hasDerivWithinAt) |
| 32 | have he : Y' r = X' r*Real.exp (-C*I r)+ |
| 33 | X r*(Real.exp (-C*I r)*(-C*extendPath T hT K r)) := by |
| 34 | dsimp [Y'] |
| 35 | ring |
| 36 | rw [he] |
| 37 | exact h |
| 38 | have hbY (r : ℝ) (hr : r ∈ Ico 0 T) : Y' r ≤ 0*Y r := by |
| 39 | dsimp [Y'] |
| 40 | rw [zero_mul] |
| 41 | exact mul_nonpos_of_nonneg_of_nonpos (Real.exp_pos _).le |
| 42 | (sub_nonpos.mpr (hineq r hr)) |
| 43 | have hy := linear_stability_within Y Y' 0 T hcY hdY hbY t t.property |
| 44 | have hI0 : I 0=0 := intervalIntegral.integral_same |
| 45 | have hY0 : Y 0=X 0 := by simp only [Y,hI0,mul_zero,Real.exp_zero,mul_one] |
| 46 | simp only [hY0,zero_mul,Real.exp_zero,mul_one] at hy |
| 47 | have he : (X 0*Real.exp (C*I t))*Real.exp (-C*I t)=X 0 := by |
| 48 | rw [mul_assoc,← Real.exp_add] |
| 49 | simp only [show C*I t+-C*I t=0 by ring,Real.exp_zero,mul_one] |
| 50 | apply (mul_le_mul_iff_left₀ (Real.exp_pos (-C*I t))).mp |
| 51 | change Y t ≤ (X 0*Real.exp (C*I t))*Real.exp (-C*I t) |
| 52 | rw [he] |
| 53 | exact hy |
| 54 | |
| 55 | end EulerOrdinarySobolev |