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.CylinderSobolevOperators |
| 2 | |
| 3 | /-! Actual coordinate derivatives and truncations between the complete cylinder Sobolev spaces. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCylinderSobolevSpace |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerCylinderSobolev |
| 10 | open scoped Topology |
| 11 | |
| 12 | /-- An old word viewed in the next Sobolev order. -/ |
| 13 | def truncateIndex {q : ℕ} (w : SobolevWord q) : SobolevWord (q + 1) := |
| 14 | ⟨⟨w.1.val, Nat.lt_succ_of_lt w.1.isLt⟩, w.2⟩ |
| 15 | |
| 16 | /-- Appending a direction indexes a derivative of the corresponding underlying derivative field. -/ |
| 17 | def derivativeIndex {q : ℕ} (i : Fin 4) (w : SobolevWord q) : SobolevWord (q + 1) := |
| 18 | ⟨⟨w.1.val + 1, Nat.succ_lt_succ w.1.isLt⟩, Fin.snoc w.2 i⟩ |
| 19 | |
| 20 | variable (period : ℝ) [Fact (0 < period)] |
| 21 | |
| 22 | /-- Continuous truncation forgets the highest derivative level. -/ |
| 23 | def truncateOperator (q : ℕ) : SobolevSpace period (q + 1) →L[ℝ] SobolevSpace period q := |
| 24 | ((ContinuousLinearMap.pi (fun w : SobolevWord q => |
| 25 | ContinuousLinearMap.proj (truncateIndex w))).comp (arrayOperator period (q + 1))).codRestrict |
| 26 | (sobolevSubspace period q).toSubmodule (by |
| 27 | intro u |
| 28 | apply ClosedSubmodule.mem_iInf.mpr |
| 29 | intro e |
| 30 | exact word_hasDerivAt period u (Nat.lt_succ_of_lt e.1.isLt) e.2.1 e.2.2) |
| 31 | |
| 32 | /-- A coordinate derivative is a bounded map from H^(q+1) to H^q. -/ |
| 33 | def derivativeOperator (q : ℕ) (i : Fin 4) : |
| 34 | SobolevSpace period (q + 1) →L[ℝ] SobolevSpace period q := |
| 35 | ((ContinuousLinearMap.pi (fun w : SobolevWord q => |
| 36 | ContinuousLinearMap.proj (derivativeIndex i w))).comp (arrayOperator period (q + 1))).codRestrict |
| 37 | (sobolevSubspace period q).toSubmodule (by |
| 38 | intro u |
| 39 | apply ClosedSubmodule.mem_iInf.mpr |
| 40 | intro e |
| 41 | have hd := word_hasDerivAt period u (Nat.succ_lt_succ e.1.isLt) (Fin.snoc e.2.1 i) e.2.2 |
| 42 | change HasDerivAt (fun t => translation period |
| 43 | (translationPath period (standardDirection e.2.2) t) |
| 44 | (u.val (derivativeIndex i (edgeParent e)))) |
| 45 | (u.val (derivativeIndex i (edgeChild e))) 0 |
| 46 | simpa only [word, derivativeIndex, edgeParent, edgeChild, Fin.cons_snoc_eq_snoc_cons] using hd) |
| 47 | |
| 48 | /-- Truncation acts by the literal inclusion of derivative-word coordinates. -/ |
| 49 | @[simp] |
| 50 | theorem truncateOperator_apply {q : ℕ} (u : SobolevSpace period (q + 1)) (w : SobolevWord q) : |
| 51 | (truncateOperator period q u).val w = u.val (truncateIndex w) := rfl |
| 52 | |
| 53 | /-- A derivative acts by appending its direction to each word. -/ |
| 54 | @[simp] |
| 55 | theorem derivativeOperator_apply {q : ℕ} (i : Fin 4) (u : SobolevSpace period (q + 1)) |
| 56 | (w : SobolevWord q) : |
| 57 | (derivativeOperator period q i u).val w = u.val (derivativeIndex i w) := rfl |
| 58 | |
| 59 | /-- Truncation is contractive in the complete derivative-array norm. -/ |
| 60 | theorem truncateOperator_bound {q : ℕ} (u : SobolevSpace period (q + 1)) : |
| 61 | ‖truncateOperator period q u‖ ≤ ‖u‖ := by |
| 62 | change ‖(truncateOperator period q u).val‖ ≤ _ |
| 63 | apply (pi_norm_le_iff_of_nonneg (norm_nonneg u)).mpr |
| 64 | intro w |
| 65 | exact word_norm_le period u (truncateIndex w) |
| 66 | |
| 67 | /-- One coordinate derivative has operator bound one between successive Sobolev levels. -/ |
| 68 | theorem derivativeOperator_bound {q : ℕ} (i : Fin 4) (u : SobolevSpace period (q + 1)) : |
| 69 | ‖derivativeOperator period q i u‖ ≤ ‖u‖ := by |
| 70 | change ‖(derivativeOperator period q i u).val‖ ≤ _ |
| 71 | apply (pi_norm_le_iff_of_nonneg (norm_nonneg u)).mpr |
| 72 | intro w |
| 73 | exact word_norm_le period u (derivativeIndex i w) |
| 74 | |
| 75 | /-- Truncation leaves the underlying L² field unchanged. -/ |
| 76 | @[simp] |
| 77 | theorem value_truncateOperator {q : ℕ} (u : SobolevSpace period (q + 1)) : |
| 78 | value period (truncateOperator period q u) = value period u := rfl |
| 79 | |
| 80 | /-- The derivative operator really differentiates the underlying L² translation orbit. -/ |
| 81 | theorem derivativeOperator_hasDerivAt {q : ℕ} (i : Fin 4) (u : SobolevSpace period (q + 1)) : |
| 82 | HasDerivAt (fun t => translation period (translationPath period (standardDirection i) t) |
| 83 | (value period u)) (value period (derivativeOperator period q i u)) 0 := by |
| 84 | have hd := word_hasDerivAt period u (Nat.zero_lt_succ q) Fin.elim0 i |
| 85 | have hw : Fin.cons i (Fin.elim0 : Fin 0 → Fin 4) = |
| 86 | Fin.snoc (α := fun _ : Fin 1 => Fin 4) (Fin.elim0 : Fin 0 → Fin 4) i := by |
| 87 | funext j |
| 88 | fin_cases j |
| 89 | rfl |
| 90 | change HasDerivAt (fun t => translation period (translationPath period (standardDirection i) t) |
| 91 | (u.val (emptyWord (q + 1)))) (u.val (derivativeIndex i (emptyWord q))) 0 |
| 92 | simpa only [word, emptyWord, derivativeIndex, hw] using hd |
| 93 | |
| 94 | /-- Coordinate differentiation commutes with actual Sobolev translation. -/ |
| 95 | theorem derivativeOperator_translation {q : ℕ} (i : Fin 4) (a : LiftDomain period) |
| 96 | (u : SobolevSpace period (q + 1)) : |
| 97 | derivativeOperator period q i (sobolevTranslation period (q + 1) a u) = |
| 98 | sobolevTranslation period q a (derivativeOperator period q i u) := by |
| 99 | apply Subtype.ext |
| 100 | funext w |
| 101 | rfl |
| 102 | |
| 103 | end EulerCylinderSobolevSpace |