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.MeanScalarMollification |
| 2 | import Euler.MeanHarmonicScaling |
| 3 | |
| 4 | /-! A fixed shrinking compact mollifier and distributional scalar harmonicity. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMeanHarmonic |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit EulerNoncompactTransport |
| 11 | open scoped ContDiff Convolution Topology |
| 12 | |
| 13 | /-- Harmonicity tested against genuine smooth compactly supported scalar functions. -/ |
| 14 | def ScalarWeakHarmonicOn (U : Set Space) (f : Space → ℝ) : Prop := |
| 15 | ∀ φ : Space → ℝ, HasCompactSupport φ → ContDiff ℝ ∞ φ → tsupport φ ⊆ U → |
| 16 | (∫ x, f x * Δ φ x) = 0 |
| 17 | |
| 18 | def interiorMollifier (n : ℕ) : ContDiffBump (0 : Space) where |
| 19 | rIn := (1/16 : ℝ) * cutoffScale n |
| 20 | rOut := (1/8 : ℝ) * cutoffScale n |
| 21 | rIn_pos := mul_pos (by norm_num) (cutoffScale_pos n) |
| 22 | rIn_lt_rOut := by |
| 23 | have hc := cutoffScale_pos n |
| 24 | nlinarith |
| 25 | |
| 26 | theorem interiorMollifier_rOut_le (n : ℕ) : (interiorMollifier n).rOut ≤ 1/4 := by |
| 27 | change (1/8 : ℝ) * cutoffScale n ≤ 1/4 |
| 28 | have hc := cutoffScale_le_one n |
| 29 | linarith |
| 30 | |
| 31 | theorem interiorMollifier_rOut_tendsto : |
| 32 | Filter.Tendsto (fun n => (interiorMollifier n).rOut) Filter.atTop (𝓝 (0 : ℝ)) := by |
| 33 | simpa only [interiorMollifier, mul_zero] using cutoffScale_tendsto.const_mul (1/8 : ℝ) |
| 34 | |
| 35 | theorem interiorMollifier_shape (n : ℕ) : |
| 36 | (interiorMollifier n).rOut ≤ 2 * (interiorMollifier n).rIn := by |
| 37 | change (1/8 : ℝ) * cutoffScale n ≤ 2 * ((1/16 : ℝ) * cutoffScale n) |
| 38 | ring_nf |
| 39 | exact le_rfl |
| 40 | |
| 41 | /-- The classical smooth convolutions recover every scalar L² function almost everywhere. -/ |
| 42 | theorem scalarMollification_ae_tendsto (f : Space → ℝ) (hf : MemLp f 2 volume) : |
| 43 | ∀ᵐ x ∂volume, Filter.Tendsto (fun n => scalarMollification (interiorMollifier n) f x) |
| 44 | Filter.atTop (𝓝 (f x)) := |
| 45 | ContDiffBump.ae_convolution_tendsto_right_of_locallyIntegrable |
| 46 | interiorMollifier_rOut_tendsto (Filter.Eventually.of_forall interiorMollifier_shape) |
| 47 | (hf.locallyIntegrable (by norm_num)) |
| 48 | |
| 49 | /-- A uniform squared pointwise bound passes from these genuine mollifiers to f. -/ |
| 50 | theorem ae_bound_of_scalarMollification_bound (f : Space → ℝ) (hf : MemLp f 2 volume) |
| 51 | (U : Set Space) (C : ℝ) |
| 52 | (hbound : ∀ n x, x ∈ U → scalarMollification (interiorMollifier n) f x ^ 2 ≤ C) : |
| 53 | ∀ᵐ x ∂volume, x ∈ U → f x ^ 2 ≤ C := by |
| 54 | filter_upwards [scalarMollification_ae_tendsto f hf] with x hx |
| 55 | intro hxU |
| 56 | exact le_of_tendsto (hx.pow 2) (Filter.Eventually.of_forall fun n => hbound n x hxU) |
| 57 | |
| 58 | end EulerMeanHarmonic |