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.HeatGradientIntegral |
| 2 | import Euler.SobolevEllipticBound |
| 3 | import Euler.TimeLp |
| 4 | |
| 5 | /-! A genuine L²-time H² estimate for regularized heat solutions, with only L² forcing. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerHeatMaximalEstimate |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevLaplacian |
| 12 | EulerSobolevHeatGenerator EulerHeatGradientEnergy EulerSobolevEllipticBound EulerTimeLp |
| 13 | EulerVolterraConvolution |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- The actual gradient energy is bounded by four times the complete H¹ norm squared. -/ |
| 19 | theorem gradientEnergy_bound (u : SobolevSpace period 1) : gradientEnergy period u ≤ 4*‖u‖^2 := by |
| 20 | unfold gradientEnergy |
| 21 | calc |
| 22 | _ ≤ ∑ _i : Fin 4, ‖u‖^2 := Finset.sum_le_sum fun i _ => by |
| 23 | have h := (value_norm_le period (derivativeOperator period 0 i u)).trans (derivativeOperator_bound period i u) |
| 24 | nlinarith [norm_nonneg (value period (derivativeOperator period 0 i u)), norm_nonneg u] |
| 25 | _ = _ := by simp |
| 26 | |
| 27 | omit [Fact (0 < period)] in |
| 28 | /-- Integrating a continuous scalar upper bound by a constant plus another continuous function. -/ |
| 29 | theorem integral_le_constant_add (f g : ℝ → ℝ) (c T : ℝ) (hT : 0 ≤ T) |
| 30 | (hf : Continuous f) (hg : Continuous g) (hfg : ∀ t ∈ Icc 0 T, f t ≤ c + g t) : |
| 31 | (∫ t in (0 : ℝ)..T, f t) ≤ T*c + ∫ t in (0 : ℝ)..T, g t := by |
| 32 | have h := intervalIntegral.integral_mono_on hT (hf.intervalIntegrable (μ := volume) 0 T) |
| 33 | (((continuous_const (y := c)).add hg).intervalIntegrable (μ := volume) 0 T) hfg |
| 34 | change (∫ t in (0 : ℝ)..T, f t) ≤ ∫ t in (0 : ℝ)..T, c + g t at h |
| 35 | rw [intervalIntegral.integral_add (intervalIntegrable_const) (hg.intervalIntegrable (μ := volume) 0 T), |
| 36 | intervalIntegral.integral_const] at h |
| 37 | simpa only [sub_zero, smul_eq_mul] using h |
| 38 | |
| 39 | /-- The actual pointwise elliptic estimate with the lower Sobolev path norm as a uniform bound. -/ |
| 40 | theorem path_H2_point_bound (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period 3)) (t : ℝ) : |
| 41 | ‖truncateOperator period 2 (extendPath T hT u t)‖^2 ≤ |
| 42 | ‖(restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u‖^2 + |
| 43 | ‖laplacianEvaluation period 3 (by norm_num) (extendPath T hT u t)‖^2 := by |
| 44 | let low := (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 45 | have h := H2_norm_sq_le_laplacian period (extendPath T hT u t) |
| 46 | have hl := extendPath_norm_le T hT low t |
| 47 | change ‖restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u t)‖ ≤ ‖low‖ at hl |
| 48 | change _ ≤ ‖low‖^2 + _ |
| 49 | nlinarith [norm_nonneg (restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u t)), norm_nonneg low] |
| 50 | |
| 51 | /-- The actual H² time norm is bounded by the H¹ path norm and the genuine Laplacian time integral. -/ |
| 52 | theorem time_H2_elliptic_bound (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period 3)) : |
| 53 | ‖pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 ≤ |
| 54 | T * ‖(restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u‖^2 + |
| 55 | ∫ t in (0 : ℝ)..T, ‖laplacianEvaluation period 3 (by norm_num) (extendPath T hT u t)‖^2 := by |
| 56 | let high := (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 57 | have hhigh : Continuous (fun t => ‖extendPath T hT high t‖^2) := |
| 58 | ((extendPath_continuous T hT high).norm).pow 2 |
| 59 | have hLap : Continuous (fun t => ‖laplacianEvaluation period 3 (by norm_num) (extendPath T hT u t)‖^2) := |
| 60 | (((laplacianEvaluation period 3 (by norm_num)).continuous.comp (extendPath_continuous T hT u)).norm).pow 2 |
| 61 | rw [pathLp_norm_sq] |
| 62 | exact integral_le_constant_add _ _ _ T hT hhigh hLap (fun t _ => path_H2_point_bound period T hT u t) |
| 63 | |
| 64 | /-- The true heat PDE bounds the full L²-time H² norm by H¹ data and undifferentiated L² forcing. -/ |
| 65 | theorem heat_time_H2_bound (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) |
| 66 | (u : C(Icc (0 : ℝ) T, SobolevSpace period 3)) |
| 67 | (f : C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 68 | (hd : ∀ t ∈ Ioo 0 T, ∀ i : Fin 4, |
| 69 | HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT u s))) |
| 70 | (value period (derivativeOperator period 0 i |
| 71 | (ν • laplacianOperator period 1 (extendPath T hT u t) + extendPath T hT f t))) t) : |
| 72 | ‖pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 ≤ |
| 73 | (T + 4*ν⁻¹) * ‖(restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u‖^2 + |
| 74 | (ν⁻¹)^2 * ‖pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) f)‖^2 := by |
| 75 | let low := (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 76 | let source := (valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) f |
| 77 | let L := ∫ t in (0 : ℝ)..T, ‖laplacianEvaluation period 3 (by norm_num) (extendPath T hT u t)‖^2 |
| 78 | have he := heat_laplacian_integral_bound period (extendPath T hT u) (extendPath T hT f) ν 0 T hν hT |
| 79 | (extendPath_continuous T hT u).continuousOn (extendPath_continuous T hT f).continuousOn hd |
| 80 | have hb := gradientEnergy_bound period (restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u 0)) |
| 81 | have hl := extendPath_norm_le T hT low 0 |
| 82 | change ‖restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u 0)‖ ≤ ‖low‖ at hl |
| 83 | have hinit : gradientEnergy period (restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u 0)) ≤ 4*‖low‖^2 := by |
| 84 | nlinarith [norm_nonneg (restrictOperator period (by norm_num : 1 ≤ 3) (extendPath T hT u 0)), norm_nonneg low] |
| 85 | have hs : (∫ t in (0 : ℝ)..T, ‖value period (extendPath T hT f t)‖^2) = ‖pathLp T hT source‖^2 := |
| 86 | (pathLp_norm_sq T hT source).symm |
| 87 | rw [hs] at he |
| 88 | have hL : L ≤ 4*ν⁻¹*‖low‖^2 + (ν⁻¹)^2*‖pathLp T hT source‖^2 := by |
| 89 | calc |
| 90 | L = ν⁻¹*(ν*L) := by rw [← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul] |
| 91 | _ ≤ ν⁻¹*(4*‖low‖^2 + ν⁻¹*‖pathLp T hT source‖^2) := |
| 92 | mul_le_mul_of_nonneg_left (he.trans (add_le_add hinit le_rfl)) (inv_nonneg.mpr hν.le) |
| 93 | _ = _ := by ring |
| 94 | have hb2 := time_H2_elliptic_bound period T hT u |
| 95 | change _ ≤ T*‖low‖^2 + L at hb2 |
| 96 | change _ ≤ (T+4*ν⁻¹)*‖low‖^2 + (ν⁻¹)^2*‖pathLp T hT source‖^2 |
| 97 | nlinarith |
| 98 | |
| 99 | end EulerHeatMaximalEstimate |