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 NavierStokes.R3.ComparisonCutoffs |
| 2 | import NavierStokes.R3.ComparisonFiniteEnergy |
| 3 | import NavierStokes.R3.ComparisonGronwall |
| 4 | import NavierStokes.R3.LocalizedDifferenceEnergy |
| 5 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 6 | import Mathlib.MeasureTheory.Measure.OpenPos |
| 7 | |
| 8 | /-! |
| 9 | # Removing the spatial energy cutoff |
| 10 | |
| 11 | At a fixed time, square integrability gives an integrable dominating function. |
| 12 | This module removes the cutoff only after that hypothesis has been supplied. |
| 13 | -/ |
| 14 | |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | open Set Filter MeasureTheory |
| 19 | open scoped Topology ContDiff |
| 20 | |
| 21 | namespace NavierStokesR3.WholeSpaceEnergyLimit |
| 22 | |
| 23 | open ProblemStatement Comparison ComparisonCutoffs |
| 24 | |
| 25 | theorem integral_weight_tendsto {w : Space → Space} (hw : Continuous w) |
| 26 | (hi : Integrable (fun x : Space => ‖w x‖ ^ 2)) : |
| 27 | Tendsto (fun R : ℝ => ∫ x : Space, weight R x * ‖w x‖ ^ 2) |
| 28 | atTop (𝓝 (l2Sq w)) := by |
| 29 | apply tendsto_integral_filter_of_dominated_convergence (fun x : Space => ‖w x‖ ^ 2) |
| 30 | · exact Filter.Eventually.of_forall fun R => |
| 31 | ((weight_smooth R).continuous.mul (hw.norm.pow 2)).aestronglyMeasurable |
| 32 | · exact Filter.Eventually.of_forall fun R => Filter.Eventually.of_forall fun x => by |
| 33 | rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg (weight_nonneg R x) (sq_nonneg _))] |
| 34 | exact mul_le_of_le_one_left (sq_nonneg _) (weight_le_one R x) |
| 35 | · exact hi |
| 36 | · exact Filter.Eventually.of_forall fun x => by |
| 37 | have h := ((cutoff_tendsto_one x).pow 8).mul_const (‖w x‖ ^ 2) |
| 38 | simpa only [weight, one_pow, one_mul] using h |
| 39 | |
| 40 | theorem eq_zero_of_l2Sq_eq_zero {w : Space → Space} (hw : Continuous w) |
| 41 | (hi : Integrable (fun x : Space => ‖w x‖ ^ 2)) (hz : l2Sq w = 0) : |
| 42 | ∀ x : Space, w x = 0 := by |
| 43 | have hae : (fun x : Space => ‖w x‖ ^ 2) =ᵐ[volume] 0 := |
| 44 | (integral_eq_zero_iff_of_nonneg (fun x => sq_nonneg _) hi).mp hz |
| 45 | have heq : (fun x : Space => ‖w x‖ ^ 2) = (fun _ : Space => (0 : ℝ)) := |
| 46 | Measure.eq_of_ae_eq hae (hw.norm.pow 2) continuous_const |
| 47 | intro x |
| 48 | have hx : ‖w x‖ ^ 2 = 0 := congrFun heq x |
| 49 | exact norm_eq_zero.mp (sq_eq_zero_iff.mp hx) |
| 50 | |
| 51 | /-- A bound on actual weighted integrals, uniform over large radii, forces a |
| 52 | continuous square-integrable field to vanish everywhere. -/ |
| 53 | theorem eq_zero_of_radius_bound {w : Space → Space} (hw : Continuous w) |
| 54 | (hi : Integrable (fun x : Space => ‖w x‖ ^ 2)) {D R₀ : ℝ} |
| 55 | (hbound : ∀ R : ℝ, max 1 R₀ ≤ R → |
| 56 | (∫ x : Space, weight R x * ‖w x‖ ^ 2) ≤ D / R) : |
| 57 | ∀ x : Space, w x = 0 := by |
| 58 | have hlim := integral_weight_tendsto hw hi |
| 59 | have hz : Tendsto (fun R : ℝ => D / R) atTop (𝓝 0) := by |
| 60 | simpa only [div_eq_mul_inv, mul_zero] using |
| 61 | (tendsto_const_nhds : Tendsto (fun _ : ℝ => D) atTop (𝓝 D)).mul |
| 62 | (tendsto_inv_atTop_zero : Tendsto (fun R : ℝ => R⁻¹) atTop (𝓝 0)) |
| 63 | have hle : l2Sq w ≤ 0 := |
| 64 | le_of_tendsto_of_tendsto hlim hz (eventually_atTop.2 ⟨max 1 R₀, hbound⟩) |
| 65 | exact eq_zero_of_l2Sq_eq_zero hw hi |
| 66 | (le_antisymm hle (integral_nonneg fun x => sq_nonneg _)) |
| 67 | |
| 68 | /-- The final scalar and cutoff step of uniqueness. The differential estimate |
| 69 | is an explicit input here; deriving it from the PDE and pressure is separate. -/ |
| 70 | theorem eq_zero_of_weighted_rate_bound {w : VelocityField} {T K C R₀ : ℝ} |
| 71 | (hT : 0 ≤ T) (hK : 0 ≤ K) (hC : 0 ≤ C) |
| 72 | (hw : ContDiffOn ℝ ∞ w (Comparison.slab 0 T)) |
| 73 | (hi : ∀ t ∈ Icc (0 : ℝ) T, SquareIntegrableAtTime w t) |
| 74 | (hzero : ∀ x : Space, w (0, x) = 0) |
| 75 | (hrate : ∀ R : ℝ, max 1 R₀ ≤ R → ∀ t ∈ Ioo (0 : ℝ) T, |
| 76 | weightedEnergyRate (weight R) w t ≤ K * weightedEnergy (weight R) w t + C / R) : |
| 77 | ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, w (t, x) = 0 := by |
| 78 | intro t ht |
| 79 | have hs := NavierStokes.PeriodicUniqueness.spatial_smooth hw ht |
| 80 | apply eq_zero_of_radius_bound hs.continuous (hi t ht) |
| 81 | (D := C * T * Real.exp (K * T)) (R₀ := R₀) |
| 82 | intro R hR |
| 83 | have hRpos : 0 < R := lt_of_lt_of_le zero_lt_one ((le_max_left _ _).trans hR) |
| 84 | have hcont := LocalizedDifferenceEnergy.weightedEnergy_continuousOn |
| 85 | (weight_smooth R).continuous (weight_hasCompactSupport hRpos) hw |
| 86 | have hinit : weightedEnergy (weight R) w 0 = 0 := by |
| 87 | simp [weightedEnergy, hzero] |
| 88 | exact ComparisonGronwall.le_div_radius_of_deriv_le hT hK hC hRpos hcont hinit |
| 89 | (fun s hs => LocalizedDifferenceEnergy.weightedEnergy_hasDerivAt |
| 90 | (weight_smooth R) (weight_hasCompactSupport hRpos) hw hs) |
| 91 | (hrate R hR) t ht |
| 92 | |
| 93 | end NavierStokesR3.WholeSpaceEnergyLimit |