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.GevreyMetricEstimate |
| 2 | |
| 3 | /-! Actual metric-energy growth coefficients bounded uniformly for artificial viscosities at most one. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGevreyGrowthCoefficient |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolevSpace |
| 10 | EulerCylinderViscousEnergy EulerWeightedCylinderEnergy EulerGevreyMetricEstimate |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- The viscosity-uniform constant part of the actual metric growth coefficient. -/ |
| 16 | def growthBase (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) : ℝ := |
| 17 | (‖K'‖+2*heatEnergyConstant period K c)/(2*c^2) |
| 18 | |
| 19 | /-- The exact slope of the actual metric growth coefficient with respect to the velocity bound. -/ |
| 20 | def growthSlope (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : ℝ := |
| 21 | (K.firstBound : ℝ)*(|κ|+‖m‖)/(2*c^2) |
| 22 | |
| 23 | theorem growthBase_nonneg (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) : |
| 24 | 0 ≤ growthBase period K K' c := by |
| 25 | unfold growthBase heatEnergyConstant |
| 26 | positivity |
| 27 | |
| 28 | omit [Fact (0 < period)] in |
| 29 | theorem growthSlope_nonneg (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : |
| 30 | 0 ≤ growthSlope period K κ m c := by |
| 31 | unfold growthSlope |
| 32 | positivity |
| 33 | |
| 34 | /-- Artificial viscosity contributes no unbounded constant to the actual energy estimate as it tends to zero. -/ |
| 35 | theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 36 | (κ : ℝ) (m : Vector3) (c ν : ℝ) (B : NNReal) (hν : ν ≤ 1) : |
| 37 | viscousGrowthCoefficient period K K' κ m c ν B ≤ growthBase period K K' c+growthSlope period K κ m c*B := by |
| 38 | have hheat : 0 ≤ heatEnergyConstant period K c := by unfold heatEnergyConstant; positivity |
| 39 | have hv := mul_le_mul_of_nonneg_right hν hheat |
| 40 | have hn : ‖K'‖+2*transportEnergyConstant period K κ m B+2*ν*heatEnergyConstant period K c ≤ |
| 41 | ‖K'‖+2*transportEnergyConstant period K κ m B+2*heatEnergyConstant period K c := by nlinarith only [hv] |
| 42 | have h := div_le_div_of_nonneg_right hn (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (sq_nonneg c)) |
| 43 | exact h.trans_eq (by unfold growthBase growthSlope transportEnergyConstant; ring) |
| 44 | |
| 45 | /-- The chosen genuine pointwise velocity bound depends continuously on the actual metric energy. -/ |
| 46 | theorem metricVelocityBound_continuous (c B : ℝ) : Continuous (metricVelocityBound period c B) := by |
| 47 | exact continuous_real_toNNReal.comp |
| 48 | (continuous_const.mul (continuous_const.add (continuous_const.mul continuous_id))) |
| 49 | |
| 50 | /-- Its NNReal coercion is exactly the intended positive metric-energy majorant. -/ |
| 51 | theorem metricVelocityBound_coe (c B X : ℝ) (hc : 0 < c) (hB : 0 ≤ B) (hX : 0 ≤ X) : |
| 52 | (metricVelocityBound period c B X : ℝ) = sobolevEmbeddingConstant period 6*(B+metricAmplification c*X) := by |
| 53 | exact Real.coe_toNNReal _ (mul_nonneg (sobolevEmbeddingConstant_nonneg period 6) |
| 54 | (add_nonneg hB (mul_nonneg (le_trans zero_le_one (metricAmplification_one_le hc)) hX))) |
| 55 | |
| 56 | /-- The actual energy growth coefficient is affine in the metric error energy, uniformly for 0<ν≤1. -/ |
| 57 | theorem viscousGrowth_metric (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 58 | (κ : ℝ) (m : Vector3) (c ν B X : ℝ) (hc : 0 < c) (hν : ν ≤ 1) (hB : 0 ≤ B) (hX : 0 ≤ X) : |
| 59 | viscousGrowthCoefficient period K K' κ m c ν (metricVelocityBound period c B X) ≤ |
| 60 | growthBase period K K' c+growthSlope period K κ m c*sobolevEmbeddingConstant period 6*B+ |
| 61 | (growthSlope period K κ m c*sobolevEmbeddingConstant period 6*metricAmplification c)*X := by |
| 62 | have h := viscousGrowth_uniform period K K' κ m c ν (metricVelocityBound period c B X) hν |
| 63 | rw [metricVelocityBound_coe period c B X hc hB hX] at h |
| 64 | exact h.trans_eq (by ring) |
| 65 | |
| 66 | /-- One positive constant absorbs every derived scalar growth coefficient while preserving the signed radius term. -/ |
| 67 | theorem absorb_scalar_coefficients (g0 g1 f0 f1 f2 d r X Y B R C : ℝ) |
| 68 | (hg0 : 0 ≤ g0) (hg1 : 0 ≤ g1) (hf0 : 0 ≤ f0) (hf1 : 0 ≤ f1) (hf2 : 0 ≤ f2) (hd : 0 ≤ d) |
| 69 | (hr : 0 ≤ r) (hX : 0 ≤ X) (hY : 0 ≤ Y) (hB : 0 ≤ B) (hR : 0 ≤ R) |
| 70 | (hC : 1+g0+g1+f0+f1+f2+d ≤ C) (b : ℝ) : |
| 71 | (g0+g1*X)*X+b*Y+(f0*r+f1*X+f2*X^2+d*R*(B+X)*Y) ≤ |
| 72 | C*(X+X^2+r)+(b+C*R*(B+X))*Y := by |
| 73 | have hc0 : f0 ≤ C := by linarith |
| 74 | have hc1 : g0+f1 ≤ C := by linarith |
| 75 | have hc2 : g1+f2 ≤ C := by linarith |
| 76 | have hcd : d ≤ C := by linarith |
| 77 | have h0 := mul_le_mul_of_nonneg_right hc0 hr |
| 78 | have h1 := mul_le_mul_of_nonneg_right hc1 hX |
| 79 | have h2 := mul_le_mul_of_nonneg_right hc2 (sq_nonneg X) |
| 80 | have h3 := mul_le_mul_of_nonneg_right hcd (mul_nonneg (mul_nonneg hR (add_nonneg hB hX)) hY) |
| 81 | nlinarith only [h0,h1,h2,h3] |
| 82 | |
| 83 | end EulerGevreyGrowthCoefficient |