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.SobolevTransport |
| 2 | |
| 3 | /-! Exact coefficient functionals for the lifted Euler transport vector (κz,m·z). -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerSobolevTransport |
| 8 | |
| 9 | open InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport EulerVectorCylinder |
| 10 | EulerCylinderSobolev EulerTransportDerivatives |
| 11 | |
| 12 | /-- Coordinate functionals of the actual lifted transport vector, with the angle coordinate first. -/ |
| 13 | def velocityComponents (κ : ℝ) (m : Vector3) : Fin 4 → Vector3 →L[ℝ] ℝ := |
| 14 | Fin.cons (innerSL ℝ m) (fun i : Fin 3 => κ • coordinate 3 i) |
| 15 | |
| 16 | /-- The scale-normalized lifted velocity coefficients have norm at most one. -/ |
| 17 | theorem velocityComponents_norm (κ : ℝ) (m : Vector3) (hκ : |κ| ≤ 1) (hm : ‖m‖ ≤ 1) : |
| 18 | ∀ i, ‖velocityComponents κ m i‖ ≤ 1 := by |
| 19 | intro i |
| 20 | refine Fin.cases ?_ (fun j => ?_) i |
| 21 | · simpa only [velocityComponents, Fin.cons_zero, innerSL_apply_norm] using hm |
| 22 | · simp only [velocityComponents, Fin.cons_succ, norm_smul, Real.norm_eq_abs] |
| 23 | exact (mul_le_mul hκ (coordinate_norm_le 3 j) (norm_nonneg _) (by norm_num)).trans_eq (one_mul 1) |
| 24 | |
| 25 | /-- These functionals recover exactly the four-dimensional transport direction. -/ |
| 26 | theorem velocityComponents_direction (κ : ℝ) (m z : Vector3) : |
| 27 | ∑ i : Fin 4, velocityComponents κ m i z • standardDirection i = transportDirection κ m z := by |
| 28 | rw [Fin.sum_univ_succ] |
| 29 | simp only [velocityComponents, Fin.cons_zero, Fin.cons_succ, innerSL_apply_apply, |
| 30 | smul_apply, smul_eq_mul] |
| 31 | have hz : ∑ i : Fin 3, z i • EuclideanSpace.single i 1 = z := by |
| 32 | simpa only [EuclideanSpace.basisFun_repr, EuclideanSpace.basisFun_apply] using |
| 33 | (EuclideanSpace.basisFun (Fin 3) ℝ).sum_repr z |
| 34 | apply Prod.ext |
| 35 | · change (⟪m,z⟫_ℝ • standardDirection 0 + ∑ i : Fin 3, (κ * z i) • standardDirection i.succ).1 = κ • z |
| 36 | simp only [standardDirection_zero, standardDirection_succ, Prod.fst_add, Prod.fst_sum] |
| 37 | change ⟪m,z⟫_ℝ • (0 : Vector3) + (∑ i : Fin 3, (κ*z i) • EuclideanSpace.single i 1) = κ • z |
| 38 | rw [smul_zero, zero_add] |
| 39 | calc |
| 40 | (∑ i : Fin 3, (κ*z i) • EuclideanSpace.single i 1) = κ • ∑ i : Fin 3, z i • EuclideanSpace.single i 1 := by |
| 41 | rw [Finset.smul_sum] |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro i _ |
| 44 | exact mul_smul κ (z i) _ |
| 45 | _ = κ • z := by rw [hz] |
| 46 | · change (⟪m,z⟫_ℝ • standardDirection 0 + ∑ i : Fin 3, (κ * z i) • standardDirection i.succ).2 = ⟪m,z⟫_ℝ |
| 47 | rw [Prod.snd_add, Prod.snd_sum] |
| 48 | simp only [standardDirection_zero, standardDirection_succ, Prod.smul_snd, smul_eq_mul, mul_one, mul_zero, Finset.sum_const_zero, add_zero] |
| 49 | |
| 50 | end EulerSobolevTransport |