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.MeanWeakHarmonicScaling |
| 2 | |
| 3 | /-! The source localization estimate for the constructed nonlocal boundary operator. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanHarmonic |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanBoundary |
| 10 | EulerMeanCurlTensor |
| 11 | |
| 12 | def boundaryLocalizationC1 : ℝ := 36 * (2 + 4 * weakHarmonicSmallBallConstant) |
| 13 | def boundaryLocalizationC2 : ℝ := 4 * weakHarmonicSmallBallConstant |
| 14 | |
| 15 | theorem boundaryLocalizationC1_nonneg : 0 ≤ boundaryLocalizationC1 := by |
| 16 | unfold boundaryLocalizationC1 |
| 17 | have hc := weakHarmonicSmallBallConstant_nonneg |
| 18 | positivity |
| 19 | |
| 20 | theorem boundaryLocalizationC2_nonneg : 0 ≤ boundaryLocalizationC2 := by |
| 21 | unfold boundaryLocalizationC2 |
| 22 | exact mul_nonneg (by norm_num) weakHarmonicSmallBallConstant_nonneg |
| 23 | |
| 24 | theorem norm_sub_sq_le_twice_L2 (z w : L2) : |
| 25 | ‖z-w‖^2 ≤ 2*‖z‖^2 + 2*‖w‖^2 := by |
| 26 | have h := norm_sub_le z w |
| 27 | have hz := norm_nonneg z |
| 28 | have hw := norm_nonneg w |
| 29 | have hzw := norm_nonneg (z-w) |
| 30 | nlinarith [sq_nonneg (‖z‖-‖w‖)] |
| 31 | |
| 32 | /-- The literal local mass estimate (8), with fixed dimensional constants. -/ |
| 33 | theorem boundary_localization (χ : Cutoff) (R : ℝ) (hR : 0 < R) (z : L2) |
| 34 | (hz : z ∈ solenoidalSpace) |
| 35 | (hχ : ∀ x ∈ Metric.ball (0 : Space) R, χ.field x = 1) |
| 36 | (r : ℝ) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) : |
| 37 | localL2Energy (Metric.ball (0 : Space) (R*r)) z ≤ |
| 38 | boundaryLocalizationC1 * ‖weakPotential χ z‖^2 + |
| 39 | boundaryLocalizationC2 * r^3 * ‖z‖^2 := by |
| 40 | let w := harmonicPart χ z |
| 41 | have hh : WeakHarmonicOn (Metric.ball (0 : Space) R) (z-w) := |
| 42 | weakHarmonicOn_sub_harmonicPart χ _ z hz hχ |
| 43 | have hloc := weakHarmonic_scaled_smallBall_energy (z-w) R hR hh r hr hrquarter |
| 44 | have hw : ‖w‖^2 ≤ 36 * ‖weakPotential χ z‖^2 := by |
| 45 | have H := pow_le_pow_left₀ (norm_nonneg w) (harmonicPart_norm_le χ z) 2 |
| 46 | simpa only [mul_pow, show (6:ℝ)^2 = 36 by norm_num] using H |
| 47 | have hc := weakHarmonicSmallBallConstant_nonneg |
| 48 | have hr3 : 0 ≤ r^3 := pow_nonneg hr _ |
| 49 | have hr31 : r^3 ≤ 1 := by |
| 50 | have H := pow_le_pow_left₀ hr (show r ≤ (1:ℝ) by linarith) 3 |
| 51 | simpa only [one_pow] using H |
| 52 | have hsplit := norm_sub_sq_le_twice_L2 z w |
| 53 | calc |
| 54 | _ ≤ 2 * localL2Energy (Metric.ball (0 : Space) (R*r)) (z-w) + 2 * ‖w‖^2 := |
| 55 | localL2Energy_le_of_decomposition _ z w |
| 56 | _ ≤ 2 * (weakHarmonicSmallBallConstant * r^3 * ‖z-w‖^2) + 2 * ‖w‖^2 := by |
| 57 | linarith |
| 58 | _ ≤ 2 * (weakHarmonicSmallBallConstant * r^3 * (2*‖z‖^2+2*‖w‖^2)) + |
| 59 | 2 * ‖w‖^2 := by |
| 60 | have H := mul_le_mul_of_nonneg_left hsplit (mul_nonneg hc hr3) |
| 61 | linarith only [H] |
| 62 | _ = 4 * weakHarmonicSmallBallConstant * r^3 * ‖z‖^2 + |
| 63 | (2 + 4 * weakHarmonicSmallBallConstant * r^3) * ‖w‖^2 := by ring |
| 64 | _ ≤ 4 * weakHarmonicSmallBallConstant * r^3 * ‖z‖^2 + |
| 65 | (2 + 4 * weakHarmonicSmallBallConstant) * ‖w‖^2 := by |
| 66 | have hfactor : 2 + 4 * weakHarmonicSmallBallConstant * r^3 ≤ |
| 67 | 2 + 4 * weakHarmonicSmallBallConstant := by |
| 68 | have H := mul_le_mul_of_nonneg_left hr31 |
| 69 | (show 0 ≤ 4 * weakHarmonicSmallBallConstant by positivity) |
| 70 | linarith only [H] |
| 71 | have H := mul_le_mul_of_nonneg_right hfactor (sq_nonneg ‖w‖) |
| 72 | linarith only [H] |
| 73 | _ ≤ 4 * weakHarmonicSmallBallConstant * r^3 * ‖z‖^2 + |
| 74 | (2 + 4 * weakHarmonicSmallBallConstant) * (36 * ‖weakPotential χ z‖^2) := by |
| 75 | have H := mul_le_mul_of_nonneg_left hw |
| 76 | (show 0 ≤ 2 + 4 * weakHarmonicSmallBallConstant by positivity) |
| 77 | linarith only [H] |
| 78 | _ = _ := by unfold boundaryLocalizationC1 boundaryLocalizationC2; ring |
| 79 | |
| 80 | /-- The same estimate directly in terms of the actual boundary quadratic form. -/ |
| 81 | theorem boundary_localization_form (χ : Cutoff) (R : ℝ) (hR : 0 < R) (z : L2) |
| 82 | (hz : z ∈ solenoidalSpace) |
| 83 | (hχ : ∀ x ∈ Metric.ball (0 : Space) R, χ.field x = 1) |
| 84 | (r : ℝ) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) : |
| 85 | localL2Energy (Metric.ball (0 : Space) (R*r)) z ≤ |
| 86 | boundaryLocalizationC1 * ⟪boundaryOperator χ z, z⟫_ℝ + |
| 87 | boundaryLocalizationC2 * r^3 * ‖z‖^2 := by |
| 88 | rw [boundaryOperator_energy] |
| 89 | exact boundary_localization χ R hR z hz hχ r hr hrquarter |
| 90 | |
| 91 | end EulerMeanHarmonic |