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.HeatGradientEnergy |
| 2 | |
| 3 | /-! Exact L² Hessian coercivity from actual commuting strong derivatives. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerHeatGradientEnergy |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 10 | EulerSobolevLaplacian EulerSobolevHeatGenerator |
| 11 | |
| 12 | variable (period : ℝ) [Fact (0 < period)] |
| 13 | |
| 14 | /-- The actual sum of all sixteen second-coordinate L² energies. -/ |
| 15 | def hessianEnergy (u : SobolevSpace period 2) : ℝ := |
| 16 | ∑ j : Fin 4, ∑ i : Fin 4, ‖value period (derivativeOperator period 0 i |
| 17 | (derivativeOperator period 1 j u))‖^2 |
| 18 | |
| 19 | /-- One row of the genuine Hessian energy is the corresponding gradient-Laplacian pairing. -/ |
| 20 | theorem hessian_row_identity (u : SobolevSpace period 3) (j : Fin 4) : |
| 21 | (∑ i : Fin 4, ‖value period (derivativeOperator period 1 i (derivativeOperator period 2 j u))‖^2) = |
| 22 | -⟪value period (derivativeOperator period 2 j u), |
| 23 | value period (derivativeOperator period 0 j (laplacianOperator period 1 u))⟫_ℝ := by |
| 24 | have h := gradient_pairing period (derivativeOperator period 2 j u) |
| 25 | (truncateOperator period 1 (derivativeOperator period 2 j u)) |
| 26 | have he : laplacianEvaluation period 2 (by norm_num) (derivativeOperator period 2 j u) = |
| 27 | value period (derivativeOperator period 0 j (laplacianOperator period 1 u)) := by |
| 28 | rw [← laplacianOperator_value, laplacian_derivative] |
| 29 | rw [he, value_truncateOperator] at h |
| 30 | have h' := h.trans (congrArg Neg.neg (real_inner_comm (F := LiftL2 period) |
| 31 | (value period (derivativeOperator period 2 j u)) |
| 32 | (value period (derivativeOperator period 0 j (laplacianOperator period 1 u))))) |
| 33 | convert h' using 1 |
| 34 | apply Finset.sum_congr rfl |
| 35 | intro i _ |
| 36 | exact (real_inner_self_eq_norm_sq (value period (derivativeOperator period 1 i |
| 37 | (derivativeOperator period 2 j u)))).symm |
| 38 | |
| 39 | /-- The sum of the genuine gradient-Laplacian pairings is minus the Laplacian norm squared. -/ |
| 40 | theorem laplacian_gradient_pairing (u : SobolevSpace period 3) : |
| 41 | (∑ j : Fin 4, ⟪value period (derivativeOperator period 2 j u), |
| 42 | value period (derivativeOperator period 0 j (laplacianOperator period 1 u))⟫_ℝ) = |
| 43 | -‖laplacianEvaluation period 3 (by norm_num) u‖^2 := by |
| 44 | have hp := gradient_pairing period (truncateOperator period 2 u) (laplacianOperator period 1 u) |
| 45 | have he : laplacianEvaluation period 2 (by norm_num) (truncateOperator period 2 u) = |
| 46 | laplacianEvaluation period 3 (by norm_num) u := by |
| 47 | rw [laplacianEvaluation_apply, laplacianEvaluation_apply] |
| 48 | rfl |
| 49 | rw [he, laplacianOperator_value, real_inner_self_eq_norm_sq] at hp |
| 50 | exact hp |
| 51 | |
| 52 | /-- All genuine second-coordinate derivatives are controlled exactly by the Laplacian. -/ |
| 53 | theorem hessianEnergy_eq_laplacian (u : SobolevSpace period 3) : |
| 54 | hessianEnergy period (truncateOperator period 2 u) = |
| 55 | ‖laplacianEvaluation period 3 (by norm_num) u‖^2 := by |
| 56 | calc |
| 57 | _ = ∑ j : Fin 4, -⟪value period (derivativeOperator period 2 j u), |
| 58 | value period (derivativeOperator period 0 j (laplacianOperator period 1 u))⟫_ℝ := |
| 59 | Finset.sum_congr rfl (fun j _ => hessian_row_identity period u j) |
| 60 | _ = -(∑ j : Fin 4, ⟪value period (derivativeOperator period 2 j u), |
| 61 | value period (derivativeOperator period 0 j (laplacianOperator period 1 u))⟫_ℝ) := |
| 62 | Finset.sum_neg_distrib _ |
| 63 | _ = _ := by rw [laplacian_gradient_pairing, neg_neg] |
| 64 | |
| 65 | end EulerHeatGradientEnergy |