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.CylinderConstantMap |
| 2 | import Euler.CylinderAnglePrimitive |
| 3 | |
| 4 | /-! |
| 5 | # The genuine scalar angular primitive on cylinder L² |
| 6 | |
| 7 | A fixed unit scalar embedding and its norm-one projection transfer the |
| 8 | constructed vector primitive to scalar pressure. Its mixed-translation |
| 9 | commutation and fixed-Hq external-word bound have no radius loss. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerCylinderScalarPrimitive |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace |
| 17 | EulerLpCylinderTranslation EulerCylinderConstantMap EulerParameterWordGevrey |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | def unitVector : Space := EuclideanSpace.single 0 1 |
| 21 | |
| 22 | theorem unitVector_norm : ‖unitVector‖ = 1 := by simp [unitVector] |
| 23 | |
| 24 | def scalarEmbed : ℝ →L[ℝ] Space := toSpanSingleton ℝ unitVector |
| 25 | def scalarProject : Space →L[ℝ] ℝ := innerSL ℝ unitVector |
| 26 | |
| 27 | theorem scalarEmbed_norm : ‖scalarEmbed‖ = 1 := by |
| 28 | rw [scalarEmbed,norm_toSpanSingleton,unitVector_norm] |
| 29 | |
| 30 | theorem scalarProject_norm : ‖scalarProject‖ = 1 := by |
| 31 | rw [scalarProject,innerSL_apply_norm,unitVector_norm] |
| 32 | |
| 33 | @[simp] theorem project_embed (r : ℝ) : scalarProject (scalarEmbed r) = r := by |
| 34 | change ⟪unitVector,r • unitVector⟫_ℝ = r |
| 35 | rw [inner_smul_right,real_inner_self_eq_norm_sq,unitVector_norm,one_pow,mul_one] |
| 36 | |
| 37 | variable (period : ℝ) [Fact (0 < period)] |
| 38 | |
| 39 | def embed : CylinderL2 period ℝ →L[ℝ] LiftL2 period := EulerCylinderConstantMap.map period scalarEmbed |
| 40 | def project : LiftL2 period →L[ℝ] CylinderL2 period ℝ := EulerCylinderConstantMap.map period scalarProject |
| 41 | |
| 42 | theorem embed_norm : ‖embed period‖ ≤ 1 := |
| 43 | (map_norm period scalarEmbed).trans_eq scalarEmbed_norm |
| 44 | |
| 45 | theorem project_norm : ‖project period‖ ≤ 1 := |
| 46 | (map_norm period scalarProject).trans_eq scalarProject_norm |
| 47 | |
| 48 | def primitive : CylinderL2 period ℝ →L[ℝ] CylinderL2 period ℝ := |
| 49 | (project period).comp ((EulerCylinderAnglePrimitive.primitive period).comp (embed period)) |
| 50 | |
| 51 | theorem primitive_norm : ‖primitive period‖ ≤ period := by |
| 52 | have hP : 0 < period := Fact.out |
| 53 | apply opNorm_le_bound _ hP.le |
| 54 | intro u |
| 55 | change ‖project period (EulerCylinderAnglePrimitive.primitive period (embed period u))‖ ≤ period*‖u‖ |
| 56 | calc |
| 57 | _ ≤ ‖EulerCylinderAnglePrimitive.primitive period (embed period u)‖ := |
| 58 | ((project period).le_opNorm _).trans (by |
| 59 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (project_norm period) (norm_nonneg _)) |
| 60 | _ ≤ period*‖embed period u‖ := ((EulerCylinderAnglePrimitive.primitive period).le_opNorm _).trans |
| 61 | (mul_le_mul_of_nonneg_right (EulerCylinderAnglePrimitive.primitive_norm period) (norm_nonneg _)) |
| 62 | _ ≤ period*‖u‖ := mul_le_mul_of_nonneg_left (((embed period).le_opNorm u).trans (by |
| 63 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (embed_norm period) (norm_nonneg u))) hP.le |
| 64 | |
| 65 | /-- All mixed translations commute with the actual scalar primitive. -/ |
| 66 | theorem primitive_translation (a : LiftTangent) (u : CylinderL2 period ℝ) : |
| 67 | primitive period (translate period a u) = translate period a (primitive period u) := by |
| 68 | change EulerCylinderConstantMap.map period scalarProject |
| 69 | (EulerCylinderAnglePrimitive.primitive period (EulerCylinderConstantMap.map period scalarEmbed |
| 70 | (translate period a u))) = _ |
| 71 | rw [map_translation] |
| 72 | have hv : EulerCylinderAnglePrimitive.primitive period |
| 73 | (translate period a (EulerCylinderConstantMap.map period scalarEmbed u)) = |
| 74 | translate period a (EulerCylinderAnglePrimitive.primitive period (EulerCylinderConstantMap.map period scalarEmbed u)) := |
| 75 | EulerCylinderAnglePrimitive.primitive_translation period (coveringMap period a) |
| 76 | (EulerCylinderConstantMap.map period scalarEmbed u) |
| 77 | rw [hv,map_translation] |
| 78 | rfl |
| 79 | |
| 80 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 81 | |
| 82 | private local instance : NormedAddCommGroup (CylinderL2 period ℝ) := inferInstance |
| 83 | private local instance : NormedSpace ℝ (CylinderL2 period ℝ) := inferInstance |
| 84 | private local instance : NormedAddCommGroup C(K,CylinderL2 period ℝ) := inferInstance |
| 85 | private local instance : NormedSpace ℝ C(K,CylinderL2 period ℝ) := inferInstance |
| 86 | |
| 87 | def pathPrimitive : C(K,CylinderL2 period ℝ) →L[ℝ] C(K,CylinderL2 period ℝ) := |
| 88 | (primitive period).compLeftContinuous ℝ K |
| 89 | |
| 90 | theorem pathPrimitive_norm : ‖pathPrimitive (K := K) period‖ ≤ period := by |
| 91 | have hP : 0 < period := Fact.out |
| 92 | apply opNorm_le_bound _ hP.le |
| 93 | intro u |
| 94 | apply (ContinuousMap.norm_le _ (mul_nonneg hP.le (norm_nonneg u))).2 |
| 95 | intro t |
| 96 | exact ((primitive period).le_opNorm (u t)).trans |
| 97 | ((mul_le_mul_of_nonneg_right (primitive_norm period) (norm_nonneg (u t))).trans |
| 98 | (mul_le_mul_of_nonneg_left (u.norm_coe_le_norm t) hP.le)) |
| 99 | |
| 100 | omit [CompactSpace K] in |
| 101 | theorem pathPrimitive_translation (a : LiftTangent) (u : C(K,CylinderL2 period ℝ)) : |
| 102 | pathPrimitive period (pathTranslate period a u) = pathTranslate period a (pathPrimitive period u) := by |
| 103 | apply ContinuousMap.ext |
| 104 | intro t |
| 105 | exact primitive_translation period a (u t) |
| 106 | |
| 107 | theorem pathPrimitive_orbit_contDiff (u : C(K,CylinderL2 period ℝ)) |
| 108 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a u)) : |
| 109 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (pathPrimitive period u)) := by |
| 110 | have he : (fun a : LiftTangent => pathTranslate period a (pathPrimitive period u)) = |
| 111 | (fun a => pathPrimitive period (pathTranslate period a u)) := |
| 112 | funext (fun a => (pathPrimitive_translation period a u).symm) |
| 113 | rw [he] |
| 114 | exact (pathPrimitive period).contDiff.comp hu |
| 115 | |
| 116 | theorem pathPrimitive_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) |
| 117 | (u : C(K,CylinderL2 period ℝ)) (hu : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a u)) |
| 118 | (n : ℕ) (a : LiftTangent) : |
| 119 | block directions q (fun b : LiftTangent => pathTranslate period b (pathPrimitive period u)) n a ≤ |
| 120 | period*block directions q (fun b : LiftTangent => pathTranslate period b u) n a := by |
| 121 | have he : (fun b : LiftTangent => pathTranslate period b (pathPrimitive period u)) = |
| 122 | (fun b => pathPrimitive period (pathTranslate period b u)) := |
| 123 | funext (fun b => (pathPrimitive_translation period b u).symm) |
| 124 | rw [he] |
| 125 | exact (block_comp_clm_le (P := LiftTangent) (E := C(K,CylinderL2 period ℝ)) |
| 126 | (F := C(K,CylinderL2 period ℝ)) directions q (pathPrimitive (K := K) period) |
| 127 | (fun b : LiftTangent => pathTranslate period b u) hu n a).trans |
| 128 | (mul_le_mul_of_nonneg_right (pathPrimitive_norm (K := K) period) |
| 129 | (block_nonneg directions q (fun b : LiftTangent => pathTranslate period b u) n a)) |
| 130 | |
| 131 | end EulerCylinderScalarPrimitive |