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.CylinderSobolevEmbedding |
| 2 | import Euler.SobolevTranslationDifferentiation |
| 3 | |
| 4 | /-! Actual pointwise multiplication as a bounded bilinear map Hq × L² → L². -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevL2Product |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerCylinderSobolev |
| 11 | EulerCylinderSobolevSpace |
| 12 | open scoped Topology ENNReal |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The actual scalar-vector product belongs to L² by the proved Sobolev embedding. -/ |
| 17 | theorem scalarProduct_memLp {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 18 | (u : SobolevSpace period q) (v : LiftL2 period) : |
| 19 | MemLp (fun x => L (value period u x) • v x) 2 (liftMeasure period) := by |
| 20 | apply (Lp.memLp v).of_le_mul (c := ‖L‖ * sobolevEmbeddingConstant period q * ‖u‖) |
| 21 | · exact (L.continuous.comp_aestronglyMeasurable (Lp.aestronglyMeasurable (value period u))).smul |
| 22 | (Lp.aestronglyMeasurable v) |
| 23 | · filter_upwards [value_ae_bound period hq u] with x hx |
| 24 | rw [norm_smul] |
| 25 | have hL := (L.le_opNorm (value period u x)).trans |
| 26 | (mul_le_mul_of_nonneg_left hx (norm_nonneg L)) |
| 27 | exact (mul_le_mul_of_nonneg_right hL (norm_nonneg (v x))).trans_eq (by ring) |
| 28 | |
| 29 | /-- The actual almost-everywhere scalar-vector product represented in cylinder L². -/ |
| 30 | def scalarProduct {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 31 | (u : SobolevSpace period q) (v : LiftL2 period) : LiftL2 period := |
| 32 | (scalarProduct_memLp period hq L u v).toLp (fun x => L (value period u x) • v x) |
| 33 | |
| 34 | theorem scalarProduct_ae {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 35 | (u : SobolevSpace period q) (v : LiftL2 period) : |
| 36 | (scalarProduct period hq L u v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 37 | (fun x => L (value period u x) • v x) := (scalarProduct_memLp period hq L u v).coeFn_toLp |
| 38 | |
| 39 | /-- The actual L² product has the quantitative bilinear bound. -/ |
| 40 | theorem scalarProduct_norm {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 41 | (u : SobolevSpace period q) (v : LiftL2 period) : |
| 42 | ‖scalarProduct period hq L u v‖ ≤ (‖L‖ * sobolevEmbeddingConstant period q) * ‖u‖ * ‖v‖ := by |
| 43 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 44 | filter_upwards [scalarProduct_ae period hq L u v, value_ae_bound period hq u] with x hp hu |
| 45 | rw [hp, norm_smul] |
| 46 | exact (mul_le_mul_of_nonneg_right |
| 47 | ((L.le_opNorm _).trans (mul_le_mul_of_nonneg_left hu (norm_nonneg L))) (norm_nonneg _)).trans_eq (by ring) |
| 48 | |
| 49 | theorem scalarProduct_add_right {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 50 | (u : SobolevSpace period q) (v w : LiftL2 period) : |
| 51 | scalarProduct period hq L u (v+w) = scalarProduct period hq L u v + scalarProduct period hq L u w := by |
| 52 | apply Lp.ext |
| 53 | filter_upwards [scalarProduct_ae period hq L u (v+w), scalarProduct_ae period hq L u v, |
| 54 | scalarProduct_ae period hq L u w, Lp.coeFn_add v w, |
| 55 | Lp.coeFn_add (scalarProduct period hq L u v) (scalarProduct period hq L u w)] with x h1 h2 h3 h4 h5 |
| 56 | simp only [Pi.add_apply] at h4 h5 |
| 57 | rw [h1, h5, h2, h3, h4, smul_add] |
| 58 | |
| 59 | theorem scalarProduct_smul_right {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 60 | (u : SobolevSpace period q) (r : ℝ) (v : LiftL2 period) : |
| 61 | scalarProduct period hq L u (r • v) = r • scalarProduct period hq L u v := by |
| 62 | apply Lp.ext |
| 63 | filter_upwards [scalarProduct_ae period hq L u (r • v), scalarProduct_ae period hq L u v, |
| 64 | Lp.coeFn_smul r v, Lp.coeFn_smul r (scalarProduct period hq L u v)] with x h1 h2 h3 h4 |
| 65 | simp only [Pi.smul_apply] at h3 h4 |
| 66 | rw [h1, h4, h2, h3, smul_comm] |
| 67 | |
| 68 | theorem scalarProduct_add_left {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 69 | (u w : SobolevSpace period q) (v : LiftL2 period) : |
| 70 | scalarProduct period hq L (u+w) v = scalarProduct period hq L u v + scalarProduct period hq L w v := by |
| 71 | apply Lp.ext |
| 72 | filter_upwards [scalarProduct_ae period hq L (u+w) v, scalarProduct_ae period hq L u v, |
| 73 | scalarProduct_ae period hq L w v, Lp.coeFn_add (value period u) (value period w), |
| 74 | Lp.coeFn_add (scalarProduct period hq L u v) (scalarProduct period hq L w v)] with x h1 h2 h3 h4 h5 |
| 75 | simp only [Pi.add_apply] at h4 h5 |
| 76 | change (value period (u+w)) x = value period u x + value period w x at h4 |
| 77 | rw [h1, h5, h2, h3, h4, map_add, add_smul] |
| 78 | |
| 79 | theorem scalarProduct_smul_left {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 80 | (r : ℝ) (u : SobolevSpace period q) (v : LiftL2 period) : |
| 81 | scalarProduct period hq L (r • u) v = r • scalarProduct period hq L u v := by |
| 82 | apply Lp.ext |
| 83 | filter_upwards [scalarProduct_ae period hq L (r • u) v, scalarProduct_ae period hq L u v, |
| 84 | Lp.coeFn_smul r (value period u), Lp.coeFn_smul r (scalarProduct period hq L u v)] with x h1 h2 h3 h4 |
| 85 | simp only [Pi.smul_apply] at h3 h4 |
| 86 | change value period (r • u) x = r • value period u x at h3 |
| 87 | rw [h1, h4, h2, h3, map_smul, smul_assoc] |
| 88 | |
| 89 | /-- Pointwise multiplication by an Hq scalar component is a bounded linear L² operator. -/ |
| 90 | def scalarProductRight {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 91 | (u : SobolevSpace period q) : LiftL2 period →L[ℝ] LiftL2 period := |
| 92 | LinearMap.mkContinuous |
| 93 | { toFun := scalarProduct period hq L u |
| 94 | map_add' := scalarProduct_add_right period hq L u |
| 95 | map_smul' := scalarProduct_smul_right period hq L u } |
| 96 | ((‖L‖ * sobolevEmbeddingConstant period q) * ‖u‖) |
| 97 | (scalarProduct_norm period hq L u) |
| 98 | |
| 99 | theorem scalarProductRight_norm {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 100 | (u : SobolevSpace period q) : |
| 101 | ‖scalarProductRight period hq L u‖ ≤ (‖L‖ * sobolevEmbeddingConstant period q) * ‖u‖ := |
| 102 | ContinuousLinearMap.opNorm_le_bound _ |
| 103 | (mul_nonneg (mul_nonneg (norm_nonneg _) (sobolevEmbeddingConstant_nonneg period q)) (norm_nonneg _)) |
| 104 | (scalarProduct_norm period hq L u) |
| 105 | |
| 106 | /-- Actual scalar-vector multiplication, as a continuous bilinear map on the complete spaces. -/ |
| 107 | def scalarProductBilinear {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) : |
| 108 | SobolevSpace period q →L[ℝ] LiftL2 period →L[ℝ] LiftL2 period := |
| 109 | LinearMap.mkContinuous |
| 110 | { toFun := scalarProductRight period hq L |
| 111 | map_add' := by |
| 112 | intro u w |
| 113 | apply ContinuousLinearMap.ext |
| 114 | intro v |
| 115 | exact scalarProduct_add_left period hq L u w v |
| 116 | map_smul' := by |
| 117 | intro r u |
| 118 | apply ContinuousLinearMap.ext |
| 119 | intro v |
| 120 | exact scalarProduct_smul_left period hq L r u v } |
| 121 | (‖L‖ * sobolevEmbeddingConstant period q) (scalarProductRight_norm period hq L) |
| 122 | |
| 123 | @[simp] theorem scalarProductBilinear_apply {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 124 | (u : SobolevSpace period q) (v : LiftL2 period) : |
| 125 | scalarProductBilinear period hq L u v = scalarProduct period hq L u v := rfl |
| 126 | |
| 127 | /-- The actual product is equivariant under simultaneous cylinder translation. -/ |
| 128 | theorem scalarProduct_translation {q : ℕ} (hq : 3 ≤ q) (L : Vector3 →L[ℝ] ℝ) |
| 129 | (a : LiftDomain period) (u : SobolevSpace period q) (v : LiftL2 period) : |
| 130 | scalarProduct period hq L (sobolevTranslation period q a u) (translation period a v) = |
| 131 | translation period a (scalarProduct period hq L u v) := by |
| 132 | apply Lp.ext |
| 133 | have hp := (measurePreserving_translation period a).quasiMeasurePreserving.ae (scalarProduct_ae period hq L u v) |
| 134 | filter_upwards [scalarProduct_ae period hq L (sobolevTranslation period q a u) (translation period a v), |
| 135 | translation_ae period a (value period u), translation_ae period a v, |
| 136 | translation_ae period a (scalarProduct period hq L u v), hp] with x h1 h2 h3 h4 h5 |
| 137 | change value period (sobolevTranslation period q a u) x = value period u (x+a) at h2 |
| 138 | rw [h1, h2, h3, h4, h5] |
| 139 | |
| 140 | end EulerSobolevL2Product |