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.MeanWeakCurl |
| 2 | import Euler.CanonicalGraphPotential |
| 3 | import Euler.MeanCoefficientMultipliers |
| 4 | import Mathlib.LinearAlgebra.BilinearForm.Properties |
| 5 | |
| 6 | /-! A canonically normalized actual scalar potential for ordinary mean pressure gradients. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerMeanPressure |
| 11 | |
| 12 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal |
| 13 | EulerCanonicalGraphPotential EulerMeanCoefficients |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | theorem symmetry_of_coordinates (L : Space →L[ℝ] Space) |
| 17 | (hL : ∀ i j, (L (EuclideanSpace.single i 1)) j = (L (EuclideanSpace.single j 1)) i) |
| 18 | (a b : Space) : ⟪L a, b⟫_ℝ = ⟪L b, a⟫_ℝ := by |
| 19 | let B : LinearMap.BilinForm ℝ Space := (innerₗ Space).comp L.toLinearMap |
| 20 | have hB : LinearMap.BilinForm.IsSymm B := |
| 21 | (LinearMap.BilinForm.isSymm_iff_basis (EuclideanSpace.basisFun (Fin 3) ℝ).toBasis).2 (fun i j => by |
| 22 | change ⟪L ((EuclideanSpace.basisFun (Fin 3) ℝ).toBasis i), |
| 23 | (EuclideanSpace.basisFun (Fin 3) ℝ).toBasis j⟫_ℝ = |
| 24 | ⟪L ((EuclideanSpace.basisFun (Fin 3) ℝ).toBasis j), |
| 25 | (EuclideanSpace.basisFun (Fin 3) ℝ).toBasis i⟫_ℝ |
| 26 | simpa only [OrthonormalBasis.coe_toBasis, EuclideanSpace.basisFun_apply, |
| 27 | EuclideanSpace.inner_single_right, RCLike.conj_to_real, one_mul] using hL i j) |
| 28 | exact hB.eq a b |
| 29 | |
| 30 | /-- Smooth representatives of the actual closed gradient space have a genuine scalar potential. -/ |
| 31 | theorem gradientSpace_has_potential (p : L2) (hp : p ∈ gradientSpace) |
| 32 | (g : Space → Space) (hrep : p =ᵐ[volume] g) (hg : ContDiff ℝ ∞ g) : |
| 33 | ∃ q : Space → ℝ, ContDiff ℝ ∞ q ∧ ∀ x, gradient q x = g x := by |
| 34 | apply EulerGraphPullback.smooth_gradient_potential g hg |
| 35 | intro x a b |
| 36 | exact symmetry_of_coordinates (fderiv ℝ g x) |
| 37 | (gradientSpace_classical_curl_zero p hp g hrep hg x) a b |
| 38 | |
| 39 | /-- The concrete radial integral gives a fixed additive normalization, not just an existential pressure. -/ |
| 40 | theorem gradientSpace_radial_potential (p : L2) (hp : p ∈ gradientSpace) |
| 41 | (g : Space → Space) (hrep : p =ᵐ[volume] g) (hg : ContDiff ℝ ∞ g) : |
| 42 | ContDiff ℝ ∞ (radialPotential g) ∧ radialPotential g 0 = 0 ∧ |
| 43 | ∀ x, gradient (radialPotential g) x = g x := by |
| 44 | obtain ⟨q, hq, hgrad⟩ := gradientSpace_has_potential p hp g hrep hg |
| 45 | exact ⟨radialPotential_smooth g hg.continuous q hq hgrad, |
| 46 | radialPotential_zero g, radialPotential_gradient g hg.continuous q hq hgrad⟩ |
| 47 | |
| 48 | /-- An F-adjoint pressure residual is the actual pullback of a scalar gradient. -/ |
| 49 | theorem weighted_pressure_has_potential (F FT : Field) (hFT : ∀ x, FT x = (F x).adjoint) |
| 50 | (r : L2) (hr : (multiplier F).adjoint r ∈ gradientSpace) |
| 51 | (g : Space → Space) (hrep : r =ᵐ[volume] g) |
| 52 | (hg : ContDiff ℝ ∞ (fun x => (F x).adjoint (g x))) : |
| 53 | ContDiff ℝ ∞ (radialPotential (fun x => (F x).adjoint (g x))) ∧ |
| 54 | radialPotential (fun x => (F x).adjoint (g x)) 0 = 0 ∧ |
| 55 | ∀ x, gradient (radialPotential (fun x => (F x).adjoint (g x))) x = |
| 56 | (F x).adjoint (g x) := by |
| 57 | apply gradientSpace_radial_potential ((multiplier F).adjoint r) hr |
| 58 | (fun x => (F x).adjoint (g x)) ?_ hg |
| 59 | rw [← multiplier_adjoint F FT hFT] |
| 60 | filter_upwards [multiplier_ae FT r, hrep] with x hx hrx |
| 61 | rw [hx, hrx, hFT] |
| 62 | |
| 63 | end EulerMeanPressure |