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.ContinuousPathComposition |
| 2 | import Mathlib.Topology.ContinuousMap.Bounded.Normed |
| 3 | |
| 4 | /-! |
| 5 | # Actual bounded-field bilinear and adjoint calculus |
| 6 | |
| 7 | Pointwise application/composition are bounded bilinear maps in the genuine |
| 8 | uniform field norm, including on a noncompact spatial domain. Lifting these |
| 9 | maps to compact time paths preserves their norm bounds. These are the |
| 10 | coefficient maps used to construct the actual source forward generator. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerBoundedFieldCalculus |
| 16 | |
| 17 | open ContinuousLinearMap EulerTransverseGramInverse EulerOperatorGevreyCalculus EulerGevrey |
| 18 | open scoped BoundedContinuousFunction ContDiff |
| 19 | |
| 20 | variable {α : Type*} [TopologicalSpace α] |
| 21 | |
| 22 | section Bilinear |
| 23 | |
| 24 | variable {E F G : Type*} |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 27 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 28 | |
| 29 | private local instance : NormedAddCommGroup (F →L[ℝ] G) := inferInstance |
| 30 | private local instance : NormedSpace ℝ (F →L[ℝ] G) := inferInstance |
| 31 | private local instance : NormedAddCommGroup (E →L[ℝ] F →L[ℝ] G) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (E →L[ℝ] F →L[ℝ] G) := inferInstance |
| 33 | private local instance : NormedAddCommGroup (α →ᵇ E) := inferInstance |
| 34 | private local instance : NormedSpace ℝ (α →ᵇ E) := inferInstance |
| 35 | private local instance : NormedAddCommGroup (α →ᵇ F) := inferInstance |
| 36 | private local instance : NormedSpace ℝ (α →ᵇ F) := inferInstance |
| 37 | private local instance : NormedAddCommGroup (α →ᵇ G) := inferInstance |
| 38 | private local instance : NormedSpace ℝ (α →ᵇ G) := inferInstance |
| 39 | |
| 40 | /-- The literal pointwise bounded bilinear field. -/ |
| 41 | def bilinearValue (B : E →L[ℝ] F →L[ℝ] G) (f : α →ᵇ E) (g : α →ᵇ F) : α →ᵇ G := |
| 42 | BoundedContinuousFunction.ofNormedAddCommGroup (fun x => B (f x) (g x)) |
| 43 | ((B.continuous.comp f.continuous).clm_apply g.continuous) (‖B‖*‖f‖*‖g‖) |
| 44 | (fun x => (B.le_opNorm₂ (f x) (g x)).trans |
| 45 | (mul_le_mul (mul_le_mul_of_nonneg_left (f.norm_coe_le_norm x) (norm_nonneg B)) |
| 46 | (g.norm_coe_le_norm x) (norm_nonneg _) (mul_nonneg (norm_nonneg B) (norm_nonneg f)))) |
| 47 | |
| 48 | @[simp] theorem bilinearValue_apply (B : E →L[ℝ] F →L[ℝ] G) (f : α →ᵇ E) (g : α →ᵇ F) (x : α) : |
| 49 | bilinearValue B f g x = B (f x) (g x) := rfl |
| 50 | |
| 51 | theorem bilinearValue_norm (B : E →L[ℝ] F →L[ℝ] G) (f : α →ᵇ E) (g : α →ᵇ F) : |
| 52 | ‖bilinearValue B f g‖ ≤ ‖B‖*‖f‖*‖g‖ := |
| 53 | BoundedContinuousFunction.norm_ofNormedAddCommGroup_le _ (by positivity) _ |
| 54 | |
| 55 | /-- Bilinearity is proved on the actual coefficient functions. -/ |
| 56 | def bilinearLinear (B : E →L[ℝ] F →L[ℝ] G) : (α →ᵇ E) →ₗ[ℝ] (α →ᵇ F) →ₗ[ℝ] (α →ᵇ G) where |
| 57 | toFun f := |
| 58 | { toFun := bilinearValue B f |
| 59 | map_add' g h := by |
| 60 | apply BoundedContinuousFunction.ext |
| 61 | intro x |
| 62 | exact map_add (B (f x)) (g x) (h x) |
| 63 | map_smul' r g := by |
| 64 | apply BoundedContinuousFunction.ext |
| 65 | intro x |
| 66 | exact map_smul (B (f x)) r (g x) } |
| 67 | map_add' f g := by |
| 68 | apply LinearMap.ext |
| 69 | intro h |
| 70 | apply BoundedContinuousFunction.ext |
| 71 | intro x |
| 72 | exact congrArg (fun L : F →L[ℝ] G => L (h x)) (map_add B (f x) (g x)) |
| 73 | map_smul' r f := by |
| 74 | apply LinearMap.ext |
| 75 | intro h |
| 76 | apply BoundedContinuousFunction.ext |
| 77 | intro x |
| 78 | exact congrArg (fun L : F →L[ℝ] G => L (h x)) (map_smul B r (f x)) |
| 79 | |
| 80 | /-- The actual bilinear map on bounded continuous fields. -/ |
| 81 | def bilinearMap (B : E →L[ℝ] F →L[ℝ] G) : (α →ᵇ E) →L[ℝ] (α →ᵇ F) →L[ℝ] (α →ᵇ G) := |
| 82 | (bilinearLinear B).mkContinuous₂ ‖B‖ (bilinearValue_norm B) |
| 83 | |
| 84 | @[simp] theorem bilinearMap_apply (B : E →L[ℝ] F →L[ℝ] G) (f : α →ᵇ E) (g : α →ᵇ F) (x : α) : |
| 85 | bilinearMap B f g x = B (f x) (g x) := rfl |
| 86 | |
| 87 | theorem bilinearMap_norm (B : E →L[ℝ] F →L[ℝ] G) : ‖bilinearMap (α := α) B‖ ≤ ‖B‖ := |
| 88 | (bilinearLinear B).mkContinuous₂_norm_le (norm_nonneg B) (bilinearValue_norm B) |
| 89 | |
| 90 | /-- Pointwise postcomposition preserves the coefficient map's norm bound. -/ |
| 91 | theorem postcomposition_norm (L : E →L[ℝ] F) : ‖L.compLeftContinuousBounded α‖ ≤ ‖L‖ := by |
| 92 | apply opNorm_le_bound _ (norm_nonneg L) |
| 93 | intro f |
| 94 | apply (BoundedContinuousFunction.norm_le (mul_nonneg (norm_nonneg L) (norm_nonneg f))).2 |
| 95 | intro x |
| 96 | exact (L.le_opNorm (f x)).trans (mul_le_mul_of_nonneg_left (f.norm_coe_le_norm x) (norm_nonneg L)) |
| 97 | |
| 98 | end Bilinear |
| 99 | |
| 100 | section Composition |
| 101 | |
| 102 | variable {U E F : Type*} |
| 103 | [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 104 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 105 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 106 | |
| 107 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 108 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 109 | private local instance : NormedAddCommGroup (E →L[ℝ] F) := inferInstance |
| 110 | private local instance : NormedSpace ℝ (E →L[ℝ] F) := inferInstance |
| 111 | private local instance : NormedAddCommGroup (U →L[ℝ] F) := inferInstance |
| 112 | private local instance : NormedSpace ℝ (U →L[ℝ] F) := inferInstance |
| 113 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] E) := inferInstance |
| 114 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] E) := inferInstance |
| 115 | private local instance : NormedAddCommGroup (α →ᵇ E →L[ℝ] F) := inferInstance |
| 116 | private local instance : NormedSpace ℝ (α →ᵇ E →L[ℝ] F) := inferInstance |
| 117 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] F) := inferInstance |
| 118 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] F) := inferInstance |
| 119 | private local instance : NormedAddCommGroup ((α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F)) := inferInstance |
| 120 | private local instance : NormedSpace ℝ ((α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F)) := inferInstance |
| 121 | |
| 122 | /-- The literal composition of two bounded operator fields. -/ |
| 123 | def compositionMap : (α →ᵇ E →L[ℝ] F) →L[ℝ] (α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F) := |
| 124 | bilinearMap (compL ℝ U E F) |
| 125 | |
| 126 | theorem compositionMap_norm : ‖compositionMap (α := α) (U := U) (E := E) (F := F)‖ ≤ 1 := |
| 127 | (bilinearMap_norm (compL ℝ U E F)).trans (norm_compL_le ℝ U E F) |
| 128 | |
| 129 | @[simp] theorem compositionMap_apply (A : α →ᵇ E →L[ℝ] F) (B : α →ᵇ U →L[ℝ] E) (x : α) : |
| 130 | compositionMap A B x = (A x).comp (B x) := rfl |
| 131 | |
| 132 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 133 | |
| 134 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 135 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 136 | private local instance : NormedAddCommGroup (C(K,α →ᵇ E →L[ℝ] F)) := inferInstance |
| 137 | private local instance : NormedSpace ℝ (C(K,α →ᵇ E →L[ℝ] F)) := inferInstance |
| 138 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] F)) := inferInstance |
| 139 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] F)) := inferInstance |
| 140 | private local instance : NormedAddCommGroup (C(K,(α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F))) := inferInstance |
| 141 | private local instance : NormedSpace ℝ (C(K,(α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F))) := inferInstance |
| 142 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ U →L[ℝ] F)) := inferInstance |
| 143 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ U →L[ℝ] F)) := inferInstance |
| 144 | |
| 145 | /-- Pointwise spatial composition, uniformly along a compact time path. -/ |
| 146 | def pathCompositionMap : C(K,α →ᵇ E →L[ℝ] F) →L[ℝ] |
| 147 | C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ U →L[ℝ] F) := |
| 148 | (EulerContinuousPathCalculus.coefficientMap (K := K) |
| 149 | (E := α →ᵇ U →L[ℝ] E) (F := α →ᵇ U →L[ℝ] F)).comp |
| 150 | ((compositionMap (α := α) (U := U) (E := E) (F := F)).compLeftContinuous ℝ K) |
| 151 | |
| 152 | @[simp] theorem pathCompositionMap_apply (A : C(K,α →ᵇ E →L[ℝ] F)) |
| 153 | (B : C(K,α →ᵇ U →L[ℝ] E)) (t : K) (x : α) : |
| 154 | pathCompositionMap A B t x = (A t x).comp (B t x) := rfl |
| 155 | |
| 156 | theorem pathCompositionMap_norm : ‖pathCompositionMap (α := α) (K := K) (U := U) (E := E) (F := F)‖ ≤ 1 := by |
| 157 | apply opNorm_le_bound _ zero_le_one |
| 158 | intro A |
| 159 | rw [one_mul] |
| 160 | apply opNorm_le_bound _ (norm_nonneg A) |
| 161 | intro B |
| 162 | apply (ContinuousMap.norm_le _ (mul_nonneg (norm_nonneg A) (norm_nonneg B))).2 |
| 163 | intro t |
| 164 | apply (BoundedContinuousFunction.norm_le (mul_nonneg (norm_nonneg A) (norm_nonneg B))).2 |
| 165 | intro x |
| 166 | exact (opNorm_comp_le (A t x) (B t x)).trans |
| 167 | (mul_le_mul (((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t)) |
| 168 | (((B t).norm_coe_le_norm x).trans (B.norm_coe_le_norm t)) (norm_nonneg _) (norm_nonneg A)) |
| 169 | |
| 170 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 171 | |
| 172 | /-- Genuine smoothness of pointwise field composition in the uniform time-space norm. -/ |
| 173 | theorem pathComposition_contDiff (A : P → C(K,α →ᵇ E →L[ℝ] F)) |
| 174 | (B : P → C(K,α →ᵇ U →L[ℝ] E)) {n : ℕ∞ω} (hA : ContDiff ℝ n A) (hB : ContDiff ℝ n B) : |
| 175 | ContDiff ℝ n (fun y => pathCompositionMap (A y) (B y)) := |
| 176 | ((ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 177 | (E := C(K,α →ᵇ E →L[ℝ] F)) |
| 178 | (F := C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ U →L[ℝ] F)) |
| 179 | (pathCompositionMap (α := α) (K := K) (U := U) (E := E) (F := F))).comp hA).clm_apply hB |
| 180 | |
| 181 | /-- The actual field product has the same factorial convolution bound. -/ |
| 182 | theorem pathComposition_bound (A : P → C(K,α →ᵇ E →L[ℝ] F)) |
| 183 | (B : P → C(K,α →ᵇ U →L[ℝ] E)) (hA : ContDiff ℝ ∞ A) (hB : ContDiff ℝ ∞ B) |
| 184 | (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (c d : ℕ) |
| 185 | (hbA : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C*majorant R c n) |
| 186 | (hbB : ∀ n x, ‖iteratedFDeriv ℝ n B x‖ ≤ D*majorant R d n) (n : ℕ) (x : P) : |
| 187 | ‖iteratedFDeriv ℝ n (fun y => pathCompositionMap (A y) (B y)) x‖ ≤ (3*C*D)*majorant R (c+d) n := |
| 188 | bilinear_bound (pathCompositionMap (α := α) (K := K) (U := U) (E := E) (F := F)) |
| 189 | (pathCompositionMap_norm (α := α) (K := K) (U := U) (E := E) (F := F)) |
| 190 | A B hA hB R C D hR hC hD c d hbA hbB n x |
| 191 | |
| 192 | end Composition |
| 193 | |
| 194 | section Adjoint |
| 195 | |
| 196 | variable {U E : Type*} |
| 197 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 198 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 199 | |
| 200 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 201 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 202 | private local instance : NormedAddCommGroup (E →L[ℝ] U) := inferInstance |
| 203 | private local instance : NormedSpace ℝ (E →L[ℝ] U) := inferInstance |
| 204 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] E) := inferInstance |
| 205 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] E) := inferInstance |
| 206 | private local instance : NormedAddCommGroup (α →ᵇ E →L[ℝ] U) := inferInstance |
| 207 | private local instance : NormedSpace ℝ (α →ᵇ E →L[ℝ] U) := inferInstance |
| 208 | private local instance : NormedAddCommGroup ((α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ E →L[ℝ] U)) := inferInstance |
| 209 | private local instance : NormedSpace ℝ ((α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ E →L[ℝ] U)) := inferInstance |
| 210 | |
| 211 | /-- The actual adjoint of every bounded coefficient operator. -/ |
| 212 | def adjointMap : (α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ E →L[ℝ] U) := |
| 213 | (realAdjoint (U := U) (E := E)).compLeftContinuousBounded α |
| 214 | |
| 215 | @[simp] theorem adjointMap_apply (A : α →ᵇ U →L[ℝ] E) (x : α) : adjointMap A x = (A x).adjoint := rfl |
| 216 | |
| 217 | theorem adjointMap_norm : ‖adjointMap (α := α) (U := U) (E := E)‖ ≤ 1 := by |
| 218 | apply opNorm_le_bound _ zero_le_one |
| 219 | intro A |
| 220 | rw [one_mul] |
| 221 | apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 |
| 222 | intro x |
| 223 | change ‖(A x).adjoint‖ ≤ ‖A‖ |
| 224 | rw [LinearIsometryEquiv.norm_map] |
| 225 | exact A.norm_coe_le_norm x |
| 226 | |
| 227 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 228 | |
| 229 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 230 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 231 | private local instance : NormedAddCommGroup (C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 232 | private local instance : NormedSpace ℝ (C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 233 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 234 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 235 | |
| 236 | /-- The bounded adjoint map on entire coefficient paths. -/ |
| 237 | def pathAdjointMap : C(K,α →ᵇ U →L[ℝ] E) →L[ℝ] C(K,α →ᵇ E →L[ℝ] U) := |
| 238 | (adjointMap (α := α) (U := U) (E := E)).compLeftContinuous ℝ K |
| 239 | |
| 240 | omit [CompactSpace K] in |
| 241 | @[simp] theorem pathAdjointMap_apply (A : C(K,α →ᵇ U →L[ℝ] E)) (t : K) (x : α) : |
| 242 | pathAdjointMap A t x = (A t x).adjoint := rfl |
| 243 | |
| 244 | theorem pathAdjointMap_norm : ‖pathAdjointMap (α := α) (K := K) (U := U) (E := E)‖ ≤ 1 := by |
| 245 | apply opNorm_le_bound _ zero_le_one |
| 246 | intro A |
| 247 | rw [one_mul] |
| 248 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 249 | intro t |
| 250 | apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 |
| 251 | intro x |
| 252 | change ‖(A t x).adjoint‖ ≤ ‖A‖ |
| 253 | rw [LinearIsometryEquiv.norm_map] |
| 254 | exact ((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t) |
| 255 | |
| 256 | end Adjoint |
| 257 | |
| 258 | end EulerBoundedFieldCalculus |