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.GevreyPressureTransport |
| 2 | |
| 3 | /-! Cutoff-independent nonlinear pressure bounds for actual finite-Sobolev transport sources. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGevreyPressureTransport |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSpatialSobolevInverse EulerMetricTransport EulerH6Pressure EulerPacketWeights |
| 11 | EulerSobolevGevreyOperators EulerSobolevTransport EulerSobolevL2Product EulerFunctionalVelocity |
| 12 | EulerH6Nonlinear EulerVectorCylinder EulerSobolevTransportCommutator EulerSobolevCoefficientPressure |
| 13 | EulerSobolevGevreyProduct EulerSobolevHeat |
| 14 | open scoped ContDiff ENNReal Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | local instance shiftedTransportGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | local instance shiftedTransportSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | |
| 21 | /-- The shifted actual H⁶ pressure sum stops one derivative below the velocity cutoff. -/ |
| 22 | def shiftedPressureNorm {s : ℕ} (N : ℕ) (ρ : ℝ) (p : SobolevSpace period s) : ℝ := |
| 23 | ∑ n ∈ Finset.range (N+1), ((n+1 : ℕ) : ℝ)*weight ρ (n+1)*blockNorm period (toJet period p) 6 n |
| 24 | |
| 25 | /-- Continuity on the genuine Sobolev domain of the shifted pressure norm. -/ |
| 26 | theorem continuous_shiftedPressureNorm {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) : |
| 27 | Continuous (shiftedPressureNorm period (s := s) N ρ) := by |
| 28 | apply continuous_finsetSum |
| 29 | intro n hn |
| 30 | exact (continuous_blockNorm period (by have := Finset.mem_range.mp hn; omega : n+6 ≤ s)).const_mul _ |
| 31 | |
| 32 | /-- The actual shifted H⁶ nonlinear pressure estimate on smooth Sobolev representatives. -/ |
| 33 | theorem transportPressure_shifted_smooth {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 34 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 35 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 36 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 37 | (N : ℕ) (hN : N+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 38 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 39 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 40 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 41 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 42 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 43 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 44 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 45 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 46 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 47 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 48 | (hgL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) : |
| 49 | shiftedPressureNorm period N ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 50 | (16*M*productConstant period 3)*weightedNorm period 6 (N+1) ρ u*weightedLoss period 6 (N+1) ρ v := by |
| 51 | let b := velocityMap L ∘ f |
| 52 | have hb := postcomp_smooth period (velocityMap L) f hf |
| 53 | have hbL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period) := |
| 54 | fun j w => postcomp_word_memLp period (le_refl j) (velocityMap L) f hf (fun r _ a => hfL r a) w |
| 55 | have hp := nonlinear_pressure_shifted_bound period K (toJet period (transportBilinear period hs L hL u v)) |
| 56 | κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff b g hb hg hbL hgL |
| 57 | (transport_ae_velocityMap period hs L hL u v f g hu hv hg) |
| 58 | have heq : shiftedPressureNorm period N ρ (transportPressure period hs K κ m c hc hpos L hL u v) = |
| 59 | ∑ n ∈ Finset.range (N+1), ((n+1 : ℕ) : ℝ) * weight ρ (n+1) * blockNorm period |
| 60 | ((toJet period (transportBilinear period hs L hL u v)).solvePressure K κ m c hc hpos) 6 n := by |
| 61 | apply Finset.sum_congr rfl |
| 62 | intro n hn |
| 63 | exact congrArg (fun a : ℝ => ((n+1 : ℕ) : ℝ)*weight ρ (n+1)*a) |
| 64 | (pressure_block_eq period (q := 6) (n := n) K κ m c hc hpos (transportBilinear period hs L hL u v) |
| 65 | (by have := Finset.mem_range.mp hn; omega : n+6 ≤ s)) |
| 66 | rw [heq] |
| 67 | conv_rhs => rw [weightedNorm_eq_classical period 6 (N+1) (by omega) ρ u f hu hf, |
| 68 | weightedLoss_eq_classical period 6 (N+1) (by omega) ρ v g hv hg] |
| 69 | have hcoef : 0 ≤ 4*M*productConstant period 3 := mul_nonneg (by linarith) (productConstant_nonneg period 3) |
| 70 | have hv0 : 0 ≤ ∑ j ∈ Finset.range (N+2), (j : ℝ)*weight ρ j * wordSobolevNorm period 6 j g := |
| 71 | Finset.sum_nonneg fun j _ => mul_nonneg (mul_nonneg (Nat.cast_nonneg j) (weight_pos hρ j).le) (wordSobolevNorm_nonneg period 6 j g) |
| 72 | exact hp.trans ((mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left |
| 73 | (velocityMap_weighted_bound period 6 (N+1) ρ hρ L hL f hf hfL) hcoef) hv0).trans_eq (by ring)) |
| 74 | |
| 75 | /-- The shifted nonlinear pressure estimate holds for the actual finite-Sobolev fields used by the solver. -/ |
| 76 | theorem transportPressure_shifted {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 77 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s 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 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 85 | (u v : SobolevSpace period (s+1)) : |
| 86 | shiftedPressureNorm period N ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 87 | (16*M*productConstant period 3)*weightedNorm period 6 (N+1) ρ u*weightedLoss period 6 (N+1) ρ v := by |
| 88 | let U : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n u) |
| 89 | let V : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n v) |
| 90 | have hU : Filter.Tendsto U Filter.atTop (𝓝 u) := smoothApprox_tendsto period u |
| 91 | have hV : Filter.Tendsto V Filter.atTop (𝓝 v) := smoothApprox_tendsto period v |
| 92 | have hpairs : Filter.Tendsto (fun n => (U n,V n)) Filter.atTop (𝓝 (u,v)) := hU.prodMk_nhds hV |
| 93 | have hP : Filter.Tendsto |
| 94 | (fun p : SobolevSpace period (s+1) × SobolevSpace period (s+1) => transportPressure period hs K κ m c hc hpos L hL p.1 p.2) |
| 95 | (𝓝 (u,v)) (𝓝 (transportPressure period hs K κ m c hc hpos L hL u v)) := |
| 96 | (transportPressure_continuous period hs K κ m c hc hpos L hL).tendsto (u,v) |
| 97 | have hpress := hP.comp hpairs |
| 98 | have hW5 : Continuous (shiftedPressureNorm period (s := s) N ρ) := continuous_shiftedPressureNorm period N hN ρ |
| 99 | have hleft := (hW5.tendsto _).comp hpress |
| 100 | have hW : Continuous (weightedNorm period (s := s+1) 6 (N+1) ρ) := continuous_weighted_blockNorm period (N+1) (by omega) ρ |
| 101 | have hY : Continuous (weightedLoss period (s := s+1) 6 (N+1) ρ) := continuous_weightedLoss period 6 (N+1) (by omega) ρ |
| 102 | have hright : Filter.Tendsto (fun n => (16*M*productConstant period 3)*weightedNorm period 6 (N+1) ρ (U n)*weightedLoss period 6 (N+1) ρ (V n)) |
| 103 | Filter.atTop (𝓝 ((16*M*productConstant period 3)*weightedNorm period 6 (N+1) ρ u*weightedLoss period 6 (N+1) ρ v)) := |
| 104 | ((hW.tendsto u |>.comp hU).const_mul (16*M*productConstant period 3)).mul (hY.tendsto v |>.comp hV) |
| 105 | apply le_of_tendsto_of_tendsto hleft hright |
| 106 | apply Filter.Eventually.of_forall |
| 107 | intro n |
| 108 | obtain ⟨f,hf,hfs,hfL⟩ := smoothApprox_representative_all period n u |
| 109 | obtain ⟨g,hg,hgs,hgL⟩ := smoothApprox_representative_all period n v |
| 110 | exact transportPressure_shifted_smooth period hs K κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff |
| 111 | L hL (U n) (V n) f g hf hg hfs hgs hfL hgL |
| 112 | |
| 113 | |
| 114 | end EulerGevreyPressureTransport |