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.SobolevProductJet |
| 2 | import Euler.GeneralRealCylinderAlgebra |
| 3 | |
| 4 | /-! The genuine smooth product bound expressed in the complete cylinder Sobolev norm. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevL2Product |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerCylinderSobolev |
| 11 | EulerCylinderSobolevSpace EulerSpatialSobolevInverse EulerStrongSmoothJet EulerVectorCylinder |
| 12 | EulerMetricTransport EulerGeneralCylinderAlgebra |
| 13 | open scoped Topology ContDiff ENNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The derivative sum of a complete Sobolev element agrees with its smooth representative. -/ |
| 18 | theorem sumNorm_eq_classical {q : ℕ} (u : SobolevSpace period q) |
| 19 | (f : LiftDomain period → Vector3) |
| 20 | (hrep : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 21 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 22 | sumNorm period u = liftSobolevNorm period q f := by |
| 23 | rw [sumNorm_eq_jet] |
| 24 | exact jet_sobolevNorm_eq period (value period u) (toJet period u) f hrep hf |
| 25 | |
| 26 | /-- Actual pointwise multiplication has the same representative at every Sobolev order. -/ |
| 27 | theorem scalarProduct_of_value_eq {p q : ℕ} (hp : 3 ≤ p) (hq : 3 ≤ q) |
| 28 | (L : Vector3 →L[ℝ] ℝ) (u : SobolevSpace period p) (w : SobolevSpace period q) |
| 29 | (he : value period u = value period w) (v : LiftL2 period) : |
| 30 | scalarProduct period hp L u v = scalarProduct period hq L w v := by |
| 31 | apply Lp.ext |
| 32 | filter_upwards [scalarProduct_ae period hp L u v, scalarProduct_ae period hq L w v] with x h1 h2 |
| 33 | rw [h1, h2, he] |
| 34 | |
| 35 | /-- A fixed Sobolev-order algebra constant for the complete-array norm. -/ |
| 36 | def sobolevProductConstant (q : ℕ) : ℝ := |
| 37 | (3 * algebraConstant period q) * (Fintype.card (SobolevWord q) : ℝ)^2 |
| 38 | |
| 39 | theorem sobolevProductConstant_nonneg (q : ℕ) : 0 ≤ sobolevProductConstant period q := |
| 40 | mul_nonneg (mul_nonneg (by norm_num) (algebraConstant_nonneg period q)) (sq_nonneg _) |
| 41 | |
| 42 | /-- Exact smooth product representative of the actual strong product jet. -/ |
| 43 | theorem productHighLow_representative {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 44 | (u : SobolevSpace period (q+3)) (v : SobolevSpace period q) |
| 45 | (f g : LiftDomain period → Vector3) |
| 46 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 47 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) : |
| 48 | (value period (productHighLow period L u v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 49 | (fun x => L (f x) • g x) := by |
| 50 | rw [productHighLow_value] |
| 51 | filter_upwards [scalarProduct_ae period (le_refl 3) L |
| 52 | (restrictOperator period (by omega : 3 ≤ q+3) u) (value period v), hu, hv] with x h1 h2 h3 |
| 53 | exact h1.trans (by rw [value_restrictOperator, h2, h3]) |
| 54 | |
| 55 | /-- The actual product jet satisfies the low-order algebra bound whenever the inputs are smooth. -/ |
| 56 | theorem productHighLow_bound_smooth {q : ℕ} (hq : 6 ≤ q) |
| 57 | (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 58 | (u : SobolevSpace period (q+3)) (v : SobolevSpace period q) |
| 59 | (f g : LiftDomain period → Vector3) |
| 60 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 61 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 62 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 63 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 64 | ‖productHighLow period L u v‖ ≤ sobolevProductConstant period q * |
| 65 | ‖restrictOperator period (by omega : q ≤ q+3) u‖ * ‖v‖ := by |
| 66 | let U : SobolevSpace period q := restrictOperator period (by omega : q ≤ q+3) u |
| 67 | have hU : (value period U : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f := hu |
| 68 | have hfL : ∀ j ≤ q, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period) := |
| 69 | fun j hj w => jet_classical_memLp period hj (value period U) (toJet period U) w f hU hf |
| 70 | have hgL : ∀ j ≤ q, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period) := |
| 71 | fun j hj w => jet_classical_memLp period hj (value period v) (toJet period v) w g hv hg |
| 72 | have hP := cylinder_Hq_scalar_vector_product period hq 3 (L ∘ f) g |
| 73 | (postcomp_smooth period L f hf) hg (fun j hj w => postcomp_word_memLp period hj L f hf hfL w) hgL |
| 74 | have hPs : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun x => L (f x) • g x) x) := |
| 75 | fun x => (postcomp_smooth period L f hf x).smul (hg x) |
| 76 | have hpr := productHighLow_representative period L u v f g hu hv |
| 77 | have hN := norm_le_sumNorm period (productHighLow period L u v) |
| 78 | rw [sumNorm_eq_classical period _ _ hpr hPs] at hN |
| 79 | have hLF := postcomp_sobolevNorm_le period q L hL f hf hfL |
| 80 | have hFn : liftSobolevNorm period q f ≤ (Fintype.card (SobolevWord q) : ℝ) * ‖U‖ := by |
| 81 | rw [← sumNorm_eq_classical period U f hU hf] |
| 82 | exact sumNorm_le_card_norm period U |
| 83 | have hGn : liftSobolevNorm period q g ≤ (Fintype.card (SobolevWord q) : ℝ) * ‖v‖ := by |
| 84 | rw [← sumNorm_eq_classical period v g hv hg] |
| 85 | exact sumNorm_le_card_norm period v |
| 86 | have hpos : 0 ≤ 3 * algebraConstant period q := mul_nonneg (by norm_num) (algebraConstant_nonneg period q) |
| 87 | calc |
| 88 | ‖productHighLow period L u v‖ ≤ liftSobolevNorm period q (fun x => L (f x) • g x) := hN |
| 89 | _ ≤ (3 * algebraConstant period q) * liftSobolevNorm period q (L ∘ f) * liftSobolevNorm period q g := hP |
| 90 | _ ≤ (3 * algebraConstant period q) * liftSobolevNorm period q f * liftSobolevNorm period q g := |
| 91 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hLF hpos) (liftSobolevNorm_nonneg period q g) |
| 92 | _ ≤ (3 * algebraConstant period q) * ((Fintype.card (SobolevWord q) : ℝ) * ‖U‖) * |
| 93 | ((Fintype.card (SobolevWord q) : ℝ) * ‖v‖) := |
| 94 | mul_le_mul (mul_le_mul_of_nonneg_left hFn hpos) hGn (liftSobolevNorm_nonneg period q g) |
| 95 | (mul_nonneg hpos (mul_nonneg (Nat.cast_nonneg _) (norm_nonneg U))) |
| 96 | _ = sobolevProductConstant period q * ‖U‖ * ‖v‖ := by unfold sobolevProductConstant; ring |
| 97 | |
| 98 | /-- The high-low product is additive in its first argument. -/ |
| 99 | theorem productHighLow_add_left {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 100 | (u w : SobolevSpace period (q+3)) (v : SobolevSpace period q) : |
| 101 | productHighLow period L (u+w) v = productHighLow period L u v + productHighLow period L w v := by |
| 102 | apply value_injective period |
| 103 | change value period (productHighLow period L (u+w) v) = value period (productHighLow period L u v) + value period (productHighLow period L w v) |
| 104 | simp only [productHighLow_value, map_add, scalarProduct_add_left] |
| 105 | |
| 106 | /-- The high-low product is additive in its second argument. -/ |
| 107 | theorem productHighLow_add_right {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 108 | (u : SobolevSpace period (q+3)) (v w : SobolevSpace period q) : |
| 109 | productHighLow period L u (v+w) = productHighLow period L u v + productHighLow period L u w := by |
| 110 | apply value_injective period |
| 111 | change value period (productHighLow period L u (v+w)) = value period (productHighLow period L u v) + value period (productHighLow period L u w) |
| 112 | simp only [productHighLow_value] |
| 113 | exact scalarProduct_add_right period (le_refl 3) L _ _ _ |
| 114 | |
| 115 | /-- Exact product difference decomposition. -/ |
| 116 | theorem productHighLow_sub {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 117 | (u w : SobolevSpace period (q+3)) (v z : SobolevSpace period q) : |
| 118 | productHighLow period L u v - productHighLow period L w z = |
| 119 | productHighLow period L (u-w) v + productHighLow period L w (v-z) := by |
| 120 | apply value_injective period |
| 121 | change value period (productHighLow period L u v) - value period (productHighLow period L w z) = |
| 122 | value period (productHighLow period L (u-w) v) + value period (productHighLow period L w (v-z)) |
| 123 | simp only [productHighLow_value, map_sub] |
| 124 | rw [show value period (v-z) = value period v - value period z from map_sub (valueOperator period q) v z] |
| 125 | change scalarProductBilinear period (le_refl 3) L _ _ - scalarProductBilinear period (le_refl 3) L _ _ = |
| 126 | scalarProductBilinear period (le_refl 3) L _ _ + scalarProductBilinear period (le_refl 3) L _ _ |
| 127 | simp only [map_sub, sub_apply] |
| 128 | abel |
| 129 | |
| 130 | end EulerSobolevL2Product |