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.HeatAllOrders |
| 2 | import Euler.UnshiftedProducts |
| 3 | import Euler.H6NonlinearPressure |
| 4 | import Euler.SobolevProduct |
| 5 | import Euler.SobolevCoefficientPressure |
| 6 | |
| 7 | /-! Actual coefficient and pressure operators on finite weighted Sobolev sums. -/ |
| 8 | |
| 9 | /-! ## From `Euler/SobolevGevreyProduct.lean` |
| 10 | |
| 11 | The text of `Euler/SobolevGevreyProduct.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The actual complete Sobolev product obeys the finite Gevrey H⁶ algebra bound, including nonsmooth inputs. -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace EulerSobolevGevreyProduct |
| 20 | |
| 21 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 22 | EulerSpatialSobolevInverse EulerMetricTransport EulerSobolevL2Product EulerH6Nonlinear |
| 23 | EulerH6Pressure EulerJetProductBounds EulerPacketWeights EulerSobolevHeat EulerVectorCylinder |
| 24 | open scoped Topology ContDiff ENNReal |
| 25 | |
| 26 | variable (period : ℝ) [Fact (0 < period)] |
| 27 | |
| 28 | local instance gevreySobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 29 | local instance gevreySobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 30 | |
| 31 | /-- The external Hq block is a continuous function of the actual finite Sobolev class. -/ |
| 32 | theorem continuous_blockNorm {s q n : ℕ} (h : n+q ≤ s) : |
| 33 | Continuous (fun u : SobolevSpace period s => blockNorm period (toJet period u) q n) := by |
| 34 | unfold blockNorm |
| 35 | apply continuous_finsetSum |
| 36 | intro r hr |
| 37 | have hnr : n+r ≤ s := by have := Finset.mem_range.mp hr; omega |
| 38 | simp only [levelNorm_eq_words] |
| 39 | apply continuous_finsetSum |
| 40 | intro w _ |
| 41 | have he : (fun u : SobolevSpace period s => ‖(toJet period u).word w‖) = |
| 42 | fun u => ‖wordOperator period (q := s) ⟨⟨n+r, Nat.lt_succ_of_le hnr⟩, w⟩ u‖ := by |
| 43 | funext u |
| 44 | rw [toJet_word period u hnr] |
| 45 | rfl |
| 46 | rw [he] |
| 47 | exact (wordOperator period (q := s) ⟨⟨n+r, Nat.lt_succ_of_le hnr⟩, w⟩).continuous.norm |
| 48 | |
| 49 | /-- Every truncated weighted block norm is continuous on its genuine Sobolev domain. -/ |
| 50 | theorem continuous_weighted_blockNorm {s q : ℕ} (N : ℕ) (h : N+q ≤ s) (ρ : ℝ) : |
| 51 | Continuous (fun u : SobolevSpace period s => |
| 52 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) q n) := by |
| 53 | apply continuous_finsetSum |
| 54 | intro n hn |
| 55 | exact (continuous_blockNorm period (by have := Finset.mem_range.mp hn; omega : n+q ≤ s)).const_mul _ |
| 56 | |
| 57 | /-- On actual smooth H∞ representatives, the complete product has the cutoff-independent weighted H⁶ bound. -/ |
| 58 | theorem product_weighted_bound_smooth {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 59 | (ρ : ℝ) (hρ : 0 < ρ) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 60 | (u v : SobolevSpace period s) (f g : LiftDomain period → Vector3) |
| 61 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 62 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 63 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 64 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 65 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 66 | (hgL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) : |
| 67 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period (productHq period hs L hL u v)) 6 n) ≤ |
| 68 | productConstant period 3 * (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) 6 n) * |
| 69 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period v) 6 n) := by |
| 70 | have hLf := postcomp_smooth period L f hf |
| 71 | have hLfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w (L ∘ f)) 2 (liftMeasure period) := |
| 72 | fun j w => postcomp_word_memLp period (le_refl j) L f hf (fun r _ a => hfL r a) w |
| 73 | have hp : (value period (productHq period hs L hL u v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 74 | (fun x => L (f x) • g x) := by |
| 75 | filter_upwards [productHq_ae period hs L hL u v, hu, hv] with x hx hux hvx |
| 76 | rw [hx, hux, hvx] |
| 77 | have hps : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun x => L (f x) • g x) x) := |
| 78 | fun x => (hLf x).smul (hg x) |
| 79 | have heq (a : SobolevSpace period s) (b : LiftDomain period → Vector3) |
| 80 | (ha : (value period a : LiftDomain period → Vector3) =ᵐ[liftMeasure period] b) |
| 81 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) : |
| 82 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period a) 6 n) = |
| 83 | ∑ n ∈ Finset.range (N+1), weight ρ n * wordSobolevNorm period 6 n b := by |
| 84 | apply Finset.sum_congr rfl |
| 85 | intro n hn |
| 86 | rw [blockNorm_eq_classical period (toJet period a) (by have := Finset.mem_range.mp hn; omega) b ha hb] |
| 87 | rw [heq _ _ hp hps, heq u f hu hf, heq v g hv hg] |
| 88 | apply (product_unshifted_weighted_bound period 3 N ρ hρ (L ∘ f) g hLf hg hLfL hgL).trans |
| 89 | apply mul_le_mul_of_nonneg_right _ (Finset.sum_nonneg fun n _ => |
| 90 | mul_nonneg (weight_pos hρ n).le (wordSobolevNorm_nonneg period 6 n g)) |
| 91 | apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period 3) |
| 92 | apply Finset.sum_le_sum |
| 93 | intro n _ |
| 94 | exact mul_le_mul_of_nonneg_left (wordSobolevNorm_postcomp_le period 6 n L hL f hf hfL) (weight_pos hρ n).le |
| 95 | |
| 96 | /-- Continuity of the actual product in both finite-Sobolev inputs. -/ |
| 97 | theorem continuous_product {s : ℕ} (hs : 6 ≤ s) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 98 | Continuous (fun p : SobolevSpace period s × SobolevSpace period s => productHq period hs L hL p.1 p.2) := |
| 99 | (productHqBilinear period hs L hL).continuous₂ |
| 100 | |
| 101 | /-- The cutoff-independent Gevrey product bound holds for actual finite Sobolev inputs, by genuine H∞ approximation and continuity. -/ |
| 102 | theorem product_weighted_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 103 | (ρ : ℝ) (hρ : 0 < ρ) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 104 | (u v : SobolevSpace period s) : |
| 105 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period (productHq period hs L hL u v)) 6 n) ≤ |
| 106 | productConstant period 3 * (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) 6 n) * |
| 107 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period v) 6 n) := by |
| 108 | let U : ℕ → SobolevSpace period s := fun n => restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u) |
| 109 | let V : ℕ → SobolevSpace period s := fun n => restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n v) |
| 110 | let W := fun a : SobolevSpace period s => ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period a) 6 n |
| 111 | have hU : Filter.Tendsto U Filter.atTop (𝓝 u) := smoothApprox_tendsto period u |
| 112 | have hV : Filter.Tendsto V Filter.atTop (𝓝 v) := smoothApprox_tendsto period v |
| 113 | have hW : Continuous W := continuous_weighted_blockNorm period N hN ρ |
| 114 | have hp : Filter.Tendsto (fun n => productHq period hs L hL (U n) (V n)) Filter.atTop |
| 115 | (𝓝 (productHq period hs L hL u v)) := |
| 116 | by |
| 117 | have hpairs : Filter.Tendsto (fun n => (U n, V n)) Filter.atTop (𝓝 (u,v)) := hU.prodMk_nhds hV |
| 118 | have hcont : Filter.Tendsto |
| 119 | (fun p : SobolevSpace period s × SobolevSpace period s => productHq period hs L hL p.1 p.2) |
| 120 | (𝓝 (u,v)) (𝓝 (productHq period hs L hL u v)) := (continuous_product period hs L hL).tendsto (u,v) |
| 121 | have hcomp := hcont.comp hpairs |
| 122 | exact hcomp |
| 123 | have hleft : Filter.Tendsto (fun n => W (productHq period hs L hL (U n) (V n))) Filter.atTop |
| 124 | (𝓝 (W (productHq period hs L hL u v))) := (hW.tendsto _).comp hp |
| 125 | have hright : Filter.Tendsto (fun n => productConstant period 3 * W (U n) * W (V n)) Filter.atTop |
| 126 | (𝓝 (productConstant period 3 * W u * W v)) := |
| 127 | ((hW.tendsto u |>.comp hU).const_mul (productConstant period 3)).mul (hW.tendsto v |>.comp hV) |
| 128 | apply le_of_tendsto_of_tendsto hleft hright |
| 129 | apply Filter.Eventually.of_forall |
| 130 | intro n |
| 131 | obtain ⟨f,hf,hfs,hfL⟩ := smoothApprox_representative_all period n u |
| 132 | obtain ⟨g,hg,hgs,hgL⟩ := smoothApprox_representative_all period n v |
| 133 | exact product_weighted_bound_smooth period hs N hN ρ hρ L hL (U n) (V n) f g hf hg hfs hgs hfL hgL |
| 134 | |
| 135 | end EulerSobolevGevreyProduct |
| 136 | end |
| 137 | |
| 138 | end |
| 139 | |
| 140 | noncomputable section |
| 141 | |
| 142 | namespace EulerSobolevGevreyOperators |
| 143 | |
| 144 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 145 | EulerSpatialSobolevInverse EulerSobolevL2Product EulerH6Nonlinear EulerH6Pressure EulerJetProductBounds |
| 146 | EulerPacketWeights EulerSobolevGevreyProduct EulerSobolevCoefficientPressure EulerPressureJetIdentities |
| 147 | open scoped Topology |
| 148 | |
| 149 | variable (period : ℝ) [Fact (0 < period)] |
| 150 | |
| 151 | /-- The truncated Gevrey sum of genuine fixed-order Sobolev blocks. -/ |
| 152 | def weightedNorm {s : ℕ} (q N : ℕ) (ρ : ℝ) (u : SobolevSpace period s) : ℝ := |
| 153 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) q n |
| 154 | |
| 155 | /-- Weighted coefficient derivative bounds in the same fixed base norm. -/ |
| 156 | def weightedCoefficient {s : ℕ} {A : SmoothCoefficient period} |
| 157 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (q N : ℕ) (ρ : ℝ) : ℝ := |
| 158 | ∑ n ∈ Finset.range (N+1), weight ρ n * coefficientBlock period K q n |
| 159 | |
| 160 | theorem weightedNorm_nonneg {s : ℕ} (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) (u : SobolevSpace period s) : |
| 161 | 0 ≤ weightedNorm period q N ρ u := |
| 162 | Finset.sum_nonneg fun n _ => mul_nonneg (weight_pos hρ n).le (blockNorm_nonneg _) |
| 163 | |
| 164 | omit [Fact (0 < period)] in |
| 165 | theorem weightedCoefficient_nonneg {s : ℕ} {A : SmoothCoefficient period} |
| 166 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) : |
| 167 | 0 ≤ weightedCoefficient period K q N ρ := |
| 168 | Finset.sum_nonneg fun n _ => mul_nonneg (weight_pos hρ n).le (coefficientBlock_nonneg _) |
| 169 | |
| 170 | /-- A genuine fixed-order block is independent of the chosen derivative-jet construction. -/ |
| 171 | theorem blockNorm_unique {s t q n : ℕ} {f g : LiftL2 period} |
| 172 | (J : EulerSpatialSobolevInverse.SpatialJet period standardDirection s f) |
| 173 | (K : EulerSpatialSobolevInverse.SpatialJet period standardDirection t g) |
| 174 | (hfg : f=g) (hs : n+q ≤ s) (ht : n+q ≤ t) : |
| 175 | blockNorm period J q n = blockNorm period K q n := by |
| 176 | unfold blockNorm |
| 177 | apply Finset.sum_congr rfl |
| 178 | intro r hr |
| 179 | rw [levelNorm_eq_words, levelNorm_eq_words] |
| 180 | apply Finset.sum_congr rfl |
| 181 | intro w _ |
| 182 | rw [EulerPressureJetIdentities.SpatialJet.word_unique J K hfg |
| 183 | (by have := Finset.mem_range.mp hr; omega) (by have := Finset.mem_range.mp hr; omega) w] |
| 184 | |
| 185 | /-- The actual complete Sobolev weighted norm satisfies the triangle inequality at every valid cutoff. -/ |
| 186 | theorem weightedNorm_add_le {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 187 | (u v : SobolevSpace period s) : |
| 188 | weightedNorm period q N ρ (u+v) ≤ weightedNorm period q N ρ u + weightedNorm period q N ρ v := by |
| 189 | unfold weightedNorm |
| 190 | rw [← Finset.sum_add_distrib] |
| 191 | apply Finset.sum_le_sum |
| 192 | intro n hn |
| 193 | rw [blockNorm_unique period (toJet period (u+v)) ((toJet period u).add (toJet period v)) rfl |
| 194 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega), ← mul_add] |
| 195 | exact mul_le_mul_of_nonneg_left (blockNorm_add_le _ _) (weight_pos hρ n).le |
| 196 | |
| 197 | /-- The zero Sobolev field has zero weighted energy. -/ |
| 198 | theorem weightedNorm_zero {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) : |
| 199 | weightedNorm period q N ρ (0 : SobolevSpace period s) = 0 := by |
| 200 | apply Finset.sum_eq_zero |
| 201 | intro n hn |
| 202 | have hz : blockNorm period (toJet period (0 : SobolevSpace period s)) q n = 0 := by |
| 203 | apply Finset.sum_eq_zero |
| 204 | intro r hr |
| 205 | rw [levelNorm_eq_words] |
| 206 | apply Finset.sum_eq_zero |
| 207 | intro w _ |
| 208 | rw [toJet_word period (0 : SobolevSpace period s) (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega)] |
| 209 | change ‖(0 : LiftL2 period)‖ = 0 |
| 210 | exact norm_zero |
| 211 | rw [hz, mul_zero] |
| 212 | |
| 213 | /-- The actual finite weighted Sobolev norm is subadditive on finite sums. -/ |
| 214 | theorem weightedNorm_sum_le {s : ℕ} {ι : Type*} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 215 | (S : Finset ι) (u : ι → SobolevSpace period s) : |
| 216 | weightedNorm period q N ρ (∑ i ∈ S, u i) ≤ ∑ i ∈ S, weightedNorm period q N ρ (u i) := by |
| 217 | classical |
| 218 | induction S using Finset.induction_on with |
| 219 | | empty => simp only [Finset.sum_empty, weightedNorm_zero period q N hN ρ, le_refl] |
| 220 | | @insert i S hi ih => |
| 221 | rw [Finset.sum_insert hi, Finset.sum_insert hi] |
| 222 | exact (weightedNorm_add_le period q N hN ρ hρ (u i) (∑ j ∈ S, u j)).trans (add_le_add le_rfl ih) |
| 223 | |
| 224 | /-- Actual coefficient multiplication has a cutoff-independent weighted Sobolev bound. -/ |
| 225 | theorem weightedNorm_coefficient {s : ℕ} {A : SmoothCoefficient period} |
| 226 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 227 | (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (u : SobolevSpace period s) : |
| 228 | weightedNorm period q N ρ (coefficientSobolevOperator period K u) ≤ |
| 229 | weightedCoefficient period K q N ρ * weightedNorm period q N ρ u := by |
| 230 | have heq : weightedNorm period q N ρ (coefficientSobolevOperator period K u) = |
| 231 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period |
| 232 | (EulerSpatialSobolevInverse.SpatialJet.multiply K (toJet period u)) q n := by |
| 233 | apply Finset.sum_congr rfl |
| 234 | intro n hn |
| 235 | rw [blockNorm_unique period (toJet period (coefficientSobolevOperator period K u)) |
| 236 | (EulerSpatialSobolevInverse.SpatialJet.multiply K (toJet period u)) |
| 237 | (coefficientSobolevOperator_value period K u) |
| 238 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega)] |
| 239 | rw [heq] |
| 240 | exact multiply_block_weighted_bound period K (toJet period u) N hN ρ hρ |
| 241 | |
| 242 | /-- The actual coercive pressure operator obeys the unshifted finite Gevrey estimate on complete Sobolev inputs. -/ |
| 243 | theorem weightedNorm_pressure {s q : ℕ} {A : SmoothCoefficient period} |
| 244 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 245 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 246 | (hpos : ∀ x v, c * ‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 247 | (N : ℕ) (hN : N+q ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 248 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K q (by omega)).pressureConstant c ≤ M) |
| 249 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 250 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K q l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 251 | (u : SobolevSpace period s) : |
| 252 | weightedNorm period q N ρ (pressureSobolevOperator period K κ m c hc hpos u) ≤ |
| 253 | 2*M*weightedNorm period q N ρ u := by |
| 254 | have heq : weightedNorm period q N ρ (pressureSobolevOperator period K κ m c hc hpos u) = |
| 255 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period |
| 256 | ((toJet period u).solvePressure K κ m c hc hpos) q n := by |
| 257 | apply Finset.sum_congr rfl |
| 258 | intro n hn |
| 259 | rw [blockNorm_unique period (toJet period (pressureSobolevOperator period K κ m c hc hpos u)) |
| 260 | ((toJet period u).solvePressure K κ m c hc hpos) |
| 261 | (pressureSobolevOperator_value period K κ m c hc hpos u) |
| 262 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega)] |
| 263 | rw [heq] |
| 264 | exact pressure_unshifted_Hq_bound period K (toJet period u) κ m c hc hpos N hN (by omega) |
| 265 | ρ Rc M hρ hRc hM hbase hsmall hcoeff |
| 266 | |
| 267 | /-- Actual scalar-component multiplication in finite Gevrey sums. -/ |
| 268 | theorem weightedNorm_product {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 269 | (ρ : ℝ) (hρ : 0 < ρ) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (u v : SobolevSpace period s) : |
| 270 | weightedNorm period 6 N ρ (productHq period hs L hL u v) ≤ |
| 271 | productConstant period 3 * weightedNorm period 6 N ρ u * weightedNorm period 6 N ρ v := |
| 272 | product_weighted_bound period hs N hN ρ hρ L hL u v |
| 273 | |
| 274 | end EulerSobolevGevreyOperators |