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.R3.CompactEnergy |
| 2 | import Mathlib.MeasureTheory.Function.L2Space |
| 3 | |
| 4 | /-! |
| 5 | # Spatial Cauchy--Schwarz for the force work |
| 6 | |
| 7 | The integrals use ordinary Euclidean volume. Square integrability supplies |
| 8 | the two finite L² norms appearing in the bound. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set MeasureTheory |
| 14 | open scoped InnerProductSpace |
| 15 | |
| 16 | namespace NavierStokesR3.CompactEnergy |
| 17 | |
| 18 | open NavierStokes.ProblemStatement |
| 19 | |
| 20 | /-- Cauchy--Schwarz bounds the force work by the product of the ordinary |
| 21 | spatial L² norms. The force only needs finite L² norm and continuity. -/ |
| 22 | theorem work_le_sqrt_l2Sq {u f : VelocityField} {t : ℝ} |
| 23 | (hu : Continuous (fun x : Space => u (t, x))) |
| 24 | (hf : Continuous (fun x : Space => f (t, x))) |
| 25 | (hcu : HasCompactSupport (fun x : Space => u (t, x))) |
| 26 | (hf_sq : Integrable (fun x : Space => ‖f (t, x)‖ ^ 2)) : |
| 27 | (∫ x : Space, ⟪u (t, x), f (t, x)⟫_ℝ) ≤ |
| 28 | Real.sqrt (l2Sq u t) * Real.sqrt (l2Sq f t) := by |
| 29 | have huLp : MemLp (fun x : Space => u (t, x)) 2 volume := |
| 30 | (memLp_two_iff_integrable_sq_norm hu.aestronglyMeasurable).mpr |
| 31 | (integrable_norm_sq hu hcu) |
| 32 | have hfLp : MemLp (fun x : Space => f (t, x)) 2 volume := |
| 33 | (memLp_two_iff_integrable_sq_norm hf.aestronglyMeasurable).mpr hf_sq |
| 34 | have hholder := integral_mul_norm_le_Lp_mul_Lq Real.HolderConjugate.two_two |
| 35 | (by simpa using huLp) (by simpa using hfLp) |
| 36 | have hprod : Integrable (fun x : Space => ‖u (t, x)‖ * ‖f (t, x)‖) := |
| 37 | huLp.norm.integrable_mul hfLp.norm |
| 38 | calc |
| 39 | (∫ x : Space, ⟪u (t, x), f (t, x)⟫_ℝ) ≤ |
| 40 | ∫ x : Space, ‖u (t, x)‖ * ‖f (t, x)‖ := |
| 41 | integral_mono (integrable_inner_left hu hf hcu) hprod |
| 42 | (fun x => real_inner_le_norm _ _) |
| 43 | _ ≤ Real.sqrt (l2Sq u t) * Real.sqrt (l2Sq f t) := by |
| 44 | simpa only [Real.rpow_two, ← Real.sqrt_eq_rpow, l2Sq] using hholder |
| 45 | |
| 46 | end NavierStokesR3.CompactEnergy |