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.SobolevBaseCommutator |
| 2 | import Euler.GevreyLowNorms |
| 3 | import Euler.GevreyPressureEnergy |
| 4 | import Euler.WeightedForcingAlgebra |
| 5 | |
| 6 | /-! Literal differentiated forcing arrays and their actual finite Gevrey norms. -/ |
| 7 | |
| 8 | /-! ## From `Euler/GevreyBaseTransport.lean` |
| 9 | |
| 10 | The text of `Euler/GevreyBaseTransport.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Summation of the actual base transport commutators with no external-cutoff constant. -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace EulerGevreyBaseTransport |
| 19 | |
| 20 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 21 | EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators EulerBaseWordMetric EulerFiniteMetricEnergy |
| 22 | EulerWeightedCylinderEnergy EulerGevreyMetricComparison EulerSobolevWordLevel EulerSobolevBaseCommutator |
| 23 | EulerBaseTransportL2 EulerGevreyLowNorms |
| 24 | |
| 25 | variable (period : ℝ) [Fact (0 < period)] |
| 26 | |
| 27 | /-- Restriction commutes with taking an actual derivative word at a lower Sobolev level. -/ |
| 28 | theorem restrict_wordAtLevel {s p q n : ℕ} (hq : q ≤ p) (w : Fin n → Fin 4) (hp : n+p ≤ s) |
| 29 | (u : SobolevSpace period s) : |
| 30 | restrictOperator period hq (wordAtLevel period p n w hp u) = wordAtLevel period q n w (by omega) u := by |
| 31 | apply value_injective period |
| 32 | rw [value_restrictOperator, wordAtLevel_value, wordAtLevel_value] |
| 33 | |
| 34 | /-- The exact base derivative sum is contained in every truncated actual Gevrey norm. -/ |
| 35 | theorem sumNorm_restrict_le_weighted {s q : ℕ} (hq : q ≤ s) (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 36 | (u : SobolevSpace period s) : |
| 37 | sumNorm period (restrictOperator period hq u) ≤ weightedNorm period q N ρ u := by |
| 38 | have he : sumNorm period (restrictOperator period hq u) = blockNorm period (toJet period u) q 0 := by |
| 39 | rw [blockNorm_zero_eq_size (toJet period u) hq] |
| 40 | rw [sumNorm_eq_jet, ← sobolevSize_eq period (toJet period (restrictOperator period hq u)), value_restrictOperator] |
| 41 | rw [he] |
| 42 | have hsum := Finset.single_le_sum (s := Finset.range (N+1)) |
| 43 | (fun n _ => mul_nonneg (weight_pos hρ n).le (show 0 ≤ blockNorm period (toJet period u) q n from blockNorm_nonneg _)) |
| 44 | (show 0 ∈ Finset.range (N+1) by simp) |
| 45 | simpa [weight, weightedNorm] using hsum |
| 46 | |
| 47 | /-- Exact external-word expansion of the actual Gevrey Sobolev sum. -/ |
| 48 | theorem weighted_word_sums {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : SobolevSpace period s) : |
| 49 | (∑ I : ExternalWord N, weight ρ I.1.val * sumNorm period |
| 50 | (wordAtLevel period q I.1.val I.2 (by have := I.1.isLt; omega) u)) = weightedNorm period q N ρ u := by |
| 51 | rw [Fintype.sum_sigma, weightedNorm, ← Fin.sum_univ_eq_sum_range] |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro n _ |
| 54 | rw [blockNorm_baseWords period u (by have := n.isLt; omega : n.val+q ≤ s), Finset.mul_sum] |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro w _ |
| 57 | rw [sumNorm_wordAtLevel] |
| 58 | |
| 59 | /-- The literal base transport forcing at every external and base derivative word. -/ |
| 60 | def baseTransportForcing {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) |
| 61 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 62 | (u v : SobolevSpace period (s+1)) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I a => |
| 63 | baseCommutator period a.1.val (by have := a.1.isLt; omega) a.2 L hL |
| 64 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 65 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+7 ≤ s+1) v) |
| 66 | |
| 67 | /-- Each base-word forcing family is controlled by the fixed H⁶ norms, with the fixed word-count factor 5461. -/ |
| 68 | theorem baseTransportForcing_family_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) |
| 69 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 70 | (u v : SobolevSpace period (s+1)) (I : ExternalWord N) : |
| 71 | familyNorm (baseTransportForcing period N hN L hL u v I) ≤ |
| 72 | (5461*baseTransportConstant period) * sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u) * |
| 73 | sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s+1) v) := by |
| 74 | have hb (a : BaseWord 6) : ‖baseTransportForcing period N hN L hL u v I a‖ ≤ |
| 75 | baseTransportConstant period * sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u) * |
| 76 | sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s+1) v) := by |
| 77 | have h := baseCommutator_bound period a.1.val (by have := a.1.isLt; omega) a.2 L hL |
| 78 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 79 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+7 ≤ s+1) v) |
| 80 | rw [restrictOperator_comp, restrict_wordAtLevel] at h |
| 81 | exact h |
| 82 | have hsum := Finset.sum_le_sum (s := (Finset.univ : Finset (BaseWord 6))) (fun a _ => hb a) |
| 83 | exact (familyNorm_le_sum_norm _).trans (hsum.trans_eq (by |
| 84 | simp only [Finset.sum_const, Finset.card_univ, card_baseWord_six, nsmul_eq_mul]; ring)) |
| 85 | |
| 86 | /-- The actual weighted base transport forcing has no external derivative loss or cutoff-dependent coefficient. -/ |
| 87 | theorem baseTransportForcing_weighted_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) |
| 88 | (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 89 | (u v : SobolevSpace period (s+1)) : |
| 90 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (baseTransportForcing period N hN L hL u v) ≤ |
| 91 | (5461*baseTransportConstant period)*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v := by |
| 92 | have h := Finset.sum_le_sum (s := (Finset.univ : Finset (ExternalWord N))) (fun I _ => |
| 93 | mul_le_mul_of_nonneg_left (baseTransportForcing_family_bound period N hN L hL u v I) (weight_pos hρ I.1.val).le) |
| 94 | have he : (∑ I : ExternalWord N, weight ρ I.1.val * |
| 95 | ((5461*baseTransportConstant period)*sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u)* |
| 96 | sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) v))) = |
| 97 | (5461*baseTransportConstant period)*sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u)*weightedNorm period 6 N ρ v := by |
| 98 | rw [← weighted_word_sums period 6 N (by omega : N+6 ≤ s+1) ρ v, Finset.mul_sum] |
| 99 | exact Finset.sum_congr rfl (fun I _ => by ring) |
| 100 | rw [he] at h |
| 101 | exact h.trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left |
| 102 | (sumNorm_restrict_le_weighted period (by omega : 6 ≤ s+1) N ρ hρ u) |
| 103 | (mul_nonneg (by norm_num) (baseTransportConstant_nonneg period))) (weightedNorm_nonneg period 6 N ρ hρ v)) |
| 104 | |
| 105 | end EulerGevreyBaseTransport |
| 106 | end |
| 107 | |
| 108 | end |
| 109 | |
| 110 | noncomputable section |
| 111 | |
| 112 | namespace EulerGevreyForcingComponents |
| 113 | |
| 114 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 115 | EulerSpatialSobolevInverse EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators |
| 116 | EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerGevreyMetricComparison |
| 117 | EulerSobolevWordLevel EulerSobolevTransportCommutator EulerGevreyPressureEnergy EulerBasePressureCommutator |
| 118 | EulerGevreyBaseTransport |
| 119 | |
| 120 | variable (period : ℝ) [Fact (0 < period)] |
| 121 | |
| 122 | /-- A finite family of actual base-word derivatives is controlled by its genuine derivative-sum norm. -/ |
| 123 | theorem forcing_le_jetSum {ι : Type*} [Fintype ι] (order : ι → ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 124 | (f : ι → LiftL2 period) (J : ∀ i, EulerSpatialSobolevInverse.SpatialJet period standardDirection 6 (f i)) : |
| 125 | weightedForcingSum ρ order (fun i => baseWordValues period (J i)) ≤ |
| 126 | ∑ i, weight ρ (order i)*(J i).sobolevNorm := by |
| 127 | apply Finset.sum_le_sum |
| 128 | intro i _ |
| 129 | have h := familyNorm_le_sum_norm (baseWordValues period (J i)) |
| 130 | rw [sum_baseWordValues_norm] at h |
| 131 | exact mul_le_mul_of_nonneg_left h (weight_pos hρ (order i)).le |
| 132 | |
| 133 | /-- The actual differentiated order-zero source is controlled by its finite weighted Sobolev norm. -/ |
| 134 | theorem sourceForcing_weighted_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 135 | (f : SobolevSpace period s) : |
| 136 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (energyValues period 6 N hN f) ≤ weightedNorm period 6 N ρ f := by |
| 137 | have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ |
| 138 | (fun I => (toJet period f).word I.2) |
| 139 | (fun I => EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period f) I.2 (by have := I.1.isLt; omega)) |
| 140 | have he : (∑ I : ExternalWord N, weight ρ I.1.val * |
| 141 | (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period f) I.2 (by have := I.1.isLt; omega)).sobolevNorm) = |
| 142 | ∑ I : ExternalWord N, weight ρ I.1.val * sumNorm period |
| 143 | (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) f) := by |
| 144 | apply Finset.sum_congr rfl |
| 145 | intro I _ |
| 146 | rw [sumNorm_wordAtLevel] |
| 147 | exact h.trans_eq (he.trans (weighted_word_sums period 6 N hN ρ f)) |
| 148 | |
| 149 | /-- The literal base derivatives of the external transport commutator. -/ |
| 150 | def externalTransportForcing {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 151 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 152 | (u v : SobolevSpace period (s+1)) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I => |
| 153 | baseWordValues period (toJet period (externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v)) |
| 154 | |
| 155 | /-- The actual external transport forcing is bounded by the already proved commutator norm. -/ |
| 156 | theorem externalTransportForcing_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 157 | (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 158 | (u v : SobolevSpace period (s+1)) : |
| 159 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (externalTransportForcing period hs N hN L hL u v) ≤ |
| 160 | weightedCommutatorNorm period hs N hN ρ L hL u v := by |
| 161 | have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ _ |
| 162 | (fun I => toJet period (externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v)) |
| 163 | simp only [← sumNorm_eq_jet] at h |
| 164 | exact h.trans_eq (by simp only [Fintype.sum_sigma, weightedCommutatorNorm, Finset.mul_sum]) |
| 165 | |
| 166 | /-- The literal base derivatives of the actual external coefficient-pressure commutator. -/ |
| 167 | def externalPressureForcing {s : ℕ} {A : SmoothCoefficient period} |
| 168 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 169 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I => |
| 170 | baseWordValues period (commutatorJet K (toJet period p) I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s)) |
| 171 | |
| 172 | /-- The actual differentiated external pressure forcing is controlled by its proved H⁶ commutator sum. -/ |
| 173 | theorem externalPressureForcing_bound {s : ℕ} {A : SmoothCoefficient period} |
| 174 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 175 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : |
| 176 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (externalPressureForcing period K N hN p) ≤ |
| 177 | externalPressureNorm period K N ρ p := by |
| 178 | have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ _ |
| 179 | (fun I => commutatorJet K (toJet period p) I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s)) |
| 180 | apply h.trans_eq |
| 181 | rw [Fintype.sum_sigma, externalPressureNorm, ← Fin.sum_univ_eq_sum_range] |
| 182 | apply Finset.sum_congr rfl |
| 183 | intro n _ |
| 184 | rw [commutatorBlock, Finset.mul_sum] |
| 185 | apply Finset.sum_congr rfl |
| 186 | intro w _ |
| 187 | rw [sobolevSize_eq period (commutatorJet K (toJet period p) w (by have := n.isLt; omega : n.val+6 ≤ s))] |
| 188 | |
| 189 | /-- At order zero the genuine Sobolev size is exactly the L² norm. -/ |
| 190 | theorem sobolevSize_order_zero (f : LiftL2 period) : |
| 191 | sobolevSize period (directions := standardDirection) 0 f = ‖f‖ := by |
| 192 | exact sobolevSize_eq period (EulerSpatialSobolevInverse.SpatialJet.zero f) |
| 193 | |
| 194 | /-- The literal base derivative commutator of G with each external pressure derivative. -/ |
| 195 | def basePressureForcing {s : ℕ} {A : SmoothCoefficient period} |
| 196 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 197 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I a => |
| 198 | (EulerSpatialSobolevInverse.SpatialJet.multiply K |
| 199 | (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega))).word a.2 - |
| 200 | A.operator ((EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega)).word a.2) |
| 201 | |
| 202 | /-- At each external word, summing the actual base commutator norms gives the base-pressure block expression. -/ |
| 203 | theorem basePressureForcing_family_bound {s : ℕ} {A : SmoothCoefficient period} |
| 204 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 205 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) (I : ExternalWord N) : |
| 206 | familyNorm (basePressureForcing period K N hN p I) ≤ |
| 207 | ∑ r ∈ Finset.range 7, commutatorBlock K |
| 208 | (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega)) 0 r := by |
| 209 | apply (familyNorm_le_sum_norm _).trans_eq |
| 210 | rw [Fintype.sum_sigma, ← Fin.sum_univ_eq_sum_range] |
| 211 | apply Finset.sum_congr rfl |
| 212 | intro r _ |
| 213 | simp only [commutatorBlock, sobolevSize_order_zero, basePressureForcing] |
| 214 | |
| 215 | /-- The actual base pressure forcing is controlled by the previously proved lower-order pressure commutator norm. -/ |
| 216 | theorem basePressureForcing_bound {s : ℕ} {A : SmoothCoefficient period} |
| 217 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 218 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : |
| 219 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (basePressureForcing period K N hN p) ≤ |
| 220 | basePressureNorm period K N hN ρ p := by |
| 221 | have h := Finset.sum_le_sum (s := (Finset.univ : Finset (ExternalWord N))) (fun I _ => |
| 222 | mul_le_mul_of_nonneg_left (basePressureForcing_family_bound period K N hN p I) (weight_pos hρ I.1.val).le) |
| 223 | exact h.trans_eq (by simp only [Fintype.sum_sigma, basePressureNorm, basePressureBlock, Finset.mul_sum]) |
| 224 | |
| 225 | end EulerGevreyForcingComponents |