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.MeanPressurePotential |
| 2 | import Euler.MeanSmoothRepresentative |
| 3 | |
| 4 | /-! Classical divergence and pressure identities for the reconstructed mean fields. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMeanClassical |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerVectorCalculus EulerMeanSolenoidal |
| 11 | EulerMeanSmoothRepresentative EulerMeanPressure EulerCanonicalGraphPotential |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | theorem solenoidal_representative_divergence (u : L2) (hu : u ∈ solenoidalSpace) |
| 15 | (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : u =ᵐ[volume] f) : |
| 16 | ∀ x, divergence f x = 0 := by |
| 17 | have he : divergence f = coordinateTrace ∘ fderiv ℝ f := by |
| 18 | funext x |
| 19 | exact (coordinateTrace_eq_linearTrace (fderiv ℝ f x)).symm |
| 20 | have hc : Continuous (divergence f) := by |
| 21 | rw [he] |
| 22 | exact coordinateTrace.continuous.comp (hf.fderiv_right (m := ∞) (by simp)).continuous |
| 23 | have hz : divergence f =ᵐ[volume] 0 := |
| 24 | ae_eq_zero_of_integral_contDiff_smul_eq_zero hc.locallyIntegrable (fun φ hφ hcφ => by |
| 25 | have hw := weak_divergence_test hu φ hcφ hφ |
| 26 | have hi := gradient_test_integration_by_parts f hf φ hcφ hφ |
| 27 | have heq : (∫ x, ⟪gradient φ x, u x⟫_ℝ) = ∫ x, ⟪gradient φ x, f x⟫_ℝ := by |
| 28 | apply integral_congr_ae |
| 29 | filter_upwards [hrep] with x hx |
| 30 | rw [hx] |
| 31 | change (∫ x, φ x * divergence f x) = 0 |
| 32 | rw [heq, hi] at hw |
| 33 | exact neg_eq_zero.mp hw) |
| 34 | intro x |
| 35 | exact congrFun (Measure.eq_of_ae_eq hz hc continuous_const) x |
| 36 | |
| 37 | /-- The actual smooth representative inherits the weak solenoidal constraint pointwise. -/ |
| 38 | theorem representative_divergence (u : L2) (hu : u ∈ solenoidalSpace) (hs : SmoothOrbit u) : |
| 39 | ∀ x, divergence (representative u hs) x = 0 := |
| 40 | solenoidal_representative_divergence u hu (representative u hs) |
| 41 | (representative_smooth u hs) (representative_ae u hs) |
| 42 | |
| 43 | /-- A smooth translation orbit in the genuine gradient space has a normalized classical pressure. -/ |
| 44 | theorem representative_pressure (p : L2) (hp : p ∈ gradientSpace) (hs : SmoothOrbit p) : |
| 45 | ContDiff ℝ ∞ (radialPotential (representative p hs)) ∧ |
| 46 | radialPotential (representative p hs) 0 = 0 ∧ |
| 47 | ∀ x, gradient (radialPotential (representative p hs)) x = representative p hs x := |
| 48 | gradientSpace_radial_potential p hp (representative p hs) |
| 49 | (representative_ae p hs) (representative_smooth p hs) |
| 50 | |
| 51 | end EulerMeanClassical |