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.CylinderSobolevDerivatives |
| 2 | |
| 3 | /-! Genuine one-derivative L² smoothing lifts to the complete cylinder Sobolev scale. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerSobolevSmoothing |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerSpatialSobolevInverse |
| 10 | EulerCylinderSobolev EulerCylinderSobolevSpace |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | variable (A : LiftL2 period →L[ℝ] LiftL2 period) (C : ℝ) |
| 16 | variable (hD : ∀ i : Fin 4, ∀ f : LiftL2 period, ∃ g : LiftL2 period, |
| 17 | HasDerivAt (fun t => translation period (translationPath period (standardDirection i) t) (A f)) g 0 ∧ |
| 18 | ‖g‖ ≤ C * ‖f‖) |
| 19 | |
| 20 | /-- The uniquely determined strong derivative of a genuinely smoothing L² operator. -/ |
| 21 | def smoothingDerivative (i : Fin 4) (f : LiftL2 period) : LiftL2 period := |
| 22 | Classical.choose (hD i f) |
| 23 | |
| 24 | /-- The chosen derivative is the actual strong derivative of the translated output. -/ |
| 25 | theorem smoothingDerivative_hasDerivAt (i : Fin 4) (f : LiftL2 period) : |
| 26 | HasDerivAt (fun t => translation period (translationPath period (standardDirection i) t) (A f)) |
| 27 | (smoothingDerivative period A C hD i f) 0 := (Classical.choose_spec (hD i f)).1 |
| 28 | |
| 29 | /-- The actual derivative obeys the given L² smoothing estimate. -/ |
| 30 | theorem smoothingDerivative_bound (i : Fin 4) (f : LiftL2 period) : |
| 31 | ‖smoothingDerivative period A C hD i f‖ ≤ C * ‖f‖ := (Classical.choose_spec (hD i f)).2 |
| 32 | |
| 33 | /-- Uniqueness of strong derivatives proves additivity of the smoothing derivative. -/ |
| 34 | theorem smoothingDerivative_add (i : Fin 4) (f g : LiftL2 period) : |
| 35 | smoothingDerivative period A C hD i (f + g) = |
| 36 | smoothingDerivative period A C hD i f + smoothingDerivative period A C hD i g := by |
| 37 | apply (smoothingDerivative_hasDerivAt period A C hD i (f + g)).unique |
| 38 | simpa only [map_add] using |
| 39 | (smoothingDerivative_hasDerivAt period A C hD i f).fun_add |
| 40 | (smoothingDerivative_hasDerivAt period A C hD i g) |
| 41 | |
| 42 | /-- Uniqueness of strong derivatives proves homogeneity of the smoothing derivative. -/ |
| 43 | theorem smoothingDerivative_smul (i : Fin 4) (r : ℝ) (f : LiftL2 period) : |
| 44 | smoothingDerivative period A C hD i (r • f) = r • smoothingDerivative period A C hD i f := by |
| 45 | apply (smoothingDerivative_hasDerivAt period A C hD i (r • f)).unique |
| 46 | simpa only [map_smul, Pi.smul_def] using |
| 47 | (smoothingDerivative_hasDerivAt period A C hD i f).const_smul r |
| 48 | |
| 49 | /-- Each derivative of the smoothing operator is a bounded linear L² operator. -/ |
| 50 | def smoothingDerivativeOperator (i : Fin 4) : LiftL2 period →L[ℝ] LiftL2 period := |
| 51 | LinearMap.mkContinuous |
| 52 | { toFun := smoothingDerivative period A C hD i |
| 53 | map_add' := smoothingDerivative_add period A C hD i |
| 54 | map_smul' := smoothingDerivative_smul period A C hD i } |
| 55 | C (smoothingDerivative_bound period A C hD i) |
| 56 | |
| 57 | /-- The bounded derivative operator retains its actual strong-derivative characterization. -/ |
| 58 | theorem smoothingDerivativeOperator_hasDerivAt (i : Fin 4) (f : LiftL2 period) : |
| 59 | HasDerivAt (fun t => translation period (translationPath period (standardDirection i) t) (A f)) |
| 60 | (smoothingDerivativeOperator period A C hD i f) 0 := |
| 61 | smoothingDerivative_hasDerivAt period A C hD i f |
| 62 | |
| 63 | /-- The bounded derivative operator retains the actual smoothing estimate. -/ |
| 64 | theorem smoothingDerivativeOperator_bound (i : Fin 4) (f : LiftL2 period) : |
| 65 | ‖smoothingDerivativeOperator period A C hD i f‖ ≤ C * ‖f‖ := |
| 66 | smoothingDerivative_bound period A C hD i f |
| 67 | |
| 68 | /-- Differentiating a translation-commuting smoothing operator preserves translation commutation. -/ |
| 69 | theorem smoothingDerivative_translation |
| 70 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) |
| 71 | (i : Fin 4) (a : LiftDomain period) (f : LiftL2 period) : |
| 72 | translation period a (smoothingDerivativeOperator period A C hD i f) = |
| 73 | smoothingDerivativeOperator period A C hD i (translation period a f) := by |
| 74 | have hd := (translation period a).toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt 0 |
| 75 | (smoothingDerivative_hasDerivAt period A C hD i f) |
| 76 | have he : (fun t => translation period a |
| 77 | (translation period (translationPath period (standardDirection i) t) (A f))) = |
| 78 | fun t => translation period (translationPath period (standardDirection i) t) |
| 79 | (A (translation period a f)) := by |
| 80 | funext t |
| 81 | rw [hA] |
| 82 | exact translations_commute period a _ _ |
| 83 | change HasDerivAt (fun t => translation period a |
| 84 | (translation period (translationPath period (standardDirection i) t) (A f))) |
| 85 | (translation period a (smoothingDerivative period A C hD i f)) 0 at hd |
| 86 | rw [he] at hd |
| 87 | exact hd.unique (smoothingDerivative_hasDerivAt period A C hD i (translation period a f)) |
| 88 | |
| 89 | /-- A true smoothing operator adds one complete level to any finite strong derivative jet. -/ |
| 90 | def gainJet {q : ℕ} {f : LiftL2 period} |
| 91 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) |
| 92 | (J : SpatialJet period standardDirection q f) : SpatialJet period standardDirection (q + 1) (A f) := |
| 93 | .succ (fun i => smoothingDerivativeOperator period A C hD i f) |
| 94 | (fun i => EulerPressureJetIdentities.SpatialJet.map |
| 95 | (smoothingDerivativeOperator period A C hD i) |
| 96 | (smoothingDerivative_translation period A C hD hA i) J) |
| 97 | (fun i => smoothingDerivativeOperator_hasDerivAt period A C hD i f) |
| 98 | |
| 99 | /-- The Sobolev element obtained by actual one-derivative smoothing. -/ |
| 100 | def gain {q : ℕ} |
| 101 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) |
| 102 | (u : SobolevSpace period q) : SobolevSpace period (q + 1) := |
| 103 | ofJet period (gainJet period A C hD hA (toJet period u)) |
| 104 | |
| 105 | /-- Smoothing on the Sobolev scale has exactly the original L² output. -/ |
| 106 | @[simp] |
| 107 | theorem gain_value {q : ℕ} |
| 108 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) |
| 109 | (u : SobolevSpace period q) : value period (gain period A C hD hA u) = A (value period u) := |
| 110 | value_ofJet period _ |
| 111 | |
| 112 | /-- The Sobolev derivative gain has an explicit bound independent of the derivative order. -/ |
| 113 | theorem gain_bound {q : ℕ} (hC : 0 ≤ C) |
| 114 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) |
| 115 | (u : SobolevSpace period q) : ‖gain period A C hD hA u‖ ≤ max ‖A‖ C * ‖u‖ := by |
| 116 | change ‖(gain period A C hD hA u).val‖ ≤ _ |
| 117 | apply (pi_norm_le_iff_of_nonneg (mul_nonneg (le_max_of_le_left (norm_nonneg A)) (norm_nonneg u))).mpr |
| 118 | rintro ⟨⟨n, hn⟩, w⟩ |
| 119 | cases n with |
| 120 | | zero => |
| 121 | change ‖(gainJet period A C hD hA (toJet period u)).word w‖ ≤ _ |
| 122 | rw [SpatialJet.word_zero] |
| 123 | exact (A.le_opNorm _).trans ((mul_le_mul_of_nonneg_left (value_norm_le period u) (norm_nonneg A)).trans |
| 124 | (mul_le_mul_of_nonneg_right (le_max_left _ _) (norm_nonneg u))) |
| 125 | | succ n => |
| 126 | change ‖(gainJet period A C hD hA (toJet period u)).word w‖ ≤ _ |
| 127 | rw [gainJet, SpatialJet.word_succ, EulerPressureJetIdentities.SpatialJet.map_word] |
| 128 | have h := smoothingDerivativeOperator_bound period A C hD (w (Fin.last n)) |
| 129 | ((toJet period u).word (Fin.init w)) |
| 130 | rw [toJet_word period u (by omega)] at h |
| 131 | rw [toJet_word period u (by omega)] |
| 132 | exact h.trans ((mul_le_mul_of_nonneg_left |
| 133 | (word_norm_le period u ⟨⟨n, by omega⟩, Fin.init w⟩) hC).trans |
| 134 | (mul_le_mul_of_nonneg_right (le_max_right _ _) (norm_nonneg u))) |
| 135 | |
| 136 | /-- The actual Sobolev smoothing construction is linear. -/ |
| 137 | def gainLinearMap (q : ℕ) |
| 138 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) : |
| 139 | SobolevSpace period q →ₗ[ℝ] SobolevSpace period (q + 1) where |
| 140 | toFun := gain period A C hD hA |
| 141 | map_add' := by |
| 142 | intro u v |
| 143 | apply value_injective period |
| 144 | change value period (gain period A C hD hA (u + v)) = |
| 145 | value period (gain period A C hD hA u) + value period (gain period A C hD hA v) |
| 146 | simp only [gain_value] |
| 147 | exact map_add A _ _ |
| 148 | map_smul' := by |
| 149 | intro r u |
| 150 | apply value_injective period |
| 151 | change value period (gain period A C hD hA (r • u)) = r • value period (gain period A C hD hA u) |
| 152 | simp only [gain_value] |
| 153 | exact map_smul A r _ |
| 154 | |
| 155 | /-- A genuine bounded map H^q to H^(q+1), obtained from actual L² smoothing derivatives. -/ |
| 156 | def gainOperator (q : ℕ) (hC : 0 ≤ C) |
| 157 | (hA : ∀ a f, A (translation period a f) = translation period a (A f)) : |
| 158 | SobolevSpace period q →L[ℝ] SobolevSpace period (q + 1) := |
| 159 | (gainLinearMap period A C hD q hA).mkContinuous (max ‖A‖ C) (gain_bound period A C hD hC hA) |
| 160 | |
| 161 | end EulerSobolevSmoothing |