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.SobolevHeatVolterra |
| 2 | import Euler.VolterraUniqueness |
| 3 | |
| 4 | /-! Quantitative bounds for the actual projected linear-plus-quadratic source of the correction equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerQuadraticSource |
| 9 | |
| 10 | open MeasureTheory Set |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 14 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 15 | |
| 16 | /-- A pressure-projected source with actual forcing, linear terms, and quadratic terms. -/ |
| 17 | def source (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) (u : X) : Y := |
| 18 | -(P (r + A u + B u u)) |
| 19 | |
| 20 | /-- The actual quadratic source is jointly continuous in every coefficient and its unknown. -/ |
| 21 | theorem source_continuous {T : Type*} [TopologicalSpace T] |
| 22 | (P : T → Y →L[ℝ] Y) (r : T → Y) (A : T → X →L[ℝ] Y) (B : T → X →L[ℝ] X →L[ℝ] Y) |
| 23 | (hP : Continuous P) (hr : Continuous r) (hA : Continuous A) (hB : Continuous B) : |
| 24 | Continuous (fun p : T × X => source (P p.1) (r p.1) (A p.1) (B p.1) p.2) := by |
| 25 | exact ((hP.comp continuous_fst).clm_apply (((hr.comp continuous_fst).add |
| 26 | ((hA.comp continuous_fst).clm_apply continuous_snd)).add |
| 27 | (((hB.comp continuous_fst).clm_apply continuous_snd).clm_apply continuous_snd))).neg |
| 28 | |
| 29 | /-- The exact product difference identity needs no symmetry of the bilinear source. -/ |
| 30 | theorem quadratic_sub (B : X →L[ℝ] X →L[ℝ] Y) (u v : X) : |
| 31 | B u u - B v v = B (u-v) u + B v (u-v) := by |
| 32 | simp only [map_sub, sub_apply] |
| 33 | abel |
| 34 | |
| 35 | /-- The quadratic source has the genuine pointwise bound used for Picard existence. -/ |
| 36 | theorem source_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 37 | (R : ℝ) (hR : 0 ≤ R) (u : X) (hu : ‖u‖ ≤ R) : |
| 38 | ‖source P r A B u‖ ≤ ‖P‖ * (‖r‖ + ‖A‖ * R + ‖B‖ * R^2) := by |
| 39 | have hA := (A.le_opNorm u).trans (mul_le_mul_of_nonneg_left hu (norm_nonneg A)) |
| 40 | have hB := (B.le_opNorm₂ u u).trans |
| 41 | (mul_le_mul (mul_le_mul_of_nonneg_left hu (norm_nonneg B)) hu (norm_nonneg u) |
| 42 | (mul_nonneg (norm_nonneg B) hR)) |
| 43 | have hs : ‖r + A u + B u u‖ ≤ ‖r‖ + ‖A‖ * R + ‖B‖ * R^2 := by |
| 44 | calc |
| 45 | ‖r + A u + B u u‖ ≤ ‖r‖ + ‖A u‖ + ‖B u u‖ := (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) |
| 46 | _ ≤ ‖r‖ + ‖A‖ * R + ‖B‖ * R * R := add_le_add (add_le_add le_rfl hA) hB |
| 47 | _ = _ := by ring |
| 48 | simpa only [source, norm_neg] using (P.le_opNorm (r + A u + B u u)).trans |
| 49 | (mul_le_mul_of_nonneg_left hs (norm_nonneg P)) |
| 50 | |
| 51 | /-- The quadratic source is Lipschitz on each norm ball, with an explicit finite constant. -/ |
| 52 | theorem source_sub_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 53 | (R : ℝ) (_hR : 0 ≤ R) (u v : X) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 54 | ‖source P r A B u - source P r A B v‖ ≤ ‖P‖ * (‖A‖ + 2 * ‖B‖ * R) * ‖u-v‖ := by |
| 55 | have he : source P r A B u - source P r A B v = -(P (A (u-v) + B (u-v) u + B v (u-v))) := by |
| 56 | simp only [source, map_add, map_sub, sub_apply] |
| 57 | abel |
| 58 | have h1 : ‖B (u-v) u‖ ≤ ‖B‖ * ‖u-v‖ * R := (B.le_opNorm₂ _ _).trans |
| 59 | (mul_le_mul_of_nonneg_left hu (mul_nonneg (norm_nonneg B) (norm_nonneg _))) |
| 60 | have h2 : ‖B v (u-v)‖ ≤ ‖B‖ * R * ‖u-v‖ := (B.le_opNorm₂ _ _).trans |
| 61 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hv (norm_nonneg B)) (norm_nonneg _)) |
| 62 | have hs : ‖A (u-v) + B (u-v) u + B v (u-v)‖ ≤ (‖A‖ + 2 * ‖B‖ * R) * ‖u-v‖ := by |
| 63 | calc |
| 64 | ‖A (u-v) + B (u-v) u + B v (u-v)‖ ≤ ‖A (u-v)‖ + ‖B (u-v) u‖ + ‖B v (u-v)‖ := |
| 65 | (norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl) |
| 66 | _ ≤ ‖A‖ * ‖u-v‖ + ‖B‖ * ‖u-v‖ * R + ‖B‖ * R * ‖u-v‖ := add_le_add (add_le_add (A.le_opNorm _) h1) h2 |
| 67 | _ = _ := by ring |
| 68 | rw [he, norm_neg] |
| 69 | exact (P.le_opNorm _).trans ((mul_le_mul_of_nonneg_left hs (norm_nonneg P)).trans_eq (mul_assoc _ _ _).symm) |
| 70 | |
| 71 | /-- Uniform pointwise coefficient bounds imply the actual source bound on every ball. -/ |
| 72 | theorem source_uniform_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 73 | (p₀ r₀ a₀ b₀ R : ℝ) (hp : ‖P‖ ≤ p₀) (hr : ‖r‖ ≤ r₀) (ha : ‖A‖ ≤ a₀) (hb : ‖B‖ ≤ b₀) |
| 74 | (hR : 0 ≤ R) (u : X) (hu : ‖u‖ ≤ R) : |
| 75 | ‖source P r A B u‖ ≤ p₀ * (r₀ + a₀*R + b₀*R^2) := by |
| 76 | apply (source_bound P r A B R hR u hu).trans |
| 77 | apply mul_le_mul hp |
| 78 | (add_le_add (add_le_add hr (mul_le_mul_of_nonneg_right ha hR)) (mul_le_mul_of_nonneg_right hb (sq_nonneg R))) |
| 79 | · positivity |
| 80 | · exact (norm_nonneg P).trans hp |
| 81 | |
| 82 | /-- Uniform coefficient bounds imply the required local Lipschitz constant. -/ |
| 83 | theorem source_uniform_sub_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 84 | (p₀ a₀ b₀ R : ℝ) (hp : ‖P‖ ≤ p₀) (ha : ‖A‖ ≤ a₀) (hb : ‖B‖ ≤ b₀) |
| 85 | (hR : 0 ≤ R) (u v : X) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 86 | ‖source P r A B u - source P r A B v‖ ≤ p₀ * (a₀ + 2*b₀*R) * ‖u-v‖ := by |
| 87 | apply (source_sub_bound P r A B R hR u v hu hv).trans |
| 88 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 89 | apply mul_le_mul hp |
| 90 | (add_le_add ha (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hb (by norm_num)) hR)) |
| 91 | · positivity |
| 92 | · exact (norm_nonneg P).trans hp |
| 93 | |
| 94 | end EulerQuadraticSource |