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.MeanBoundaryDifference |
| 2 | import Mathlib.Analysis.Calculus.MeanValue |
| 3 | import Mathlib.MeasureTheory.Function.LpSeminorm.Indicator |
| 4 | |
| 5 | /-! Uniform bounds for actual cutoff difference quotients from classical derivative bounds. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerMeanBoundary |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanCutoffCurl |
| 12 | open scoped ContDiff ENNReal |
| 13 | |
| 14 | /-- A support-volume bound, derived from the genuine Lp seminorm. -/ |
| 15 | theorem lpNorm_le_bound_volume {E : Type*} [NormedAddCommGroup E] |
| 16 | (f : Space → E) (hf : AEStronglyMeasurable f volume) (K : Set Space) |
| 17 | (hK : volume K ≠ (∞ : ℝ≥0∞)) (C : ℝ) (hC : 0 ≤ C) |
| 18 | (hbound : ∀ x, ‖f x‖ ≤ C) (hzero : ∀ x ∉ K, f x = 0) (p : ℝ≥0∞) : |
| 19 | lpNorm f p volume ≤ C * (volume K).toReal ^ (1 / p.toReal) := by |
| 20 | have he : eLpNorm f p volume ≤ ENNReal.ofReal C * volume K ^ (1 / p.toReal) := by |
| 21 | calc |
| 22 | _ ≤ eLpNorm (K.indicator (fun _ : Space => C)) p volume := by |
| 23 | apply eLpNorm_mono |
| 24 | intro x |
| 25 | by_cases hx : x ∈ K |
| 26 | · simpa only [Set.indicator_of_mem hx, Real.norm_eq_abs, abs_of_nonneg hC] using hbound x |
| 27 | · simp only [Set.indicator_of_notMem hx, hzero x hx, norm_zero, le_refl] |
| 28 | _ ≤ _ := by |
| 29 | simpa only [← ofReal_norm, Real.norm_eq_abs, abs_of_nonneg hC] using |
| 30 | (eLpNorm_indicator_const_le (μ := (volume : Measure Space)) (s := K) C p) |
| 31 | have hfinite : ENNReal.ofReal C * volume K ^ (1 / p.toReal) ≠ (∞ : ℝ≥0∞) := by |
| 32 | exact ENNReal.mul_ne_top ENNReal.ofReal_ne_top |
| 33 | (ENNReal.rpow_ne_top_of_nonneg (by positivity) hK) |
| 34 | have H := ENNReal.toReal_mono hfinite he |
| 35 | simpa only [toReal_eLpNorm hf, ENNReal.toReal_mul, ENNReal.toReal_ofReal hC, |
| 36 | ENNReal.toReal_rpow] using H |
| 37 | |
| 38 | theorem differenceQuotient_fderiv (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 39 | fderiv ℝ (χ.differenceQuotient a h).field x = |
| 40 | h⁻¹ • (fderiv ℝ χ.field (x+h•a) - fderiv ℝ χ.field x) := by |
| 41 | change fderiv ℝ (h⁻¹ • ((χ.translate (h•a)).field - χ.field)) x = _ |
| 42 | rw [fderiv_const_smul (f := (χ.translate (h•a)).field - χ.field) |
| 43 | (((χ.translate (h•a)).smooth.sub χ.smooth).differentiable (by simp) x) h⁻¹, |
| 44 | fderiv_sub (f := (χ.translate (h•a)).field) (g := χ.field) |
| 45 | ((χ.translate (h•a)).smooth.differentiable (by simp) x) |
| 46 | (χ.smooth.differentiable (by simp) x)] |
| 47 | change h⁻¹ • (fderiv ℝ (fun y => χ.field (y+h•a)) x - fderiv ℝ χ.field x) = _ |
| 48 | rw [fderiv_comp_add_right] |
| 49 | |
| 50 | theorem differenceQuotient_support (χ : Cutoff) (R : ℝ) |
| 51 | (hsupport : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) |
| 52 | (a : Space) (h : ℝ) (hstep : ‖h • a‖ ≤ 1) : |
| 53 | tsupport (χ.differenceQuotient a h).field ⊆ Metric.closedBall (0 : Space) (R+1) := by |
| 54 | apply closure_minimal _ Metric.isClosed_closedBall |
| 55 | intro x hx |
| 56 | by_contra hn |
| 57 | have hxlarge : R+1 < ‖x‖ := by |
| 58 | simpa only [Metric.mem_closedBall, dist_zero_right, not_le] using hn |
| 59 | have hxout : x ∉ tsupport χ.field := by |
| 60 | intro ht |
| 61 | have ht' := hsupport ht |
| 62 | simp only [Metric.mem_closedBall, dist_zero_right] at ht' |
| 63 | linarith |
| 64 | have hyout : x+h•a ∉ tsupport χ.field := by |
| 65 | intro ht |
| 66 | have ht' := hsupport ht |
| 67 | simp only [Metric.mem_closedBall, dist_zero_right] at ht' |
| 68 | have htriangle := norm_sub_le (x+h•a) (h•a) |
| 69 | rw [add_sub_cancel_right] at htriangle |
| 70 | linarith |
| 71 | have hzero : (χ.differenceQuotient a h).field x = 0 := by |
| 72 | rw [Cutoff.differenceQuotient_field, image_eq_zero_of_notMem_tsupport hxout, |
| 73 | image_eq_zero_of_notMem_tsupport hyout, sub_self, mul_zero] |
| 74 | exact hx hzero |
| 75 | |
| 76 | def cutoffDifferenceConstant (R M₁ M₂ : ℝ) : ℝ := |
| 77 | 3 * cutoffCurlConstant * |
| 78 | (M₁ + M₂ * (volume (Metric.closedBall (0 : Space) (R+1))).toReal ^ (1/3 : ℝ)) |
| 79 | |
| 80 | end EulerMeanBoundary |