import NavierStokes.PeriodicLocalization import NavierStokes.SolenoidalDiagonal import NavierStokes.CylindricalResidual import NavierStokes.ResidualRegularity import NavierStokes.TimeLocalization /-! # Spatial localization through actual Cartesian potentials The fixed cutoff is a smooth function of `x₀² + x₁²` and `x₂`. It is one on an open cylinder containing the origin and has support strictly inside a unit period cube. We multiply the potential before taking any curl, and periodize the resulting potential by the actual locally finite lattice sum. The pressure is cut and periodized as a scalar. The conclusions concern the spatial construction and the existing time activation. No terminal residual limit is assumed or asserted here. -/ namespace NavierStokes.SpatialLocalization noncomputable section open ProblemStatement Set Filter open AxisymmetricFields (projection) open scoped ContDiff Topology private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le /-- Squared distance to the symmetry axis, with no square-root singularity. -/ noncomputable def radialSquare (x : Space) : ℝ := (x 0) ^ 2 + (x 1) ^ 2 theorem radialSquare_nonneg (x : Space) : 0 ≤ radialSquare x := add_nonneg (sq_nonneg _) (sq_nonneg _) theorem radialSquare_contDiff : ContDiff ℝ ∞ radialSquare := ((projection 0).contDiff.pow 2).add ((projection 1).contDiff.pow 2) /-- A globally smooth profile in squared radius and axial position. -/ noncomputable def cutoffProfile (p : ℝ × ℝ) : ℝ := SmoothCutoffs.cutoff (16 * p.1) * SmoothCutoffs.cutoff (4 * p.2) theorem cutoffProfile_contDiff : ContDiff ℝ ∞ cutoffProfile := (SmoothCutoffs.cutoff_contDiff.comp (contDiff_const.mul contDiff_fst)).mul (SmoothCutoffs.cutoff_contDiff.comp (contDiff_const.mul contDiff_snd)) /-- The explicit spatial cutoff used in both the potential and the pressure. -/ noncomputable def spatialCutoff (x : Space) : ℝ := cutoffProfile (radialSquare x, x 2) theorem spatialCutoff_contDiff : ContDiff ℝ ∞ spatialCutoff := cutoffProfile_contDiff.comp (radialSquare_contDiff.prodMk (projection 2).contDiff) theorem spatialCutoff_mem_Icc (x : Space) : spatialCutoff x ∈ Icc (0 : ℝ) 1 := by have hr := SmoothCutoffs.cutoff_mem_Icc (16 * radialSquare x) have hz := SmoothCutoffs.cutoff_mem_Icc (4 * x 2) exact ⟨mul_nonneg hr.1 hz.1, (mul_le_of_le_one_left hz.1 hr.2).trans hz.2⟩ /-- Invariance under the actual Cartesian rotation about the third axis. -/ theorem spatialCutoff_rotation (θ : ℝ) (x : Space) : spatialCutoff (CylindricalResidual.frame θ x) = spatialCutoff x := by have hr : radialSquare (CylindricalResidual.frame θ x) = radialSquare x := by simp only [radialSquare, CylindricalResidual.frame_apply, AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one] linear_combination ((x 0) ^ 2 + (x 1) ^ 2) * Real.cos_sq_add_sin_sq θ simp only [spatialCutoff] rw [hr] simp only [CylindricalResidual.frame_apply, AxisymmetricResidual.pack_two] /-- The closed support cylinder has radius `1/4` and height `1/2`. -/ noncomputable def supportCylinder : Set Space := {x | radialSquare x ≤ 1 / 16 ∧ |x 2| ≤ 1 / 4} theorem isClosed_supportCylinder : IsClosed supportCylinder := (isClosed_le radialSquare_contDiff.continuous continuous_const).inter (isClosed_le (projection 2).continuous.abs continuous_const) theorem isCompact_supportCylinder : IsCompact supportCylinder := by convert! AxisymmetricFields.isCompact_cylinder (1 / 32) (1 / 4) using 1 ext x simp only [supportCylinder, Set.mem_ofPred_eq, AxisymmetricFields.radialEnergy, radialSquare] constructor <;> intro hx <;> constructor · linarith [hx.1] · exact hx.2 · linarith [hx.1] · exact hx.2 theorem spatialCutoff_support_subset : Function.support spatialCutoff ⊆ supportCylinder := by intro x hx have hprod : SmoothCutoffs.cutoff (16 * radialSquare x) * SmoothCutoffs.cutoff (4 * x 2) ≠ 0 := hx have hr : 16 * radialSquare x < 1 := by by_contra h exact (mul_ne_zero_iff.mp hprod).1 (SmoothCutoffs.cutoff_zero_of_one_le (le_of_not_gt h)) have hz : |4 * x 2| < 1 := by by_contra h exact (mul_ne_zero_iff.mp hprod).2 (SmoothCutoffs.cutoff_zero_of_one_le_abs (le_of_not_gt h)) simp only [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] at hz exact ⟨by linarith, by linarith⟩ theorem spatialCutoff_tsupport_subset : tsupport spatialCutoff ⊆ supportCylinder := closure_minimal spatialCutoff_support_subset isClosed_supportCylinder theorem spatialCutoff_hasCompactSupport : HasCompactSupport spatialCutoff := isCompact_supportCylinder.of_isClosed_subset (isClosed_tsupport _) spatialCutoff_tsupport_subset theorem supportCylinder_coordinate_bound {x : Space} (hx : x ∈ supportCylinder) (i : Fin 3) : |x i| ≤ 1 / 4 := by have hr := hx.1 change (x 0) ^ 2 + (x 1) ^ 2 ≤ 1 / 16 at hr fin_cases i · change |x 0| ≤ 1 / 4 have hs : |x 0| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by rw [sq_abs] nlinarith [sq_nonneg (x 1)] nlinarith [abs_nonneg (x 0)] · change |x 1| ≤ 1 / 4 have hs : |x 1| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by rw [sq_abs] nlinarith [sq_nonneg (x 0)] nlinarith [abs_nonneg (x 1)] · exact hx.2 /-- The support is strictly inside the centered fundamental period cube. -/ theorem spatialCutoff_strictly_inside_cube {x : Space} (hx : x ∈ tsupport spatialCutoff) (i : Fin 3) : |x i| < 1 / 2 := by have := supportCylinder_coordinate_bound (spatialCutoff_tsupport_subset hx) i linarith /-- An open cylinder on which the cutoff is identically one. -/ noncomputable def plateau : Set Space := {x | radialSquare x < 1 / 32 ∧ |x 2| < 1 / 8} theorem isOpen_plateau : IsOpen plateau := (isOpen_lt radialSquare_contDiff.continuous continuous_const).inter (isOpen_lt (projection 2).continuous.abs continuous_const) theorem zero_mem_plateau : (0 : Space) ∈ plateau := by norm_num [plateau, radialSquare] theorem spatialCutoff_eq_one {x : Space} (hx : x ∈ plateau) : spatialCutoff x = 1 := by have hr : |16 * radialSquare x| ≤ 1 / 2 := by rw [abs_of_nonneg (mul_nonneg (by norm_num) (radialSquare_nonneg x))] linarith [hx.1] have hz : |4 * x 2| ≤ 1 / 2 := by rw [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] linarith [hx.2] simp only [spatialCutoff, cutoffProfile, SmoothCutoffs.cutoff_one_of_abs_le hr, SmoothCutoffs.cutoff_one_of_abs_le hz, one_mul] theorem spatialCutoff_eventually_one {x : Space} (hx : x ∈ plateau) : spatialCutoff =ᶠ[𝓝 x] (fun _ => 1) := by filter_upwards [isOpen_plateau.mem_nhds hx] with y hy exact spatialCutoff_eq_one hy theorem plateau_subset_innerCube : plateau ⊆ PeriodicLocalization.innerCube (1 / 4) := by intro x hx i have hb : x ∈ supportCylinder := ⟨by linarith [hx.1], by linarith [hx.2]⟩ have := supportCylinder_coordinate_bound hb i linarith /-- Multiplication of the actual Cartesian potential, before any curl. -/ noncomputable def cutPotential (A : VelocityField) : VelocityField := fun z => spatialCutoff z.2 • A z noncomputable def cutPressure (p : PressureField) : PressureField := fun z => spatialCutoff z.2 * p z noncomputable def cutVelocity (A : VelocityField) : VelocityField := SpatialCurl.spatialCurl (cutPotential A) theorem cutPotential_supported (A : VelocityField) : PeriodicLocalization.SupportedInCube (1 / 4) (cutPotential A) := by intro z hz i have hc : spatialCutoff z.2 ≠ 0 := by intro h exact hz (by simp only [cutPotential, h, zero_smul]) exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i theorem cutPressure_supported (p : PressureField) : PeriodicLocalization.SupportedInCube (1 / 4) (cutPressure p) := by intro z hz i have hc : spatialCutoff z.2 ≠ 0 := by intro h exact hz (by simp only [cutPressure, h, zero_mul]) exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i theorem cutVelocity_tsupport (A : VelocityField) (t : ℝ) : tsupport (fun x => cutVelocity A (t, x)) ⊆ supportCylinder := (SpatialCurl.tsupport_curl_cutoff_subset spatialCutoff (fun x => A (t, x))).trans spatialCutoff_tsupport_subset theorem cutVelocity_hasCompactSupport (A : VelocityField) (t : ℝ) : HasCompactSupport (fun x => cutVelocity A (t, x)) := SpatialCurl.hasCompactSupport_curl_cutoff spatialCutoff_hasCompactSupport (fun x => A (t, x)) /-- This identity displays the entire cutoff derivative term. -/ theorem cutVelocity_product_rule (A : VelocityField) (t : ℝ) (x : Space) (hA : DifferentiableAt ℝ (fun y => A (t, y)) x) : cutVelocity A (t, x) = spatialCutoff x • SpatialCurl.spatialCurl A (t, x) + SpatialCurl.curlLinear ((fderiv ℝ spatialCutoff x).smulRight (A (t, x))) := by change SpatialCurl.curlLinear (fderiv ℝ (fun y => spatialCutoff y • A (t, y)) x) = _ rw [fderiv_fun_smul (spatialCutoff_contDiff.differentiable (by simp) x) hA, map_add, map_smul] rfl /-- The actual lattice sum of the cut potential. -/ noncomputable def periodicPotential (A : VelocityField) : VelocityField := PeriodicLocalization.periodize (cutPotential A) noncomputable def periodicVelocity (A : VelocityField) : VelocityField := SpatialCurl.spatialCurl (periodicPotential A) noncomputable def periodicPressure (p : PressureField) : PressureField := PeriodicLocalization.periodize (cutPressure p) theorem periodicPotential_locally_finite (A : VelocityField) : LocallyFinite (fun n : PeriodicLocalization.Lattice => Function.support (PeriodicLocalization.translate (cutPotential A) n)) := PeriodicLocalization.locallyFinite_support_translate (cutPotential_supported A) theorem periodicPressure_locally_finite (p : PressureField) : LocallyFinite (fun n : PeriodicLocalization.Lattice => Function.support (PeriodicLocalization.translate (cutPressure p) n)) := PeriodicLocalization.locallyFinite_support_translate (cutPressure_supported p) theorem periodicPotential_smoothOn {A : VelocityField} {times : Set ℝ} (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (periodicPotential A) (times ×ˢ (univ : Set Space)) := PeriodicLocalization.contDiffOn_periodize (cutPotential_supported A) ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.smul hA) theorem periodicVelocity_smoothOn {A : VelocityField} {times : Set ℝ} (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (periodicVelocity A) (times ×ˢ (univ : Set Space)) := SpatialCurl.contDiffOn_spatialCurl (periodicPotential_smoothOn hA) (by simp) theorem periodicPressure_smoothOn {p : PressureField} {times : Set ℝ} (hp : ContDiffOn ℝ ∞ p (times ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (periodicPressure p) (times ×ˢ (univ : Set Space)) := PeriodicLocalization.contDiffOn_periodize (cutPressure_supported p) ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.mul hp) theorem periodicPotential_periodic (A : VelocityField) (times : Set ℝ) : UnitSpatialPeriodsOn times (periodicPotential A) := PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPotential A) times theorem periodicVelocity_periodic (A : VelocityField) (times : Set ℝ) : UnitSpatialPeriodsOn times (periodicVelocity A) := SpatialCurl.spatialCurl_periodic (periodicPotential_periodic A times) theorem periodicPressure_periodic (p : PressureField) (times : Set ℝ) : UnitSpatialPeriodsOn times (periodicPressure p) := PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPressure p) times theorem periodicVelocity_divergence_free {A : VelocityField} {times : Set ℝ} (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) {t : ℝ} (ht : t ∈ times) (x : Space) : spatialDivergence (periodicVelocity A) t x = 0 := SpatialCurl.spatialDivergence_spatialCurl_on ((periodicPotential_smoothOn hA).of_le (nat_le_infty 2)) ht x /-- Throughout the central no-overlap cube, periodization agrees locally with the actual cut field, including its cutoff derivative terms. -/ theorem periodicVelocity_eventuallyEq_cut (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : periodicVelocity A =ᶠ[𝓝 z] cutVelocity A := SolenoidalDiagonal.spatialCurl_eventuallyEq (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) hz) theorem periodicPressure_eventuallyEq_cut (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : periodicPressure p =ᶠ[𝓝 z] cutPressure p := PeriodicLocalization.periodize_eventuallyEq (cutPressure_supported p) hz theorem periodic_residual_eventuallyEq_cut (A : VelocityField) (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) =ᶠ[𝓝 z] (fun w => navierStokesResidual (cutVelocity A) (cutPressure p) w.1 w.2) := ResidualRegularity.residual_eventuallyEq (periodicVelocity_eventuallyEq_cut A hz) (periodicPressure_eventuallyEq_cut p hz) theorem periodic_fields_eq_cut_on_unitCube (A : VelocityField) (p : PressureField) (t : ℝ) {x : Space} (hx : ∀ i : Fin 3, |x i| ≤ 1 / 2) : periodicVelocity A (t, x) = cutVelocity A (t, x) ∧ periodicPressure p (t, x) = cutPressure p (t, x) ∧ navierStokesResidual (periodicVelocity A) (periodicPressure p) t x = navierStokesResidual (cutVelocity A) (cutPressure p) t x := by have hi : x ∈ PeriodicLocalization.innerCube (1 / 4) := by intro i have := hx i linarith exact ⟨(periodicVelocity_eventuallyEq_cut A (z := (t, x)) hi).self_of_nhds, (periodicPressure_eventuallyEq_cut p (z := (t, x)) hi).self_of_nhds, (periodic_residual_eventuallyEq_cut A p (z := (t, x)) hi).self_of_nhds⟩ theorem cutPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : cutPotential A =ᶠ[𝓝 z] A := by have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt filter_upwards [he] with w hw change spatialCutoff w.2 = 1 at hw simp only [cutPotential, hw, one_smul] theorem cutPressure_eventuallyEq (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : cutPressure p =ᶠ[𝓝 z] p := by have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt filter_upwards [he] with w hw change spatialCutoff w.2 = 1 at hw simp only [cutPressure, hw, one_mul] /-- Local equality includes all nearby physical times and all spatial directions. -/ theorem periodicPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : periodicPotential A =ᶠ[𝓝 z] A := (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) (plateau_subset_innerCube hz)).trans (cutPotential_eventuallyEq A hz) theorem periodicVelocity_eventuallyEq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : periodicVelocity A =ᶠ[𝓝 z] SpatialCurl.spatialCurl A := SolenoidalDiagonal.spatialCurl_eventuallyEq (periodicPotential_eventuallyEq A hz) theorem periodicPressure_eventuallyEq (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : periodicPressure p =ᶠ[𝓝 z] p := (PeriodicLocalization.periodize_eventuallyEq (cutPressure_supported p) (plateau_subset_innerCube hz)).trans (cutPressure_eventuallyEq p hz) theorem periodicVelocity_eq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : periodicVelocity A z = SpatialCurl.spatialCurl A z := (periodicVelocity_eventuallyEq A hz).self_of_nhds theorem periodicPressure_eq (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : periodicPressure p z = p z := (periodicPressure_eventuallyEq p hz).self_of_nhds theorem periodicVelocity_jets_eq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (periodicVelocity A) z = iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (periodicVelocity_eventuallyEq A hz) m).self_of_nhds theorem periodicPressure_jets_eq (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (periodicPressure p) z = iteratedFDeriv ℝ m p z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (periodicPressure_eventuallyEq p hz) m).self_of_nhds theorem periodic_residual_eventuallyEq (A : VelocityField) (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) =ᶠ[𝓝 z] (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) := ResidualRegularity.residual_eventuallyEq (periodicVelocity_eventuallyEq A hz) (periodicPressure_eventuallyEq p hz) theorem periodic_residual_eq (A : VelocityField) (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : navierStokesResidual (periodicVelocity A) (periodicPressure p) z.1 z.2 = navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2 := (periodic_residual_eventuallyEq A p hz).self_of_nhds theorem periodic_residual_jets_eq (A : VelocityField) (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) z = iteratedFDeriv ℝ m (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (periodic_residual_eventuallyEq A p hz) m).self_of_nhds theorem periodicVelocity_origin (A : VelocityField) (t : ℝ) : periodicVelocity A (t, 0) = SpatialCurl.spatialCurl A (t, 0) := periodicVelocity_eq A zero_mem_plateau theorem periodicPressure_origin (p : PressureField) (t : ℝ) : periodicPressure p (t, 0) = p (t, 0) := periodicPressure_eq p zero_mem_plateau theorem periodicVelocity_origin_blowup (A : VelocityField) (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : Tendsto (fun t : ℝ => ‖periodicVelocity A (t, 0)‖) (𝓝[<] 1) atTop := by simpa only [periodicVelocity_origin] using hA /-- The previously constructed time switch is applied to the spatially localized fields. It is independent of the spatial variables. -/ noncomputable def localizedVelocity (A : VelocityField) : VelocityField := TimeLocalization.activatedVelocity (periodicVelocity A) noncomputable def localizedPressure (p : PressureField) : PressureField := TimeLocalization.activatedPressure (periodicPressure p) /-- The same time activation can be performed on the actual potential. -/ noncomputable def localizedPotential (A : VelocityField) : VelocityField := TimeLocalization.activatedVelocity (periodicPotential A) theorem localizedPotential_smoothOn {A : VelocityField} {times : Set ℝ} (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (localizedPotential A) (times ×ˢ (univ : Set Space)) := (SmoothCutoffs.timeSwitch_contDiff.comp contDiff_fst).contDiffOn.smul (periodicPotential_smoothOn hA) theorem localizedVelocity_eq_curl {A : VelocityField} {times : Set ℝ} (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) {t : ℝ} (ht : t ∈ times) (x : Space) : localizedVelocity A (t, x) = SpatialCurl.spatialCurl (localizedPotential A) (t, x) := by have hd : DifferentiableAt ℝ (fun y => periodicPotential A (t, y)) x := (SpatialCurl.contDiff_spatialSlice (periodicPotential_smoothOn hA) ht).differentiable (by simp) x change SmoothCutoffs.timeSwitch t • SpatialCurl.curlLinear (fderiv ℝ (fun y => periodicPotential A (t, y)) x) = SpatialCurl.curlLinear (fderiv ℝ (fun y => SmoothCutoffs.timeSwitch t • periodicPotential A (t, y)) x) rw [fderiv_fun_const_smul hd, map_smul] theorem localizedVelocity_smooth {A : VelocityField} (hA : ContDiffOn ℝ ∞ A preSingularDomain) : ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain := TimeLocalization.activatedVelocity_smooth _ (periodicVelocity_smoothOn hA) theorem localizedPressure_smooth {p : PressureField} (hp : ContDiffOn ℝ ∞ p preSingularDomain) : ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain := TimeLocalization.activatedPressure_smooth _ (periodicPressure_smoothOn hp) theorem localizedVelocity_smooth_before {A : VelocityField} (hA : ContDiffOn ℝ ∞ A (Iio (1 : ℝ) ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain := localizedVelocity_smooth (hA.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) theorem localizedPressure_smooth_before {p : PressureField} (hp : ContDiffOn ℝ ∞ p (Iio (1 : ℝ) ×ˢ (univ : Set Space))) : ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain := localizedPressure_smooth (hp.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) theorem localizedVelocity_periodic (A : VelocityField) (times : Set ℝ) : UnitSpatialPeriodsOn times (localizedVelocity A) := TimeLocalization.activatedVelocity_periodic _ times (periodicVelocity_periodic A times) theorem localizedPressure_periodic (p : PressureField) (times : Set ℝ) : UnitSpatialPeriodsOn times (localizedPressure p) := TimeLocalization.activatedPressure_periodic _ times (periodicPressure_periodic p times) theorem localizedVelocity_zero_initial (A : VelocityField) (x : Space) : localizedVelocity A (0, x) = 0 := TimeLocalization.activatedVelocity_zero_initial _ x theorem localizedPressure_zero_initial (p : PressureField) (x : Space) : localizedPressure p (0, x) = 0 := TimeLocalization.activatedPressure_zero_initial _ x theorem localizedVelocity_zero_early (A : VelocityField) {t : ℝ} (ht : |t| ≤ 3 / 8) (x : Space) : localizedVelocity A (t, x) = 0 := TimeLocalization.activatedVelocity_zero_early _ ht x theorem localizedPressure_zero_early (p : PressureField) {t : ℝ} (ht : |t| ≤ 3 / 8) (x : Space) : localizedPressure p (t, x) = 0 := TimeLocalization.activatedPressure_zero_early _ ht x theorem localizedVelocity_divergence_free {A : VelocityField} (hA : ContDiffOn ℝ ∞ A preSingularDomain) : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence (localizedVelocity A) t x = 0 := TimeLocalization.activatedVelocity_divergence_free _ (periodicVelocity_smoothOn hA) (fun _ ht x => periodicVelocity_divergence_free hA ht x) theorem localizedVelocity_eventuallyEq (A : VelocityField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : localizedVelocity A =ᶠ[𝓝 z] SpatialCurl.spatialCurl A := (TimeLocalization.activatedVelocity_eventuallyEq_late _ ht z.2).trans (periodicVelocity_eventuallyEq A hz) theorem localizedPressure_eventuallyEq (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : localizedPressure p =ᶠ[𝓝 z] p := (TimeLocalization.activatedPressure_eventuallyEq_late _ ht z.2).trans (periodicPressure_eventuallyEq p hz) theorem localizedVelocity_eq (A : VelocityField) {z : SpaceTime} (ht : 3 / 4 ≤ z.1) (hz : z.2 ∈ plateau) : localizedVelocity A z = SpatialCurl.spatialCurl A z := by rw [localizedVelocity, TimeLocalization.activatedVelocity_eq_late _ ht, periodicVelocity_eq A hz] theorem localizedPressure_eq (p : PressureField) {z : SpaceTime} (ht : 3 / 4 ≤ z.1) (hz : z.2 ∈ plateau) : localizedPressure p z = p z := by rw [localizedPressure, TimeLocalization.activatedPressure_eq_late _ ht, periodicPressure_eq p hz] theorem localized_residual_eventuallyEq (A : VelocityField) (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) =ᶠ[𝓝 z] (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) := ResidualRegularity.residual_eventuallyEq (localizedVelocity_eventuallyEq A ht hz) (localizedPressure_eventuallyEq p ht hz) theorem localized_residual_eq (A : VelocityField) (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : navierStokesResidual (localizedVelocity A) (localizedPressure p) z.1 z.2 = navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2 := (localized_residual_eventuallyEq A p ht hz).self_of_nhds /-- An existing physical potential representation can be supplied as a local identity. No additional regularity is needed to transfer the residual germ. -/ theorem localized_residual_of_potential_germ (A u : VelocityField) (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (hAu : SpatialCurl.spatialCurl A =ᶠ[𝓝 z] u) : (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) =ᶠ[𝓝 z] (fun w => navierStokesResidual u p w.1 w.2) := ResidualRegularity.residual_eventuallyEq ((localizedVelocity_eventuallyEq A ht hz).trans hAu) (localizedPressure_eventuallyEq p ht hz) theorem localizedVelocity_jets_eq (A : VelocityField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (localizedVelocity A) z = iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (localizedVelocity_eventuallyEq A ht hz) m).self_of_nhds theorem localizedPressure_jets_eq (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (localizedPressure p) z = iteratedFDeriv ℝ m p z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (localizedPressure_eventuallyEq p ht hz) m).self_of_nhds theorem localized_residual_jets_eq (A : VelocityField) (p : PressureField) {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : iteratedFDeriv ℝ m (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) z = iteratedFDeriv ℝ m (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) z := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (localized_residual_eventuallyEq A p ht hz) m).self_of_nhds theorem localizedVelocity_origin (A : VelocityField) {t : ℝ} (ht : 3 / 4 ≤ t) : localizedVelocity A (t, 0) = SpatialCurl.spatialCurl A (t, 0) := localizedVelocity_eq A ht zero_mem_plateau theorem localizedVelocity_origin_blowup (A : VelocityField) (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : Tendsto (fun t : ℝ => ‖localizedVelocity A (t, 0)‖) (𝓝[<] 1) atTop := by apply hA.congr' have hlate : ∀ᶠ t in 𝓝[<] (1 : ℝ), 3 / 4 < t := mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (by norm_num)) filter_upwards [hlate] with t ht rw [localizedVelocity_origin A ht.le] private theorem unbounded_of_origin_blowup {u : VelocityField} (hu : Tendsto (fun t : ℝ => ‖u (t, 0)‖) (𝓝[<] 1) atTop) : SpeedUnboundedAtOne u := by intro M _ δ hδ have hlow : Ioi (max 0 (1 - δ)) ∈ 𝓝[<] (1 : ℝ) := mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (max_lt (by norm_num) (by linarith))) have hlarge : ∀ᶠ t in 𝓝[<] (1 : ℝ), M < ‖u (t, 0)‖ := hu.eventually (eventually_gt_atTop M) have hbefore : ∀ᶠ t in 𝓝[<] (1 : ℝ), t < 1 := self_mem_nhdsWithin obtain ⟨t, ht, hMt, hlo⟩ := (hbefore.and (hlarge.and hlow)).exists exact ⟨t, 0, ⟨(le_max_left _ _).trans_lt hlo, ht⟩, (le_max_right _ _).trans_lt hlo, hMt⟩ theorem localizedVelocity_speed_unbounded (A : VelocityField) (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : SpeedUnboundedAtOne (localizedVelocity A) := unbounded_of_origin_blowup (localizedVelocity_origin_blowup A hA) /-- The actual constructed pair, including its initial data and genuine local Navier--Stokes residual equality. The only blowup input is at the origin of the original curl field; no localization or residual-output estimate is assumed. -/ theorem localization_properties (A : VelocityField) (p : PressureField) (hA : ContDiffOn ℝ ∞ A (Iio (1 : ℝ) ×ˢ (univ : Set Space))) (hp : ContDiffOn ℝ ∞ p (Iio (1 : ℝ) ×ˢ (univ : Set Space))) (haxis : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain ∧ ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain ∧ UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) (localizedVelocity A) ∧ UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) (localizedPressure p) ∧ (∀ x : Space, localizedVelocity A (0, x) = 0) ∧ (∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence (localizedVelocity A) t x = 0) ∧ SpeedUnboundedAtOne (localizedVelocity A) ∧ (∀ z : SpaceTime, 3 / 4 < z.1 → z.2 ∈ plateau → localizedVelocity A z = SpatialCurl.spatialCurl A z ∧ localizedPressure p z = p z ∧ navierStokesResidual (localizedVelocity A) (localizedPressure p) z.1 z.2 = navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2) := by refine ⟨localizedVelocity_smooth_before hA, localizedPressure_smooth_before hp, localizedVelocity_periodic A _, localizedPressure_periodic p _, localizedVelocity_zero_initial A, ?_, localizedVelocity_speed_unbounded A haxis, ?_⟩ · exact localizedVelocity_divergence_free (hA.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) · intro z ht hz exact ⟨localizedVelocity_eq A ht.le hz, localizedPressure_eq p ht.le hz, localized_residual_eq A p ht hz⟩ end end NavierStokes.SpatialLocalization