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.IsometricActionCalculus |
| 2 | import Euler.ParameterSobolevBlocks |
| 3 | |
| 4 | /-! |
| 5 | # Exact word-norm invariance along a genuine isometric orbit |
| 6 | |
| 7 | Every actual derivative word of a smooth linear-isometric orbit is the orbit |
| 8 | of its derivative at zero. Consequently its fixed-Sobolev word block is |
| 9 | independent of the translation parameter, with constant one and no radius |
| 10 | change. This applies equally to spatial L² and its time-function spaces. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerIsometricAction |
| 16 | |
| 17 | open ContinuousLinearMap Finset EulerParameterWordGevrey |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable {X E ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | (τ : X → E →ₗᵢ[ℝ] E) (hadd : ∀ a b u, τ a (τ b u) = τ (a+b) u) |
| 23 | (hzero : ∀ u, τ 0 u = u) |
| 24 | |
| 25 | def derivativeAtZero (u : E) (v : X) : E := fderiv ℝ (fun a => τ a u) 0 v |
| 26 | |
| 27 | include hadd in |
| 28 | theorem derivativeAtZero_translation (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) (v a : X) : |
| 29 | τ a (derivativeAtZero τ u v) = fderiv ℝ (fun b => τ b u) a v := by |
| 30 | have h := hasFDerivAt_all τ hadd u (fderiv ℝ (fun b => τ b u) 0) |
| 31 | ((hu.differentiable (by simp) (0 : X)).hasFDerivAt) a |
| 32 | exact (congrArg (fun D : X →L[ℝ] E => D v) h.fderiv).symm |
| 33 | |
| 34 | include hadd in |
| 35 | theorem derivativeAtZero_smooth (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) (v : X) : |
| 36 | ContDiff ℝ ∞ (fun a => τ a (derivativeAtZero τ u v)) := by |
| 37 | have he : (fun a => τ a (derivativeAtZero τ u v)) = |
| 38 | fun a => fderiv ℝ (fun b => τ b u) a v := |
| 39 | funext (fun a => derivativeAtZero_translation τ hadd u hu v a) |
| 40 | rw [he] |
| 41 | exact (hu.fderiv_right (m := ∞) (by simp)).clm_apply contDiff_const |
| 42 | |
| 43 | def wordAtZero (directions : ι → X) (u : E) {n : ℕ} (w : Fin n → ι) : E := |
| 44 | wordDerivative directions (fun a => τ a u) w 0 |
| 45 | |
| 46 | include hzero in |
| 47 | theorem wordAtZero_zero (directions : ι → X) (u : E) (w : Fin 0 → ι) : |
| 48 | wordAtZero τ directions u w = u := by |
| 49 | simp only [wordAtZero,wordDerivative_zero,hzero] |
| 50 | |
| 51 | include hadd in |
| 52 | theorem wordAtZero_snoc (directions : ι → X) (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) |
| 53 | {n : ℕ} (w : Fin n → ι) (i : ι) : |
| 54 | wordAtZero τ directions u (Fin.snoc w i) = |
| 55 | wordAtZero τ directions (derivativeAtZero τ u (directions i)) w := by |
| 56 | have he : directional directions (fun a => τ a u) i = |
| 57 | fun a => τ a (derivativeAtZero τ u (directions i)) := |
| 58 | funext (fun a => (derivativeAtZero_translation τ hadd u hu (directions i) a).symm) |
| 59 | unfold wordAtZero |
| 60 | rw [wordDerivative_snoc directions _ hu w i 0,he] |
| 61 | |
| 62 | include hadd hzero in |
| 63 | theorem wordAtZero_translation (directions : ι → X) (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) |
| 64 | {n : ℕ} (w : Fin n → ι) (a : X) : |
| 65 | τ a (wordAtZero τ directions u w) = wordDerivative directions (fun b => τ b u) w a := by |
| 66 | induction n generalizing u with |
| 67 | | zero => simp only [wordAtZero_zero τ hzero,wordDerivative_zero] |
| 68 | | succ n ih => |
| 69 | have hw : wordAtZero τ directions u w = |
| 70 | wordAtZero τ directions (derivativeAtZero τ u (directions (w (Fin.last n)))) (Fin.init w) := by |
| 71 | simpa only [Fin.snoc_init_self] using wordAtZero_snoc τ hadd directions u hu (Fin.init w) (w (Fin.last n)) |
| 72 | rw [hw,ih _ (derivativeAtZero_smooth τ hadd u hu _) (Fin.init w)] |
| 73 | have he : directional directions (fun b => τ b u) (w (Fin.last n)) = |
| 74 | fun b => τ b (derivativeAtZero τ u (directions (w (Fin.last n)))) := |
| 75 | funext (fun b => (derivativeAtZero_translation τ hadd u hu _ b).symm) |
| 76 | simpa only [Fin.snoc_init_self,he] using |
| 77 | (wordDerivative_snoc directions (fun b => τ b u) hu (Fin.init w) (w (Fin.last n)) a).symm |
| 78 | |
| 79 | include hadd hzero in |
| 80 | theorem wordAtZero_smooth (directions : ι → X) (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) |
| 81 | {n : ℕ} (w : Fin n → ι) : ContDiff ℝ ∞ (fun a => τ a (wordAtZero τ directions u w)) := by |
| 82 | have he : (fun a => τ a (wordAtZero τ directions u w)) = |
| 83 | wordDerivative directions (fun b => τ b u) w := |
| 84 | funext (wordAtZero_translation τ hadd hzero directions u hu w) |
| 85 | rw [he] |
| 86 | exact wordDerivative_contDiff directions _ hu w |
| 87 | |
| 88 | variable [Fintype ι] |
| 89 | |
| 90 | include hadd hzero in |
| 91 | theorem wordSum_orbit_constant (directions : ι → X) (u : E) (hu : ContDiff ℝ ∞ (fun a => τ a u)) |
| 92 | (n : ℕ) (a : X) : wordSum directions (fun b => τ b u) n a = |
| 93 | wordSum directions (fun b => τ b u) n 0 := by |
| 94 | unfold wordSum |
| 95 | apply sum_congr rfl |
| 96 | intro w _ |
| 97 | rw [← wordAtZero_translation τ hadd hzero directions u hu w a] |
| 98 | exact (τ a).norm_map (wordAtZero τ directions u w) |
| 99 | |
| 100 | include hadd hzero in |
| 101 | theorem baseSize_orbit_constant (directions : ι → X) (q : ℕ) (u : E) |
| 102 | (hu : ContDiff ℝ ∞ (fun a => τ a u)) (a : X) : |
| 103 | baseSize directions q (fun b => τ b u) a = baseSize directions q (fun b => τ b u) 0 := by |
| 104 | unfold baseSize |
| 105 | apply sum_congr rfl |
| 106 | intro k _ |
| 107 | exact wordSum_orbit_constant τ hadd hzero directions u hu k a |
| 108 | |
| 109 | include hadd hzero in |
| 110 | theorem block_orbit_constant (directions : ι → X) (q : ℕ) (u : E) |
| 111 | (hu : ContDiff ℝ ∞ (fun a => τ a u)) (n : ℕ) (a : X) : |
| 112 | block directions q (fun b => τ b u) n a = block directions q (fun b => τ b u) n 0 := by |
| 113 | unfold block |
| 114 | apply sum_congr rfl |
| 115 | intro w _ |
| 116 | have he : wordDerivative directions (fun b => τ b u) w = |
| 117 | fun b => τ b (wordAtZero τ directions u w) := |
| 118 | (funext (wordAtZero_translation τ hadd hzero directions u hu w)).symm |
| 119 | rw [he] |
| 120 | exact baseSize_orbit_constant τ hadd hzero directions q _ |
| 121 | (wordAtZero_smooth τ hadd hzero directions u hu w) a |
| 122 | |
| 123 | end EulerIsometricAction |