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.MeanMollifierLimit |
| 2 | |
| 3 | /-! Actual dilation identities for L² fields and weak harmonic scalar functions. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanHarmonic |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | theorem memLp_dilation {V : Type*} [NormedAddCommGroup V] |
| 13 | (f : Space → V) (hf : MemLp f 2 volume) (a : ℝ) (ha : a ≠ 0) : |
| 14 | MemLp (fun x => f (a • x)) 2 volume := by |
| 15 | have hm : AEStronglyMeasurable (fun x => f (a • x)) volume := |
| 16 | hf.aestronglyMeasurable.comp_quasiMeasurePreserving |
| 17 | (Measure.quasiMeasurePreserving_smul volume ha) |
| 18 | apply (memLp_two_iff_integrable_sq_norm hm).2 |
| 19 | exact ((memLp_two_iff_integrable_sq_norm hf.aestronglyMeasurable).1 hf).comp_smul ha |
| 20 | |
| 21 | theorem lpNorm_dilation_sq {V : Type*} [NormedAddCommGroup V] |
| 22 | [InnerProductSpace ℝ V] [CompleteSpace V] |
| 23 | (f : Space → V) (hf : MemLp f 2 volume) (a : ℝ) (ha : 0 < a) : |
| 24 | lpNorm (fun x => f (a • x)) 2 volume ^ 2 = (a^3)⁻¹ * lpNorm f 2 volume ^ 2 := by |
| 25 | rw [lpNorm_sq_eq_integral_norm_sq _ (memLp_dilation f hf a ha.ne'), |
| 26 | lpNorm_sq_eq_integral_norm_sq f hf] |
| 27 | rw [Measure.integral_comp_smul_of_nonneg volume (fun x => ‖f x‖^2) a (hR := ha.le)] |
| 28 | simp [Space, smul_eq_mul] |
| 29 | |
| 30 | /-- The distributional harmonic test identity is preserved by spatial dilation. -/ |
| 31 | theorem scalarWeakHarmonicOn_dilation (f : Space → ℝ) (R : ℝ) (hR : 0 < R) |
| 32 | (hf : ScalarWeakHarmonicOn (Metric.ball (0 : Space) R) f) : |
| 33 | ScalarWeakHarmonicOn (Metric.ball (0 : Space) 1) (fun x => f (R • x)) := by |
| 34 | intro φ hc hs ht |
| 35 | let ψ : Space → ℝ := fun y => φ (R⁻¹ • y) |
| 36 | have hcψ : HasCompactSupport ψ := hc.comp_smul (inv_ne_zero hR.ne') |
| 37 | have hsψ : ContDiff ℝ ∞ ψ := hs.comp (contDiff_id.const_smul R⁻¹) |
| 38 | have htψ : tsupport ψ ⊆ Metric.ball (0 : Space) R := by |
| 39 | intro x hx |
| 40 | have hx' : R⁻¹ • x ∈ tsupport φ := |
| 41 | tsupport_comp_subset_preimage φ (continuous_const_smul R⁻¹) hx |
| 42 | have hn : ‖R⁻¹ • x‖ < 1 := by |
| 43 | simpa only [Metric.mem_ball, dist_zero_right] using ht hx' |
| 44 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hR)] at hn |
| 45 | simp only [Metric.mem_ball, dist_zero_right] |
| 46 | calc |
| 47 | ‖x‖ = R * (R⁻¹ * ‖x‖) := by field_simp |
| 48 | _ < R * 1 := mul_lt_mul_of_pos_left hn hR |
| 49 | _ = R := mul_one _ |
| 50 | have H := hf ψ hcψ hsψ htψ |
| 51 | have hΔ (x : Space) : Δ ψ x = R⁻¹ ^ 2 * Δ φ (R⁻¹ • x) := |
| 52 | laplacian_comp_const_smul φ hs R⁻¹ x |
| 53 | simp_rw [hΔ] at H |
| 54 | have H' : (R⁻¹)^2 * (∫ x, f x * Δ φ (R⁻¹ • x)) = 0 := by |
| 55 | rw [← integral_const_mul] |
| 56 | convert H using 1 |
| 57 | congr 1 |
| 58 | funext x |
| 59 | ring |
| 60 | have hz : (∫ x, f x * Δ φ (R⁻¹ • x)) = 0 := |
| 61 | (mul_eq_zero.mp H').resolve_left (pow_ne_zero 2 (inv_ne_zero hR.ne')) |
| 62 | have hi := Measure.integral_comp_smul volume |
| 63 | (fun x => f x * Δ φ (R⁻¹ • x)) R |
| 64 | have heval (x : Space) : R⁻¹ • (R • x) = x := by |
| 65 | rw [smul_smul, inv_mul_cancel₀ hR.ne', one_smul] |
| 66 | simp_rw [heval] at hi |
| 67 | rw [hz, smul_zero] at hi |
| 68 | exact hi |
| 69 | |
| 70 | end EulerMeanHarmonic |