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.EulerProof |
| 2 | import Mathlib.Geometry.Euclidean.Angle.Unoriented.CrossProduct |
| 3 | |
| 4 | /-! The ordinary Euclidean cross product as an actual bounded linear operator. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCrossProduct |
| 9 | |
| 10 | open EulerSmoothLimit InnerProductSpace Matrix WithLp |
| 11 | |
| 12 | def cross (a b : Space) : Space := toLp 2 (crossProduct (ofLp a) (ofLp b)) |
| 13 | |
| 14 | theorem cross_norm_le (a b : Space) : ‖cross a b‖ ≤ ‖a‖*‖b‖ := by |
| 15 | rw [cross, InnerProductGeometry.norm_ofLp_crossProduct] |
| 16 | exact mul_le_of_le_one_right (mul_nonneg (norm_nonneg _) (norm_nonneg _)) |
| 17 | (Real.sin_le_one _) |
| 18 | |
| 19 | def crossLinear (a : Space) : Space →ₗ[ℝ] Space where |
| 20 | toFun := cross a |
| 21 | map_add' b c := by simp [cross, map_add] |
| 22 | map_smul' c b := by simp [cross, map_smul] |
| 23 | |
| 24 | def crossLeft (a : Space) : Space →L[ℝ] Space := |
| 25 | (crossLinear a).mkContinuous ‖a‖ (cross_norm_le a) |
| 26 | |
| 27 | theorem crossLeft_apply (a b : Space) : crossLeft a b=cross a b := rfl |
| 28 | |
| 29 | theorem crossLeft_norm_le (a : Space) : ‖crossLeft a‖ ≤ ‖a‖ := |
| 30 | ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) (cross_norm_le a) |
| 31 | |
| 32 | theorem dot_eq_inner (a b : Space) : ofLp a ⬝ᵥ ofLp b=⟪a,b⟫_ℝ := by |
| 33 | simp only [EuclideanSpace.inner_eq_star_dotProduct, star_trivial] |
| 34 | exact dotProduct_comm _ _ |
| 35 | |
| 36 | theorem cross_cross (m a : Space) : |
| 37 | cross m (cross m a)=⟪m,a⟫_ℝ • m-‖m‖^2 • a := by |
| 38 | simp only [cross, ofLp_toLp, cross_cross_eq_smul_sub_smul', toLp_sub, toLp_smul, |
| 39 | toLp_ofLp, dot_eq_inner, real_inner_self_eq_norm_sq] |
| 40 | |
| 41 | theorem cross_negative_normalized (m a : Space) (hm : m ≠ 0) |
| 42 | (ha : ⟪m,a⟫_ℝ=0) : cross m (-((‖m‖^2)⁻¹) • cross m a)=a := by |
| 43 | change crossLeft m (-((‖m‖^2)⁻¹) • cross m a)=a |
| 44 | rw [map_smul, crossLeft_apply, cross_cross, ha, zero_smul, zero_sub, smul_neg, |
| 45 | smul_smul] |
| 46 | have hnorm : ‖m‖^2 ≠ 0 := pow_ne_zero 2 (norm_ne_zero_iff.mpr hm) |
| 47 | simp only [neg_mul, inv_mul_cancel₀ hnorm, neg_smul, one_smul, neg_neg] |
| 48 | |
| 49 | /-- Its normalization is exactly the linear map used inside the angular primitive for Q. -/ |
| 50 | def potentialMultiplier (m : Space) : Space →L[ℝ] Space := |
| 51 | (-((‖m‖^2)⁻¹)) • crossLeft m |
| 52 | |
| 53 | theorem potentialMultiplier_apply (m a : Space) : |
| 54 | potentialMultiplier m a=(-((‖m‖^2)⁻¹)) • cross m a := rfl |
| 55 | |
| 56 | theorem cross_potentialMultiplier (m a : Space) (hm : m ≠ 0) |
| 57 | (ha : ⟪m,a⟫_ℝ=0) : cross m (potentialMultiplier m a)=a := |
| 58 | cross_negative_normalized m a hm ha |
| 59 | |
| 60 | end EulerPacketCrossProduct |