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.MeanHarmonicDecomposition |
| 2 | import Euler.MeanMollificationHarmonic |
| 3 | import Euler.MeanHarmonicComponents |
| 4 | import Euler.MeanLocalL2Energy |
| 5 | |
| 6 | /-! The proved harmonic interior bound for the actual weak L² solution. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerMeanHarmonic |
| 11 | |
| 12 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal |
| 13 | |
| 14 | /-- A scalar distributionally harmonic L² field has a uniform a.e. interior bound. -/ |
| 15 | theorem weakScalarHarmonic_pointwise (f : Space → ℝ) (hf : MemLp f 2 volume) |
| 16 | (hh : ScalarWeakHarmonicOn (Metric.ball (0 : Space) 1) f) : |
| 17 | ∀ᵐ x ∂volume, x ∈ Metric.closedBall (0 : Space) (1/4 : ℝ) → |
| 18 | f x ^ 2 ≤ harmonicQuarterBallConstant * lpNorm f 2 volume ^ 2 := by |
| 19 | apply ae_bound_of_scalarMollification_bound f hf |
| 20 | intro n x hx |
| 21 | calc |
| 22 | _ ≤ harmonicQuarterBallConstant * |
| 23 | lpNorm (scalarMollification (interiorMollifier n) f) 2 volume ^ 2 := |
| 24 | harmonic_pointwise_quarterBall_sq _ |
| 25 | (scalarMollification_smooth (interiorMollifier n) f hf) |
| 26 | (scalarMollification_memLp (interiorMollifier n) f hf) |
| 27 | (interiorMollifier_harmonic f hf hh n) x hx |
| 28 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 29 | (scalarMollification_energy_le (interiorMollifier n) f hf) |
| 30 | harmonicQuarterBallConstant_nonneg |
| 31 | |
| 32 | /-- The same bound for an actual vector L² field, without assuming a smooth representative. -/ |
| 33 | theorem weakHarmonic_pointwise (u : L2) (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) : |
| 34 | ∀ᵐ x ∂volume, x ∈ Metric.closedBall (0 : Space) (1/4 : ℝ) → |
| 35 | ‖u x‖ ^ 2 ≤ harmonicQuarterBallConstant * ‖u‖ ^ 2 := by |
| 36 | have H := ae_vector_bound_of_component_bounds (u : Space → Space) (Lp.memLp u) |
| 37 | (Metric.closedBall (0 : Space) (1/4 : ℝ)) harmonicQuarterBallConstant |
| 38 | (fun i => weakScalarHarmonic_pointwise (fun x => u x i) |
| 39 | (scalar_component_memLp u (Lp.memLp u) i) |
| 40 | (scalarWeakHarmonicOn_of_vector_tests _ u hu i)) |
| 41 | simpa only [lpNorm_coe_L2] using H |
| 42 | |
| 43 | def weakHarmonicSmallBallConstant : ℝ := (Real.pi * 4 / 3) * harmonicQuarterBallConstant |
| 44 | |
| 45 | theorem weakHarmonicSmallBallConstant_nonneg : 0 ≤ weakHarmonicSmallBallConstant := by |
| 46 | unfold weakHarmonicSmallBallConstant |
| 47 | exact mul_nonneg (by positivity) harmonicQuarterBallConstant_nonneg |
| 48 | |
| 49 | /-- Source localization for weakly harmonic fields: the radius enters with the genuine power 3. -/ |
| 50 | theorem weakHarmonic_smallBall_energy (u : L2) |
| 51 | (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) |
| 52 | (r : ℝ) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) : |
| 53 | localL2Energy (Metric.ball (0 : Space) r) u ≤ |
| 54 | weakHarmonicSmallBallConstant * r^3 * ‖u‖^2 := by |
| 55 | have hb : ∀ᵐ x ∂volume, x ∈ Metric.ball (0 : Space) r → |
| 56 | ‖u x‖^2 ≤ harmonicQuarterBallConstant * ‖u‖^2 := by |
| 57 | filter_upwards [weakHarmonic_pointwise u hu] with x hx |
| 58 | intro hxball |
| 59 | exact hx ((Metric.ball_subset_closedBall.trans |
| 60 | (Metric.closedBall_subset_closedBall hrquarter)) hxball) |
| 61 | have H := localL2Energy_ball_le_of_ae_bound u |
| 62 | (harmonicQuarterBallConstant * ‖u‖^2) r hr hb |
| 63 | unfold weakHarmonicSmallBallConstant |
| 64 | convert H using 1 |
| 65 | ring |
| 66 | |
| 67 | end EulerMeanHarmonic |