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.SobolevSmoothing |
| 2 | import Euler.GaussianHeatTotal |
| 3 | |
| 4 | /-! The actual Gaussian cylinder heat semigroup on the complete Sobolev scale. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevHeat |
| 9 | |
| 10 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevSmoothing EulerGaussianCylinderHeat |
| 11 | open scoped Topology NNReal |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- The genuine cylinder heat semigroup lifted to the complete Sobolev space. -/ |
| 16 | def heatOperator (q : ℕ) (v : ℝ≥0) : SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 17 | liftOperator period q (cylinderHeat period v) (cylinderHeat_translation period v) |
| 18 | |
| 19 | /-- Every Sobolev derivative coordinate evolves by the actual L² heat semigroup. -/ |
| 20 | @[simp] |
| 21 | theorem heatOperator_apply {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period q) (w : SobolevWord q) : |
| 22 | (heatOperator period q v u).val w = cylinderHeat period v (u.val w) := rfl |
| 23 | |
| 24 | /-- The heat semigroup is contractive in every complete Sobolev norm. -/ |
| 25 | theorem heatOperator_bound {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period q) : |
| 26 | ‖heatOperator period q v u‖ ≤ ‖u‖ := by |
| 27 | change ‖(heatOperator period q v u).val‖ ≤ _ |
| 28 | apply (pi_norm_le_iff_of_nonneg (norm_nonneg u)).mpr |
| 29 | intro w |
| 30 | exact (cylinderHeat_norm_le period v _).trans (word_norm_le period u w) |
| 31 | |
| 32 | /-- The underlying L² field evolves by exactly the original heat operator. -/ |
| 33 | @[simp] |
| 34 | theorem heatOperator_value {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period q) : |
| 35 | value period (heatOperator period q v u) = cylinderHeat period v (value period u) := rfl |
| 36 | |
| 37 | /-- Zero variance is the identity on the complete Sobolev space. -/ |
| 38 | @[simp] |
| 39 | theorem heatOperator_zero {q : ℕ} (u : SobolevSpace period q) : heatOperator period q 0 u = u := by |
| 40 | apply value_injective period |
| 41 | simp only [heatOperator_value, cylinderHeat_zero] |
| 42 | |
| 43 | /-- The actual Sobolev heat operators obey the semigroup law. -/ |
| 44 | theorem heatOperator_semigroup {q : ℕ} (v w : ℝ≥0) (u : SobolevSpace period q) : |
| 45 | heatOperator period q v (heatOperator period q w u) = heatOperator period q (v + w) u := by |
| 46 | apply value_injective period |
| 47 | simp only [heatOperator_value, cylinderHeat_semigroup] |
| 48 | |
| 49 | /-- Strong heat continuity holds in every complete Sobolev norm, including at zero variance. -/ |
| 50 | theorem heatOperator_continuous {q : ℕ} (u : SobolevSpace period q) : |
| 51 | Continuous (fun v : ℝ≥0 => heatOperator period q v u) := by |
| 52 | apply Continuous.subtype_mk |
| 53 | apply continuous_pi |
| 54 | intro w |
| 55 | exact cylinderHeat_continuous period (u.val w) |
| 56 | |
| 57 | /-- The explicit parabolic derivative constant of the Gaussian heat operator. -/ |
| 58 | def heatDerivativeConstant (v : ℝ≥0) : ℝ := gaussianAbsMoment 1 / Real.sqrt (v : ℝ) |
| 59 | |
| 60 | /-- The Gaussian derivative constant is nonnegative. -/ |
| 61 | theorem heatDerivativeConstant_nonneg (v : ℝ≥0) : 0 ≤ heatDerivativeConstant v := |
| 62 | div_nonneg (gaussianAbsMoment_nonneg 1) (Real.sqrt_nonneg _) |
| 63 | |
| 64 | /-- Positive-time heat smoothing is a genuine bounded map between successive Sobolev levels. -/ |
| 65 | def heatGain (q : ℕ) (v : ℝ≥0) (hv : 0 < v) : |
| 66 | SobolevSpace period q →L[ℝ] SobolevSpace period (q + 1) := |
| 67 | gainOperator period (cylinderHeat period v) (heatDerivativeConstant v) |
| 68 | (fun i f => cylinderHeat_one_derivative period hv f i) q |
| 69 | (heatDerivativeConstant_nonneg v) (cylinderHeat_translation period v) |
| 70 | |
| 71 | /-- The derivative-gaining map has exactly the actual L² heat output. -/ |
| 72 | @[simp] |
| 73 | theorem heatGain_value {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 74 | value period (heatGain period q v hv u) = cylinderHeat period v (value period u) := |
| 75 | gain_value period _ _ _ _ u |
| 76 | |
| 77 | /-- Actual Gaussian smoothing gains one Sobolev derivative, uniformly in the Sobolev order. -/ |
| 78 | theorem heatGain_bound {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 79 | ‖heatGain period q v hv u‖ ≤ max 1 (heatDerivativeConstant v) * ‖u‖ := by |
| 80 | have h := gain_bound period (cylinderHeat period v) (heatDerivativeConstant v) |
| 81 | (fun i f => cylinderHeat_one_derivative period hv f i) (heatDerivativeConstant_nonneg v) |
| 82 | (cylinderHeat_translation period v) u |
| 83 | have hA : ‖cylinderHeat period v‖ ≤ 1 := |
| 84 | ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun f => by simpa using cylinderHeat_norm_le period v f) |
| 85 | exact h.trans (mul_le_mul_of_nonneg_right (max_le_max hA le_rfl) (norm_nonneg u)) |
| 86 | |
| 87 | /-- Truncating the gained derivative gives the ordinary Sobolev heat action. -/ |
| 88 | theorem truncate_heatGain {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 89 | truncateOperator period q (heatGain period q v hv u) = heatOperator period q v u := by |
| 90 | apply value_injective period |
| 91 | simp only [value_truncateOperator, heatGain_value, heatOperator_value] |
| 92 | |
| 93 | /-- A fixed positive amount of smoothing may be separated from any remaining heat evolution. -/ |
| 94 | theorem heatGain_semigroup {q : ℕ} (v w : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : |
| 95 | heatGain period q v hv (heatOperator period q w u) = |
| 96 | heatGain period q (v + w) (add_pos_of_pos_of_nonneg hv (show 0 ≤ w from bot_le)) u := by |
| 97 | apply value_injective period |
| 98 | simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] |
| 99 | |
| 100 | /-- The gained-derivative heat orbit is strongly continuous at every positive variance. -/ |
| 101 | theorem heatGain_continuous {q : ℕ} (u : SobolevSpace period q) : |
| 102 | Continuous (fun v : {v : ℝ≥0 // 0 < v} => heatGain period q v.val v.property u) := by |
| 103 | apply continuous_iff_continuousAt.mpr |
| 104 | intro v |
| 105 | let ε : ℝ≥0 := v.val / 2 |
| 106 | have hε : 0 < ε := div_pos v.property (by norm_num) |
| 107 | have hεv : ε < v.val := by dsimp [ε]; exact half_lt_self v.property |
| 108 | have hc : Continuous (fun w : {v : ℝ≥0 // 0 < v} => |
| 109 | heatGain period q ε hε (heatOperator period q (w.val - ε) u)) := |
| 110 | (heatGain period q ε hε).continuous.comp |
| 111 | ((heatOperator_continuous period u).comp (continuous_subtype_val.sub continuous_const)) |
| 112 | apply hc.continuousAt.congr_of_eventuallyEq |
| 113 | have he : ∀ᶠ w : {v : ℝ≥0 // 0 < v} in 𝓝 v, ε < w.val := |
| 114 | (continuous_subtype_val.tendsto v).eventually (Ioi_mem_nhds hεv) |
| 115 | filter_upwards [he] with w hw |
| 116 | apply value_injective period |
| 117 | simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] |
| 118 | rw [add_tsub_cancel_of_le hw.le] |
| 119 | |
| 120 | end EulerSobolevHeat |