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.MeanHarmonicH2 |
| 2 | |
| 3 | /-! |
| 4 | # A proved interior bound for ordinary three-dimensional harmonic functions |
| 5 | |
| 6 | The constant is built from fixed smooth cutoffs and the already proved Fourier |
| 7 | Sobolev inequality. It is independent of the harmonic function. The argument |
| 8 | uses two actual Caccioppoli estimates; no harmonic mean-value theorem or |
| 9 | interior regularity estimate is assumed. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerMeanHarmonic |
| 15 | |
| 16 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit EulerVectorCalculus EulerSobolev |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | theorem localized_second_norm_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 20 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
| 21 | (i : Fin 3) : |
| 22 | lpNorm (partialDerivative (partialDerivative (innerCutoff * h) i) i) 2 volume ≤ |
| 23 | Real.sqrt interiorSecondEnergyConstant * lpNorm h 2 volume := by |
| 24 | apply (sq_le_sq₀ lpNorm_nonneg (mul_nonneg (Real.sqrt_nonneg _) lpNorm_nonneg)).1 |
| 25 | rw [mul_pow, Real.sq_sqrt interiorSecondEnergyConstant_nonneg] |
| 26 | exact localized_second_energy_le h hh hLp hharmonic i |
| 27 | |
| 28 | theorem localized_norm_le (h : Space → ℝ) (hLp : MemLp h 2 volume) : |
| 29 | lpNorm (innerCutoff * h) 2 volume ≤ lpNorm h 2 volume := by |
| 30 | have H : lpNorm (innerCutoff * h) 2 volume ≤ lpNorm (fun x => ‖h x‖) 2 volume := by |
| 31 | apply lpNorm_mono_real hLp.norm |
| 32 | intro x |
| 33 | calc |
| 34 | ‖(innerCutoff * h) x‖ = |innerCutoff x| * ‖h x‖ := by |
| 35 | simp only [Pi.mul_apply, norm_mul, Real.norm_eq_abs] |
| 36 | _ ≤ 1 * ‖h x‖ := mul_le_mul_of_nonneg_right (abs_inner_le_one x) (norm_nonneg _) |
| 37 | _ = ‖h x‖ := one_mul _ |
| 38 | simpa only [lpNorm_norm hLp.aestronglyMeasurable] using H |
| 39 | |
| 40 | def harmonicInteriorConstant : ℝ := |
| 41 | embeddingConstant 3 2 (by norm_num) * |
| 42 | (1 + (2 * Real.pi) ^ (-2 : ℤ) * (3 * Real.sqrt interiorSecondEnergyConstant)) |
| 43 | |
| 44 | theorem harmonicInteriorConstant_nonneg : 0 ≤ harmonicInteriorConstant := by |
| 45 | unfold harmonicInteriorConstant embeddingConstant |
| 46 | positivity |
| 47 | |
| 48 | /-- A genuine L²-to-pointwise interior estimate on the unit ball in R³. -/ |
| 49 | theorem harmonic_pointwise_halfBall (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 50 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
| 51 | (x : Space) (hx : x ∈ Metric.closedBall 0 (1/2 : ℝ)) : |
| 52 | |h x| ≤ harmonicInteriorConstant * lpNorm h 2 volume := by |
| 53 | have hc : HasCompactSupport (innerCutoff * h) := inner_compact.mul_right (f' := h) |
| 54 | have H := scalar_pointwise_le_H2 (innerCutoff * h) (inner_smooth.mul hh) hc x |
| 55 | have hval : (innerCutoff * h) x = h x := by |
| 56 | rw [Pi.mul_apply, inner_one_on_halfBall hx, one_mul] |
| 57 | rw [hval] at H |
| 58 | have hsum : (∑ i : Fin 3, |
| 59 | lpNorm (partialDerivative (partialDerivative (innerCutoff * h) i) i) 2 volume) ≤ |
| 60 | 3 * (Real.sqrt interiorSecondEnergyConstant * lpNorm h 2 volume) := by |
| 61 | have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => |
| 62 | localized_second_norm_le h hh hLp hharmonic i) |
| 63 | simpa only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul, |
| 64 | Nat.cast_ofNat] using hsum |
| 65 | calc |
| 66 | _ ≤ embeddingConstant 3 2 (by norm_num) * |
| 67 | (lpNorm (innerCutoff * h) 2 volume + (2 * Real.pi) ^ (-2 : ℤ) * |
| 68 | ∑ i : Fin 3, lpNorm (partialDerivative (partialDerivative (innerCutoff * h) i) i) 2 volume) := H |
| 69 | _ ≤ embeddingConstant 3 2 (by norm_num) * |
| 70 | (lpNorm h 2 volume + (2 * Real.pi) ^ (-2 : ℤ) * |
| 71 | (3 * (Real.sqrt interiorSecondEnergyConstant * lpNorm h 2 volume))) := by |
| 72 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 73 | exact add_le_add (localized_norm_le h hLp) |
| 74 | (mul_le_mul_of_nonneg_left hsum (by positivity)) |
| 75 | _ = _ := by unfold harmonicInteriorConstant; ring |
| 76 | |
| 77 | end EulerMeanHarmonic |