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 Mathlib.Analysis.Calculus.FDeriv.Extend |
| 2 | import Mathlib.Analysis.Calculus.TangentCone.Prod |
| 3 | import Mathlib.Topology.UniformSpace.UniformApproximation |
| 4 | import NavierStokes.ProblemStatement |
| 5 | |
| 6 | /-! |
| 7 | # Joint spacetime endpoint regularity from locally uniform derivative limits |
| 8 | |
| 9 | The domain is the concrete four-dimensional spacetime `ℝ × ℝ³`. All derivative |
| 10 | data below are full Frechet derivative tensors, and convergence is locally |
| 11 | uniform in the spatial variable in the tensor norm. Closed-side smoothness is |
| 12 | proved from these data, rather than included as a hypothesis. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | namespace NavierStokes.SpacetimeEndpoint |
| 21 | |
| 22 | abbrev Space := ProblemStatement.Space |
| 23 | abbrev SpaceTime := ProblemStatement.SpaceTime |
| 24 | |
| 25 | def openPast (T : ℝ) : Set SpaceTime := Iio T ×ˢ univ |
| 26 | def closedPast (T : ℝ) : Set SpaceTime := Iic T ×ˢ univ |
| 27 | |
| 28 | theorem openPast_isOpen (T : ℝ) : IsOpen (openPast T) := |
| 29 | isOpen_Iio.prod isOpen_univ |
| 30 | |
| 31 | theorem openPast_convex (T : ℝ) : Convex ℝ (openPast T) := |
| 32 | (convex_Iio T).prod convex_univ |
| 33 | |
| 34 | theorem closure_openPast (T : ℝ) : closure (openPast T) = closedPast T := by |
| 35 | simp only [openPast, closedPast, closure_prod_eq, closure_Iio, closure_univ] |
| 36 | |
| 37 | theorem closedPast_uniqueDiff (T : ℝ) : UniqueDiffOn ℝ (closedPast T) := |
| 38 | (uniqueDiffOn_Iic T).prod uniqueDiffOn_univ |
| 39 | |
| 40 | /-- Extend by the boundary trace. Only closed-past smoothness is claimed. -/ |
| 41 | def extendTrace {V : Type*} (T : ℝ) (f : SpaceTime → V) (L : Space → V) |
| 42 | (z : SpaceTime) : V := if z.1 < T then f z else L z.2 |
| 43 | |
| 44 | theorem extendTrace_of_lt {V : Type*} {T : ℝ} {f : SpaceTime → V} {L : Space → V} |
| 45 | {z : SpaceTime} (hz : z.1 < T) : extendTrace T f L z = f z := by |
| 46 | simp only [extendTrace, ite_eq_left hz] |
| 47 | |
| 48 | @[simp] theorem extendTrace_at {V : Type*} (T : ℝ) (f : SpaceTime → V) |
| 49 | (L : Space → V) (x : Space) : extendTrace T f L (T, x) = L x := by |
| 50 | simp only [extendTrace, lt_self_iff_false, ite_false] |
| 51 | |
| 52 | section Normed |
| 53 | |
| 54 | variable {V : Type*} [NormedAddCommGroup V] |
| 55 | |
| 56 | theorem hasFDerivAt_extendTrace [NormedSpace ℝ V] {T : ℝ} {f : SpaceTime → V} {L : Space → V} |
| 57 | {z : SpaceTime} {f' : SpaceTime →L[ℝ] V} (hz : z.1 < T) |
| 58 | (hf : HasFDerivAt f f' z) : HasFDerivAt (extendTrace T f L) f' z := by |
| 59 | apply hf.congr_of_eventuallyEq |
| 60 | filter_upwards [(continuous_fst.tendsto z).eventually (Iio_mem_nhds hz)] with y hy |
| 61 | exact extendTrace_of_lt hy |
| 62 | |
| 63 | /-- Local-uniform limits of continuous spatial slices are continuous traces. -/ |
| 64 | theorem trace_continuous {T : ℝ} {f : SpaceTime → V} {L : Space → V} |
| 65 | (hcont : ∀ t < T, Continuous (fun x : Space => f (t, x))) |
| 66 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) : |
| 67 | Continuous L := by |
| 68 | apply hlim.continuous |
| 69 | apply Filter.Eventually.frequently |
| 70 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 71 | exact hcont t ht |
| 72 | |
| 73 | /-- The local-uniform hypothesis controls simultaneous motion in time and |
| 74 | space; this is stronger than convergence at each fixed spatial point. -/ |
| 75 | theorem joint_tendsto_at_boundary {T : ℝ} {f : SpaceTime → V} {L : Space → V} |
| 76 | (hL : Continuous L) |
| 77 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) (x : Space) : |
| 78 | Tendsto f (𝓝[openPast T] (T, x)) (𝓝 (L x)) := by |
| 79 | have ht : Tendsto (fun z : SpaceTime => z.1) (𝓝[openPast T] (T, x)) (𝓝[<] T) := by |
| 80 | apply tendsto_nhdsWithin_iff.mpr |
| 81 | constructor |
| 82 | · exact (continuous_fst.tendsto (T, x)).mono_left nhdsWithin_le_nhds |
| 83 | · filter_upwards [self_mem_nhdsWithin] with z hz |
| 84 | exact hz.1 |
| 85 | have hx : Tendsto (fun z : SpaceTime => z.2) (𝓝[openPast T] (T, x)) (𝓝 x) := |
| 86 | (continuous_snd.tendsto (T, x)).mono_left nhdsWithin_le_nhds |
| 87 | apply tendsto_comp_of_locally_uniform_limit |
| 88 | (F := fun z : SpaceTime => fun y : Space => f (z.1, y)) hL.continuousAt hx |
| 89 | intro u hu |
| 90 | obtain ⟨s, hs, hU⟩ := hlim u hu x |
| 91 | exact ⟨s, hs, ht.eventually hU⟩ |
| 92 | |
| 93 | theorem extendTrace_continuousWithinAt_boundary {T : ℝ} {f : SpaceTime → V} |
| 94 | {L : Space → V} (hL : Continuous L) |
| 95 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) (x : Space) : |
| 96 | ContinuousWithinAt (extendTrace T f L) (openPast T) (T, x) := by |
| 97 | change Tendsto (extendTrace T f L) (𝓝[openPast T] (T, x)) |
| 98 | (𝓝 (extendTrace T f L (T, x))) |
| 99 | rw [extendTrace_at] |
| 100 | apply (joint_tendsto_at_boundary hL hlim x).congr' |
| 101 | filter_upwards [self_mem_nhdsWithin] with z hz |
| 102 | exact (extendTrace_of_lt hz.1).symm |
| 103 | |
| 104 | /-- Every spatial period of the slices passes to the boundary trace. -/ |
| 105 | theorem trace_periodic {T : ℝ} {f : SpaceTime → V} {L : Space → V} (v : Space) |
| 106 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) |
| 107 | (hperiod : ∀ t < T, ∀ x : Space, f (t, x + v) = f (t, x)) (x : Space) : |
| 108 | L (x + v) = L x := by |
| 109 | have h₁ := (hlim.tendstoLocallyUniformlyOn (s := univ)).tendsto_at (mem_univ (x + v)) |
| 110 | have h₂ := (hlim.tendstoLocallyUniformlyOn (s := univ)).tendsto_at (mem_univ x) |
| 111 | apply tendsto_nhds_unique h₁ |
| 112 | apply h₂.congr' |
| 113 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 114 | exact (hperiod t ht x).symm |
| 115 | |
| 116 | theorem extendTrace_periodic {T : ℝ} {f : SpaceTime → V} {L : Space → V} (v : Space) |
| 117 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) |
| 118 | (hperiod : ∀ t < T, ∀ x : Space, f (t, x + v) = f (t, x)) |
| 119 | (t : ℝ) (x : Space) : |
| 120 | extendTrace T f L (t, x + v) = extendTrace T f L (t, x) := by |
| 121 | by_cases ht : t < T |
| 122 | · simp only [extendTrace, ite_eq_left ht] |
| 123 | exact hperiod t ht x |
| 124 | · simp only [extendTrace, ite_eq_right ht] |
| 125 | exact trace_periodic v hlim hperiod x |
| 126 | |
| 127 | variable [NormedSpace ℝ V] |
| 128 | |
| 129 | /-- A fixed continuous linear map preserves the locally uniform limit. -/ |
| 130 | theorem locallyUniform_linearMap {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 131 | {T : ℝ} {f : SpaceTime → V} {L : Space → V} (A : V →L[ℝ] W) |
| 132 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) : |
| 133 | TendstoLocallyUniformly (fun t x => A (f (t, x))) (fun x => A (L x)) (𝓝[<] T) := by |
| 134 | intro u hu x |
| 135 | exact hlim _ (A.uniformContinuous hu) x |
| 136 | |
| 137 | /-- The full Frechet derivative extends to the boundary. The proof uses |
| 138 | the mean-value theorem on the convex open past halfspace. -/ |
| 139 | theorem hasFDerivWithinAt_extendTrace {T : ℝ} |
| 140 | {f : SpaceTime → V} {f' : SpaceTime → SpaceTime →L[ℝ] V} |
| 141 | {L : Space → V} {L' : Space → SpaceTime →L[ℝ] V} |
| 142 | (hderiv : ∀ z : SpaceTime, z.1 < T → HasFDerivAt f (f' z) z) |
| 143 | (hL : Continuous L) (hL' : Continuous L') |
| 144 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) |
| 145 | (hlim' : TendstoLocallyUniformly (fun t x => f' (t, x)) L' (𝓝[<] T)) |
| 146 | (z : SpaceTime) (hz : z ∈ closedPast T) : |
| 147 | HasFDerivWithinAt (extendTrace T f L) (extendTrace T f' L' z) (closedPast T) z := by |
| 148 | rcases z with ⟨t, x⟩ |
| 149 | rcases lt_or_eq_of_le (show t ≤ T from hz.1) with hlt | heq |
| 150 | · rw [extendTrace_of_lt hlt] |
| 151 | exact (hasFDerivAt_extendTrace hlt (hderiv (t, x) hlt)).hasFDerivWithinAt |
| 152 | · subst t |
| 153 | rw [extendTrace_at] |
| 154 | have hd : DifferentiableOn ℝ (extendTrace T f L) (openPast T) := by |
| 155 | intro y hy |
| 156 | exact (hasFDerivAt_extendTrace hy.1 (hderiv y hy.1)).differentiableAt.differentiableWithinAt |
| 157 | have hc : ∀ y ∈ closure (openPast T), |
| 158 | ContinuousWithinAt (extendTrace T f L) (openPast T) y := by |
| 159 | rintro ⟨s, y⟩ hy |
| 160 | rw [closure_openPast] at hy |
| 161 | rcases lt_or_eq_of_le (show s ≤ T from hy.1) with hs | hs |
| 162 | · exact (hasFDerivAt_extendTrace hs (hderiv (s, y) hs)).continuousAt.continuousWithinAt |
| 163 | · subst s |
| 164 | exact extendTrace_continuousWithinAt_boundary hL hlim y |
| 165 | have hdf : Tendsto (fun y => fderiv ℝ (extendTrace T f L) y) |
| 166 | (𝓝[openPast T] (T, x)) (𝓝 (L' x)) := by |
| 167 | apply (joint_tendsto_at_boundary hL' hlim' x).congr' |
| 168 | filter_upwards [self_mem_nhdsWithin] with y hy |
| 169 | exact (hasFDerivAt_extendTrace (L := L) hy.1 (hderiv y hy.1)).fderiv.symm |
| 170 | simpa only [closure_openPast] using |
| 171 | hasFDerivWithinAt_closure_of_tendsto_fderiv hd (openPast_convex T) |
| 172 | (openPast_isOpen T) hc hdf |
| 173 | |
| 174 | /-- Extend every actual mixed derivative tensor by its spatial boundary trace. -/ |
| 175 | def extendJets (T : ℝ) (J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V) |
| 176 | (L : Space → FormalMultilinearSeries ℝ SpaceTime V) |
| 177 | (z : SpaceTime) : FormalMultilinearSeries ℝ SpaceTime V := |
| 178 | fun n => extendTrace T (fun y => J y n) (fun x => L x n) z |
| 179 | |
| 180 | theorem derivative_trace_continuous {T : ℝ} |
| 181 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 182 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 183 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 184 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 185 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 186 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 187 | Continuous (fun x => L x n) := by |
| 188 | apply trace_continuous (T := T) (f := fun z => J z n) (L := fun x => L x n) |
| 189 | _ (hlim n) |
| 190 | intro t ht |
| 191 | apply continuous_iff_continuousAt.mpr |
| 192 | intro x |
| 193 | exact (hderiv n (t, x) ht).continuousAt.comp |
| 194 | (continuous_const.prodMk continuous_id).continuousAt |
| 195 | |
| 196 | /-- All tensor derivatives remain compatible after taking boundary limits. |
| 197 | This is an actual `HasFDerivWithinAt` statement on the closed halfspace. -/ |
| 198 | theorem extendedJets_hasFDerivWithinAt {T : ℝ} |
| 199 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 200 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 201 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 202 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 203 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 204 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (z : SpaceTime) |
| 205 | (hz : z ∈ closedPast T) : |
| 206 | HasFDerivWithinAt (fun y => extendJets T J L y n) |
| 207 | (extendJets T J L z (n + 1)).curryLeft (closedPast T) z := by |
| 208 | let A : (SpaceTime[×(n + 1)]→L[ℝ] V) →L[ℝ] |
| 209 | (SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) := |
| 210 | (continuousMultilinearCurryLeftEquiv ℝ |
| 211 | (fun _ : Fin (n + 1) => SpaceTime) V).toContinuousLinearEquiv.toContinuousLinearMap |
| 212 | have hLC : Continuous (fun x => (L x (n + 1)).curryLeft) := |
| 213 | A.continuous.comp (derivative_trace_continuous hderiv hlim (n + 1)) |
| 214 | have hlimC : TendstoLocallyUniformly (fun t x => (J (t, x) (n + 1)).curryLeft) |
| 215 | (fun x => (L x (n + 1)).curryLeft) (𝓝[<] T) := by |
| 216 | intro u hu x |
| 217 | exact hlim (n + 1) _ (A.uniformContinuous hu) x |
| 218 | have h := hasFDerivWithinAt_extendTrace (T := T) (f := fun z => J z n) |
| 219 | (f' := fun z => (J z (n + 1)).curryLeft) |
| 220 | (L := fun x => L x n) (L' := fun x => (L x (n + 1)).curryLeft) (hderiv n) |
| 221 | (derivative_trace_continuous hderiv hlim n) hLC (hlim n) hlimC z hz |
| 222 | unfold extendJets extendTrace |
| 223 | unfold extendTrace at h |
| 224 | split_ifs at h ⊢ <;> exact h |
| 225 | |
| 226 | /-- The limiting derivative tensors form the actual smooth Taylor family |
| 227 | of the extended field. All fields of this predicate are proved. -/ |
| 228 | theorem hasFTaylorSeriesUpToOn_extension {T : ℝ} {f : SpaceTime → V} |
| 229 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 230 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 231 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 232 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 233 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 234 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 235 | (fun x => L x n) (𝓝[<] T)) : |
| 236 | HasFTaylorSeriesUpToOn ∞ (extendTrace T f (fun x => (L x 0).curry0)) |
| 237 | (extendJets T J L) (closedPast T) := by |
| 238 | constructor |
| 239 | · intro z hz |
| 240 | by_cases hzt : z.1 < T |
| 241 | · simpa only [extendJets, extendTrace, ite_eq_left hzt] using hzero z hzt |
| 242 | · simp only [extendJets, extendTrace, ite_eq_right hzt] |
| 243 | · intro n hn z hz |
| 244 | exact extendedJets_hasFDerivWithinAt hderiv hlim n z hz |
| 245 | · intro n hn z hz |
| 246 | exact (extendedJets_hasFDerivWithinAt hderiv hlim n z hz).continuousWithinAt |
| 247 | |
| 248 | /-- Main joint endpoint theorem: local-uniform limits of every compatible |
| 249 | full Frechet derivative imply joint `C∞` regularity on the closed past. -/ |
| 250 | theorem contDiffOn_joint_extension {T : ℝ} {f : SpaceTime → V} |
| 251 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 252 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 253 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 254 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 255 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 256 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 257 | (fun x => L x n) (𝓝[<] T)) : |
| 258 | ContDiffOn ℝ ∞ (extendTrace T f (fun x => (L x 0).curry0)) (closedPast T) := |
| 259 | (hasFTaylorSeriesUpToOn_extension hzero hderiv hlim).contDiffOn |
| 260 | |
| 261 | /-- The limit tensors are the genuine mixed derivative jets of the extension. -/ |
| 262 | theorem iteratedFDerivWithin_extension {T : ℝ} {f : SpaceTime → V} |
| 263 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 264 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 265 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 266 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 267 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 268 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 269 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (z : SpaceTime) |
| 270 | (hz : z ∈ closedPast T) : |
| 271 | iteratedFDerivWithin ℝ n (extendTrace T f (fun x => (L x 0).curry0)) |
| 272 | (closedPast T) z = extendJets T J L z n := by |
| 273 | have h := hasFTaylorSeriesUpToOn_extension hzero hderiv hlim |
| 274 | exact (h.eq_iteratedFDerivWithin_of_uniqueDiffOn |
| 275 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le (closedPast_uniqueDiff T) hz).symm |
| 276 | |
| 277 | theorem boundary_jets_eq_limits {T : ℝ} {f : SpaceTime → V} |
| 278 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 279 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 280 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 281 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 282 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 283 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 284 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (x : Space) : |
| 285 | iteratedFDerivWithin ℝ n (extendTrace T f (fun y => (L y 0).curry0)) |
| 286 | (closedPast T) (T, x) = L x n := by |
| 287 | rw [iteratedFDerivWithin_extension hzero hderiv hlim n (T, x) ⟨le_refl T, mem_univ x⟩] |
| 288 | exact extendTrace_at T _ _ x |
| 289 | |
| 290 | /-- Every extended mixed-derivative tensor is itself jointly smooth. -/ |
| 291 | theorem extendedJets_contDiffOn {T : ℝ} |
| 292 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 293 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 294 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 295 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 296 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 297 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 298 | ContDiffOn ℝ ∞ (fun z => extendJets T J L z n) (closedPast T) := by |
| 299 | have hfinite : ∀ m n : ℕ, |
| 300 | ContDiffOn ℝ (m : WithTop ℕ∞) (fun z => extendJets T J L z n) (closedPast T) := by |
| 301 | intro m |
| 302 | induction m with |
| 303 | | zero => |
| 304 | intro n |
| 305 | apply contDiffOn_zero.mpr |
| 306 | intro z hz |
| 307 | exact (extendedJets_hasFDerivWithinAt hderiv hlim n z hz).continuousWithinAt |
| 308 | | succ m ih => |
| 309 | intro n |
| 310 | let A : (SpaceTime[×(n + 1)]→L[ℝ] V) →L[ℝ] |
| 311 | (SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) := |
| 312 | (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (n + 1) => SpaceTime) V).toContinuousLinearEquiv.toContinuousLinearMap |
| 313 | have hA : ContDiff ℝ (m : WithTop ℕ∞) A := |
| 314 | ContinuousLinearMap.contDiff (𝕜 := ℝ) |
| 315 | (E := SpaceTime[×(n + 1)]→L[ℝ] V) |
| 316 | (F := SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) A |
| 317 | have hd : ContDiffOn ℝ (m : WithTop ℕ∞) |
| 318 | (fun z => (extendJets T J L z (n + 1)).curryLeft) (closedPast T) := by |
| 319 | exact hA.comp_contDiffOn (ih (n + 1)) |
| 320 | have hsucc : ContDiffOn ℝ ((m : WithTop ℕ∞) + 1) |
| 321 | (fun z => extendJets T J L z n) (closedPast T) := by |
| 322 | apply (contDiffOn_succ_iff_hasFDerivWithinAt_of_uniqueDiffOn (closedPast_uniqueDiff T)).mpr |
| 323 | refine ⟨by simp, ?_⟩ |
| 324 | exact ⟨_, hd, fun z hz => extendedJets_hasFDerivWithinAt hderiv hlim n z hz⟩ |
| 325 | simpa only [Nat.cast_add, Nat.cast_one] using hsucc |
| 326 | exact contDiffOn_infty.mpr (fun m => hfinite m n) |
| 327 | |
| 328 | /-- The boundary limits are smooth spatial coefficient functions, as required |
| 329 | for a spatial Taylor--Borel construction. This regularity is derived. -/ |
| 330 | theorem boundary_tensors_contDiff {T : ℝ} |
| 331 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 332 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 333 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 334 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 335 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 336 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 337 | ContDiff ℝ ∞ (fun x => L x n) := by |
| 338 | have h := (extendedJets_contDiffOn hderiv hlim n).comp_contDiff |
| 339 | (contDiff_const.prodMk contDiff_id : ContDiff ℝ ∞ (fun x : Space => (T, x))) |
| 340 | (fun x => show (T, x) ∈ closedPast T from ⟨le_refl T, mem_univ x⟩) |
| 341 | simpa only [Function.comp_def, extendJets, extendTrace_at] using h |
| 342 | |
| 343 | theorem field_locallyUniform_limit {T : ℝ} {f : SpaceTime → V} |
| 344 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 345 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 346 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 347 | (hlim : TendstoLocallyUniformly (fun t x => J (t, x) 0) |
| 348 | (fun x => L x 0) (𝓝[<] T)) : |
| 349 | TendstoLocallyUniformly (fun t x => f (t, x)) (fun x => (L x 0).curry0) (𝓝[<] T) := by |
| 350 | let A : (SpaceTime[×0]→L[ℝ] V) →L[ℝ] V := |
| 351 | (continuousMultilinearCurryFin0 ℝ SpaceTime V).toContinuousLinearEquiv.toContinuousLinearMap |
| 352 | intro u hu x |
| 353 | obtain ⟨s, hs, hU⟩ := hlim _ (A.uniformContinuous hu) x |
| 354 | refine ⟨s, hs, ?_⟩ |
| 355 | filter_upwards [hU, self_mem_nhdsWithin] with t ht htime y hy |
| 356 | rw [← hzero (t, y) htime] |
| 357 | exact ht y hy |
| 358 | |
| 359 | /-- Unit spatial periods are retained by the constructed endpoint extension. -/ |
| 360 | theorem unit_periods_joint_extension {T : ℝ} {f : SpaceTime → V} |
| 361 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 362 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 363 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 364 | (hlim : TendstoLocallyUniformly (fun t x => J (t, x) 0) |
| 365 | (fun x => L x 0) (𝓝[<] T)) |
| 366 | (hperiod : ProblemStatement.UnitSpatialPeriodsOn (Iio T) f) : |
| 367 | ProblemStatement.UnitSpatialPeriodsOn univ |
| 368 | (extendTrace T f (fun x => (L x 0).curry0)) := by |
| 369 | intro t ht x i |
| 370 | exact extendTrace_periodic (ProblemStatement.coordinateVector i) |
| 371 | (field_locallyUniform_limit hzero hlim) (fun s hs y => hperiod s hs y i) t x |
| 372 | |
| 373 | /-- A constructive endpoint extension theorem with exact full boundary jets. -/ |
| 374 | theorem exists_joint_endpoint_extension {T : ℝ} {f : SpaceTime → V} |
| 375 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 376 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 377 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 378 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 379 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 380 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 381 | (fun x => L x n) (𝓝[<] T)) : |
| 382 | ∃ g : SpaceTime → V, EqOn g f (openPast T) ∧ ContDiffOn ℝ ∞ g (closedPast T) ∧ |
| 383 | ∀ n : ℕ, ∀ x : Space, iteratedFDerivWithin ℝ n g (closedPast T) (T, x) = L x n := by |
| 384 | exact ⟨extendTrace T f (fun x => (L x 0).curry0), fun z hz => extendTrace_of_lt hz.1, |
| 385 | contDiffOn_joint_extension hzero hderiv hlim, boundary_jets_eq_limits hzero hderiv hlim⟩ |
| 386 | |
| 387 | end Normed |
| 388 | |
| 389 | end NavierStokes.SpacetimeEndpoint |