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.SmoothTimeFieldLinear |
| 2 | import Euler.ClassicalDivergence |
| 3 | import Euler.FieldTowerRepresentative |
| 4 | import Euler.PacketNormalDriftBounds |
| 5 | |
| 6 | /-! The actual lifted velocity retains the small normal component in its |
| 7 | coefficient estimates. No division by the packet amplitude is used. -/ |
| 8 | |
| 9 | /-! ## From `Euler/LiftedTransportTrace.lean` |
| 10 | |
| 11 | The text of `Euler/LiftedTransportTrace.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The four-dimensional transport velocity associated with a lifted |
| 16 | solenoidal field has zero ordinary trace on the real covering space. -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerLiftedTransportTrace |
| 21 | |
| 22 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport |
| 23 | EulerTransportDerivatives EulerSmoothLimit EulerClassicalDivergence |
| 24 | open scoped ContDiff |
| 25 | |
| 26 | def transportLinear (κ : ℝ) (m : Vector3) : Vector3 →L[ℝ] LiftTangent := |
| 27 | (κ • ContinuousLinearMap.id ℝ Vector3).prod (toDual ℝ Vector3 m) |
| 28 | |
| 29 | @[simp] theorem transportLinear_apply (κ : ℝ) (m v : Vector3) : |
| 30 | transportLinear κ m v = transportDirection κ m v := rfl |
| 31 | |
| 32 | @[simp] theorem transportLinear_single (κ : ℝ) (m : Vector3) (i : Fin 3) : |
| 33 | transportLinear κ m (EuclideanSpace.single i 1) = coordinateDirection κ m i := by |
| 34 | apply Prod.ext |
| 35 | · rfl |
| 36 | · simp [transportLinear,coordinateDirection,EuclideanSpace.inner_single_right] |
| 37 | |
| 38 | theorem trace_transportLinear (κ : ℝ) (m : Vector3) (L : LiftTangent →L[ℝ] Vector3) : |
| 39 | LinearMap.trace ℝ LiftTangent ((transportLinear κ m).comp L).toLinearMap = |
| 40 | ∑ i : Fin 3, (L (coordinateDirection κ m i)) i := by |
| 41 | change LinearMap.trace ℝ LiftTangent ((transportLinear κ m).toLinearMap ∘ₗ L.toLinearMap) = _ |
| 42 | rw [LinearMap.trace_comp_comm'] |
| 43 | change LinearMap.trace ℝ Vector3 (L.comp (transportLinear κ m)).toLinearMap = _ |
| 44 | rw [← coordinateTrace_eq_linearTrace] |
| 45 | simp only [coordinateTrace,sum_apply,ContinuousLinearMap.comp_apply, |
| 46 | ContinuousLinearMap.apply_apply,transportLinear_single] |
| 47 | rfl |
| 48 | |
| 49 | variable (P κ : ℝ) (m : Vector3) (g : LiftDomain P → Vector3) |
| 50 | |
| 51 | def coverVelocity (z : LiftTangent) : LiftTangent := |
| 52 | transportDirection κ m (g (coveringMap P z)) |
| 53 | |
| 54 | theorem coverVelocity_trace |
| 55 | (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) (z : LiftTangent) : |
| 56 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (coverVelocity P κ m g) z).toLinearMap = |
| 57 | ∑ i : Fin 3, (fieldDerivative P (coordinateDirection κ m i) g (coveringMap P z)) i := by |
| 58 | have he : g ∘ coveringMap P = localFieldLift P g 0 := by |
| 59 | funext w |
| 60 | simp [localFieldLift,coveringMap] |
| 61 | have hdg : Differentiable ℝ (g ∘ coveringMap P) := by |
| 62 | rw [he] |
| 63 | exact (hg 0).differentiable (by simp) |
| 64 | have hd := (transportLinear κ m).hasFDerivAt.comp z (hdg z).hasFDerivAt |
| 65 | change HasFDerivAt (coverVelocity P κ m g) ((transportLinear κ m).comp (fderiv ℝ (g ∘ coveringMap P) z)) z at hd |
| 66 | rw [hd.fderiv,trace_transportLinear,he] |
| 67 | apply Finset.sum_congr rfl |
| 68 | intro i _ |
| 69 | simp only [fieldDerivative,fderiv_localFieldLift_cover] |
| 70 | |
| 71 | variable [Fact (0 < P)] |
| 72 | |
| 73 | theorem coverVelocity_trace_zero (u : LiftL2 P) |
| 74 | (hu : u ∈ divergenceFreeSpace P κ m) |
| 75 | (hrep : (u : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g) |
| 76 | (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) (z : LiftTangent) : |
| 77 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (coverVelocity P κ m g) z).toLinearMap = 0 := by |
| 78 | rw [coverVelocity_trace P κ m g hg] |
| 79 | exact divergenceFree_classical_divergence_zero P κ m u hu g hrep hg _ |
| 80 | |
| 81 | end EulerLiftedTransportTrace |
| 82 | end |
| 83 | |
| 84 | end |
| 85 | |
| 86 | noncomputable section |
| 87 | |
| 88 | |
| 89 | namespace EulerLiftedSmoothTimeField |
| 90 | |
| 91 | open InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 92 | EulerMetricTransport EulerLiftedTransportTrace EulerPacketCylinderField EulerCylinderScalarPrimitive |
| 93 | open scoped ContDiff BoundedContinuousFunction |
| 94 | |
| 95 | def angularInjection : Space →L[ℝ] LiftTangent := |
| 96 | (ContinuousLinearMap.inr ℝ Space ℝ).comp scalarProject |
| 97 | |
| 98 | theorem angularInjection_norm : ‖angularInjection‖ ≤ 1 := by |
| 99 | apply opNorm_le_bound _ zero_le_one |
| 100 | intro v |
| 101 | change ‖((0 : Space), scalarProject v)‖ ≤ 1 * ‖v‖ |
| 102 | simpa only [Prod.norm_def, norm_zero, max_eq_right (norm_nonneg _), one_mul, |
| 103 | scalarProject_norm] using scalarProject.le_opNorm v |
| 104 | |
| 105 | theorem spatialInjection_norm : ‖ContinuousLinearMap.inl ℝ Space ℝ‖ ≤ 1 := by |
| 106 | apply opNorm_le_bound _ zero_le_one |
| 107 | intro v |
| 108 | simp |
| 109 | |
| 110 | theorem transportLinear_split (κ : ℝ) (m : Space) : |
| 111 | transportLinear κ m = κ • ContinuousLinearMap.inl ℝ Space ℝ + |
| 112 | angularInjection.comp (normalComponentMap m) := by |
| 113 | apply ContinuousLinearMap.ext |
| 114 | intro v |
| 115 | apply Prod.ext |
| 116 | · simp [transportLinear, angularInjection] |
| 117 | · simp [transportLinear, angularInjection] |
| 118 | |
| 119 | theorem transport_tensor_norm {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 120 | (κ : ℝ) (m : Space) {n : ℕ} (A : E [×n]→L[ℝ] Space) : |
| 121 | ‖(transportLinear κ m).compContinuousMultilinearMap A‖ ≤ |
| 122 | |κ| * ‖A‖ + ‖(normalComponentMap m).compContinuousMultilinearMap A‖ := by |
| 123 | have he : (transportLinear κ m).compContinuousMultilinearMap A = |
| 124 | κ • (ContinuousLinearMap.inl ℝ Space ℝ).compContinuousMultilinearMap A + |
| 125 | angularInjection.compContinuousMultilinearMap |
| 126 | ((normalComponentMap m).compContinuousMultilinearMap A) := by |
| 127 | apply ContinuousMultilinearMap.ext |
| 128 | intro v |
| 129 | exact congrArg (fun L : Space →L[ℝ] LiftTangent => L (A v)) (transportLinear_split κ m) |
| 130 | rw [he] |
| 131 | calc |
| 132 | _ ≤ ‖κ • (ContinuousLinearMap.inl ℝ Space ℝ).compContinuousMultilinearMap A‖ + |
| 133 | ‖angularInjection.compContinuousMultilinearMap |
| 134 | ((normalComponentMap m).compContinuousMultilinearMap A)‖ := norm_add_le _ _ |
| 135 | _ ≤ |κ| * (1 * ‖A‖) + |
| 136 | 1 * ‖(normalComponentMap m).compContinuousMultilinearMap A‖ := by |
| 137 | rw [norm_smul, Real.norm_eq_abs] |
| 138 | apply add_le_add |
| 139 | · exact mul_le_mul_of_nonneg_left |
| 140 | (((ContinuousLinearMap.inl ℝ Space ℝ).norm_compContinuousMultilinearMap_le A).trans |
| 141 | (mul_le_mul_of_nonneg_right spatialInjection_norm (norm_nonneg A))) (abs_nonneg κ) |
| 142 | · exact (angularInjection.norm_compContinuousMultilinearMap_le _).trans |
| 143 | (mul_le_mul_of_nonneg_right angularInjection_norm (norm_nonneg _)) |
| 144 | _ = _ := by rw [one_mul, one_mul] |
| 145 | |
| 146 | variable {K E : Type} [TopologicalSpace K] [CompactSpace K] |
| 147 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 148 | |
| 149 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] Space) := inferInstance |
| 150 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] Space) := inferInstance |
| 151 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] LiftTangent) := inferInstance |
| 152 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] LiftTangent) := inferInstance |
| 153 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] Space)) := inferInstance |
| 154 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] Space)) := inferInstance |
| 155 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 156 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 157 | |
| 158 | def lift (A : SmoothTimeField K E Space) (κ : ℝ) (m : Space) : SmoothTimeField K E LiftTangent := |
| 159 | A.map (transportLinear κ m) |
| 160 | |
| 161 | @[simp] theorem lift_apply (A : SmoothTimeField K E Space) (κ : ℝ) (m : Space) (t : K) (x : E) : |
| 162 | (lift A κ m).field t x = (κ • A.field t x, inner ℝ m (A.field t x)) := rfl |
| 163 | |
| 164 | theorem lift_jet_norm_le (A : SmoothTimeField K E Space) (κ : ℝ) (m : Space) (n : ℕ) : |
| 165 | ‖(lift A κ m).jet n‖ ≤ |κ| * ‖A.jet n‖ + ‖(A.map (normalComponentMap m)).jet n‖ := by |
| 166 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 167 | intro t |
| 168 | apply (BoundedContinuousFunction.norm_le (by positivity)).2 |
| 169 | intro x |
| 170 | change ‖(transportLinear κ m).compContinuousMultilinearMap (A.jet n t x)‖ ≤ _ |
| 171 | exact (transport_tensor_norm κ m _).trans |
| 172 | (add_le_add |
| 173 | (mul_le_mul_of_nonneg_left |
| 174 | (((A.jet n t).norm_coe_le_norm x).trans ((A.jet n).norm_coe_le_norm t)) (abs_nonneg κ)) |
| 175 | ((((A.map (normalComponentMap m)).jet n t).norm_coe_le_norm x).trans |
| 176 | (((A.map (normalComponentMap m)).jet n).norm_coe_le_norm t))) |
| 177 | |
| 178 | theorem lift_jet_norm_le_full (A : SmoothTimeField K E Space) (κ : ℝ) (m : Space) (n : ℕ) : |
| 179 | ‖(lift A κ m).jet n‖ ≤ (|κ| + ‖m‖) * ‖A.jet n‖ := by |
| 180 | apply (lift_jet_norm_le A κ m n).trans |
| 181 | have hm := ((A.map_jet_norm_le (normalComponentMap m) n).trans |
| 182 | (mul_le_mul_of_nonneg_right (normalComponentMap_norm_le m) (norm_nonneg (A.jet n)))) |
| 183 | simpa only [add_mul] using add_le_add (le_refl (|κ| * ‖A.jet n‖)) hm |
| 184 | |
| 185 | end EulerLiftedSmoothTimeField |