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.MeanHarmonicDerivatives |
| 2 | import Euler.MeanScalarSobolev |
| 3 | |
| 4 | /-! Quantitative cutoff energy estimates used in the three-dimensional interior bound. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMeanHarmonic |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit EulerVectorCalculus |
| 11 | EulerMeanSolenoidal |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | theorem integrable_weighted_square (η h : Space → ℝ) (hcη : HasCompactSupport η) |
| 15 | (hη : Continuous η) (hh : Continuous h) : Integrable (fun x => η x ^ 2 * h x ^ 2) := by |
| 16 | have hc : HasCompactSupport (fun x => η x ^ 2 * h x ^ 2) := |
| 17 | (hcη.comp_left (g := fun s : ℝ => s ^ 2) (by simp)).mul_right |
| 18 | (f' := fun x => h x ^ 2) |
| 19 | exact ((hη.pow 2).mul (hh.pow 2)).integrable_of_hasCompactSupport hc |
| 20 | |
| 21 | theorem integrable_weighted_gradient_square (η h : Space → ℝ) |
| 22 | (hcη : HasCompactSupport η) (hη : Continuous η) (hh : ContDiff ℝ ∞ h) : |
| 23 | Integrable (fun x => η x ^ 2 * ‖gradient h x‖ ^ 2) := by |
| 24 | have hc : HasCompactSupport (fun x => η x ^ 2 * ‖gradient h x‖ ^ 2) := |
| 25 | (hcη.comp_left (g := fun s : ℝ => s ^ 2) (by simp)).mul_right |
| 26 | (f' := fun x => ‖gradient h x‖ ^ 2) |
| 27 | exact ((hη.pow 2).mul ((contDiff_gradient hh).continuous.norm.pow 2)).integrable_of_hasCompactSupport hc |
| 28 | |
| 29 | theorem integrable_square_gradient_cutoff (η h : Space → ℝ) |
| 30 | (hcη : HasCompactSupport η) (hη : ContDiff ℝ ∞ η) (hh : Continuous h) : |
| 31 | Integrable (fun x => h x ^ 2 * ‖gradient η x‖ ^ 2) := by |
| 32 | have hc : HasCompactSupport (fun x => h x ^ 2 * ‖gradient η x‖ ^ 2) := |
| 33 | ((compactSupport_gradient hcη).comp_left (g := fun v : Space => ‖v‖ ^ 2) (by simp)).mul_left |
| 34 | (f := fun x => h x ^ 2) |
| 35 | exact ((hh.pow 2).mul ((contDiff_gradient hη).continuous.norm.pow 2)).integrable_of_hasCompactSupport hc |
| 36 | |
| 37 | theorem gradient_eq_zero_off_support (η : Space → ℝ) {x : Space} |
| 38 | (hx : x ∉ tsupport η) : gradient η x = 0 := by |
| 39 | simp only [gradient, fderiv_of_notMem_tsupport ℝ hx, map_zero] |
| 40 | |
| 41 | theorem cutoff_gradient_majorant (η ρ : Space → ℝ) (C : ℝ) |
| 42 | (hC : ∀ x, ‖gradient η x‖ ≤ C) (hρ : ∀ x ∈ tsupport η, ρ x = 1) (x : Space) : |
| 43 | ‖gradient η x‖ ^ 2 ≤ C ^ 2 * ρ x ^ 2 := by |
| 44 | by_cases hx : x ∈ tsupport η |
| 45 | · rw [hρ x hx, one_pow, mul_one] |
| 46 | exact pow_le_pow_left₀ (norm_nonneg _) (hC x) 2 |
| 47 | · rw [gradient_eq_zero_off_support η hx, norm_zero, zero_pow (by norm_num)] |
| 48 | positivity |
| 49 | |
| 50 | theorem cutoff_square_majorant (η ρ : Space → ℝ) |
| 51 | (hη : ∀ x, |η x| ≤ 1) (hρ : ∀ x ∈ tsupport η, ρ x = 1) (x : Space) : |
| 52 | η x ^ 2 ≤ ρ x ^ 2 := by |
| 53 | by_cases hx : x ∈ tsupport η |
| 54 | · rw [hρ x hx] |
| 55 | nlinarith [sq_abs (η x), hη x, abs_nonneg (η x)] |
| 56 | · rw [image_eq_zero_of_notMem_tsupport hx, zero_pow (by norm_num)] |
| 57 | positivity |
| 58 | |
| 59 | theorem partialDerivative_sq_le_gradient_sq (h : Space → ℝ) (i : Fin 3) (x : Space) : |
| 60 | partialDerivative h i x ^ 2 ≤ ‖gradient h x‖ ^ 2 := by |
| 61 | rw [← gradient_coordinate] |
| 62 | have hb := PiLp.norm_apply_le (gradient h x) i |
| 63 | have hs := pow_le_pow_left₀ (norm_nonneg _) hb 2 |
| 64 | simpa only [Real.norm_eq_abs, sq_abs] using hs |
| 65 | |
| 66 | /-- A cutoff derivative estimate transports Caccioppoli to a larger weight. -/ |
| 67 | theorem caccioppoli_weighted_bound (η ρ h : Space → ℝ) (C : ℝ) |
| 68 | (hcη : HasCompactSupport η) (hη : ContDiff ℝ ∞ η) (hh : ContDiff ℝ ∞ h) |
| 69 | (hharmonic : ∀ x ∈ tsupport η, Δ h x = 0) |
| 70 | (hi : Integrable (fun x => ρ x ^ 2 * h x ^ 2)) |
| 71 | (hbound : ∀ x, ‖gradient η x‖ ^ 2 ≤ C ^ 2 * ρ x ^ 2) : |
| 72 | (∫ x, η x ^ 2 * ‖gradient h x‖ ^ 2) ≤ |
| 73 | 4 * C ^ 2 * ∫ x, ρ x ^ 2 * h x ^ 2 := by |
| 74 | have hmono : (∫ x, h x ^ 2 * ‖gradient η x‖ ^ 2) ≤ |
| 75 | C ^ 2 * ∫ x, ρ x ^ 2 * h x ^ 2 := by |
| 76 | rw [← integral_const_mul] |
| 77 | apply integral_mono (integrable_square_gradient_cutoff η h hcη hη hh.continuous) |
| 78 | (hi.const_mul (C ^ 2)) |
| 79 | intro x |
| 80 | nlinarith [mul_le_mul_of_nonneg_left (hbound x) (sq_nonneg (h x))] |
| 81 | have hc := caccioppoli_bound η h hcη hη hh hharmonic |
| 82 | nlinarith |
| 83 | |
| 84 | end EulerMeanHarmonic |