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.MeanScaledCutoff |
| 2 | |
| 3 | /-! Actual initial support in physical-label coordinates for the mean boundary operator. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanBoundary |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal |
| 10 | |
| 11 | theorem scaledBoundary_zero_outside (ℓ : ℝ) (hℓ : 0 < ℓ) (z : L2) : |
| 12 | ∀ᵐ x ∂volume, 2 < ‖ℓ • x‖ → boundaryOperator (scaledCutoff ℓ hℓ) z x = 0 := by |
| 13 | have H := (ae_restrict_iff' (isClosed_tsupport (scaledCutoff ℓ hℓ).field).measurableSet.compl).1 |
| 14 | (boundaryOperator_zero_off_support (scaledCutoff ℓ hℓ) z) |
| 15 | filter_upwards [H] with x hx |
| 16 | intro hnorm |
| 17 | apply hx |
| 18 | intro hm |
| 19 | exact (not_le_of_gt hnorm) (scaledCutoff_support ℓ hℓ hm) |
| 20 | |
| 21 | theorem scaledBoundary_multiple_zero_outside (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) (z : L2) : |
| 22 | ∀ᵐ x ∂volume, 2 < ‖ℓ • x‖ → (L • boundaryOperator (scaledCutoff ℓ hℓ) z : L2) x = 0 := by |
| 23 | filter_upwards [scaledBoundary_zero_outside ℓ hℓ z, |
| 24 | Lp.coeFn_smul L (boundaryOperator (scaledCutoff ℓ hℓ) z)] with x hx hs |
| 25 | intro hnorm |
| 26 | rw [hs] |
| 27 | change L • boundaryOperator (scaledCutoff ℓ hℓ) z x = 0 |
| 28 | rw [hx hnorm, smul_zero] |
| 29 | |
| 30 | /-- Any continuous representative of the actual initial boundary velocity has this support. -/ |
| 31 | theorem scaledBoundary_continuous_support (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) (z : L2) |
| 32 | (b : Space → Space) (hb : Continuous b) |
| 33 | (hrep : b =ᵐ[volume] (L • boundaryOperator (scaledCutoff ℓ hℓ) z : L2)) : |
| 34 | tsupport b ⊆ {x : Space | ‖ℓ • x‖ ≤ 2} := by |
| 35 | have hU : IsOpen {x : Space | 2 < ‖ℓ • x‖} := |
| 36 | isOpen_lt continuous_const (continuous_const_smul ℓ).norm |
| 37 | have hae : b =ᵐ[volume.restrict {x : Space | 2 < ‖ℓ • x‖}] 0 := by |
| 38 | apply (ae_restrict_iff' hU.measurableSet).2 |
| 39 | filter_upwards [hrep, scaledBoundary_multiple_zero_outside ℓ hℓ L z] with x hx hz |
| 40 | intro hnorm |
| 41 | exact hx.trans (hz hnorm) |
| 42 | have hzero := MeasureTheory.Measure.eqOn_open_of_ae_eq hae hU hb.continuousOn |
| 43 | continuous_const.continuousOn |
| 44 | apply closure_minimal _ (isClosed_le (continuous_const_smul ℓ).norm continuous_const) |
| 45 | intro x hx |
| 46 | by_contra h |
| 47 | have hnorm : 2 < ‖ℓ • x‖ := lt_of_not_ge h |
| 48 | exact hx (hzero hnorm) |
| 49 | |
| 50 | theorem scaledBoundary_continuous_compact (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) (z : L2) |
| 51 | (b : Space → Space) (hb : Continuous b) |
| 52 | (hrep : b =ᵐ[volume] (L • boundaryOperator (scaledCutoff ℓ hℓ) z : L2)) : |
| 53 | HasCompactSupport b := by |
| 54 | apply (isCompact_closedBall (0 : Space) (2/ℓ)).of_isClosed_subset (isClosed_tsupport b) |
| 55 | intro x hx |
| 56 | have hs := scaledBoundary_continuous_support ℓ hℓ L z b hb hrep hx |
| 57 | change ‖ℓ • x‖ ≤ 2 at hs |
| 58 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos hℓ] at hs |
| 59 | simp only [Metric.mem_closedBall, dist_zero_right] |
| 60 | exact (le_div_iff₀ hℓ).2 (by simpa only [mul_comm] using hs) |
| 61 | |
| 62 | end EulerMeanBoundary |