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.CorrectionDifferenceMetric |
| 2 | |
| 3 | /-! Concrete coefficient and inverse-metric data for actual vanishing-viscosity stability. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCorrectionStabilityBudget |
| 8 | |
| 9 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 10 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerCorrectionStabilityConstants EulerVolterraConvolution |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- Actual coefficient and inverse-metric budgets for L² comparison; no PDE estimate or solution comparison is a field. -/ |
| 16 | structure StabilityBudget {q : ℕ} {T : ℝ} (hT : 0 ≤ T) (D : CorrectionData period q (Icc (0 : ℝ) T)) where |
| 17 | /-- The actual inverse metric coefficient. -/ |
| 18 | metric : Icc (0 : ℝ) T → SmoothCoefficient period |
| 19 | /-- The actual metric multiplier is continuous in time. -/ |
| 20 | continuous : Continuous (fun t => (metric t).operator) |
| 21 | /-- The genuine time derivative of the metric multiplier. -/ |
| 22 | derivative : C(Icc (0 : ℝ) T,LiftL2 period →L[ℝ] LiftL2 period) |
| 23 | /-- Interior differentiation of the actual metric path. -/ |
| 24 | hasDeriv : ∀ t ∈ Ioo 0 T, HasDerivAt |
| 25 | (fun s => (metric (projIcc 0 T hT s)).operator) (extendPath T hT derivative t) t |
| 26 | /-- Positive square-root coercivity constant. -/ |
| 27 | c : ℝ |
| 28 | /-- Strict coercivity. -/ |
| 29 | c_pos : 0 < c |
| 30 | /-- Pointwise metric symmetry. -/ |
| 31 | symmetric : ∀ t x a b, ⟪(metric t).coefficient x a,b⟫_ℝ=⟪a,(metric t).coefficient x b⟫_ℝ |
| 32 | /-- Pointwise positive lower bound. -/ |
| 33 | coercive : ∀ t x a, c^2*‖a‖^2 ≤ ⟪(metric t).coefficient x a,a⟫_ℝ |
| 34 | /-- The actual metric inverts the pressure coefficient. -/ |
| 35 | inverse : ∀ t x a, (metric t).coefficient x ((D.metric.coefficient t).coefficient x a)=a |
| 36 | /-- Uniform metric operator bound. -/ |
| 37 | bound : ℝ |
| 38 | /-- Uniform metric first spatial derivative bound. -/ |
| 39 | first : ℝ |
| 40 | /-- Uniform metric time derivative bound. -/ |
| 41 | time : ℝ |
| 42 | /-- Uniform linear-coefficient bound. -/ |
| 43 | linear : ℝ |
| 44 | /-- Uniform sum of quadratic-coefficient bounds. -/ |
| 45 | quadratic : ℝ |
| 46 | /-- The actual metric operator satisfies its budget. -/ |
| 47 | bound_le : ∀ t, ‖(metric t).operator‖ ≤ bound |
| 48 | /-- The actual first spatial derivative witness satisfies its budget. -/ |
| 49 | first_le : ∀ t, ((metric t).firstBound : ℝ) ≤ first |
| 50 | /-- The actual time derivative satisfies its budget. -/ |
| 51 | time_le : ∀ t, ‖derivative t‖ ≤ time |
| 52 | /-- The actual linear coefficient satisfies its budget. -/ |
| 53 | linear_le : ∀ t, ((D.linear.coefficient t).bound : ℝ) ≤ linear |
| 54 | /-- The actual quadratic coefficients satisfy their common budget. -/ |
| 55 | quadratic_le : ∀ t, (∑ i : Fin 3, (((D.quadratic i).coefficient t).bound : ℝ)) ≤ quadratic |
| 56 | |
| 57 | /-- The actual continuous metric multiplier path determined by the concrete budget. -/ |
| 58 | def StabilityBudget.operatorPath {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 59 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) : |
| 60 | C(Icc (0 : ℝ) T,LiftL2 period →L[ℝ] LiftL2 period) := ⟨fun t => (B.metric t).operator,B.continuous⟩ |
| 61 | |
| 62 | /-- The fixed squared-energy growth coefficient obtained from the actual background path and a solution norm bound. -/ |
| 63 | def StabilityBudget.growth {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 64 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) (R : ℝ) : ℝ := |
| 65 | growthConstant B.c B.bound B.first B.time (velocityBound period q ‖D.approximation‖ R) |
| 66 | (lowerConstant period q B.linear B.quadratic ‖D.approximation‖ R) |
| 67 | |
| 68 | /-- The explicit finite-interval Lipschitz coefficient for viscosity in continuous L². -/ |
| 69 | def StabilityBudget.comparisonConstant {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 70 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) (R : ℝ) : ℝ := |
| 71 | Real.sqrt (defectConstant B.bound R*T*Real.exp (B.growth period R*T))/B.c |
| 72 | |
| 73 | /-- All budget signs follow from the actual norm bounds on the nonempty time interval. -/ |
| 74 | theorem StabilityBudget.nonneg {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 75 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) : |
| 76 | 0 ≤ B.bound ∧ 0 ≤ B.first ∧ 0 ≤ B.time ∧ 0 ≤ B.linear ∧ 0 ≤ B.quadratic := by |
| 77 | let t : Icc (0 : ℝ) T := ⟨0,le_rfl,hT⟩ |
| 78 | exact ⟨(norm_nonneg _).trans (B.bound_le t), |
| 79 | (B.metric t).firstBound.coe_nonneg.trans (B.first_le t), |
| 80 | (norm_nonneg _).trans (B.time_le t), |
| 81 | (D.linear.coefficient t).bound.coe_nonneg.trans (B.linear_le t), |
| 82 | (Finset.sum_nonneg (fun i _ => ((D.quadratic i).coefficient t).bound.coe_nonneg)).trans (B.quadratic_le t)⟩ |
| 83 | |
| 84 | /-- The actual fixed growth coefficient is nonnegative for every nonnegative solution bound. -/ |
| 85 | theorem StabilityBudget.growth_nonneg {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 86 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) (R : ℝ) (hR : 0 ≤ R) : |
| 87 | 0 ≤ B.growth period R := by |
| 88 | obtain ⟨hb,hf,ht,hl,hq⟩ := B.nonneg period |
| 89 | exact growthConstant_nonneg B.c B.bound B.first B.time _ _ hb hf ht |
| 90 | (velocityBound_nonneg period q ‖D.approximation‖ R (norm_nonneg D.approximation) hR) |
| 91 | (lowerConstant_nonneg period q B.linear B.quadratic ‖D.approximation‖ R hl hq (norm_nonneg D.approximation) hR) |
| 92 | |
| 93 | /-- The explicit comparison coefficient is nonnegative. -/ |
| 94 | theorem StabilityBudget.comparisonConstant_nonneg {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 95 | {D : CorrectionData period q (Icc (0 : ℝ) T)} (B : StabilityBudget period hT D) (R : ℝ) : |
| 96 | 0 ≤ B.comparisonConstant period R := div_nonneg (Real.sqrt_nonneg _) B.c_pos.le |
| 97 | |
| 98 | end EulerCorrectionStabilityBudget |