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.GevreyUniformConstants |
| 2 | import Euler.GevreyRestriction |
| 3 | |
| 4 | /-! The actual nonlinear correction forcing with explicit constants independent of the derivative cutoff. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyCorrectionBound |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerH6Pressure EulerSobolevGevreyOperators EulerGevreyCorrectionForcing |
| 12 | EulerBasePressureCommutator EulerBaseTransportL2 EulerH6Nonlinear EulerSobolevTransportCommutator |
| 13 | EulerGevreyPressureTransport EulerSobolevCoefficientPressure EulerGevreyUniformConstants |
| 14 | EulerGevreyMetricComparison EulerWeightedCylinderEnergy EulerGevreyRestriction EulerGevreyOrderZero |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- The coefficient multiplying the actual order-zero forcing. -/ |
| 19 | def sourceConstant (B M : ℝ) : ℝ := 1+2*M*(3136*B+1) |
| 20 | |
| 21 | /-- The coefficient for actual base transport and the lower-order nonlinear pressure commutator. -/ |
| 22 | def transportConstant (B M : ℝ) : ℝ := |
| 23 | 5461*baseTransportConstant period + 2688*B*(8*M*(5460*lowerProductConstant period 3)) |
| 24 | |
| 25 | /-- The coefficient for the actual external radius loss. -/ |
| 26 | def lossConstant (M : ℝ) : ℝ := (4+32*M)*productConstant period 3 |
| 27 | |
| 28 | omit [Fact (0 < period)] in |
| 29 | theorem sourceConstant_nonneg {B M : ℝ} (hB : 0 ≤ B) (hM : 0 ≤ M) : 0 ≤ sourceConstant B M := by |
| 30 | unfold sourceConstant |
| 31 | positivity |
| 32 | |
| 33 | theorem transportConstant_nonneg {B M : ℝ} (hB : 0 ≤ B) (hM : 0 ≤ M) : 0 ≤ transportConstant period B M := by |
| 34 | unfold transportConstant |
| 35 | exact add_nonneg (mul_nonneg (by norm_num) (baseTransportConstant_nonneg period)) |
| 36 | (mul_nonneg (mul_nonneg (by norm_num) hB) |
| 37 | (mul_nonneg (mul_nonneg (by norm_num) hM) (mul_nonneg (by norm_num) (lowerProductConstant_nonneg period 3)))) |
| 38 | |
| 39 | theorem lossConstant_nonneg {M : ℝ} (hM : 0 ≤ M) : 0 ≤ lossConstant period M := |
| 40 | mul_nonneg (by linarith) (productConstant_nonneg period 3) |
| 41 | |
| 42 | /-- The actual full forcing is bounded with constants depending only on fixed base coefficient bounds and the fixed inverse majorant. -/ |
| 43 | theorem correctionForcing_uniform_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 44 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 45 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 46 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 47 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 48 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M B : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 49 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 50 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 51 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 52 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 53 | (hB : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period K r ≤ B) |
| 54 | (hB0 : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period K0 r ≤ B) |
| 55 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 56 | (u v : SobolevSpace period (s+1)) (f : SobolevSpace period s) : |
| 57 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 58 | (correctionForcing period hs K K0 N hN L hL u v f |
| 59 | (pressureSobolevOperator period K κ m c hc hpos f) (transportPressure period hs K κ m c hc hpos L hL u v)) ≤ |
| 60 | sourceConstant B M*weightedNorm period 6 N ρ f + |
| 61 | transportConstant period B M*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v + |
| 62 | lossConstant period M*(ρ⁻¹+Rc)*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 63 | have hhalf : ρ*Rc ≤ 1/2 := by nlinarith [mul_nonneg hρ.le hRc] |
| 64 | have hw := weightedCoefficient_uniform period K N ρ Rc B hρ hRc hhalf hB hcoeff |
| 65 | have hb := baseCoefficientSum_le period K0 B hB0 |
| 66 | have hM0 : 0 ≤ M := by linarith |
| 67 | have hsf : 1+2*M*(weightedCoefficient period K 6 N ρ+448*baseCoefficientSum period K0) ≤ sourceConstant B M := by |
| 68 | have h := add_le_add (le_refl (1 : ℝ)) (mul_le_mul_of_nonneg_left |
| 69 | (add_le_add hw (mul_le_mul_of_nonneg_left hb (by norm_num : (0 : ℝ) ≤ 448))) |
| 70 | (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) hM0)) |
| 71 | exact h.trans_eq (by unfold sourceConstant; ring) |
| 72 | have htf : 5461*baseTransportConstant period+(448*baseCoefficientSum period K0)*(8*M*(5460*lowerProductConstant period 3)) ≤ |
| 73 | transportConstant period B M := by |
| 74 | have hp : 0 ≤ 8*M*(5460*lowerProductConstant period 3) := |
| 75 | mul_nonneg (mul_nonneg (by norm_num) hM0) (mul_nonneg (by norm_num) (lowerProductConstant_nonneg period 3)) |
| 76 | have h := add_le_add (le_refl (5461*baseTransportConstant period)) (mul_le_mul_of_nonneg_right |
| 77 | (mul_le_mul_of_nonneg_left hb (by norm_num : (0 : ℝ) ≤ 448)) hp) |
| 78 | exact h.trans_eq (by unfold transportConstant; ring) |
| 79 | have hlf : (4*productConstant period 3)*ρ⁻¹+32*Rc*M*productConstant period 3 ≤ lossConstant period M*(ρ⁻¹+Rc) := by |
| 80 | have h1 := mul_nonneg (productConstant_nonneg period 3) hRc |
| 81 | have h2 := mul_nonneg (mul_nonneg hM0 (productConstant_nonneg period 3)) (inv_nonneg.mpr hρ.le) |
| 82 | unfold lossConstant |
| 83 | nlinarith only [h1,h2] |
| 84 | have h := correctionForcing_bound period hs K K0 κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase5 hbase6 hsmall hcoeff L hL u v f |
| 85 | exact h.trans (add_le_add (add_le_add |
| 86 | (mul_le_mul_of_nonneg_right hsf (weightedNorm_nonneg period 6 N ρ hρ f)) |
| 87 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right htf (weightedNorm_nonneg period 6 N ρ hρ u)) |
| 88 | (weightedNorm_nonneg period 6 N ρ hρ v))) |
| 89 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hlf (weightedNorm_nonneg period 6 N ρ hρ u)) |
| 90 | (weightedLoss_nonneg period 6 N ρ hρ v))) |
| 91 | |
| 92 | end EulerGevreyCorrectionBound |