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.DriftNonlinearEstimate |
| 2 | import Euler.DriftEnergyConstants |
| 3 | |
| 4 | /-! The actual correction forcing in metric energy with distinct full-background and small-drift budgets. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerDriftMetricForcing |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerH6Pressure EulerSobolevGevreyOperators EulerGevreyCorrectionForcing |
| 12 | EulerH6Nonlinear EulerSobolevTransportCommutator EulerGevreyPressureTransport EulerSobolevCoefficientPressure |
| 13 | EulerGevreyMetricComparison EulerWeightedCylinderEnergy EulerGevreyRestriction EulerGevreyOrderZero |
| 14 | EulerGevreyCorrectionBound EulerGevreyMetricEstimate EulerSobolevDriftNorm EulerFunctionalVelocity |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- The genuine seven-term correction forcing obeys the metric polynomial retaining the small drift envelope. -/ |
| 19 | theorem correctionForcing_metric {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 20 | (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 21 | (KG0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 22 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 23 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 24 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M B : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) (hB : 0 ≤ B) |
| 25 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict KG 5 (by omega)).pressureConstant c ≤ M) |
| 26 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) |
| 27 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 28 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 29 | (hG : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG r ≤ B) |
| 30 | (hG0 : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period KG0 r ≤ B) |
| 31 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 32 | (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) |
| 33 | (C : Fin 3 → SmoothCoefficient period) |
| 34 | (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) |
| 35 | (z e : SobolevSpace period (s+1)) (r : SobolevSpace period s) |
| 36 | (Z0 B0 B1 A0 A2 R : ℝ) (hA2 : 0 ≤ A2) |
| 37 | (hz : weightedNorm period 6 N ρ z ≤ Z0) |
| 38 | (hb : weightedDriftNorm period 6 N ρ (velocityMap L) z ≤ B0) |
| 39 | (hdz : (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i z)) ≤ B1) |
| 40 | (hC0 : weightedCoefficient period K0 6 N ρ ≤ A0) |
| 41 | (hC : (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) ≤ A2) |
| 42 | (hr : weightedNorm period 6 N ρ r ≤ R) |
| 43 | (KM : LiftL2 period →L[ℝ] LiftL2 period) (cM : ℝ) (hcM : 0 < cM) |
| 44 | (hKM : ∀ v, cM^2*‖v‖^2 ≤ ⟪KM v,v⟫_ℝ) : |
| 45 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 46 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 47 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 48 | (correctionForcing period hs KG KG0 N hN L hL (z+e) e f |
| 49 | (pressureSobolevOperator period KG κ m c hc hpos f) (transportPressure period hs KG κ m c hc hpos L hL (z+e) e)) ≤ |
| 50 | EulerDriftEnergyConstants.forcingPolynomial period B M Z0 B0 B1 A0 A2 R cM Rc ρ |
| 51 | (energyNorm period N (by omega : N+6 ≤ s+1) ρ KM e) |
| 52 | (energyLoss period N (by omega : N+6 ≤ s+1) ρ KM e) := by |
| 53 | let f := orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 54 | (fun i => coefficientSobolevOperator period (K i)) z r (truncateOperator period s e) |
| 55 | have h := EulerDriftNonlinearEstimate.correctionForcing_polynomial period hs KG KG0 κ m c hc hpos N hN ρ Rc M B hρ hRc hM hB |
| 56 | hbase5 hbase6 hsmall hcoeff hG hG0 L hL C0 K0 C K z e r Z0 B0 B1 A0 A2 R hA2 hz hb hdz hC0 hC hr |
| 57 | have hM0 : 0 ≤ M := by linarith |
| 58 | have hP := productConstant_nonneg period 3 |
| 59 | have hz0 : 0 ≤ Z0 := (weightedNorm_nonneg period 6 N ρ hρ z).trans hz |
| 60 | have hb0 : 0 ≤ B0 := (weightedDriftNorm_nonneg period 6 N ρ hρ (velocityMap L) z).trans hb |
| 61 | have hb1 : 0 ≤ B1 := (Finset.sum_nonneg (fun i _ => |
| 62 | weightedNorm_nonneg period 6 N ρ hρ (derivativeOperator period s i z))).trans hdz |
| 63 | have ha0 : 0 ≤ A0 := (weightedCoefficient_nonneg period K0 6 N ρ hρ).trans hC0 |
| 64 | have hsf := sourceConstant_nonneg hB hM0 |
| 65 | have htf := transportConstant_nonneg period hB hM0 |
| 66 | have hlf := lossConstant_nonneg period hM0 |
| 67 | have hlin : 0 ≤ sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*Z0)+ |
| 68 | transportConstant period B M*Z0 := by positivity |
| 69 | have hquad : 0 ≤ sourceConstant B M*A2*productConstant period 3+transportConstant period B M := by positivity |
| 70 | have hconv := metric_polynomial_conversion (sourceConstant B M) |
| 71 | (sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*Z0)+transportConstant period B M*Z0) |
| 72 | (sourceConstant B M*A2*productConstant period 3+transportConstant period B M) |
| 73 | (lossConstant period M*(ρ⁻¹+Rc)) R B0 (metricAmplification cM) |
| 74 | (weightedNorm period 6 N ρ e) (weightedLoss period 6 N ρ e) |
| 75 | (energyNorm period N (by omega : N+6 ≤ s+1) ρ KM e) (energyLoss period N (by omega : N+6 ≤ s+1) ρ KM e) _ |
| 76 | hlin hquad (mul_nonneg hlf (add_nonneg (inv_nonneg.mpr hρ.le) hRc)) hb0 (metricAmplification_one_le hcM) |
| 77 | (weightedNorm_nonneg period 6 N ρ hρ e) (weightedLoss_nonneg period 6 N ρ hρ e) |
| 78 | (energyNorm_nonneg period N (by omega : N+6 ≤ s+1) ρ hρ KM e) |
| 79 | (weightedNorm_le_energy period N (by omega : N+6 ≤ s+1) ρ hρ KM e cM hcM hKM) |
| 80 | (weightedLoss_le_energy period N (by omega : N+6 ≤ s+1) ρ hρ KM e cM hcM hKM) h |
| 81 | |
| 82 | simpa only [EulerDriftEnergyConstants.forcingPolynomial, |
| 83 | EulerNonlinearEnergyConstants.linearCoefficient, EulerNonlinearEnergyConstants.quadraticCoefficient, |
| 84 | EulerNonlinearEnergyConstants.lossCoefficient, mul_assoc, mul_left_comm, mul_comm] using hconv |
| 85 | |
| 86 | end EulerDriftMetricForcing |