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 | /-- The full Frechet derivative extends to the boundary. The proof uses |
| 130 | the mean-value theorem on the convex open past halfspace. -/ |
| 131 | theorem hasFDerivWithinAt_extendTrace {T : ℝ} |
| 132 | {f : SpaceTime → V} {f' : SpaceTime → SpaceTime →L[ℝ] V} |
| 133 | {L : Space → V} {L' : Space → SpaceTime →L[ℝ] V} |
| 134 | (hderiv : ∀ z : SpaceTime, z.1 < T → HasFDerivAt f (f' z) z) |
| 135 | (hL : Continuous L) (hL' : Continuous L') |
| 136 | (hlim : TendstoLocallyUniformly (fun t x => f (t, x)) L (𝓝[<] T)) |
| 137 | (hlim' : TendstoLocallyUniformly (fun t x => f' (t, x)) L' (𝓝[<] T)) |
| 138 | (z : SpaceTime) (hz : z ∈ closedPast T) : |
| 139 | HasFDerivWithinAt (extendTrace T f L) (extendTrace T f' L' z) (closedPast T) z := by |
| 140 | rcases z with ⟨t, x⟩ |
| 141 | rcases lt_or_eq_of_le (show t ≤ T from hz.1) with hlt | heq |
| 142 | · rw [extendTrace_of_lt hlt] |
| 143 | exact (hasFDerivAt_extendTrace hlt (hderiv (t, x) hlt)).hasFDerivWithinAt |
| 144 | · subst t |
| 145 | rw [extendTrace_at] |
| 146 | have hd : DifferentiableOn ℝ (extendTrace T f L) (openPast T) := by |
| 147 | intro y hy |
| 148 | exact (hasFDerivAt_extendTrace hy.1 (hderiv y hy.1)).differentiableAt.differentiableWithinAt |
| 149 | have hc : ∀ y ∈ closure (openPast T), |
| 150 | ContinuousWithinAt (extendTrace T f L) (openPast T) y := by |
| 151 | rintro ⟨s, y⟩ hy |
| 152 | rw [closure_openPast] at hy |
| 153 | rcases lt_or_eq_of_le (show s ≤ T from hy.1) with hs | hs |
| 154 | · exact (hasFDerivAt_extendTrace hs (hderiv (s, y) hs)).continuousAt.continuousWithinAt |
| 155 | · subst s |
| 156 | exact extendTrace_continuousWithinAt_boundary hL hlim y |
| 157 | have hdf : Tendsto (fun y => fderiv ℝ (extendTrace T f L) y) |
| 158 | (𝓝[openPast T] (T, x)) (𝓝 (L' x)) := by |
| 159 | apply (joint_tendsto_at_boundary hL' hlim' x).congr' |
| 160 | filter_upwards [self_mem_nhdsWithin] with y hy |
| 161 | exact (hasFDerivAt_extendTrace (L := L) hy.1 (hderiv y hy.1)).fderiv.symm |
| 162 | simpa only [closure_openPast] using |
| 163 | hasFDerivWithinAt_closure_of_tendsto_fderiv hd (openPast_convex T) |
| 164 | (openPast_isOpen T) hc hdf |
| 165 | |
| 166 | /-- Extend every actual mixed derivative tensor by its spatial boundary trace. -/ |
| 167 | def extendJets (T : ℝ) (J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V) |
| 168 | (L : Space → FormalMultilinearSeries ℝ SpaceTime V) |
| 169 | (z : SpaceTime) : FormalMultilinearSeries ℝ SpaceTime V := |
| 170 | fun n => extendTrace T (fun y => J y n) (fun x => L x n) z |
| 171 | |
| 172 | theorem derivative_trace_continuous {T : ℝ} |
| 173 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 174 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 175 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 176 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 177 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 178 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 179 | Continuous (fun x => L x n) := by |
| 180 | apply trace_continuous (T := T) (f := fun z => J z n) (L := fun x => L x n) |
| 181 | _ (hlim n) |
| 182 | intro t ht |
| 183 | apply continuous_iff_continuousAt.mpr |
| 184 | intro x |
| 185 | exact (hderiv n (t, x) ht).continuousAt.comp |
| 186 | (continuous_const.prodMk continuous_id).continuousAt |
| 187 | |
| 188 | /-- All tensor derivatives remain compatible after taking boundary limits. |
| 189 | This is an actual `HasFDerivWithinAt` statement on the closed halfspace. -/ |
| 190 | theorem extendedJets_hasFDerivWithinAt {T : ℝ} |
| 191 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 192 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 193 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 194 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 195 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 196 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (z : SpaceTime) |
| 197 | (hz : z ∈ closedPast T) : |
| 198 | HasFDerivWithinAt (fun y => extendJets T J L y n) |
| 199 | (extendJets T J L z (n + 1)).curryLeft (closedPast T) z := by |
| 200 | let A : (SpaceTime[×(n + 1)]→L[ℝ] V) →L[ℝ] |
| 201 | (SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) := |
| 202 | (continuousMultilinearCurryLeftEquiv ℝ |
| 203 | (fun _ : Fin (n + 1) => SpaceTime) V).toContinuousLinearEquiv.toContinuousLinearMap |
| 204 | have hLC : Continuous (fun x => (L x (n + 1)).curryLeft) := |
| 205 | A.continuous.comp (derivative_trace_continuous hderiv hlim (n + 1)) |
| 206 | have hlimC : TendstoLocallyUniformly (fun t x => (J (t, x) (n + 1)).curryLeft) |
| 207 | (fun x => (L x (n + 1)).curryLeft) (𝓝[<] T) := by |
| 208 | intro u hu x |
| 209 | exact hlim (n + 1) _ (A.uniformContinuous hu) x |
| 210 | have h := hasFDerivWithinAt_extendTrace (T := T) (f := fun z => J z n) |
| 211 | (f' := fun z => (J z (n + 1)).curryLeft) |
| 212 | (L := fun x => L x n) (L' := fun x => (L x (n + 1)).curryLeft) (hderiv n) |
| 213 | (derivative_trace_continuous hderiv hlim n) hLC (hlim n) hlimC z hz |
| 214 | unfold extendJets extendTrace |
| 215 | unfold extendTrace at h |
| 216 | split_ifs at h ⊢ <;> exact h |
| 217 | |
| 218 | /-- The limiting derivative tensors form the actual smooth Taylor family |
| 219 | of the extended field. All fields of this predicate are proved. -/ |
| 220 | theorem hasFTaylorSeriesUpToOn_extension {T : ℝ} {f : SpaceTime → V} |
| 221 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 222 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 223 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 224 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 225 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 226 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 227 | (fun x => L x n) (𝓝[<] T)) : |
| 228 | HasFTaylorSeriesUpToOn ∞ (extendTrace T f (fun x => (L x 0).curry0)) |
| 229 | (extendJets T J L) (closedPast T) := by |
| 230 | constructor |
| 231 | · intro z hz |
| 232 | by_cases hzt : z.1 < T |
| 233 | · simpa only [extendJets, extendTrace, ite_eq_left hzt] using hzero z hzt |
| 234 | · simp only [extendJets, extendTrace, ite_eq_right hzt] |
| 235 | · intro n hn z hz |
| 236 | exact extendedJets_hasFDerivWithinAt hderiv hlim n z hz |
| 237 | · intro n hn z hz |
| 238 | exact (extendedJets_hasFDerivWithinAt hderiv hlim n z hz).continuousWithinAt |
| 239 | |
| 240 | /-- Main joint endpoint theorem: local-uniform limits of every compatible |
| 241 | full Frechet derivative imply joint `C∞` regularity on the closed past. -/ |
| 242 | theorem contDiffOn_joint_extension {T : ℝ} {f : SpaceTime → V} |
| 243 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 244 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 245 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 246 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 247 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 248 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 249 | (fun x => L x n) (𝓝[<] T)) : |
| 250 | ContDiffOn ℝ ∞ (extendTrace T f (fun x => (L x 0).curry0)) (closedPast T) := |
| 251 | (hasFTaylorSeriesUpToOn_extension hzero hderiv hlim).contDiffOn |
| 252 | |
| 253 | /-- The limit tensors are the genuine mixed derivative jets of the extension. -/ |
| 254 | theorem iteratedFDerivWithin_extension {T : ℝ} {f : SpaceTime → V} |
| 255 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 256 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 257 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 258 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 259 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 260 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 261 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (z : SpaceTime) |
| 262 | (hz : z ∈ closedPast T) : |
| 263 | iteratedFDerivWithin ℝ n (extendTrace T f (fun x => (L x 0).curry0)) |
| 264 | (closedPast T) z = extendJets T J L z n := by |
| 265 | have h := hasFTaylorSeriesUpToOn_extension hzero hderiv hlim |
| 266 | exact (h.eq_iteratedFDerivWithin_of_uniqueDiffOn |
| 267 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le (closedPast_uniqueDiff T) hz).symm |
| 268 | |
| 269 | theorem boundary_jets_eq_limits {T : ℝ} {f : SpaceTime → V} |
| 270 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 271 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 272 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 273 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 274 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 275 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 276 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) (x : Space) : |
| 277 | iteratedFDerivWithin ℝ n (extendTrace T f (fun y => (L y 0).curry0)) |
| 278 | (closedPast T) (T, x) = L x n := by |
| 279 | rw [iteratedFDerivWithin_extension hzero hderiv hlim n (T, x) ⟨le_refl T, mem_univ x⟩] |
| 280 | exact extendTrace_at T _ _ x |
| 281 | |
| 282 | /-- Every extended mixed-derivative tensor is itself jointly smooth. -/ |
| 283 | theorem extendedJets_contDiffOn {T : ℝ} |
| 284 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 285 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 286 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 287 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 288 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 289 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 290 | ContDiffOn ℝ ∞ (fun z => extendJets T J L z n) (closedPast T) := by |
| 291 | have hfinite : ∀ m n : ℕ, |
| 292 | ContDiffOn ℝ (m : WithTop ℕ∞) (fun z => extendJets T J L z n) (closedPast T) := by |
| 293 | intro m |
| 294 | induction m with |
| 295 | | zero => |
| 296 | intro n |
| 297 | apply contDiffOn_zero.mpr |
| 298 | intro z hz |
| 299 | exact (extendedJets_hasFDerivWithinAt hderiv hlim n z hz).continuousWithinAt |
| 300 | | succ m ih => |
| 301 | intro n |
| 302 | let A : (SpaceTime[×(n + 1)]→L[ℝ] V) →L[ℝ] |
| 303 | (SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) := |
| 304 | (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (n + 1) => SpaceTime) V).toContinuousLinearEquiv.toContinuousLinearMap |
| 305 | have hA : ContDiff ℝ (m : WithTop ℕ∞) A := |
| 306 | ContinuousLinearMap.contDiff (𝕜 := ℝ) |
| 307 | (E := SpaceTime[×(n + 1)]→L[ℝ] V) |
| 308 | (F := SpaceTime →L[ℝ] (SpaceTime[×n]→L[ℝ] V)) A |
| 309 | have hd : ContDiffOn ℝ (m : WithTop ℕ∞) |
| 310 | (fun z => (extendJets T J L z (n + 1)).curryLeft) (closedPast T) := by |
| 311 | exact hA.comp_contDiffOn (ih (n + 1)) |
| 312 | have hsucc : ContDiffOn ℝ ((m : WithTop ℕ∞) + 1) |
| 313 | (fun z => extendJets T J L z n) (closedPast T) := by |
| 314 | apply (contDiffOn_succ_iff_hasFDerivWithinAt_of_uniqueDiffOn (closedPast_uniqueDiff T)).mpr |
| 315 | refine ⟨by simp, ?_⟩ |
| 316 | exact ⟨_, hd, fun z hz => extendedJets_hasFDerivWithinAt hderiv hlim n z hz⟩ |
| 317 | simpa only [Nat.cast_add, Nat.cast_one] using hsucc |
| 318 | exact contDiffOn_infty.mpr (fun m => hfinite m n) |
| 319 | |
| 320 | /-- The boundary limits are smooth spatial coefficient functions, as required |
| 321 | for a spatial Taylor--Borel construction. This regularity is derived. -/ |
| 322 | theorem boundary_tensors_contDiff {T : ℝ} |
| 323 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 324 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 325 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 326 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 327 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 328 | (fun x => L x n) (𝓝[<] T)) (n : ℕ) : |
| 329 | ContDiff ℝ ∞ (fun x => L x n) := by |
| 330 | have h := (extendedJets_contDiffOn hderiv hlim n).comp_contDiff |
| 331 | (contDiff_const.prodMk contDiff_id : ContDiff ℝ ∞ (fun x : Space => (T, x))) |
| 332 | (fun x => show (T, x) ∈ closedPast T from ⟨le_refl T, mem_univ x⟩) |
| 333 | simpa only [Function.comp_def, extendJets, extendTrace_at] using h |
| 334 | |
| 335 | theorem field_locallyUniform_limit {T : ℝ} {f : SpaceTime → V} |
| 336 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 337 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 338 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 339 | (hlim : TendstoLocallyUniformly (fun t x => J (t, x) 0) |
| 340 | (fun x => L x 0) (𝓝[<] T)) : |
| 341 | TendstoLocallyUniformly (fun t x => f (t, x)) (fun x => (L x 0).curry0) (𝓝[<] T) := by |
| 342 | let A : (SpaceTime[×0]→L[ℝ] V) →L[ℝ] V := |
| 343 | (continuousMultilinearCurryFin0 ℝ SpaceTime V).toContinuousLinearEquiv.toContinuousLinearMap |
| 344 | intro u hu x |
| 345 | obtain ⟨s, hs, hU⟩ := hlim _ (A.uniformContinuous hu) x |
| 346 | refine ⟨s, hs, ?_⟩ |
| 347 | filter_upwards [hU, self_mem_nhdsWithin] with t ht htime y hy |
| 348 | rw [← hzero (t, y) htime] |
| 349 | exact ht y hy |
| 350 | |
| 351 | /-- Unit spatial periods are retained by the constructed endpoint extension. -/ |
| 352 | theorem unit_periods_joint_extension {T : ℝ} {f : SpaceTime → V} |
| 353 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 354 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 355 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 356 | (hlim : TendstoLocallyUniformly (fun t x => J (t, x) 0) |
| 357 | (fun x => L x 0) (𝓝[<] T)) |
| 358 | (hperiod : ProblemStatement.UnitSpatialPeriodsOn (Iio T) f) : |
| 359 | ProblemStatement.UnitSpatialPeriodsOn univ |
| 360 | (extendTrace T f (fun x => (L x 0).curry0)) := by |
| 361 | intro t ht x i |
| 362 | exact extendTrace_periodic (ProblemStatement.coordinateVector i) |
| 363 | (field_locallyUniform_limit hzero hlim) (fun s hs y => hperiod s hs y i) t x |
| 364 | |
| 365 | /-- A constructive endpoint extension theorem with exact full boundary jets. -/ |
| 366 | theorem exists_joint_endpoint_extension {T : ℝ} {f : SpaceTime → V} |
| 367 | {J : SpaceTime → FormalMultilinearSeries ℝ SpaceTime V} |
| 368 | {L : Space → FormalMultilinearSeries ℝ SpaceTime V} |
| 369 | (hzero : ∀ z : SpaceTime, z.1 < T → (J z 0).curry0 = f z) |
| 370 | (hderiv : ∀ n : ℕ, ∀ z : SpaceTime, z.1 < T → |
| 371 | HasFDerivAt (fun y => J y n) (J z (n + 1)).curryLeft z) |
| 372 | (hlim : ∀ n : ℕ, TendstoLocallyUniformly (fun t x => J (t, x) n) |
| 373 | (fun x => L x n) (𝓝[<] T)) : |
| 374 | ∃ g : SpaceTime → V, EqOn g f (openPast T) ∧ ContDiffOn ℝ ∞ g (closedPast T) ∧ |
| 375 | ∀ n : ℕ, ∀ x : Space, iteratedFDerivWithin ℝ n g (closedPast T) (T, x) = L x n := by |
| 376 | exact ⟨extendTrace T f (fun x => (L x 0).curry0), fun z hz => extendTrace_of_lt hz.1, |
| 377 | contDiffOn_joint_extension hzero hderiv hlim, boundary_jets_eq_limits hzero hderiv hlim⟩ |
| 378 | |
| 379 | end Normed |
| 380 | |
| 381 | end NavierStokes.SpacetimeEndpoint |