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.AllOrderCorrectionCoherence |
| 2 | import Euler.GevreyStabilityBudget |
| 3 | import Euler.ClassicalDivergence |
| 4 | import Euler.CorrectionSourceRestriction |
| 5 | import Euler.GraphPressurePotential |
| 6 | |
| 7 | /-! Smooth actual pressure and graph potentials of the constructed common inviscid correction. -/ |
| 8 | |
| 9 | /-! ## From `Euler/AllOrderCorrectionBudget.lean` |
| 10 | |
| 11 | The text of `Euler/AllOrderCorrectionBudget.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Concrete uniform Gevrey budgets for one coherent family of prescribed data. -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace EulerAllOrderCorrectionBudget |
| 20 | |
| 21 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 22 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 23 | EulerAllOrderCorrectionData EulerGevreyMetricEstimate EulerGlobalInviscidGevrey |
| 24 | EulerCorrectionLowerData EulerVolterraConvolution EulerInviscidSobolevEvolution |
| 25 | open scoped Topology |
| 26 | |
| 27 | variable (period : ℝ) [Fact (0 < period)] |
| 28 | |
| 29 | /-- Actual all-order data budgets with common radius, error size and time interval; these are coefficient/background/residual inequalities, not solution or energy hypotheses. -/ |
| 30 | structure Budget {T : ℝ} (hT : 0 < T) (A : Data period T) where |
| 31 | /-- The common actual inverse metric and its genuine time derivative. -/ |
| 32 | metric : MetricBudget period T hT.le (A.atOrder period 1) |
| 33 | /-- The common positive shrinking-radius path. -/ |
| 34 | radius : C(Icc (0 : ℝ) T,ℝ) |
| 35 | /-- The common scalar growth coefficient. -/ |
| 36 | constant : ℝ |
| 37 | /-- The common desired error size. -/ |
| 38 | delta : ℝ |
| 39 | /-- The common initial radius. -/ |
| 40 | initialRadius : ℝ |
| 41 | /-- Genuine coefficient, background and residual bounds at each finite construction cutoff. -/ |
| 42 | spatial : ∀ q (hq : 6 ≤ q), SpatialBudget period (hq.trans (by omega : q ≤ (q+1)+1)) |
| 43 | (A.atOrder period ((q+1)+1)) (q-4) radius |
| 44 | /-- The fixed scalar dominates each proved nonlinear energy constant. -/ |
| 45 | constant_bound : ∀ q hq, combinedConstant period (spatial q hq) |
| 46 | (A.metricBudget period hT.le metric (q+1)) ≤ constant |
| 47 | /-- Strictly positive target error size. -/ |
| 48 | delta_pos : 0 < delta |
| 49 | /-- The target error is at most one. -/ |
| 50 | delta_le_one : delta ≤ 1 |
| 51 | /-- Strictly positive initial radius. -/ |
| 52 | radius_pos : 0 < initialRadius |
| 53 | /-- Every construction retains half the common initial radius. -/ |
| 54 | decay : ∀ q hq, 2*constant*((spatial q hq).B0+delta)*T ≤ initialRadius/2 |
| 55 | /-- The coefficient scale fits the common initial radius. -/ |
| 56 | scale : ∀ q hq, initialRadius*(spatial q hq).Rc ≤ 1 |
| 57 | /-- The actual residual budgets beat the genuine Gronwall factor. -/ |
| 58 | small : ∀ q hq, 2*(spatial q hq).residual*Real.exp (3*constant*T) ≤ delta/2 |
| 59 | /-- Every finite construction uses the same actual shrinking radius. -/ |
| 60 | radius_eq : ∀ q hq t, radius t=initialRadius-2*constant*((spatial q hq).B0+delta)*t.val |
| 61 | /-- The prescribed approximate field is genuinely lifted divergence-free. -/ |
| 62 | divergence : ∀ t, A.approximation.field t ∈ divergenceFreeSpace period A.κ A.direction |
| 63 | |
| 64 | /-- The concrete all-order budgets construct an actual finite-order inviscid correction, with retained Gevrey energy and its actual equation. -/ |
| 65 | theorem finite_exists {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 66 | (q : ℕ) (hq : 6 ≤ q) : |
| 67 | ∃ e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1)), |
| 68 | e ⟨0,le_rfl,hT.le⟩=0 ∧ |
| 69 | (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ |
| 70 | (∀ (P : ℕ) (_ : P ≤ q-4) (hP : P+6 ≤ q+1) t, |
| 71 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) (e t) ≤ B.delta/2) ∧ |
| 72 | ∀ t (ht : t ∈ Ioo 0 T), HasDerivAt (fun r => value period (extendPath T hT.le e r)) |
| 73 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 74 | ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t := by |
| 75 | have h := exists_global_inviscid_gevrey_PDE period hq T hT (A.atOrder period ((q+1)+1)) |
| 76 | (A.metric.jet (q+1)) (A.linear.jet (q+1)) (fun i => (A.quadratic i).jet (q+1)) |
| 77 | (A.metric.continuous (q+1)) (A.linear.continuous (q+1)) (fun i => (A.quadratic i).continuous (q+1)) |
| 78 | (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) |
| 79 | (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) |
| 80 | A.metric_continuous (q-4) (by omega) (by omega) B.radius (B.spatial q hq) |
| 81 | (A.metricBudget period hT.le B.metric (q+1)) B.constant B.delta B.initialRadius |
| 82 | (B.constant_bound q hq) B.delta_pos B.delta_le_one B.radius_pos (B.decay q hq) |
| 83 | (B.scale q hq) (B.small q hq) (B.radius_eq q hq) |
| 84 | (fun t => by simpa only [Data.atOrder,A.approximation.value_eq] using B.divergence t) |
| 85 | rw [A.lower_twice period q] at h |
| 86 | obtain ⟨e,hi,hd,_,he,hp⟩ := h |
| 87 | refine ⟨e,hi,hd,(fun P hP hPq t => (he P hP hPq t).2),?_⟩ |
| 88 | intro t ht |
| 89 | have hs := hp t ht |
| 90 | rw [← CorrectionData.source_sobolev] at hs |
| 91 | exact (valueOperator period q).hasFDerivAt.comp_hasDerivAt t hs |
| 92 | |
| 93 | end EulerAllOrderCorrectionBudget |
| 94 | end |
| 95 | |
| 96 | end |
| 97 | |
| 98 | /-! ## From `Euler/AllOrderCorrectionStability.lean` |
| 99 | |
| 100 | The text of `Euler/AllOrderCorrectionStability.lean`, folded into this file, which was its only importer. -/ |
| 101 | |
| 102 | section |
| 103 | |
| 104 | /-! One concrete stability budget compares every finite realization of the same prescribed data. -/ |
| 105 | |
| 106 | noncomputable section |
| 107 | |
| 108 | namespace EulerAllOrderCorrectionBudget |
| 109 | |
| 110 | open MeasureTheory Set EulerLiftedGradientSpace EulerLiftedPressure EulerCylinderSobolevSpace |
| 111 | EulerCorrectionOperators EulerCorrectionEnergyData EulerAllOrderCorrectionData |
| 112 | EulerCorrectionStabilityBudget EulerGevreyStabilityBudget |
| 113 | |
| 114 | variable (period : ℝ) [Fact (0 < period)] |
| 115 | |
| 116 | end EulerAllOrderCorrectionBudget |
| 117 | end |
| 118 | |
| 119 | end |
| 120 | |
| 121 | /-! ## From `Euler/AllOrderCorrectionFamily.lean` |
| 122 | |
| 123 | The text of `Euler/AllOrderCorrectionFamily.lean`, folded into this file, which was its only importer. -/ |
| 124 | |
| 125 | section |
| 126 | |
| 127 | /-! Constructed compatible inviscid corrections at every finite Sobolev order. -/ |
| 128 | |
| 129 | noncomputable section |
| 130 | |
| 131 | namespace EulerAllOrderCorrectionFamily |
| 132 | |
| 133 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 134 | EulerCorrectionOperators EulerCorrectionEnergyData EulerAllOrderCorrectionData |
| 135 | EulerAllOrderCorrectionBudget EulerCorrectionStabilityBudget EulerCorrectionLowerData |
| 136 | EulerInviscidCorrectionCompatibility EulerGevreyMetricEstimate EulerVolterraConvolution |
| 137 | open scoped Topology |
| 138 | |
| 139 | variable (period : ℝ) [Fact (0 < period)] |
| 140 | |
| 141 | /-- The actual finite-order correction chosen from the proved global nonlinear construction. -/ |
| 142 | def solution {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 143 | (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := |
| 144 | Classical.choose (finite_exists period hT A B q hq) |
| 145 | |
| 146 | end EulerAllOrderCorrectionFamily |
| 147 | end |
| 148 | |
| 149 | end |
| 150 | |
| 151 | /-! ## From `Euler/AllOrderLiftedCorrection.lean` |
| 152 | |
| 153 | The text of `Euler/AllOrderLiftedCorrection.lean`, folded into this file, which was its only importer. -/ |
| 154 | |
| 155 | section |
| 156 | |
| 157 | /-! A common actual lifted inviscid correction with genuine jets of every order and smooth spatial representatives. -/ |
| 158 | |
| 159 | noncomputable section |
| 160 | |
| 161 | namespace EulerAllOrderLiftedCorrection |
| 162 | |
| 163 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 164 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerAllOrderCorrectionData |
| 165 | EulerAllOrderCorrectionBudget EulerAllOrderCorrectionFamily EulerVolterraConvolution |
| 166 | EulerMetricTransport EulerLiftedCurl EulerSmoothPressureRepresentative EulerClassicalDivergence EulerTransportDerivatives |
| 167 | EulerGevreyMetricEstimate |
| 168 | open scoped Topology ContDiff |
| 169 | |
| 170 | variable (period : ℝ) [Fact (0 < period)] |
| 171 | |
| 172 | end EulerAllOrderLiftedCorrection |
| 173 | end |
| 174 | |
| 175 | end |
| 176 | |
| 177 | /-! ## From `Euler/AllOrderPressureCoherence.lean` |
| 178 | |
| 179 | The text of `Euler/AllOrderPressureCoherence.lean`, folded into this file, which was its only importer. -/ |
| 180 | |
| 181 | section |
| 182 | |
| 183 | /-! The actual nonlinear source and signed coercive pressure agree across the constructed Sobolev solutions. -/ |
| 184 | |
| 185 | noncomputable section |
| 186 | |
| 187 | namespace EulerAllOrderPressureCoherence |
| 188 | |
| 189 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 190 | EulerCorrectionOperators EulerCorrectionLowerData EulerCorrectionSourceRestriction |
| 191 | EulerAllOrderCorrectionData EulerAllOrderCorrectionBudget EulerAllOrderCorrectionFamily |
| 192 | EulerAllOrderLiftedCorrection EulerSobolevCoefficientPressure |
| 193 | open scoped Topology |
| 194 | |
| 195 | variable (period : ℝ) [Fact (0 < period)] |
| 196 | |
| 197 | end EulerAllOrderPressureCoherence |
| 198 | end |
| 199 | |
| 200 | end |
| 201 | |
| 202 | noncomputable section |
| 203 | |
| 204 | namespace EulerAllOrderSmoothPressure |
| 205 | |
| 206 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 207 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerAllOrderCorrectionData |
| 208 | EulerAllOrderCorrectionBudget EulerAllOrderCorrectionFamily EulerAllOrderLiftedCorrection |
| 209 | EulerAllOrderPressureCoherence EulerVolterraConvolution EulerMetricTransport |
| 210 | EulerSmoothPressureRepresentative EulerGraphPressurePotential |
| 211 | open scoped Topology ContDiff |
| 212 | |
| 213 | variable (period : ℝ) [Fact (0 < period)] |
| 214 | |
| 215 | end EulerAllOrderSmoothPressure |