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.CorrectionEnergyBound |
| 2 | import Euler.GevreyGrowthBudget |
| 3 | import Euler.NonlinearEnergyConstants |
| 4 | |
| 5 | /-! Concrete coefficient and background budgets for the actual nonlinear correction energy theorem. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionEnergyData |
| 10 | |
| 11 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerCorrectionEnergyTime EulerCorrectionEnergyBound |
| 13 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerGevreyGrowthCoefficient EulerGevreyRestriction |
| 14 | EulerH6Pressure EulerSobolevGevreyOperators EulerRegularizedMetricPaths EulerNonlinearEnergyConstants |
| 15 | EulerTimeLp EulerVolterraConvolution |
| 16 | open scoped Topology |
| 17 | |
| 18 | variable (period : ℝ) [Fact (0 < period)] |
| 19 | |
| 20 | /-- Actual derivative and residual norm budgets at the chosen cutoff; no energy or nonlinear forcing estimate is assumed. -/ |
| 21 | structure SpatialBudget {q : ℕ} {T : ℝ} (hq : 6 ≤ q+1) |
| 22 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) (N : ℕ) (R : C(Icc (0 : ℝ) T, ℝ)) where |
| 23 | /-- Coefficient derivative radius. -/ |
| 24 | Rc : ℝ |
| 25 | /-- Proven fixed-base pressure inverse bound. -/ |
| 26 | M : ℝ |
| 27 | /-- Base coefficient derivative bound. -/ |
| 28 | B : ℝ |
| 29 | /-- Background velocity norm bound. -/ |
| 30 | B0 : ℝ |
| 31 | /-- Background derivative norm bound. -/ |
| 32 | B1 : ℝ |
| 33 | /-- Linear coefficient norm bound. -/ |
| 34 | A0 : ℝ |
| 35 | /-- Quadratic coefficient norm bound. -/ |
| 36 | A2 : ℝ |
| 37 | /-- Approximate-equation residual norm bound. -/ |
| 38 | residual : ℝ |
| 39 | /-- The coefficient radius is nonnegative. -/ |
| 40 | Rc_nonneg : 0 ≤ Rc |
| 41 | /-- The pressure bound is at least one. -/ |
| 42 | M_one_le : 1 ≤ M |
| 43 | /-- The base coefficient budget is nonnegative. -/ |
| 44 | B_nonneg : 0 ≤ B |
| 45 | /-- The background budget is nonnegative. -/ |
| 46 | B0_nonneg : 0 ≤ B0 |
| 47 | /-- The background derivative budget is nonnegative. -/ |
| 48 | B1_nonneg : 0 ≤ B1 |
| 49 | /-- The linear budget is nonnegative. -/ |
| 50 | A0_nonneg : 0 ≤ A0 |
| 51 | /-- The quadratic budget is nonnegative. -/ |
| 52 | A2_nonneg : 0 ≤ A2 |
| 53 | /-- The residual budget is strictly positive. -/ |
| 54 | residual_pos : 0 < residual |
| 55 | /-- The actual radius stays positive. -/ |
| 56 | radius_pos : ∀ t, 0 < R t |
| 57 | /-- The actual H⁵ projected inverse has the fixed bound. -/ |
| 58 | inverse_five : ∀ t, (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 5 (by omega)).pressureConstant D.coercivity ≤ M |
| 59 | /-- The actual H⁶ projected inverse has the fixed bound. -/ |
| 60 | inverse_six : ∀ t, (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 6 hq).pressureConstant D.coercivity ≤ M |
| 61 | /-- The coefficient series is in the proved inverse absorption regime. -/ |
| 62 | radius_small : ∀ t, 4*M*(R t*Rc) ≤ 1 |
| 63 | /-- Actual higher coefficient derivatives satisfy the factorial estimate. -/ |
| 64 | metric_derivatives : ∀ t l, 1 ≤ l → l ≤ N → coefficientBlock period (D.metric.jet t) 6 l ≤ Rc^l*(l.factorial : ℝ)^2 |
| 65 | /-- Actual base coefficient derivatives satisfy the fixed budget. -/ |
| 66 | metric_base : ∀ t r, r ≤ 6 → EulerJetProductBounds.boundLevel period (D.metric.jet t) r ≤ B |
| 67 | /-- The actual approximate velocity has the background norm budget. -/ |
| 68 | background : ∀ t, weightedNorm period 6 N (R t) (D.approximation t) ≤ B0 |
| 69 | /-- The actual approximate velocity derivatives have the background derivative budget. -/ |
| 70 | background_derivative : ∀ t, (∑ i : Fin 4, weightedNorm period 6 N (R t) (derivativeOperator period (q+1) i (D.approximation t))) ≤ B1 |
| 71 | /-- Actual linear multiplier derivatives have the linear budget. -/ |
| 72 | linear : ∀ t, weightedCoefficient period (D.linear.jet t) 6 N (R t) ≤ A0 |
| 73 | /-- Actual quadratic multiplier derivatives have the quadratic budget. -/ |
| 74 | quadratic : ∀ t, (∑ i : Fin 3, weightedCoefficient period ((D.quadratic i).jet t) 6 N (R t)) ≤ A2 |
| 75 | /-- The literal approximate-equation residual has the residual budget. -/ |
| 76 | residual_bound : ∀ t, weightedNorm period 6 N (R t) (D.residual t) ≤ residual |
| 77 | |
| 78 | /-- An actual inverse metric and its uniform first spatial and time derivative budgets. -/ |
| 79 | structure MetricBudget {q : ℕ} (T : ℝ) (hT : 0 ≤ T) |
| 80 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) where |
| 81 | /-- Actual spatial inverse metric at each time. -/ |
| 82 | metric : Icc (0 : ℝ) T → SmoothCoefficient period |
| 83 | /-- Its actual L² multiplier path is continuous. -/ |
| 84 | continuous : Continuous (fun t => (metric t).operator) |
| 85 | /-- Actual time derivative of the L² metric operator. -/ |
| 86 | derivative : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period) |
| 87 | /-- The stated time derivative is the genuine derivative at every interior time. -/ |
| 88 | hasDeriv : ∀ t ∈ Ioo 0 T, HasDerivAt (extendPath T hT (metricOperatorPath period T metric continuous)) |
| 89 | (extendPath T hT derivative t) t |
| 90 | /-- Positive square-root coercivity constant. -/ |
| 91 | c : ℝ |
| 92 | /-- Strict metric coercivity. -/ |
| 93 | c_pos : 0 < c |
| 94 | /-- Pointwise symmetry of the actual metric. -/ |
| 95 | symmetric : ∀ t x v w, ⟪(metric t).coefficient x v,w⟫_ℝ = ⟪v,(metric t).coefficient x w⟫_ℝ |
| 96 | /-- Pointwise positive lower bound for the actual metric. -/ |
| 97 | coercive : ∀ t x v, c^2*‖v‖^2 ≤ ⟪(metric t).coefficient x v,v⟫_ℝ |
| 98 | /-- The actual metric inverts the coefficient in the pressure equation. -/ |
| 99 | inverse : ∀ t x v, (metric t).coefficient x ((D.metric.coefficient t).coefficient x v) = v |
| 100 | /-- Uniform metric multiplier bound. -/ |
| 101 | bound : ℝ |
| 102 | /-- Uniform first spatial derivative bound. -/ |
| 103 | first : ℝ |
| 104 | /-- Uniform time derivative operator bound. -/ |
| 105 | time : ℝ |
| 106 | /-- The multiplier budget is nonnegative. -/ |
| 107 | bound_nonneg : 0 ≤ bound |
| 108 | /-- The spatial derivative budget is nonnegative. -/ |
| 109 | first_nonneg : 0 ≤ first |
| 110 | /-- The time derivative budget is nonnegative. -/ |
| 111 | time_nonneg : 0 ≤ time |
| 112 | /-- The actual multiplier witness is bounded uniformly. -/ |
| 113 | bound_le : ∀ t, ((metric t).bound : ℝ) ≤ bound |
| 114 | /-- The actual first derivative witness is bounded uniformly. -/ |
| 115 | first_le : ∀ t, ((metric t).firstBound : ℝ) ≤ first |
| 116 | /-- The actual time derivative is bounded uniformly. -/ |
| 117 | time_le : ∀ t, ‖derivative t‖ ≤ time |
| 118 | |
| 119 | /-- The canonical genuine base-order coefficient jet. -/ |
| 120 | def baseMetricJet {q : ℕ} (hq : 6 ≤ q+1) {T : ℝ} |
| 121 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) (t : Icc (0 : ℝ) T) : |
| 122 | CoefficientJet period standardDirection 6 (D.metric.coefficient t) := |
| 123 | EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 6 hq |
| 124 | |
| 125 | /-- The actual metric budget determines its concrete continuous L² multiplier path. -/ |
| 126 | def MetricBudget.operatorPath {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 127 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) : |
| 128 | C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period) := metricOperatorPath period T K.metric K.continuous |
| 129 | |
| 130 | /-- The actual metric operator is coercive with the same pointwise constant. -/ |
| 131 | theorem MetricBudget.operator_coercive {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 132 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) |
| 133 | (t : Icc (0 : ℝ) T) (v : LiftL2 period) : K.c^2*‖v‖^2 ≤ ⟪K.operatorPath period t v,v⟫_ℝ := |
| 134 | EulerLiftedPressure.coefficientOperator_coercive (K.metric t).coefficient (K.metric t).measurable |
| 135 | (K.metric t).bound (K.metric t).norm_bound (K.c^2) (K.coercive t) v |
| 136 | |
| 137 | /-- The actual canonical base jet inherits the given derivative budget. -/ |
| 138 | theorem SpatialBudget.base_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 139 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 140 | (S : SpatialBudget period hq D N R) (t : Icc (0 : ℝ) T) (r : ℕ) (hr : r ≤ 6) : |
| 141 | EulerJetProductBounds.boundLevel period (baseMetricJet period hq D t) r ≤ S.B := by |
| 142 | change EulerJetProductBounds.boundLevel period (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 6 hq) r ≤ S.B |
| 143 | rw [EulerH6Pressure.coefficient_restrict_level period (D.metric.jet t) hq hr] |
| 144 | exact S.metric_base t r hr |
| 145 | |
| 146 | /-- The fixed constant part of the actual metric-growth majorant. -/ |
| 147 | def MetricBudget.growth0 {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 148 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) (B0 : ℝ) : ℝ := |
| 149 | growthBudgetBase K.c K.time K.first + growthBudgetSlope K.c K.first*sobolevEmbeddingConstant period 6*B0 |
| 150 | |
| 151 | /-- The fixed linear part of the actual metric-growth majorant. -/ |
| 152 | def MetricBudget.growth1 {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 153 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) : ℝ := |
| 154 | growthBudgetSlope K.c K.first*sobolevEmbeddingConstant period 6*metricAmplification K.c |
| 155 | |
| 156 | /-- The fixed coefficient multiplying the actual forcing norm. -/ |
| 157 | def MetricBudget.multiplier {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 158 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) : ℝ := K.bound/K.c |
| 159 | |
| 160 | /-- All fixed metric-growth and forcing coefficients are nonnegative. -/ |
| 161 | theorem MetricBudget.constants_nonneg {q : ℕ} {T : ℝ} {hT : 0 ≤ T} |
| 162 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} (K : MetricBudget period T hT D) (B0 : ℝ) (hB0 : 0 ≤ B0) : |
| 163 | 0 ≤ K.growth0 period B0 ∧ 0 ≤ K.growth1 period ∧ 0 ≤ K.multiplier := by |
| 164 | have he := sobolevEmbeddingConstant_nonneg period 6 |
| 165 | have hm : 0 ≤ metricAmplification K.c := (by norm_num : (0 : ℝ) ≤ 1).trans (metricAmplification_one_le K.c_pos) |
| 166 | have ht := K.time_nonneg |
| 167 | have hl := K.first_nonneg |
| 168 | have hk := K.bound_nonneg |
| 169 | have hc := K.c_pos.le |
| 170 | unfold MetricBudget.growth0 MetricBudget.growth1 MetricBudget.multiplier growthBudgetBase growthBudgetSlope |
| 171 | constructor |
| 172 | · positivity |
| 173 | constructor <;> positivity |
| 174 | |
| 175 | end EulerCorrectionEnergyData |