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.FlowEscapeBound |
| 2 | import Mathlib.Analysis.InnerProductSpace.PiL2 |
| 3 | import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace |
| 4 | import Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 5 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts |
| 6 | |
| 7 | /-! |
| 8 | # Finite-energy estimate for the radial homotopy operator |
| 9 | |
| 10 | In three dimensions, the operator `u ↦ ∫₀¹ t • u(t • x) dt` has L² operator |
| 11 | norm at most two. The substitution `t = r²` reduces the estimate to ordinary |
| 12 | Cauchy--Schwarz and exactly cancels the Jacobian of dilation. Only continuity |
| 13 | and finite energy are needed; no derivative integrability is assumed. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | open Set MeasureTheory Filter |
| 19 | open scoped ENNReal |
| 20 | |
| 21 | namespace Euler.ComparatorBridge |
| 22 | |
| 23 | local notation "Space" => EuclideanSpace ℝ (Fin 3) |
| 24 | |
| 25 | /-- A square substitution removes the singular weight in the radial estimate. -/ |
| 26 | theorem radial_average_eq_quadratic (u : Space → Space) (hu : Continuous u) (x : Space) : |
| 27 | (∫ t in (0 : ℝ)..1, t • u (t • x)) = |
| 28 | ∫ r in (0 : ℝ)..1, (2 * r ^ 3) • u (r ^ 2 • x) := by |
| 29 | have hd (r : ℝ) : HasDerivAt (fun t : ℝ => t ^ 2) (2 * r) r := by |
| 30 | convert! (hasDerivAt_id r).pow 2 using 1 |
| 31 | simp |
| 32 | have h := intervalIntegral.integral_deriv_smul_comp |
| 33 | (a := (0 : ℝ)) (b := 1) (f := fun r : ℝ => r ^ 2) (f' := fun r => 2 * r) |
| 34 | (g := fun t => t • u (t • x)) (fun r _ => hd r) |
| 35 | (by fun_prop) (by fun_prop) |
| 36 | simp only [Function.comp_apply, zero_pow (by norm_num : 2 ≠ 0), one_pow, |
| 37 | smul_smul] at h |
| 38 | rw [← h] |
| 39 | apply intervalIntegral.integral_congr |
| 40 | intro r _ |
| 41 | dsimp only |
| 42 | rw [show 2 * r * r ^ 2 = 2 * r ^ 3 by ring] |
| 43 | |
| 44 | /-- Squared L² energy of a dilated field, with its compensating factor. -/ |
| 45 | theorem quadratic_dilation_energy (u : Space → Space) {r : ℝ} (hr : r ≠ 0) : |
| 46 | (∫ x : Space, ‖(2 * r ^ 3) • u (r ^ 2 • x)‖ ^ 2) = |
| 47 | 4 * (∫ x : Space, ‖u x‖ ^ 2) := by |
| 48 | simp_rw [norm_smul, mul_pow, Real.norm_eq_abs, sq_abs] |
| 49 | rw [integral_const_mul, |
| 50 | Measure.integral_comp_smul_of_nonneg volume (fun x : Space => ‖u x‖ ^ 2) |
| 51 | (r ^ 2) (hR := sq_nonneg r)] |
| 52 | simp only [finrank_euclideanSpace, Fintype.card_fin, smul_eq_mul] |
| 53 | field_simp |
| 54 | ring |
| 55 | |
| 56 | /-- The quadratic parametrization has finite total action, exactly four times |
| 57 | that of the original field. -/ |
| 58 | theorem quadratic_radial_action (u : Space → Space) (hu : Continuous u) |
| 59 | (hL2 : MemLp u 2) : |
| 60 | Integrable (fun x : Space => ∫ r in Ioc (0 : ℝ) 1, |
| 61 | ‖(2 * r ^ 3) • u (r ^ 2 • x)‖ ^ 2) ∧ |
| 62 | (∫ x : Space, ∫ r in Ioc (0 : ℝ) 1, |
| 63 | ‖(2 * r ^ 3) • u (r ^ 2 • x)‖ ^ 2) = |
| 64 | 4 * (∫ x : Space, ‖u x‖ ^ 2) := by |
| 65 | let ν : Measure ℝ := volume.restrict (Ioc (0 : ℝ) 1) |
| 66 | let W : ℝ → Space → Space := fun r x => (2 * r ^ 3) • u (r ^ 2 • x) |
| 67 | have hm : AEStronglyMeasurable (fun rx : ℝ × Space => ‖W rx.1 rx.2‖ ^ 2) |
| 68 | (ν.prod volume) := by |
| 69 | have hc : Continuous (fun rx : ℝ × Space => ‖W rx.1 rx.2‖ ^ 2) := by |
| 70 | dsimp [W] |
| 71 | fun_prop |
| 72 | exact hc.aestronglyMeasurable |
| 73 | have hE : Integrable (fun x : Space => ‖u x‖ ^ 2) := |
| 74 | (memLp_two_iff_integrable_sq_norm hL2.aestronglyMeasurable).mp hL2 |
| 75 | have henergy : (fun r : ℝ => ∫ x : Space, ‖W r x‖ ^ 2) =ᵐ[ν] |
| 76 | fun _ => 4 * (∫ x : Space, ‖u x‖ ^ 2) := by |
| 77 | filter_upwards [ae_restrict_mem measurableSet_Ioc] with r hr |
| 78 | exact quadratic_dilation_energy u (ne_of_gt hr.1) |
| 79 | have houter : Integrable (fun r : ℝ => ∫ x : Space, ‖W r x‖ ^ 2) ν := |
| 80 | (integrable_const _).congr henergy.symm |
| 81 | have hprod : Integrable (fun rx : ℝ × Space => ‖W rx.1 rx.2‖ ^ 2) |
| 82 | (ν.prod volume) := by |
| 83 | apply (integrable_prod_iff hm).mpr |
| 84 | constructor |
| 85 | · filter_upwards [ae_restrict_mem measurableSet_Ioc] with r hr |
| 86 | dsimp [W] |
| 87 | simp_rw [norm_smul, mul_pow] |
| 88 | exact (hE.comp_smul (pow_ne_zero 2 (ne_of_gt hr.1))).const_mul _ |
| 89 | · simpa only [norm_pow, norm_norm] using houter |
| 90 | refine ⟨hprod.integral_prod_right, ?_⟩ |
| 91 | calc |
| 92 | (∫ x : Space, ∫ r, ‖W r x‖ ^ 2 ∂ν) = |
| 93 | ∫ r, (∫ x : Space, ‖W r x‖ ^ 2) ∂ν := (integral_integral_swap hprod).symm |
| 94 | _ = ∫ _ : ℝ, 4 * (∫ x : Space, ‖u x‖ ^ 2) ∂ν := integral_congr_ae henergy |
| 95 | _ = 4 * (∫ x : Space, ‖u x‖ ^ 2) := by |
| 96 | simp [ν] |
| 97 | |
| 98 | /-- Pointwise Cauchy--Schwarz for the regularized radial parametrization. -/ |
| 99 | theorem radial_average_sq_le_action (u : Space → Space) (hu : Continuous u) (x : Space) : |
| 100 | ‖∫ t in (0 : ℝ)..1, t • u (t • x)‖ ^ 2 ≤ |
| 101 | ∫ r in Ioc (0 : ℝ) 1, ‖(2 * r ^ 3) • u (r ^ 2 • x)‖ ^ 2 := by |
| 102 | let W : ℝ → Space := fun r => (2 * r ^ 3) • u (r ^ 2 • x) |
| 103 | have hW : Continuous W := by dsimp [W]; fun_prop |
| 104 | have hmem : MemLp W 2 (volume.restrict (Ioc (0 : ℝ) 1)) := by |
| 105 | apply (memLp_two_iff_integrable_sq_norm hW.aestronglyMeasurable).mpr |
| 106 | exact ((hW.norm.pow 2).integrableOn_Icc).mono_set Ioc_subset_Icc_self |
| 107 | have h := norm_integral_sq_le_action (volume.restrict (Ioc (0 : ℝ) 1)) W hmem |
| 108 | rw [radial_average_eq_quadratic u hu x, |
| 109 | intervalIntegral.integral_of_le (by norm_num : (0 : ℝ) ≤ 1)] |
| 110 | simpa [W] using h |
| 111 | |
| 112 | /-- The radial homotopy average preserves L², with operator norm at most two. -/ |
| 113 | theorem radial_average_memLp_and_energy (u : Space → Space) (hu : Continuous u) |
| 114 | (hL2 : MemLp u 2) : |
| 115 | MemLp (fun x => ∫ t in (0 : ℝ)..1, t • u (t • x)) 2 ∧ |
| 116 | (∫ x : Space, ‖∫ t in (0 : ℝ)..1, t • u (t • x)‖ ^ 2) ≤ |
| 117 | 4 * (∫ x : Space, ‖u x‖ ^ 2) := by |
| 118 | obtain ⟨hact, henergy⟩ := quadratic_radial_action u hu hL2 |
| 119 | have hm : AEStronglyMeasurable (fun x : Space => ∫ t in (0 : ℝ)..1, t • u (t • x)) := by |
| 120 | simp_rw [intervalIntegral.integral_of_le (by norm_num : (0 : ℝ) ≤ 1)] |
| 121 | have hc : Continuous (fun tx : ℝ × Space => tx.1 • u (tx.1 • tx.2)) := by fun_prop |
| 122 | exact hc.stronglyMeasurable.integral_prod_left'.aestronglyMeasurable |
| 123 | have hb := radial_average_sq_le_action u hu |
| 124 | have hint : Integrable (fun x : Space => ‖∫ t in (0 : ℝ)..1, t • u (t • x)‖ ^ 2) := by |
| 125 | apply hact.mono' (hm.norm.pow 2) |
| 126 | exact Eventually.of_forall (fun x => by simpa only [Pi.pow_apply, norm_pow, norm_norm] using hb x) |
| 127 | refine ⟨(memLp_two_iff_integrable_sq_norm hm).mpr hint, ?_⟩ |
| 128 | exact (integral_mono hint hact hb).trans_eq henergy |
| 129 | |
| 130 | |
| 131 | end Euler.ComparatorBridge |