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.MeanInteriorCutoffs |
| 2 | |
| 3 | /-! Two local energy steps for smooth harmonic functions on the unit ball. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanHarmonic |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit EulerVectorCalculus |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | def outerDerivativeBound : ℝ := derivativeBound outerCutoff outer_compact outer_smooth 1 |
| 13 | def middleDerivativeBound : ℝ := derivativeBound middleCutoff middle_compact middle_smooth 1 |
| 14 | def innerDerivativeBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 1 |
| 15 | def innerSecondBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 2 |
| 16 | |
| 17 | theorem outer_bound_nonneg : 0 ≤ outerDerivativeBound := |
| 18 | le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) |
| 19 | theorem middle_bound_nonneg : 0 ≤ middleDerivativeBound := |
| 20 | le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) |
| 21 | theorem inner_bound_nonneg : 0 ≤ innerDerivativeBound := |
| 22 | le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) |
| 23 | theorem inner_second_nonneg : 0 ≤ innerSecondBound := |
| 24 | le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) |
| 25 | |
| 26 | theorem outer_gradient_energy_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 27 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) : |
| 28 | (∫ x, outerCutoff x ^ 2 * ‖gradient h x‖ ^ 2) ≤ |
| 29 | 4 * outerDerivativeBound ^ 2 * (lpNorm h 2 volume) ^ 2 := by |
| 30 | have hi : Integrable (fun x => (1 : ℝ) ^ 2 * h x ^ 2) := by |
| 31 | simpa only [one_pow, one_mul] using (memLp_two_iff_integrable_sq hLp.aestronglyMeasurable).1 hLp |
| 32 | have hb (x : Space) : ‖gradient outerCutoff x‖ ^ 2 ≤ |
| 33 | outerDerivativeBound ^ 2 * (1 : ℝ) ^ 2 := by |
| 34 | simpa only [one_pow, mul_one, outerDerivativeBound] using pow_le_pow_left₀ (norm_nonneg _) |
| 35 | (norm_gradient_le_derivativeBound outerCutoff outer_compact outer_smooth x) 2 |
| 36 | have H := caccioppoli_weighted_bound outerCutoff (fun _ => 1) h outerDerivativeBound |
| 37 | outer_compact outer_smooth hh |
| 38 | (fun x hx => hharmonic x (outer_support_unitBall hx)) hi hb |
| 39 | simpa only [one_pow, one_mul, ← lpNorm_sq_eq_integral_sq h hLp] using H |
| 40 | |
| 41 | theorem outer_partial_energy_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 42 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
| 43 | (i : Fin 3) : |
| 44 | (∫ x, outerCutoff x ^ 2 * partialDerivative h i x ^ 2) ≤ |
| 45 | 4 * outerDerivativeBound ^ 2 * (lpNorm h 2 volume) ^ 2 := by |
| 46 | have hcomp : (∫ x, outerCutoff x ^ 2 * partialDerivative h i x ^ 2) ≤ |
| 47 | ∫ x, outerCutoff x ^ 2 * ‖gradient h x‖ ^ 2 := |
| 48 | integral_mono |
| 49 | (integrable_weighted_square _ _ outer_compact outer_smooth.continuous |
| 50 | (contDiff_partialDerivative h hh i).continuous) |
| 51 | (integrable_weighted_gradient_square _ _ outer_compact outer_smooth.continuous hh) |
| 52 | (fun x => mul_le_mul_of_nonneg_left (partialDerivative_sq_le_gradient_sq h i x) |
| 53 | (sq_nonneg (outerCutoff x))) |
| 54 | exact hcomp.trans (outer_gradient_energy_le h hh hLp hharmonic) |
| 55 | |
| 56 | theorem middle_second_energy_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 57 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
| 58 | (i : Fin 3) : |
| 59 | (∫ x, middleCutoff x ^ 2 * ‖gradient (partialDerivative h i) x‖ ^ 2) ≤ |
| 60 | 16 * middleDerivativeBound ^ 2 * outerDerivativeBound ^ 2 * (lpNorm h 2 volume) ^ 2 := by |
| 61 | have hhi := contDiff_partialDerivative h hh i |
| 62 | have H := caccioppoli_weighted_bound middleCutoff outerCutoff (partialDerivative h i) |
| 63 | middleDerivativeBound middle_compact middle_smooth hhi |
| 64 | (fun x hx => partialDerivative_harmonic_on h hh _ Metric.isOpen_ball hharmonic i x |
| 65 | (middle_support_unitBall hx)) |
| 66 | (integrable_weighted_square _ _ outer_compact outer_smooth.continuous hhi.continuous) |
| 67 | (cutoff_gradient_majorant middleCutoff outerCutoff middleDerivativeBound |
| 68 | (norm_gradient_le_derivativeBound _ middle_compact middle_smooth) |
| 69 | (fun _ hx => outer_one_on_middle_support hx)) |
| 70 | calc |
| 71 | _ ≤ 4 * middleDerivativeBound ^ 2 * |
| 72 | (∫ x, outerCutoff x ^ 2 * partialDerivative h i x ^ 2) := H |
| 73 | _ ≤ 4 * middleDerivativeBound ^ 2 * |
| 74 | (4 * outerDerivativeBound ^ 2 * (lpNorm h 2 volume) ^ 2) := |
| 75 | mul_le_mul_of_nonneg_left (outer_partial_energy_le h hh hLp hharmonic i) (by positivity) |
| 76 | _ = _ := by ring |
| 77 | |
| 78 | end EulerMeanHarmonic |