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.TerminalTimePrimitive |
| 2 | |
| 3 | /-! |
| 4 | # Quantitative pointwise bounds for genuine time-H¹ representatives |
| 5 | |
| 6 | Absolute continuity and the actual Bochner L² derivative give exact integral |
| 7 | increments, square-root continuity, and initial/terminal trace bounds. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerTimeH1PointwiseBounds |
| 13 | |
| 14 | open MeasureTheory Set EulerTimeLp EulerTerminalTimePrimitive |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 17 | |
| 18 | variable (T : ℝ) (hT : 0 ≤ T) (g : TimeLp T E) (η : ℝ → E) |
| 19 | (hη : AbsolutelyContinuousOnInterval η 0 T) |
| 20 | (hder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (g t) t) |
| 21 | |
| 22 | include hT hη hder in |
| 23 | /-- The terminal primitive plus the actual terminal value reconstructs any H¹ representative. -/ |
| 24 | theorem eq_primitive_add_terminal (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : |
| 25 | η t = realPrimitive T g t + η T := by |
| 26 | have hsub : AbsolutelyContinuousOnInterval (fun r => η r-η T) 0 T := |
| 27 | hη.sub ((LipschitzWith.const (η T)).lipschitzOnWith.absolutelyContinuousOnInterval) |
| 28 | have hdsub : ∀ᵐ r ∂timeMeasure T, HasDerivAt (fun s => η s-η T) (g r) r := by |
| 29 | filter_upwards [hder] with r hr |
| 30 | exact hr.sub_const (η T) |
| 31 | have h := eq_realPrimitive_of_ac_hasDerivAt_ae T hT g (fun r => η r-η T) |
| 32 | hsub hdsub (sub_self _) t ht |
| 33 | exact sub_eq_iff_eq_add.mp h |
| 34 | |
| 35 | end EulerTimeH1PointwiseBounds |