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.CylinderAnglePrimitive |
| 2 | import Euler.ParameterSobolevProductGevrey |
| 3 | import Euler.LpCylinderOrbit |
| 4 | |
| 5 | /-! Same-radius mixed-word and continuous-time estimates for the actual angular operator. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderAnglePrimitive |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerParameterWordGevrey EulerGevrey |
| 12 | EulerLpCylinderTranslation |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | variable (P : ℝ) [Fact (0 < P)] |
| 16 | |
| 17 | theorem primitive_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (u : ℝ → LiftL2 P) |
| 18 | (ut : LiftL2 P) (hu : HasDerivWithinAt u ut s t) : |
| 19 | HasDerivWithinAt (fun r => primitive P (u r)) (primitive P ut) s t := |
| 20 | (primitive P).hasFDerivAt.comp_hasDerivWithinAt t hu |
| 21 | |
| 22 | theorem primitive_mixed_translation (a : LiftTangent) (u : LiftL2 P) : |
| 23 | primitive P (translate P a u) = translate P a (primitive P u) := |
| 24 | primitive_translation P _ u |
| 25 | |
| 26 | variable {X ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [Fintype ι] |
| 27 | |
| 28 | theorem primitive_block_bound (directions : ι → X) (q : ℕ) |
| 29 | (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : |
| 30 | block directions q (fun y => primitive P (f y)) n x ≤ P*block directions q f n x := |
| 31 | (block_comp_clm_le directions q (primitive P) f hf n x).trans |
| 32 | (mul_le_mul_of_nonneg_right (primitive_norm P) (block_nonneg directions q f n x)) |
| 33 | |
| 34 | theorem primitive_block_majorant (directions : ι → X) (q : ℕ) |
| 35 | (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) |
| 36 | (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : |
| 37 | block directions q (fun y => primitive P (f y)) n x ≤ (P*C)*majorant R d n := |
| 38 | (primitive_block_bound P directions q f hf n x).trans |
| 39 | ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq |
| 40 | (mul_assoc P C _).symm) |
| 41 | |
| 42 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 43 | |
| 44 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 45 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 46 | private local instance : NormedAddCommGroup (C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P)) := inferInstance |
| 47 | private local instance : NormedSpace ℝ (C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P)) := inferInstance |
| 48 | |
| 49 | def pathPrimitive : C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P) := |
| 50 | (primitive P).compLeftContinuous ℝ K |
| 51 | |
| 52 | omit [CompactSpace K] in |
| 53 | @[simp] theorem pathPrimitive_apply (u : C(K,LiftL2 P)) (t : K) : |
| 54 | pathPrimitive P u t = primitive P (u t) := rfl |
| 55 | |
| 56 | theorem pathPrimitive_norm : ‖pathPrimitive (K := K) P‖ ≤ P := by |
| 57 | have hP : 0 ≤ P := le_of_lt (Fact.out : 0 < P) |
| 58 | apply ContinuousLinearMap.opNorm_le_bound _ hP |
| 59 | intro u |
| 60 | apply (ContinuousMap.norm_le _ (mul_nonneg hP (norm_nonneg u))).mpr |
| 61 | intro t |
| 62 | exact ((primitive P).le_of_opNorm_le (primitive_norm P) (u t)).trans |
| 63 | (mul_le_mul_of_nonneg_left (u.norm_coe_le_norm t) hP) |
| 64 | |
| 65 | /-- The angular operation preserves the same fixed base order and radius in the true time supremum. -/ |
| 66 | theorem pathPrimitive_block_bound (directions : ι → X) (q : ℕ) |
| 67 | (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : |
| 68 | block directions q (fun y => pathPrimitive P (f y)) n x ≤ P*block directions q f n x := by |
| 69 | have h := block_comp_clm_le (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) |
| 70 | directions q (pathPrimitive (K := K) P) f hf n x |
| 71 | have hn : ‖pathPrimitive (K := K) P‖ ≤ P := pathPrimitive_norm P |
| 72 | exact h.trans (mul_le_mul_of_nonneg_right hn (block_nonneg directions q f n x)) |
| 73 | |
| 74 | theorem pathPrimitive_block_majorant (directions : ι → X) (q : ℕ) |
| 75 | (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) |
| 76 | (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : |
| 77 | block directions q (fun y => pathPrimitive P (f y)) n x ≤ (P*C)*majorant R d n := |
| 78 | (pathPrimitive_block_bound P directions q f hf n x).trans |
| 79 | ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq |
| 80 | (mul_assoc P C _).symm) |
| 81 | |
| 82 | end EulerCylinderAnglePrimitive |