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.HeatHessianEnergy |
| 2 | |
| 3 | /-! A genuine H² bound by H¹ and the cylinder Laplacian, used in strong maximal-regularity limits. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerSobolevEllipticBound |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeatGenerator EulerHeatGradientEnergy |
| 10 | |
| 11 | variable (period : ℝ) [Fact (0 < period)] |
| 12 | |
| 13 | /-- Every actual second derivative word is bounded by the full genuine Hessian energy. -/ |
| 14 | theorem second_word_sq_le_hessian (u : SobolevSpace period 2) (w : Fin 2 → Fin 4) : |
| 15 | ‖word period u (le_refl 2) w‖^2 ≤ hessianEnergy period u := by |
| 16 | have hw : Fin.snoc (Fin.snoc (Fin.elim0 : Fin 0 → Fin 4) (w 0)) (w 1) = w := by |
| 17 | funext i |
| 18 | fin_cases i <;> rfl |
| 19 | have he : word period u (le_refl 2) w = |
| 20 | value period (derivativeOperator period 0 (w 0) (derivativeOperator period 1 (w 1) u)) := by |
| 21 | change u.val ⟨⟨2, _⟩, w⟩ = u.val ⟨⟨2, _⟩, Fin.snoc (Fin.snoc Fin.elim0 (w 0)) (w 1)⟩ |
| 22 | rw [hw] |
| 23 | rw [he] |
| 24 | exact (Finset.single_le_sum (fun i _ => sq_nonneg |
| 25 | ‖value period (derivativeOperator period 0 i (derivativeOperator period 1 (w 1) u))‖) |
| 26 | (Finset.mem_univ (w 0))).trans |
| 27 | (Finset.single_le_sum (fun j _ => Finset.sum_nonneg (fun i _ => sq_nonneg |
| 28 | ‖value period (derivativeOperator period 0 i (derivativeOperator period 1 j u))‖)) |
| 29 | (Finset.mem_univ (w 1))) |
| 30 | |
| 31 | /-- The complete H² norm is controlled by its H¹ restriction and the actual Hessian energy. -/ |
| 32 | theorem H2_norm_sq_le (u : SobolevSpace period 2) : |
| 33 | ‖u‖^2 ≤ ‖truncateOperator period 1 u‖^2 + hessianEnergy period u := by |
| 34 | have hh : 0 ≤ hessianEnergy period u := Finset.sum_nonneg (fun j _ => |
| 35 | Finset.sum_nonneg (fun i _ => sq_nonneg _)) |
| 36 | have hB : 0 ≤ ‖truncateOperator period 1 u‖^2 + hessianEnergy period u := |
| 37 | add_nonneg (sq_nonneg _) hh |
| 38 | apply (Real.le_sqrt (norm_nonneg u) hB).mp |
| 39 | change ‖u.val‖ ≤ _ |
| 40 | apply (pi_norm_le_iff_of_nonneg (Real.sqrt_nonneg _)).mpr |
| 41 | rintro ⟨⟨n, hn⟩, w⟩ |
| 42 | apply Real.le_sqrt_of_sq_le |
| 43 | by_cases hlow : n ≤ 1 |
| 44 | · have hnorm : ‖u.val ⟨⟨n, hn⟩, w⟩‖ ≤ ‖truncateOperator period 1 u‖ := |
| 45 | word_norm_le period (truncateOperator period 1 u) ⟨⟨n, Nat.lt_succ_of_le hlow⟩, w⟩ |
| 46 | nlinarith [norm_nonneg (u.val ⟨⟨n, hn⟩, w⟩), norm_nonneg (truncateOperator period 1 u)] |
| 47 | · have hn2 : n = 2 := by omega |
| 48 | subst n |
| 49 | exact (second_word_sq_le_hessian period u w).trans (le_add_of_nonneg_left (sq_nonneg _)) |
| 50 | |
| 51 | /-- The actual finite Sobolev elliptic estimate has no Fourier or inverse-operator assumption. -/ |
| 52 | theorem H2_norm_sq_le_laplacian (u : SobolevSpace period 3) : |
| 53 | ‖truncateOperator period 2 u‖^2 ≤ ‖restrictOperator period (by norm_num : 1 ≤ 3) u‖^2 + |
| 54 | ‖laplacianEvaluation period 3 (by norm_num) u‖^2 := by |
| 55 | have h := H2_norm_sq_le period (truncateOperator period 2 u) |
| 56 | rw [hessianEnergy_eq_laplacian] at h |
| 57 | exact h |
| 58 | |
| 59 | end EulerSobolevEllipticBound |