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.CorrectionEnergyScalar |
| 2 | import Euler.DriftCorrectionBudget |
| 3 | import Euler.DriftEnergyConstants |
| 4 | |
| 5 | /-! Continuous energy majorants that retain the actual small transport drift. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerDriftEnergyMajorants |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 13 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerTimeLpSubintervalBound |
| 14 | EulerVolterraConvolution EulerDriftCorrectionBudget |
| 15 | open scoped Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- The sharp polynomial is evaluated on the actual continuous metric energy paths. -/ |
| 20 | def forcingMajorant {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 21 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 22 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 23 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 24 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 25 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := by |
| 26 | let X := energyPath period N hN T R (K.operatorPath period) e |
| 27 | let Y := lossPath period N hN T R (K.operatorPath period) e |
| 28 | refine ⟨fun t => EulerDriftEnergyConstants.forcingPolynomial period |
| 29 | S.full.B S.full.M S.full.B0 S.drift S.full.B1 S.full.A0 S.full.A2 |
| 30 | S.full.residual K.c S.full.Rc (R t) (X t) (Y t), ?_⟩ |
| 31 | have hi : Continuous (fun t => (R t)⁻¹) := |
| 32 | R.continuous.inv₀ (fun t => (S.full.radius_pos t).ne') |
| 33 | unfold EulerDriftEnergyConstants.forcingPolynomial |
| 34 | fun_prop |
| 35 | |
| 36 | /-- The genuine scalar majorant retains full velocity only in terms with no derivative loss. -/ |
| 37 | def correctionRhs {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 38 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 39 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 40 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 41 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 42 | (Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 43 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 44 | scalarEnergyRhs T (growthPath period S.full hN K e) |
| 45 | (radiusLossPath R Rdot S.full.radius_pos) (ContinuousMap.const _ (K.multiplier period)) |
| 46 | (energyPath period N hN T R (K.operatorPath period) e) |
| 47 | (lossPath period N hN T R (K.operatorPath period) e) |
| 48 | (forcingMajorant period S hN K e) |
| 49 | |
| 50 | /-- The source's radius-loss factor uses the drift envelope, with the unchanged full-data growth constant. -/ |
| 51 | theorem correctionRhs_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 52 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} |
| 53 | {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 54 | (S : Budget period hq D N R) (hN : N+6 ≤ q+1) |
| 55 | {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 56 | (Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 57 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 58 | let X := energyPath period N hN T R (K.operatorPath period) e t |
| 59 | let Y := lossPath period N hN T R (K.operatorPath period) e t |
| 60 | let C := combinedConstant period S.full K |
| 61 | correctionRhs period S hN K Rdot e t ≤ C * (X + X ^ 2 + S.full.residual) + |
| 62 | (Rdot t / R t + C * ((R t)⁻¹ + S.full.Rc) * (S.drift + X)) * Y := by |
| 63 | obtain ⟨hg0, hg1, hk⟩ := K.constants_nonneg period S.full.B0 S.full.B0_nonneg |
| 64 | exact EulerDriftEnergyConstants.actual_scalar_bound period |
| 65 | (K.growth0 period S.full.B0) (K.growth1 period) (K.multiplier period) |
| 66 | S.full.B S.full.M S.full.B0 S.drift S.full.B1 S.full.A0 S.full.A2 K.c |
| 67 | S.full.Rc (R t) S.full.residual |
| 68 | (energyPath period N hN T R (K.operatorPath period) e t) |
| 69 | (lossPath period N hN T R (K.operatorPath period) e t) (Rdot t / R t) |
| 70 | hg0 hg1 hk S.full.B_nonneg (zero_le_one.trans S.full.M_one_le) |
| 71 | S.full.B0_nonneg S.drift_nonneg S.full.B1_nonneg S.full.A0_nonneg |
| 72 | S.full.A2_nonneg K.c_pos S.full.Rc_nonneg (S.full.radius_pos t) |
| 73 | S.full.residual_pos.le (energy_nonneg period S.full hN K e t) |
| 74 | (loss_nonneg period S.full hN K e t) |
| 75 | |
| 76 | end EulerDriftEnergyMajorants |