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.QuadraticHeatLocal |
| 2 | |
| 3 | /-! A uniform positive restart time for bounded data in the actual viscous Sobolev equation. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerUniformHeatLocal |
| 8 | |
| 9 | open MeasureTheory Set EulerCylinderSobolevSpace EulerSobolevHeat EulerQuadraticSource |
| 10 | open scoped Topology |
| 11 | |
| 12 | /-- A translated compact time window inside the prescribed coefficient interval. -/ |
| 13 | def timeWindow {S : ℝ} (a T : ℝ) (ha : 0 ≤ a) (haT : a+T ≤ S) : |
| 14 | C(Icc (0 : ℝ) T, Icc (0 : ℝ) S) where |
| 15 | toFun t := ⟨a+t.val, by linarith [t.property.1], by linarith [t.property.2]⟩ |
| 16 | continuous_toFun := (continuous_const.add continuous_subtype_val).subtype_mk _ |
| 17 | |
| 18 | /-- The mass of the actual parabolic kernel bound is monotone in nonnegative time. -/ |
| 19 | theorem parabolic_mass_mono (ν s t : ℝ) (hst : s ≤ t) : |
| 20 | s + 2 * parabolicConstant ν * Real.sqrt s ≤ t + 2 * parabolicConstant ν * Real.sqrt t := by |
| 21 | have hC := parabolicConstant_nonneg ν |
| 22 | have hroot := Real.sqrt_le_sqrt hst |
| 23 | nlinarith |
| 24 | |
| 25 | variable (period : ℝ) [Fact (0 < period)] |
| 26 | |
| 27 | /-- Uniformly bounded initial Sobolev data have genuine local solutions on every time window of one fixed positive length. |
| 28 | The length depends only on the compact coefficient bounds and the data bound, not on the restart time or state. -/ |
| 29 | theorem exists_uniform_restart_time (q : ℕ) (ν : ℝ) (hν : 0 < ν) (S : ℝ) (hS : 0 < S) |
| 30 | (R : ℝ) (hR : 0 ≤ R) |
| 31 | (C : Coefficients (Icc (0 : ℝ) S) (SobolevSpace period (q+1)) (SobolevSpace period q)) : |
| 32 | ∃ δ : ℝ, 0 < δ ∧ δ ≤ S ∧ |
| 33 | ∀ (a T : ℝ) (ha : 0 ≤ a) (hT : 0 ≤ T) (haT : a+T ≤ S), T ≤ δ → |
| 34 | ∀ u₀ : SobolevSpace period (q+1), ‖u₀‖ ≤ R → |
| 35 | ∃ u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), |
| 36 | ‖u‖ ≤ R+1 ∧ u ⟨0, le_rfl, hT⟩ = u₀ ∧ |
| 37 | ∀ t : Icc (0 : ℝ) T, u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + |
| 38 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 39 | (C.apply (timeWindow a T ha haT (projIcc 0 T hT (t.val-r))) |
| 40 | (u (projIcc 0 T hT (t.val-r)))) := by |
| 41 | have hR1 : 0 ≤ R+1 := by linarith |
| 42 | obtain ⟨δ, hδ, hδS, hb, hl⟩ := exists_positive_time_budget ν |
| 43 | (C.ballBound (R+1)) (C.ballLipschitz (R+1)) 1 S (by norm_num) hS |
| 44 | refine ⟨δ, hδ, hδS, ?_⟩ |
| 45 | intro a T ha hT haT hTδ u₀ hu₀ |
| 46 | let D := C.comp (timeWindow a T ha haT) |
| 47 | have hmass := parabolic_mass_mono ν T δ hTδ |
| 48 | have hM := C.ballBound_nonneg (R+1) hR1 |
| 49 | have hL := C.ballLipschitz_nonneg (R+1) hR1 |
| 50 | have hbudget : ‖u₀‖ + (T+2*parabolicConstant ν*Real.sqrt T)*C.ballBound (R+1) ≤ R+1 := by |
| 51 | have hh := mul_le_mul_of_nonneg_right hmass hM |
| 52 | linarith |
| 53 | have hsmall : (T+2*parabolicConstant ν*Real.sqrt T)*C.ballLipschitz (R+1) < 1 := |
| 54 | (mul_le_mul_of_nonneg_right hmass hL).trans_lt hl |
| 55 | obtain ⟨u, hu, hsol⟩ := exists_viscous_mild_solution period q ν hν T hT u₀ D.apply D.continuous |
| 56 | (R+1) (C.ballBound (R+1)) (C.ballLipschitz (R+1)) hR1 hM hL |
| 57 | (fun t x hx => C.apply_bound (R+1) hR1 (timeWindow a T ha haT t) x hx) |
| 58 | (fun t x y hx hy => C.apply_sub_bound (R+1) hR1 (timeWindow a T ha haT t) x y hx hy) |
| 59 | hbudget hsmall |
| 60 | refine ⟨u, hu, ?_, hsol⟩ |
| 61 | have hzero := hsol ⟨0, le_rfl, hT⟩ |
| 62 | simpa only [mul_zero, Real.toNNReal_zero, heatOperator_zero, intervalIntegral.integral_same, add_zero] using hzero |
| 63 | |
| 64 | end EulerUniformHeatLocal |