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.GevreyPressureEnergy |
| 3 | |
| 4 | /-! The actual differentiated correction forcing and its cutoff-independent nonlinear bound. -/ |
| 5 | |
| 6 | /-! ## From `Euler/GevreyPressureComplete.lean` |
| 7 | |
| 8 | The text of `Euler/GevreyPressureComplete.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Complete finite-cutoff pressure commutator bounds for both actual source components. -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerGevreyPressureEnergy |
| 17 | |
| 18 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 19 | EulerSpatialSobolevInverse EulerH6Pressure EulerJetProductBounds EulerPacketWeights |
| 20 | EulerSobolevGevreyOperators EulerBasePressureCommutator EulerGevreyPressureTransport EulerH6Nonlinear |
| 21 | EulerSobolevTransportCommutator EulerSobolevCoefficientPressure EulerGevreyLowNorms |
| 22 | |
| 23 | variable (period : ℝ) [Fact (0 < period)] |
| 24 | |
| 25 | omit [Fact (0 < period)] in |
| 26 | /-- Monotonicity of the actual coefficient derivative blocks in their fixed Sobolev index. -/ |
| 27 | theorem coefficientBlock_mono {s p q : ℕ} (hpq : p ≤ q) {A : SmoothCoefficient period} |
| 28 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (n : ℕ) : |
| 29 | coefficientBlock period K p n ≤ coefficientBlock period K q n := by |
| 30 | apply mul_le_mul (pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hpq) |
| 31 | (Finset.sum_le_sum_of_subset_of_nonneg (Finset.range_mono (by omega : p+1 ≤ q+1)) |
| 32 | (fun r _ _ => (boundLevel_nonneg K : 0 ≤ boundLevel period K (n+r)))) |
| 33 | (Finset.sum_nonneg (fun r _ => (boundLevel_nonneg K : 0 ≤ boundLevel period K (n+r)))) |
| 34 | (pow_nonneg (by norm_num) q) |
| 35 | |
| 36 | /-- The actual nonlinear external pressure commutator bound includes the zero-cutoff case. -/ |
| 37 | theorem nonlinear_externalPressure_bound_all {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 38 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 39 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 40 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 41 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 42 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 43 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 44 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 45 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 46 | (u v : SobolevSpace period (s+1)) : |
| 47 | externalPressureNorm period K N ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 48 | (32*Rc*M*productConstant period 3)*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 49 | cases N with |
| 50 | | zero => simp [externalPressureNorm, weightedLoss, commutatorBlock_zero] |
| 51 | | succ N => exact nonlinear_externalPressure_bound period hs K κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff L hL u v |
| 52 | |
| 53 | /-- Actual base transport-pressure commutators are bounded by the product of the two velocity energies at the same cutoff. -/ |
| 54 | theorem nonlinear_basePressure_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 55 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 56 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 57 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 58 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 59 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 60 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 61 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 62 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 63 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 64 | (u v : SobolevSpace period (s+1)) : |
| 65 | basePressureNorm period K0 N hN ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 66 | (448*baseCoefficientSum period K0)*(8*M*(5460*lowerProductConstant period 3))* |
| 67 | weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v := by |
| 68 | have hc5 : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 5 l ≤ Rc^l*(l.factorial : ℝ)^2 := |
| 69 | fun l hl hn => (coefficientBlock_mono period (by norm_num : 5 ≤ 6) K l).trans (hcoeff l hl hn) |
| 70 | have hp := transportPressure_lower period hs K κ m c hc hpos N (by omega) ρ Rc M hρ hRc hM hbase hsmall hc5 L hL u v |
| 71 | exact (basePressureNorm_lower period K0 N hN ρ hρ _).trans |
| 72 | ((mul_le_mul_of_nonneg_left hp (mul_nonneg (by norm_num) (baseCoefficientSum_nonneg period K0))).trans_eq (by ring)) |
| 73 | |
| 74 | /-- Both actual commutators of the order-zero pressure are controlled by the unshifted source norm. -/ |
| 75 | theorem source_pressure_commutators {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 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 82 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 83 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 84 | (f : SobolevSpace period s) : |
| 85 | externalPressureNorm period K N ρ (pressureSobolevOperator period K κ m c hc hpos f) + |
| 86 | basePressureNorm period K0 N hN ρ (pressureSobolevOperator period K κ m c hc hpos f) ≤ |
| 87 | (2*M*(weightedCoefficient period K 6 N ρ + 448*baseCoefficientSum period K0))*weightedNorm period 6 N ρ f := by |
| 88 | have he := externalPressureNorm_unshifted period K N hN ρ hρ (pressureSobolevOperator period K κ m c hc hpos f) |
| 89 | have hb := basePressureNorm_unshifted period K0 N hN ρ hρ (pressureSobolevOperator period K κ m c hc hpos f) |
| 90 | have hp := weightedNorm_pressure period K κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff f |
| 91 | have hsum := add_le_add he hb |
| 92 | rw [← add_mul] at hsum |
| 93 | exact hsum.trans ((mul_le_mul_of_nonneg_left hp (add_nonneg |
| 94 | (weightedCoefficient_nonneg period K 6 N ρ hρ) |
| 95 | (mul_nonneg (by norm_num) (baseCoefficientSum_nonneg period K0)))).trans_eq (by ring)) |
| 96 | |
| 97 | end EulerGevreyPressureEnergy |
| 98 | end |
| 99 | |
| 100 | end |
| 101 | |
| 102 | noncomputable section |
| 103 | |
| 104 | namespace EulerGevreyCorrectionForcing |
| 105 | |
| 106 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 107 | EulerSpatialSobolevInverse EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators |
| 108 | EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerGevreyMetricComparison |
| 109 | EulerSobolevWordLevel EulerSobolevTransportCommutator EulerGevreyPressureEnergy EulerBasePressureCommutator |
| 110 | EulerGevreyBaseTransport EulerGevreyForcingComponents EulerWeightedForcingAlgebra |
| 111 | EulerGevreyPressureTransport EulerSobolevCoefficientPressure EulerH6Nonlinear EulerBaseTransportL2 |
| 112 | |
| 113 | variable (period : ℝ) [Fact (0 < period)] |
| 114 | |
| 115 | /-- The seven literal commutator/source terms after external and base differentiation of equation (17). |
| 116 | The two pressure arguments are the positive projected inverses; the PDE pressure has the opposite sign. -/ |
| 117 | def correctionForcing {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 118 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 119 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 120 | (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 121 | (u v : SobolevSpace period (s+1)) (f p0 p1 : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := |
| 122 | -energyValues period 6 N hN f + -externalTransportForcing period hs N hN L hL u v + |
| 123 | -baseTransportForcing period N hN L hL u v + externalPressureForcing period K N hN p0 + |
| 124 | basePressureForcing period K0 N hN p0 + externalPressureForcing period K N hN p1 + |
| 125 | basePressureForcing period K0 N hN p1 |
| 126 | |
| 127 | /-- The triangle inequality for seven actual forcing arrays has coefficient one. -/ |
| 128 | theorem forcing_seven_le {α β H : Type*} [Fintype α] [Fintype β] [NormedAddCommGroup H] |
| 129 | (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) (a b c d e f g : α → β → H) : |
| 130 | weightedForcingSum ρ order (a+b+c+d+e+f+g) ≤ weightedForcingSum ρ order a + weightedForcingSum ρ order b + |
| 131 | weightedForcingSum ρ order c + weightedForcingSum ρ order d + weightedForcingSum ρ order e + |
| 132 | weightedForcingSum ρ order f + weightedForcingSum ρ order g := by |
| 133 | have h1 := weightedForcingSum_add_le ρ hρ order a b |
| 134 | have h2 := weightedForcingSum_add_le ρ hρ order (a+b) c |
| 135 | have h3 := weightedForcingSum_add_le ρ hρ order (a+b+c) d |
| 136 | have h4 := weightedForcingSum_add_le ρ hρ order (a+b+c+d) e |
| 137 | have h5 := weightedForcingSum_add_le ρ hρ order (a+b+c+d+e) f |
| 138 | have h6 := weightedForcingSum_add_le ρ hρ order (a+b+c+d+e+f) g |
| 139 | linarith |
| 140 | |
| 141 | /-- All actual forcing components satisfy their derived bounds on finite Sobolev fields. -/ |
| 142 | theorem correctionForcing_raw_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 143 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 144 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 145 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 146 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 147 | (u v : SobolevSpace period (s+1)) (f p0 p1 : SobolevSpace period s) : |
| 148 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (correctionForcing period hs K K0 N hN L hL u v f p0 p1) ≤ |
| 149 | weightedNorm period 6 N ρ f + (4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v + |
| 150 | (5461*baseTransportConstant period)*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v + |
| 151 | externalPressureNorm period K N ρ p0 + basePressureNorm period K0 N hN ρ p0 + |
| 152 | externalPressureNorm period K N ρ p1 + basePressureNorm period K0 N hN ρ p1 := by |
| 153 | have h := forcing_seven_le ρ hρ (fun I : ExternalWord N => I.1.val) |
| 154 | (-energyValues period 6 N hN f) (-externalTransportForcing period hs N hN L hL u v) |
| 155 | (-baseTransportForcing period N hN L hL u v) (externalPressureForcing period K N hN p0) |
| 156 | (basePressureForcing period K0 N hN p0) (externalPressureForcing period K N hN p1) |
| 157 | (basePressureForcing period K0 N hN p1) |
| 158 | simp only [weightedForcingSum_neg] at h |
| 159 | have hS := sourceForcing_weighted_bound period N hN ρ hρ f |
| 160 | have hE := (externalTransportForcing_bound period hs N hN ρ hρ L hL u v).trans |
| 161 | (weightedCommutator_bound period hs N hN ρ hρ L hL u v) |
| 162 | have hB := baseTransportForcing_weighted_bound period N hN ρ hρ L hL u v |
| 163 | have hP0 := externalPressureForcing_bound period K N hN ρ hρ p0 |
| 164 | have hQ0 := basePressureForcing_bound period K0 N hN ρ hρ p0 |
| 165 | have hP1 := externalPressureForcing_bound period K N hN ρ hρ p1 |
| 166 | have hQ1 := basePressureForcing_bound period K0 N hN ρ hρ p1 |
| 167 | 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) |
| 168 | |
| 169 | /-- The full actual forcing with both genuine projected pressure solves obeys the spatial part of equation (19). |
| 170 | Every velocity derivative in the bound lies at or below the chosen cutoff. -/ |
| 171 | theorem correctionForcing_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 172 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 173 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 174 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 175 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 176 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 177 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 178 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 179 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 180 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 181 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 182 | (u v : SobolevSpace period (s+1)) (f : SobolevSpace period s) : |
| 183 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 184 | (correctionForcing period hs K K0 N hN L hL u v f |
| 185 | (pressureSobolevOperator period K κ m c hc hpos f) (transportPressure period hs K κ m c hc hpos L hL u v)) ≤ |
| 186 | (1+2*M*(weightedCoefficient period K 6 N ρ + 448*baseCoefficientSum period K0))*weightedNorm period 6 N ρ f + |
| 187 | (5461*baseTransportConstant period + (448*baseCoefficientSum period K0)*(8*M*(5460*lowerProductConstant period 3)))* |
| 188 | weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v + |
| 189 | ((4*productConstant period 3)*ρ⁻¹ + 32*Rc*M*productConstant period 3)* |
| 190 | weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 191 | let p0 := pressureSobolevOperator period K κ m c hc hpos f |
| 192 | let p1 := transportPressure period hs K κ m c hc hpos L hL u v |
| 193 | have h := correctionForcing_raw_bound period hs K K0 N hN ρ hρ L hL u v f p0 p1 |
| 194 | have hp0 := source_pressure_commutators period K K0 κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase6 hsmall hcoeff f |
| 195 | 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 |
| 196 | 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 |
| 197 | change externalPressureNorm period K N ρ p0 + basePressureNorm period K0 N hN ρ p0 ≤ _ at hp0 |
| 198 | change externalPressureNorm period K N ρ p1 ≤ _ at hp1e |
| 199 | change basePressureNorm period K0 N hN ρ p1 ≤ _ at hp1b |
| 200 | nlinarith only [h, hp0, hp1e, hp1b] |
| 201 | |
| 202 | end EulerGevreyCorrectionForcing |