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.PacketPotentialRegularity |
| 2 | import Euler.LpCylinderRectangularRegularity |
| 3 | |
| 4 | /-! Coordinate realization of the actual slow curl and its bounded coefficients. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketPiola |
| 9 | |
| 10 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace |
| 11 | EulerMeanBoundary EulerPacketCrossProduct EulerCylinderSobolev EulerMeanCoefficients |
| 12 | open scoped BoundedContinuousFunction ContDiff |
| 13 | |
| 14 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 15 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 16 | |
| 17 | /-- The coefficient of one genuine spatial derivative in the slow curl. -/ |
| 18 | def curlCoefficient (i : Fin 3) : (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space) := |
| 19 | crossOperator.comp ((ContinuousLinearMap.apply ℝ Space (EuclideanSpace.single i 1)).comp |
| 20 | (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap |
| 21 | : (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space))) |
| 22 | |
| 23 | @[simp] theorem curlCoefficient_apply (i : Fin 3) (G : Space →L[ℝ] Space) : |
| 24 | curlCoefficient i G = crossLeft (G.adjoint (EuclideanSpace.single i 1)) := rfl |
| 25 | |
| 26 | theorem curlCoefficient_norm (i : Fin 3) : ‖curlCoefficient i‖ ≤ 1 := by |
| 27 | apply opNorm_le_bound _ zero_le_one |
| 28 | intro G |
| 29 | rw [curlCoefficient_apply, one_mul] |
| 30 | calc |
| 31 | ‖crossLeft (G.adjoint (EuclideanSpace.single i 1))‖ ≤ |
| 32 | ‖G.adjoint (EuclideanSpace.single i 1)‖ := crossLeft_norm_le _ |
| 33 | _ ≤ ‖G.adjoint‖*‖EuclideanSpace.single i (1 : ℝ)‖ := G.adjoint.le_opNorm _ |
| 34 | _ = ‖G‖ := by simp only [PiLp.norm_single, norm_one, mul_one, LinearIsometryEquiv.norm_map] |
| 35 | |
| 36 | theorem slowDerivative_coordinates (D : LiftTangent →L[ℝ] Space) (G : Space →L[ℝ] Space) : |
| 37 | D.comp ((ContinuousLinearMap.inl ℝ Space ℝ).comp G) = |
| 38 | ∑ i : Fin 3, rankOne ℝ (D (standardDirection i.succ)) |
| 39 | (G.adjoint (EuclideanSpace.single i 1)) := by |
| 40 | have he (v : Space) : |
| 41 | (∑ i : Fin 3, ⟪G.adjoint (EuclideanSpace.single i 1),v⟫_ℝ • |
| 42 | standardDirection i.succ) = (G v,0) := by |
| 43 | simp_rw [G.adjoint_inner_left, standardDirection_succ] |
| 44 | apply Prod.ext |
| 45 | · change (∑ i : Fin 3, ⟪EuclideanSpace.single i 1,G v⟫_ℝ • EuclideanSpace.single i 1) = G v |
| 46 | ext j |
| 47 | simp [EuclideanSpace.inner_single_left, Pi.single_apply] |
| 48 | · simp [Fin.sum_univ_succ] |
| 49 | apply ContinuousLinearMap.ext |
| 50 | intro v |
| 51 | change D (G v,0) = ∑ i : Fin 3, ⟪G.adjoint (EuclideanSpace.single i 1),v⟫_ℝ • |
| 52 | D (standardDirection i.succ) |
| 53 | rw [← he v, map_sum] |
| 54 | simp only [map_smul] |
| 55 | |
| 56 | /-- The literal slow curl is a sum of three rectangular coefficient products. -/ |
| 57 | theorem curlMatrix_coordinates (D : LiftTangent →L[ℝ] Space) (G : Space →L[ℝ] Space) : |
| 58 | curlMatrix (D.comp ((ContinuousLinearMap.inl ℝ Space ℝ).comp G)) = |
| 59 | ∑ i : Fin 3, curlCoefficient i G (D (standardDirection i.succ)) := by |
| 60 | rw [slowDerivative_coordinates] |
| 61 | change curlOperator (∑ i : Fin 3, rankOne ℝ (D (standardDirection i.succ)) |
| 62 | (G.adjoint (EuclideanSpace.single i 1))) = _ |
| 63 | rw [map_sum] |
| 64 | simp only [curlOperator_apply, curlMatrix_rankOne, curlCoefficient_apply, crossLeft_apply] |
| 65 | |
| 66 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 67 | |
| 68 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 69 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 70 | |
| 71 | def curlCoefficientPath (i : Fin 3) : |
| 72 | C(K,Space →ᵇ Space →L[ℝ] Space) →L[ℝ] C(K,Space →ᵇ Space →L[ℝ] Space) := |
| 73 | ((curlCoefficient i).compLeftContinuousBounded Space).compLeftContinuous ℝ K |
| 74 | |
| 75 | omit [CompactSpace K] in |
| 76 | @[simp] theorem curlCoefficientPath_apply (i : Fin 3) |
| 77 | (G : C(K,Space →ᵇ Space →L[ℝ] Space)) (t : K) (y : Space) : |
| 78 | curlCoefficientPath i G t y = curlCoefficient i (G t y) := rfl |
| 79 | |
| 80 | theorem curlCoefficientPath_norm (i : Fin 3) : ‖curlCoefficientPath (K := K) i‖ ≤ 1 := by |
| 81 | apply opNorm_le_bound _ zero_le_one |
| 82 | intro G |
| 83 | rw [one_mul] |
| 84 | apply (ContinuousMap.norm_le _ (norm_nonneg G)).mpr |
| 85 | intro t |
| 86 | apply (BoundedContinuousFunction.norm_le (norm_nonneg G)).mpr |
| 87 | intro y |
| 88 | change ‖curlCoefficient i (G t y)‖ ≤ ‖G‖ |
| 89 | exact ((curlCoefficient i).le_of_opNorm_le (curlCoefficient_norm i) (G t y)).trans |
| 90 | (by simpa only [one_mul] using ((G t).norm_coe_le_norm y).trans (G.norm_coe_le_norm t)) |
| 91 | |
| 92 | omit [CompactSpace K] in |
| 93 | theorem curlCoefficientPath_translation (i : Fin 3) |
| 94 | (G : C(K,Space →ᵇ Space →L[ℝ] Space)) (a : Space) : |
| 95 | translateCoefficientPath (curlCoefficientPath i G) a = |
| 96 | curlCoefficientPath i (translateCoefficientPath G a) := by |
| 97 | apply ContinuousMap.ext |
| 98 | intro t |
| 99 | apply BoundedContinuousFunction.ext |
| 100 | intro y |
| 101 | rfl |
| 102 | |
| 103 | theorem curlCoefficientPath_orbit (i : Fin 3) (G : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 104 | (hG : ContDiff ℝ ∞ (translateCoefficientPath G)) : |
| 105 | ContDiff ℝ ∞ (translateCoefficientPath (curlCoefficientPath i G)) := by |
| 106 | have he : translateCoefficientPath (curlCoefficientPath i G) = |
| 107 | fun a => curlCoefficientPath i (translateCoefficientPath G a) := |
| 108 | funext (curlCoefficientPath_translation i G) |
| 109 | rw [he] |
| 110 | exact (curlCoefficientPath i).contDiff.comp hG |
| 111 | |
| 112 | theorem curlCoefficientPath_bound (i : Fin 3) (G : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 113 | (hG : ContDiff ℝ ∞ (translateCoefficientPath G)) (n : ℕ) (C : ℝ) |
| 114 | (hb : ∀ a, ‖iteratedFDeriv ℝ n (translateCoefficientPath G) a‖ ≤ C) (a : Space) : |
| 115 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (curlCoefficientPath i G)) a‖ ≤ C := by |
| 116 | have he : translateCoefficientPath (curlCoefficientPath i G) = |
| 117 | fun a => curlCoefficientPath i (translateCoefficientPath G a) := |
| 118 | funext (curlCoefficientPath_translation i G) |
| 119 | rw [he] |
| 120 | have h := (curlCoefficientPath (K := K) i).norm_iteratedFDeriv_comp_left |
| 121 | (hG.contDiffAt (x := a)) (n := n) (by simp) |
| 122 | exact h.trans ((mul_le_mul_of_nonneg_right (curlCoefficientPath_norm i) (norm_nonneg _)).trans |
| 123 | (by simpa only [one_mul] using hb a)) |
| 124 | |
| 125 | end EulerPacketPiola |