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.GevreyTransportCommutator |
| 2 | import Euler.NonlinearPressureLower |
| 3 | |
| 4 | /-! Cutoff-independent nonlinear pressure bounds for actual finite-Sobolev transport sources. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyPressureTransport |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerMetricTransport EulerH6Pressure EulerPacketWeights |
| 12 | EulerSobolevGevreyOperators EulerSobolevTransport EulerSobolevL2Product EulerFunctionalVelocity |
| 13 | EulerH6Nonlinear EulerVectorCylinder EulerSobolevTransportCommutator EulerSobolevCoefficientPressure |
| 14 | EulerSobolevGevreyProduct EulerSobolevHeat |
| 15 | open scoped ContDiff ENNReal Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | local instance pressureTransportGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 20 | local instance pressureTransportSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | |
| 22 | /-- Actual coefficient pressure blocks agree with the genuine pressure-jet construction. -/ |
| 23 | theorem pressure_block_eq {s q n : ℕ} {A : SmoothCoefficient period} |
| 24 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 25 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 26 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 27 | (u : SobolevSpace period s) (h : n+q ≤ s) : |
| 28 | blockNorm period (toJet period (pressureSobolevOperator period K κ m c hc hpos u)) q n = |
| 29 | blockNorm period ((toJet period u).solvePressure K κ m c hc hpos) q n := |
| 30 | blockNorm_unique period _ _ (pressureSobolevOperator_value period K κ m c hc hpos u) h h |
| 31 | |
| 32 | /-- The actual finite-Sobolev pressure generated by the nonlinear transport source. -/ |
| 33 | def transportPressure {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 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 38 | (u v : SobolevSpace period (s+1)) : SobolevSpace period s := |
| 39 | pressureSobolevOperator period K κ m c hc hpos (transportBilinear period hs L hL u v) |
| 40 | |
| 41 | /-- The nonlinear pressure depends continuously on its actual Sobolev velocity inputs. -/ |
| 42 | theorem transportPressure_continuous {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 43 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 44 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 45 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 46 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : |
| 47 | Continuous (fun p : SobolevSpace period (s+1) × SobolevSpace period (s+1) => |
| 48 | transportPressure period hs K κ m c hc hpos L hL p.1 p.2) := |
| 49 | (pressureSobolevOperator period K κ m c hc hpos).continuous.comp (transportBilinear period hs L hL).continuous₂ |
| 50 | |
| 51 | /-- The four-component lifted velocity bound in a finite weighted norm. -/ |
| 52 | theorem velocityMap_weighted_bound (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 53 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 54 | (f : LiftDomain period → Vector3) |
| 55 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 56 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) : |
| 57 | (∑ n ∈ Finset.range (N+1), weight ρ n*wordSobolevNorm period q n (velocityMap L ∘ f)) ≤ |
| 58 | 4 * ∑ n ∈ Finset.range (N+1), weight ρ n*wordSobolevNorm period q n f := by |
| 59 | rw [Finset.mul_sum] |
| 60 | exact Finset.sum_le_sum fun n _ => |
| 61 | (mul_le_mul_of_nonneg_left (velocityMap_word_bound period q n L hL f hf hfL) (weight_pos hρ n).le).trans_eq (by ring) |
| 62 | |
| 63 | /-- The actual unshifted H⁵ nonlinear pressure estimate on smooth Sobolev representatives. -/ |
| 64 | theorem transportPressure_lower_smooth {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 65 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 66 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 67 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 68 | (N : ℕ) (hN : N+5 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 69 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 70 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 71 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 5 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 72 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 73 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 74 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 75 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 76 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 77 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 78 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 79 | (hgL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) : |
| 80 | weightedNorm period 5 N ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 81 | (8*M*(5460*lowerProductConstant period 3))*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v := by |
| 82 | let b := velocityMap L ∘ f |
| 83 | have hb := postcomp_smooth period (velocityMap L) f hf |
| 84 | have hbL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period) := |
| 85 | fun j w => postcomp_word_memLp period (le_refl j) (velocityMap L) f hf (fun r _ a => hfL r a) w |
| 86 | have hp := nonlinear_pressure_lower_bound period K (toJet period (transportBilinear period hs L hL u v)) |
| 87 | κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff b g hb hg hbL hgL |
| 88 | (transport_ae_velocityMap period hs L hL u v f g hu hv hg) |
| 89 | have heq : weightedNorm period 5 N ρ (transportPressure period hs K κ m c hc hpos L hL u v) = |
| 90 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period |
| 91 | ((toJet period (transportBilinear period hs L hL u v)).solvePressure K κ m c hc hpos) 5 n := by |
| 92 | apply Finset.sum_congr rfl |
| 93 | intro n hn |
| 94 | exact congrArg (fun a : ℝ => weight ρ n*a) |
| 95 | (pressure_block_eq period (q := 5) (n := n) K κ m c hc hpos (transportBilinear period hs L hL u v) |
| 96 | (by have := Finset.mem_range.mp hn; omega : n+5 ≤ s)) |
| 97 | rw [heq] |
| 98 | conv_rhs => rw [weightedNorm_eq_classical period 6 N (by omega) ρ u f hu hf, |
| 99 | weightedNorm_eq_classical period 6 N (by omega) ρ v g hv hg] |
| 100 | have hcoef : 0 ≤ 2*M*(5460*lowerProductConstant period 3) := by |
| 101 | exact mul_nonneg (by linarith) (mul_nonneg (by norm_num) (lowerProductConstant_nonneg period 3)) |
| 102 | have hv0 : 0 ≤ ∑ j ∈ Finset.range (N+1), weight ρ j * wordSobolevNorm period 6 j g := |
| 103 | Finset.sum_nonneg fun j _ => mul_nonneg (weight_pos hρ j).le (wordSobolevNorm_nonneg period 6 j g) |
| 104 | exact hp.trans ((mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left |
| 105 | (velocityMap_weighted_bound period 6 N ρ hρ L hL f hf hfL) hcoef) hv0).trans_eq (by ring)) |
| 106 | |
| 107 | /-- The lower-order nonlinear pressure estimate holds for the actual finite-Sobolev fields used by the solver. -/ |
| 108 | theorem transportPressure_lower {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 109 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 110 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 111 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 112 | (N : ℕ) (hN : N+5 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 113 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ M) |
| 114 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 115 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 5 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 116 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 117 | (u v : SobolevSpace period (s+1)) : |
| 118 | weightedNorm period 5 N ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 119 | (8*M*(5460*lowerProductConstant period 3))*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v := by |
| 120 | let U : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n u) |
| 121 | let V : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n v) |
| 122 | have hU : Filter.Tendsto U Filter.atTop (𝓝 u) := smoothApprox_tendsto period u |
| 123 | have hV : Filter.Tendsto V Filter.atTop (𝓝 v) := smoothApprox_tendsto period v |
| 124 | have hpairs : Filter.Tendsto (fun n => (U n,V n)) Filter.atTop (𝓝 (u,v)) := hU.prodMk_nhds hV |
| 125 | have hP : Filter.Tendsto |
| 126 | (fun p : SobolevSpace period (s+1) × SobolevSpace period (s+1) => transportPressure period hs K κ m c hc hpos L hL p.1 p.2) |
| 127 | (𝓝 (u,v)) (𝓝 (transportPressure period hs K κ m c hc hpos L hL u v)) := |
| 128 | (transportPressure_continuous period hs K κ m c hc hpos L hL).tendsto (u,v) |
| 129 | have hpress := hP.comp hpairs |
| 130 | have hW5 : Continuous (weightedNorm period (s := s) 5 N ρ) := continuous_weighted_blockNorm period N hN ρ |
| 131 | have hleft := (hW5.tendsto _).comp hpress |
| 132 | have hW : Continuous (weightedNorm period (s := s+1) 6 N ρ) := continuous_weighted_blockNorm period N (by omega) ρ |
| 133 | have hright : Filter.Tendsto (fun n => (8*M*(5460*lowerProductConstant period 3))*weightedNorm period 6 N ρ (U n)*weightedNorm period 6 N ρ (V n)) |
| 134 | Filter.atTop (𝓝 ((8*M*(5460*lowerProductConstant period 3))*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v)) := |
| 135 | ((hW.tendsto u |>.comp hU).const_mul (8*M*(5460*lowerProductConstant period 3))).mul (hW.tendsto v |>.comp hV) |
| 136 | apply le_of_tendsto_of_tendsto hleft hright |
| 137 | apply Filter.Eventually.of_forall |
| 138 | intro n |
| 139 | obtain ⟨f,hf,hfs,hfL⟩ := smoothApprox_representative_all period n u |
| 140 | obtain ⟨g,hg,hgs,hgL⟩ := smoothApprox_representative_all period n v |
| 141 | exact transportPressure_lower_smooth period hs K κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff |
| 142 | L hL (U n) (V n) f g hf hg hfs hgs hfL hgL |
| 143 | |
| 144 | end EulerGevreyPressureTransport |