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.HeatGradientEnergy |
| 2 | |
| 3 | /-! Integrated genuine heat gradient energy, with the source measured only in L². -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerHeatGradientEnergy |
| 8 | |
| 9 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 10 | EulerSobolevLaplacian EulerSobolevHeatGenerator |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- The actual integrated heat energy gains the full Laplacian in L² time without a source derivative in the bound. -/ |
| 16 | theorem heat_laplacian_integral_bound (u : ℝ → SobolevSpace period 3) |
| 17 | (f : ℝ → SobolevSpace period 1) (ν s t : ℝ) (hν : 0 < ν) (hst : s ≤ t) |
| 18 | (hu : ContinuousOn u (Icc s t)) (hf : ContinuousOn f (Icc s t)) |
| 19 | (hd : ∀ r ∈ Ioo s t, ∀ i : Fin 4, |
| 20 | HasDerivAt (fun a => value period (derivativeOperator period 2 i (u a))) |
| 21 | (value period (derivativeOperator period 0 i (ν • laplacianOperator period 1 (u r) + f r))) r) : |
| 22 | ν * (∫ r in s..t, ‖laplacianEvaluation period 3 (by norm_num) (u r)‖^2) ≤ |
| 23 | gradientEnergy period (restrictOperator period (by norm_num : 1 ≤ 3) (u s)) + |
| 24 | ν⁻¹ * (∫ r in s..t, ‖value period (f r)‖^2) := by |
| 25 | let G := fun r => gradientEnergy period (restrictOperator period (by norm_num : 1 ≤ 3) (u r)) |
| 26 | let L := fun r => ‖laplacianEvaluation period 3 (by norm_num) (u r)‖^2 |
| 27 | let F := fun r => ‖value period (f r)‖^2 |
| 28 | have hG : ContinuousOn G (Icc s t) := |
| 29 | (gradientEnergy_continuous period).comp_continuousOn |
| 30 | ((restrictOperator period (by norm_num : 1 ≤ 3)).continuous.comp_continuousOn hu) |
| 31 | have hL : ContinuousOn L (Icc s t) := |
| 32 | (((laplacianEvaluation period 3 (by norm_num)).continuous.comp_continuousOn hu).norm).pow 2 |
| 33 | have hF : ContinuousOn F (Icc s t) := |
| 34 | (((valueOperator period 1).continuous.comp_continuousOn hf).norm).pow 2 |
| 35 | have hLi : IntervalIntegrable L volume s t := hL.intervalIntegrable_of_Icc hst |
| 36 | have hFi : IntervalIntegrable F volume s t := hF.intervalIntegrable_of_Icc hst |
| 37 | have hφ : IntegrableOn (fun r => -ν * L r + ν⁻¹ * F r) (Icc s t) := |
| 38 | ((hL.const_mul (-ν)).add (hF.const_mul ν⁻¹)).integrableOn_Icc |
| 39 | have hdiff : ∀ r ∈ Ioo s t, HasDerivAt G (deriv G r) r := by |
| 40 | intro r hr |
| 41 | exact (heat_gradient_energy_hasDerivAt period u (f r) ν r (hd r hr)).differentiableAt.hasDerivAt |
| 42 | have hb : ∀ r ∈ Ioo s t, deriv G r ≤ -ν * L r + ν⁻¹ * F r := by |
| 43 | intro r hr |
| 44 | exact heat_gradient_energy_bound period u (f r) ν r hν (hd r hr) |
| 45 | have hi := intervalIntegral.sub_le_integral_of_hasDeriv_right_of_le hst hG |
| 46 | (fun r hr => (hdiff r hr).hasDerivWithinAt) hφ hb |
| 47 | rw [intervalIntegral.integral_add (hLi.const_mul (-ν)) (hFi.const_mul ν⁻¹), |
| 48 | intervalIntegral.integral_const_mul, intervalIntegral.integral_const_mul] at hi |
| 49 | have hnonneg := gradientEnergy_nonneg period (restrictOperator period (by norm_num : 1 ≤ 3) (u t)) |
| 50 | change G t - G s ≤ -ν * (∫ r in s..t, L r) + ν⁻¹ * (∫ r in s..t, F r) at hi |
| 51 | change 0 ≤ G t at hnonneg |
| 52 | change ν * (∫ r in s..t, L r) ≤ G s + ν⁻¹ * (∫ r in s..t, F r) |
| 53 | linarith |
| 54 | |
| 55 | end EulerHeatGradientEnergy |