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.MeanBoundaryLocalization |
| 2 | import Euler.MeanLocalizedQuadraticBound |
| 3 | import Euler.MeanScaledCutoff |
| 4 | |
| 5 | /-! The concrete boundary lower bound used in the mean time-variational solve. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerMeanHarmonic |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanBoundary |
| 12 | EulerLiftedPressure |
| 13 | open scoped NNReal |
| 14 | |
| 15 | /-- The actual localized boundary operator compensates for the core's negative gradient. -/ |
| 16 | theorem mean_boundary_lower_bound (χ : Cutoff) (R : ℝ) (hR : 0 < R) |
| 17 | (hχ : ∀ x ∈ Metric.ball (0 : Space) R, χ.field x = 1) |
| 18 | (M : Space → Space →L[ℝ] Space) (hM : AEStronglyMeasurable M volume) |
| 19 | (C : ℝ≥0) (hC : ∀ x, ‖M x‖ ≤ C) |
| 20 | (Be Bc L r : ℝ) (hBe : 0 ≤ Be) (hBc : 0 ≤ Bc) |
| 21 | (hL : boundaryLocalizationC1 * Bc ≤ L) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) |
| 22 | (hext : ∀ x, x ∉ Metric.ball (0 : Space) (R*r) → |
| 23 | ∀ v : Space, -Be * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 24 | (hcore : ∀ x, x ∈ Metric.ball (0 : Space) (R*r) → |
| 25 | ∀ v : Space, -Bc * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 26 | (z : L2) (hz : z ∈ solenoidalSpace) : |
| 27 | -(Be + boundaryLocalizationC2 * Bc * r^3) * ‖z‖^2 ≤ |
| 28 | ⟪coefficientOperator M hM C hC z, z⟫_ℝ + L * ⟪boundaryOperator χ z, z⟫_ℝ := by |
| 29 | have hcoeff := localized_coefficient_lower M hM C hC |
| 30 | (Metric.ball (0 : Space) (R*r)) Metric.isOpen_ball.measurableSet Be Bc hBe hext hcore z |
| 31 | have hloc := mul_le_mul_of_nonneg_left |
| 32 | (boundary_localization_form χ R hR z hz hχ r hr hrquarter) hBc |
| 33 | have hcomp := mul_le_mul_of_nonneg_right hL (boundaryOperator_positive χ z) |
| 34 | nlinarith only [hcoeff, hloc, hcomp] |
| 35 | |
| 36 | /-- The exact cutoff and physical-label core from source (7)–(8). -/ |
| 37 | theorem scaled_mean_boundary_lower_bound (ℓ : ℝ) (hℓ : 0 < ℓ) |
| 38 | (M : Space → Space →L[ℝ] Space) (hM : AEStronglyMeasurable M volume) |
| 39 | (C : ℝ≥0) (hC : ∀ x, ‖M x‖ ≤ C) |
| 40 | (Be Bc L r : ℝ) (hBe : 0 ≤ Be) (hBc : 0 ≤ Bc) |
| 41 | (hL : boundaryLocalizationC1 * Bc ≤ L) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) |
| 42 | (hext : ∀ x, r ≤ ‖ℓ • x‖ → ∀ v : Space, -Be * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 43 | (hcore : ∀ x, ‖ℓ • x‖ < r → ∀ v : Space, -Bc * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 44 | (z : L2) (hz : z ∈ solenoidalSpace) : |
| 45 | -(Be + boundaryLocalizationC2 * Bc * r^3) * ‖z‖^2 ≤ |
| 46 | ⟪coefficientOperator M hM C hC z, z⟫_ℝ + |
| 47 | L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) z, z⟫_ℝ := by |
| 48 | apply mean_boundary_lower_bound (scaledCutoff ℓ hℓ) ℓ⁻¹ (inv_pos.mpr hℓ) |
| 49 | (scaledCutoff_one_on_ball ℓ hℓ) M hM C hC Be Bc L r hBe hBc hL hr hrquarter |
| 50 | ?_ ?_ z hz |
| 51 | · intro x hx |
| 52 | apply hext x |
| 53 | rw [← physical_ball_eq ℓ r hℓ] at hx |
| 54 | exact le_of_not_gt hx |
| 55 | · intro x hx |
| 56 | apply hcore x |
| 57 | rw [← physical_ball_eq ℓ r hℓ] at hx |
| 58 | exact hx |
| 59 | |
| 60 | end EulerMeanHarmonic |