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.GevreyForcingComponents |
| 2 | import Euler.GevreyPressureComplete |
| 3 | |
| 4 | /-! The actual differentiated correction forcing and its cutoff-independent nonlinear bound. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyCorrectionForcing |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators |
| 12 | EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerGevreyMetricComparison |
| 13 | EulerSobolevWordLevel EulerSobolevTransportCommutator EulerGevreyPressureEnergy EulerBasePressureCommutator |
| 14 | EulerGevreyBaseTransport EulerGevreyForcingComponents EulerWeightedForcingAlgebra |
| 15 | EulerGevreyPressureTransport EulerSobolevCoefficientPressure EulerH6Nonlinear EulerBaseTransportL2 |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- The seven literal commutator/source terms after external and base differentiation of equation (17). |
| 20 | The two pressure arguments are the positive projected inverses; the PDE pressure has the opposite sign. -/ |
| 21 | def correctionForcing {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 22 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 23 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 24 | (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 25 | (u v : SobolevSpace period (s+1)) (f p0 p1 : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := |
| 26 | -energyValues period 6 N hN f + -externalTransportForcing period hs N hN L hL u v + |
| 27 | -baseTransportForcing period N hN L hL u v + externalPressureForcing period K N hN p0 + |
| 28 | basePressureForcing period K0 N hN p0 + externalPressureForcing period K N hN p1 + |
| 29 | basePressureForcing period K0 N hN p1 |
| 30 | |
| 31 | /-- The triangle inequality for seven actual forcing arrays has coefficient one. -/ |
| 32 | theorem forcing_seven_le {α β H : Type*} [Fintype α] [Fintype β] [NormedAddCommGroup H] |
| 33 | (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) (a b c d e f g : α → β → H) : |
| 34 | weightedForcingSum ρ order (a+b+c+d+e+f+g) ≤ weightedForcingSum ρ order a + weightedForcingSum ρ order b + |
| 35 | weightedForcingSum ρ order c + weightedForcingSum ρ order d + weightedForcingSum ρ order e + |
| 36 | weightedForcingSum ρ order f + weightedForcingSum ρ order g := by |
| 37 | have h1 := weightedForcingSum_add_le ρ hρ order a b |
| 38 | have h2 := weightedForcingSum_add_le ρ hρ order (a+b) c |
| 39 | have h3 := weightedForcingSum_add_le ρ hρ order (a+b+c) d |
| 40 | have h4 := weightedForcingSum_add_le ρ hρ order (a+b+c+d) e |
| 41 | have h5 := weightedForcingSum_add_le ρ hρ order (a+b+c+d+e) f |
| 42 | have h6 := weightedForcingSum_add_le ρ hρ order (a+b+c+d+e+f) g |
| 43 | linarith |
| 44 | |
| 45 | /-- All actual forcing components satisfy their derived bounds on finite Sobolev fields. -/ |
| 46 | theorem correctionForcing_raw_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 47 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 48 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 49 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 50 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 51 | (u v : SobolevSpace period (s+1)) (f p0 p1 : SobolevSpace period s) : |
| 52 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (correctionForcing period hs K K0 N hN L hL u v f p0 p1) ≤ |
| 53 | weightedNorm period 6 N ρ f + (4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v + |
| 54 | (5461*baseTransportConstant period)*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v + |
| 55 | externalPressureNorm period K N ρ p0 + basePressureNorm period K0 N hN ρ p0 + |
| 56 | externalPressureNorm period K N ρ p1 + basePressureNorm period K0 N hN ρ p1 := by |
| 57 | have h := forcing_seven_le ρ hρ (fun I : ExternalWord N => I.1.val) |
| 58 | (-energyValues period 6 N hN f) (-externalTransportForcing period hs N hN L hL u v) |
| 59 | (-baseTransportForcing period N hN L hL u v) (externalPressureForcing period K N hN p0) |
| 60 | (basePressureForcing period K0 N hN p0) (externalPressureForcing period K N hN p1) |
| 61 | (basePressureForcing period K0 N hN p1) |
| 62 | simp only [weightedForcingSum_neg] at h |
| 63 | have hS := sourceForcing_weighted_bound period N hN ρ hρ f |
| 64 | have hE := (externalTransportForcing_bound period hs N hN ρ hρ L hL u v).trans |
| 65 | (weightedCommutator_bound period hs N hN ρ hρ L hL u v) |
| 66 | have hB := baseTransportForcing_weighted_bound period N hN ρ hρ L hL u v |
| 67 | have hP0 := externalPressureForcing_bound period K N hN ρ hρ p0 |
| 68 | have hQ0 := basePressureForcing_bound period K0 N hN ρ hρ p0 |
| 69 | have hP1 := externalPressureForcing_bound period K N hN ρ hρ p1 |
| 70 | have hQ1 := basePressureForcing_bound period K0 N hN ρ hρ p1 |
| 71 | exact h.trans (add_le_add (add_le_add (add_le_add (add_le_add (add_le_add (add_le_add hS hE) hB) hP0) hQ0) hP1) hQ1) |
| 72 | |
| 73 | /-- The full actual forcing with both genuine projected pressure solves obeys the spatial part of equation (19). |
| 74 | Every velocity derivative in the bound lies at or below the chosen cutoff. -/ |
| 75 | theorem correctionForcing_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 76 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 77 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 78 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 79 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 80 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 81 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 82 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 83 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 84 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 85 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 86 | (u v : SobolevSpace period (s+1)) (f : SobolevSpace period s) : |
| 87 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 88 | (correctionForcing period hs K K0 N hN L hL u v f |
| 89 | (pressureSobolevOperator period K κ m c hc hpos f) (transportPressure period hs K κ m c hc hpos L hL u v)) ≤ |
| 90 | (1+2*M*(weightedCoefficient period K 6 N ρ + 448*baseCoefficientSum period K0))*weightedNorm period 6 N ρ f + |
| 91 | (5461*baseTransportConstant period + (448*baseCoefficientSum period K0)*(8*M*(5460*lowerProductConstant period 3)))* |
| 92 | weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v + |
| 93 | ((4*productConstant period 3)*ρ⁻¹ + 32*Rc*M*productConstant period 3)* |
| 94 | weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 95 | let p0 := pressureSobolevOperator period K κ m c hc hpos f |
| 96 | let p1 := transportPressure period hs K κ m c hc hpos L hL u v |
| 97 | have h := correctionForcing_raw_bound period hs K K0 N hN ρ hρ L hL u v f p0 p1 |
| 98 | have hp0 := source_pressure_commutators period K K0 κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase6 hsmall hcoeff f |
| 99 | have hp1e := nonlinear_externalPressure_bound_all period hs K κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase6 hsmall hcoeff L hL u v |
| 100 | have hp1b := nonlinear_basePressure_bound period hs K K0 κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase5 hsmall hcoeff L hL u v |
| 101 | change externalPressureNorm period K N ρ p0 + basePressureNorm period K0 N hN ρ p0 ≤ _ at hp0 |
| 102 | change externalPressureNorm period K N ρ p1 ≤ _ at hp1e |
| 103 | change basePressureNorm period K0 N hN ρ p1 ≤ _ at hp1b |
| 104 | nlinarith only [h, hp0, hp1e, hp1b] |
| 105 | |
| 106 | end EulerGevreyCorrectionForcing |