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.QuadraticSource |
| 2 | |
| 3 | /-! Continuous coefficient data for the correction source, with proved uniform ball bounds. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerQuadraticSource |
| 8 | |
| 9 | open Set |
| 10 | open scoped Topology |
| 11 | |
| 12 | variable {X Y T : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 13 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] [TopologicalSpace T] |
| 14 | |
| 15 | /-- Actual continuous data for the pressure-projected quadratic source. -/ |
| 16 | structure Coefficients (T : Type*) [TopologicalSpace T] (X Y : Type*) |
| 17 | [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] where |
| 18 | projection : C(T, Y →L[ℝ] Y) |
| 19 | forcing : C(T, Y) |
| 20 | linear : C(T, X →L[ℝ] Y) |
| 21 | quadratic : C(T, X →L[ℝ] X →L[ℝ] Y) |
| 22 | |
| 23 | /-- Evaluate the genuine projected source. -/ |
| 24 | def Coefficients.apply (C : Coefficients T X Y) (t : T) (u : X) : Y := |
| 25 | source (C.projection t) (C.forcing t) (C.linear t) (C.quadratic t) u |
| 26 | |
| 27 | /-- The source is jointly continuous in time and the Sobolev unknown. -/ |
| 28 | theorem Coefficients.continuous (C : Coefficients T X Y) : |
| 29 | Continuous (fun p : T × X => C.apply p.1 p.2) := |
| 30 | source_continuous _ _ _ _ C.projection.continuous C.forcing.continuous C.linear.continuous C.quadratic.continuous |
| 31 | |
| 32 | /-- Restrict coefficient data along any continuous parameter map. -/ |
| 33 | def Coefficients.comp {U : Type*} [TopologicalSpace U] (C : Coefficients T X Y) (f : C(U,T)) : Coefficients U X Y where |
| 34 | projection := C.projection.comp f |
| 35 | forcing := C.forcing.comp f |
| 36 | linear := C.linear.comp f |
| 37 | quadratic := C.quadratic.comp f |
| 38 | |
| 39 | @[simp] theorem Coefficients.comp_apply {U : Type*} [TopologicalSpace U] |
| 40 | (C : Coefficients T X Y) (f : C(U,T)) (t : U) (u : X) : (C.comp f).apply t u = C.apply (f t) u := rfl |
| 41 | |
| 42 | local instance nestedGroup : SeminormedAddCommGroup (X →L[ℝ] X →L[ℝ] Y) := inferInstance |
| 43 | |
| 44 | variable [CompactSpace T] |
| 45 | |
| 46 | /-- A uniform norm bound for the actual source on a ball. -/ |
| 47 | def Coefficients.ballBound (C : Coefficients T X Y) (R : ℝ) : ℝ := |
| 48 | ‖C.projection‖ * (‖C.forcing‖ + ‖C.linear‖*R + ‖C.quadratic‖*R^2) |
| 49 | |
| 50 | /-- A uniform Lipschitz constant for the actual source on a ball. -/ |
| 51 | def Coefficients.ballLipschitz (C : Coefficients T X Y) (R : ℝ) : ℝ := |
| 52 | ‖C.projection‖ * (‖C.linear‖ + 2*‖C.quadratic‖*R) |
| 53 | |
| 54 | theorem Coefficients.ballBound_nonneg (C : Coefficients T X Y) (R : ℝ) (hR : 0 ≤ R) : |
| 55 | 0 ≤ C.ballBound R := by unfold Coefficients.ballBound; positivity |
| 56 | |
| 57 | theorem Coefficients.ballLipschitz_nonneg (C : Coefficients T X Y) (R : ℝ) (hR : 0 ≤ R) : |
| 58 | 0 ≤ C.ballLipschitz R := by unfold Coefficients.ballLipschitz; positivity |
| 59 | |
| 60 | /-- The uniform source bound follows from actual operator norms, with no assumed nonlinear estimate. -/ |
| 61 | theorem Coefficients.apply_bound (C : Coefficients T X Y) (R : ℝ) (hR : 0 ≤ R) |
| 62 | (t : T) (u : X) (hu : ‖u‖ ≤ R) : ‖C.apply t u‖ ≤ C.ballBound R := |
| 63 | source_uniform_bound _ _ _ _ _ _ _ _ R |
| 64 | (C.projection.norm_coe_le_norm t) (C.forcing.norm_coe_le_norm t) |
| 65 | (C.linear.norm_coe_le_norm t) (C.quadratic.norm_coe_le_norm t) hR u hu |
| 66 | |
| 67 | /-- The uniform local Lipschitz estimate follows from the proved quadratic difference identity. -/ |
| 68 | theorem Coefficients.apply_sub_bound (C : Coefficients T X Y) (R : ℝ) (hR : 0 ≤ R) |
| 69 | (t : T) (u v : X) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 70 | ‖C.apply t u-C.apply t v‖ ≤ C.ballLipschitz R * ‖u-v‖ := |
| 71 | source_uniform_sub_bound _ _ _ _ _ _ _ R |
| 72 | (C.projection.norm_coe_le_norm t) (C.linear.norm_coe_le_norm t) |
| 73 | (C.quadratic.norm_coe_le_norm t) hR u v hu hv |
| 74 | |
| 75 | end EulerQuadraticSource |