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.LpDerivativeMap |
| 2 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 3 | |
| 4 | /-! Dominated convergence in genuine L², also for Banach-valued representatives. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerLpConvergence |
| 9 | |
| 10 | open MeasureTheory Filter |
| 11 | open scoped Topology ENNReal |
| 12 | |
| 13 | variable {X V : Type*} [MeasurableSpace X] [NormedAddCommGroup V] (μ : Measure X) |
| 14 | |
| 15 | theorem norm_sq_eq_integral (u : Lp V 2 μ) : ‖u‖^2 = ∫ x, ‖u x‖^2 ∂μ := by |
| 16 | rw [Lp.norm_def, MemLp.eLpNorm_eq_integral_rpow_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) |
| 17 | (by norm_num : (2 : ℝ≥0∞) ≠ ∞) (Lp.memLp u)] |
| 18 | simp only [ENNReal.toReal_ofNat, Real.rpow_two] |
| 19 | rw [ENNReal.toReal_ofReal (Real.rpow_nonneg (integral_nonneg (fun _ => sq_nonneg _)) _)] |
| 20 | rw [inv_eq_one_div, ← Real.sqrt_eq_rpow, Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] |
| 21 | |
| 22 | /-- Domination of literal representatives controls convergence of their actual L² classes. -/ |
| 23 | theorem tendsto_of_dominated {ι : Type*} {l : Filter ι} [l.IsCountablyGenerated] |
| 24 | (U : ι → Lp V 2 μ) (v : Lp V 2 μ) (F : ι → X → V) (g : X → V) |
| 25 | (hU : ∀ i, U i =ᵐ[μ] F i) (hv : v =ᵐ[μ] g) |
| 26 | (M : X → ℝ) (hM : MemLp M 2 μ) |
| 27 | (hbound : ∀ᶠ i in l, ∀ᵐ x ∂μ, ‖F i x - g x‖ ≤ M x) |
| 28 | (hlim : ∀ᵐ x ∂μ, Tendsto (fun i => F i x) l (𝓝 (g x))) : |
| 29 | Tendsto U l (𝓝 v) := by |
| 30 | let q : ι → X → ℝ := fun i x => ‖F i x-g x‖^2 |
| 31 | have hm (i : ι) : AEStronglyMeasurable (q i) μ := by |
| 32 | exact (((Lp.aestronglyMeasurable (U i)).congr (hU i)).sub |
| 33 | ((Lp.aestronglyMeasurable v).congr hv)).norm.pow 2 |
| 34 | have hb : ∀ᶠ i in l, ∀ᵐ x ∂μ, ‖q i x‖ ≤ M x ^ 2 := by |
| 35 | filter_upwards [hbound] with i hi |
| 36 | filter_upwards [hi] with x hx |
| 37 | change ‖‖F i x-g x‖^2‖ ≤ _ |
| 38 | rw [Real.norm_of_nonneg (sq_nonneg _)] |
| 39 | exact pow_le_pow_left₀ (norm_nonneg _) hx 2 |
| 40 | have hi : Integrable (fun x => M x ^ 2) μ := by |
| 41 | simpa only [Real.norm_eq_abs, sq_abs] using hM.integrable_norm_pow (by norm_num : (2 : ℕ) ≠ 0) |
| 42 | have hl : ∀ᵐ x ∂μ, Tendsto (fun i => q i x) l (𝓝 (0 : ℝ)) := by |
| 43 | filter_upwards [hlim] with x hx |
| 44 | simpa only [q, sub_self, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using |
| 45 | ((hx.sub_const (g x)).norm.pow 2) |
| 46 | have hI : Tendsto (fun i => ∫ x, q i x ∂μ) l (𝓝 (0 : ℝ)) := by |
| 47 | simpa only [integral_zero] using tendsto_integral_filter_of_dominated_convergence |
| 48 | (fun x => M x^2) (Eventually.of_forall hm) hb hi hl |
| 49 | have he (i : ι) : ‖U i-v‖^2 = ∫ x, q i x ∂μ := by |
| 50 | rw [norm_sq_eq_integral] |
| 51 | apply integral_congr_ae |
| 52 | filter_upwards [Lp.coeFn_sub (U i) v, hU i, hv] with x hs hfx hgx |
| 53 | simp only [Pi.sub_apply] at hs |
| 54 | rw [hs, hfx, hgx] |
| 55 | have hsq : Tendsto (fun i => ‖U i-v‖^2) l (𝓝 (0 : ℝ)) := |
| 56 | hI.congr' (Eventually.of_forall (fun i => (he i).symm)) |
| 57 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 58 | have hroot := Real.continuous_sqrt.continuousAt.tendsto.comp hsq |
| 59 | simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hroot |
| 60 | |
| 61 | end EulerLpConvergence |