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.OrdinaryHelmholtzField |
| 2 | |
| 3 | /-! |
| 4 | # Pairing the projected Euler right-hand side |
| 5 | |
| 6 | A solenoidal `L²` test field removes the Helmholtz projection from the |
| 7 | Euler right-hand side. For a smooth divergence-free test field, this gives |
| 8 | the ordinary spatial integral against advection. Compactly supported smooth |
| 9 | tests automatically satisfy the required `L²` assumption. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerLpTranslation |
| 15 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerOrdinarySobolev |
| 16 | EulerVectorCalculus |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | namespace EulerCompactProjectedPairing |
| 20 | |
| 21 | /-- The Helmholtz projection can be removed in a solenoidal pairing. -/ |
| 22 | theorem inner_solenoidalProjection (φ b : L2) (hφ : φ ∈ solenoidalSpace) : |
| 23 | ⟪φ, solenoidalProjection b⟫_ℝ = ⟪φ, b⟫_ℝ := by |
| 24 | have hz := pressure_pairing_zero (sub_solenoidalProjection_mem_gradient b) hφ |
| 25 | rw [real_inner_comm, inner_sub_right] at hz |
| 26 | exact (sub_eq_zero.mp hz).symm |
| 27 | |
| 28 | /-- A solenoidal test sees precisely negative advection in the projected |
| 29 | Euler right-hand side. -/ |
| 30 | theorem inner_projectedRhs (φ : L2) (hφ : φ ∈ solenoidalSpace) |
| 31 | (A : SmoothL2Field Space) : |
| 32 | ⟪φ, (projectedRhs A).toLp⟫_ℝ = -⟪φ, (advectionField A A).toLp⟫_ℝ := by |
| 33 | rw [projectedRhs_toLp, inner_neg_right, inner_solenoidalProjection _ _ hφ] |
| 34 | |
| 35 | /-- Integral form of the projected pairing for an arbitrary solenoidal |
| 36 | `L²` representative. -/ |
| 37 | theorem inner_projectedRhs_eq_integral (φ : Space → Space) |
| 38 | (hLp : MemLp φ 2 (volume : Measure Space)) |
| 39 | (hφ : hLp.toLp φ ∈ solenoidalSpace) (A : SmoothL2Field Space) : |
| 40 | ⟪hLp.toLp φ, (projectedRhs A).toLp⟫_ℝ = |
| 41 | -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := by |
| 42 | rw [inner_projectedRhs _ hφ, MeasureTheory.L2.inner_def] |
| 43 | congr 1 |
| 44 | apply integral_congr_ae |
| 45 | filter_upwards [hLp.coeFn_toLp, (advectionField A A).toLp_ae] with x hφx hAx |
| 46 | rw [hφx, hAx, advectionField_field] |
| 47 | |
| 48 | /-- Smooth divergence-free `L²` tests remove the pressure projection. -/ |
| 49 | theorem smooth_inner_projectedRhs_eq_integral (φ : Space → Space) |
| 50 | (hs : ContDiff ℝ ∞ φ) (hLp : MemLp φ 2 (volume : Measure Space)) |
| 51 | (hdiv : ∀ x, divergence φ x = 0) (A : SmoothL2Field Space) : |
| 52 | ⟪hLp.toLp φ, (projectedRhs A).toLp⟫_ℝ = |
| 53 | -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := |
| 54 | inner_projectedRhs_eq_integral φ hLp (smooth_mem_solenoidal φ hs hLp hdiv) A |
| 55 | |
| 56 | /-- In particular, every compactly supported smooth divergence-free test |
| 57 | has the projected Euler pairing required by the Comparator bridge. -/ |
| 58 | theorem compact_inner_projectedRhs_eq_integral (φ : Space → Space) |
| 59 | (hs : ContDiff ℝ ∞ φ) (hc : HasCompactSupport φ) |
| 60 | (hdiv : ∀ x, divergence φ x = 0) (A : SmoothL2Field Space) : |
| 61 | ⟪(hs.continuous.memLp_of_hasCompactSupport hc).toLp φ, |
| 62 | (projectedRhs A).toLp⟫_ℝ = |
| 63 | -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := |
| 64 | smooth_inner_projectedRhs_eq_integral φ hs |
| 65 | (hs.continuous.memLp_of_hasCompactSupport hc) hdiv A |
| 66 | |
| 67 | end EulerCompactProjectedPairing |