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.SobolevSmoothProduct |
| 2 | import Euler.SobolevSmoothApproximation |
| 3 | |
| 4 | /-! Cauchy convergence of actual smooth cylinder products in the complete Sobolev space. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevL2Product |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerCylinderSobolev |
| 11 | EulerCylinderSobolevSpace EulerSpatialSobolevInverse EulerStrongSmoothJet EulerVectorCylinder |
| 12 | EulerMetricTransport EulerCylinderMollifier EulerMollifierRepresentative |
| 13 | open scoped Topology ContDiff ENNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Differences of actual smooth representatives remain actual smooth representatives. -/ |
| 18 | theorem smooth_representative_sub {q : ℕ} (u v : SobolevSpace period q) |
| 19 | (hu : ∃ f : LiftDomain period → Vector3, |
| 20 | (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 21 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 22 | (hv : ∃ g : LiftDomain period → Vector3, |
| 23 | (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ |
| 24 | ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 25 | ∃ f : LiftDomain period → Vector3, |
| 26 | (value period (u-v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 27 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x) := by |
| 28 | obtain ⟨f, hfu, hf⟩ := hu |
| 29 | obtain ⟨g, hgv, hg⟩ := hv |
| 30 | refine ⟨f-g, ?_, fun x => (hf x).sub (hg x)⟩ |
| 31 | filter_upwards [Lp.coeFn_sub (value period u) (value period v), hfu, hgv] with x h1 h2 h3 |
| 32 | exact h1.trans (by simp only [Pi.sub_apply, h2, h3]) |
| 33 | |
| 34 | /-- The smooth product bound only needs the existence of the actual smooth representatives. -/ |
| 35 | theorem productHighLow_bound_of_smooth {q : ℕ} (hq : 6 ≤ q) |
| 36 | (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 37 | (u : SobolevSpace period (q+3)) (v : SobolevSpace period q) |
| 38 | (hu : ∃ f : LiftDomain period → Vector3, |
| 39 | (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 40 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 41 | (hv : ∃ g : LiftDomain period → Vector3, |
| 42 | (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ |
| 43 | ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 44 | ‖productHighLow period L u v‖ ≤ sobolevProductConstant period q * |
| 45 | ‖restrictOperator period (by omega : q ≤ q+3) u‖ * ‖v‖ := by |
| 46 | obtain ⟨f, hfu, hf⟩ := hu |
| 47 | obtain ⟨g, hgv, hg⟩ := hv |
| 48 | exact productHighLow_bound_smooth period hq L hL u v f g hfu hgv hf hg |
| 49 | |
| 50 | /-- The genuine product difference is controlled solely in the original Sobolev topology. -/ |
| 51 | theorem productHighLow_dist_of_smooth {q : ℕ} (hq : 6 ≤ q) |
| 52 | (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 53 | (u w : SobolevSpace period (q+3)) (v z : SobolevSpace period q) |
| 54 | (hu : ∃ f : LiftDomain period → Vector3, (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 55 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 56 | (hw : ∃ f : LiftDomain period → Vector3, (value period w : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 57 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 58 | (hv : ∃ f : LiftDomain period → Vector3, (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 59 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 60 | (hz : ∃ f : LiftDomain period → Vector3, (value period z : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 61 | ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 62 | dist (productHighLow period L u v) (productHighLow period L w z) ≤ |
| 63 | sobolevProductConstant period q * dist (restrictOperator period (by omega : q ≤ q+3) u) |
| 64 | (restrictOperator period (by omega : q ≤ q+3) w) * ‖v‖ + |
| 65 | sobolevProductConstant period q * ‖restrictOperator period (by omega : q ≤ q+3) w‖ * dist v z := by |
| 66 | rw [dist_eq_norm, productHighLow_sub] |
| 67 | have h1 := productHighLow_bound_of_smooth period hq L hL (u-w) v |
| 68 | (smooth_representative_sub period u w hu hw) hv |
| 69 | have h2 := productHighLow_bound_of_smooth period hq L hL w (v-z) hw |
| 70 | (smooth_representative_sub period v z hv hz) |
| 71 | simpa only [map_sub, ← dist_eq_norm] using (norm_add_le _ _).trans (add_le_add h1 h2) |
| 72 | |
| 73 | /-- A quantitative difference estimate transfers Cauchy convergence through a bilinear operation. -/ |
| 74 | theorem cauchySeq_of_product_control {X Y Z : Type*} [PseudoMetricSpace X] [PseudoMetricSpace Y] |
| 75 | [PseudoMetricSpace Z] (u : ℕ → X) (v : ℕ → Y) (p : ℕ → Z) (A B : ℝ) |
| 76 | (hu : CauchySeq u) (hv : CauchySeq v) |
| 77 | (h : ∀ n m, dist (p n) (p m) ≤ A * dist (u n) (u m) + B * dist (v n) (v m)) : |
| 78 | CauchySeq p := by |
| 79 | rw [cauchySeq_iff_tendsto_dist_atTop_0] at hu hv ⊢ |
| 80 | apply squeeze_zero (fun nm : ℕ × ℕ => (dist_nonneg : 0 ≤ dist (p nm.1) (p nm.2))) (fun nm => h nm.1 nm.2) |
| 81 | simpa only [mul_zero, add_zero] using (hu.const_mul A).add (hv.const_mul B) |
| 82 | |
| 83 | /-- Smooth products of the concrete approximations. -/ |
| 84 | def productApprox (q n : ℕ) (L : Vector3 →L[ℝ] ℝ) (u v : SobolevSpace period q) : SobolevSpace period q := |
| 85 | productHighLow period L (smoothApprox period q n u) (sobolevMollifier period q n v) |
| 86 | |
| 87 | /-- The actual product approximations satisfy a bound independent of the smoothing scale. -/ |
| 88 | theorem productApprox_bound {q : ℕ} (hq : 6 ≤ q) (n : ℕ) |
| 89 | (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (u v : SobolevSpace period q) : |
| 90 | ‖productApprox period q n L u v‖ ≤ sobolevProductConstant period q * ‖u‖ * ‖v‖ := by |
| 91 | have hv : ∃ g : LiftDomain period → Vector3, |
| 92 | (value period (sobolevMollifier period q n v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ |
| 93 | ∀ x, ContDiff ℝ ∞ (localFieldLift period g x) := ⟨smoothMollifier period n (value period v), sobolevMollifier_representative period n v, |
| 94 | smoothMollifier_smooth period n (value period v)⟩ |
| 95 | have h := productHighLow_bound_of_smooth period hq L hL _ _ (smoothApprox_representative period n u) hv |
| 96 | exact h.trans (mul_le_mul |
| 97 | (mul_le_mul_of_nonneg_left (smoothApprox_bound period n u) (sobolevProductConstant_nonneg period q)) |
| 98 | (sobolevMollifier_bound period n v) (norm_nonneg _) (mul_nonneg (sobolevProductConstant_nonneg period q) (norm_nonneg u))) |
| 99 | |
| 100 | /-- Actual smooth products converge in the complete Hq topology. -/ |
| 101 | theorem productApprox_cauchy {q : ℕ} (hq : 6 ≤ q) |
| 102 | (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (u v : SobolevSpace period q) : |
| 103 | CauchySeq (fun n => productApprox period q n L u v) := by |
| 104 | let U := fun n => restrictOperator period (by omega : q ≤ q+3) (smoothApprox period q n u) |
| 105 | let V := fun n => sobolevMollifier period q n v |
| 106 | have hU : CauchySeq U := (smoothApprox_tendsto period u).cauchySeq |
| 107 | have hV : CauchySeq V := (sobolevMollifier_tendsto period v).cauchySeq |
| 108 | apply cauchySeq_of_product_control U V _ (sobolevProductConstant period q * ‖v‖) |
| 109 | (sobolevProductConstant period q * ‖u‖) hU hV |
| 110 | intro n m |
| 111 | have hsm (k : ℕ) : ∃ g : LiftDomain period → Vector3, |
| 112 | (value period (sobolevMollifier period q k v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ |
| 113 | ∀ x, ContDiff ℝ ∞ (localFieldLift period g x) := ⟨smoothMollifier period k (value period v), sobolevMollifier_representative period k v, |
| 114 | smoothMollifier_smooth period k (value period v)⟩ |
| 115 | have h := productHighLow_dist_of_smooth period hq L hL _ _ _ _ |
| 116 | (smoothApprox_representative period n u) (smoothApprox_representative period m u) (hsm n) (hsm m) |
| 117 | have h1 := mul_le_mul_of_nonneg_left (sobolevMollifier_bound period n v) |
| 118 | (mul_nonneg (sobolevProductConstant_nonneg period q) (dist_nonneg : 0 ≤ dist (U n) (U m))) |
| 119 | have h2 := mul_le_mul_of_nonneg_right |
| 120 | (mul_le_mul_of_nonneg_left (smoothApprox_bound period m u) (sobolevProductConstant_nonneg period q)) |
| 121 | (dist_nonneg : 0 ≤ dist (V n) (V m)) |
| 122 | exact h.trans ((add_le_add h1 h2).trans_eq (by dsimp [U, V]; ring)) |
| 123 | |
| 124 | end EulerSobolevL2Product |