math / data /lean /OAI /Geometry /BallPacking /Flows /FlowSmoothExtension.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
23.8 kB
import Mathlib
import OAI.Geometry.BallPacking.Flows.ManifoldFormTransport
namespace OAI
noncomputable section
namespace PackingSufficiencySupport.Hamiltonian
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M]
theorem flow_smooth_of_uniform_local
(F : ℝ Γ— M β†’ M) (hzero : βˆ€ x, F (0,x) = x)
(hadd : βˆ€ s t x, F (s+t,x) = F (s,F (t,x)))
{Ξ΅ : ℝ} (hΞ΅ : 0 < Ξ΅)
(hs : ContMDiffOn ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ univ)) :
ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F := by
have hshort (t : ℝ) (ht : t ∈ Ioo (-Ξ΅) Ξ΅) (x : M) :
ContMDiffAt ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F (t,x) :=
hs.contMDiffAt ((isOpen_Ioo.prod isOpen_univ).mem_nhds ⟨ht,mem_univ x⟩)
have hmultiple (n : β„•) (t : ℝ) (ht : t ∈ Ioo (-Ξ΅) Ξ΅) (x : M) :
ContMDiffAt ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞
(fun p : ℝ Γ— M => F ((n:ℝ)*p.1,p.2)) (t,x) := by
induction n with
| zero => simpa only [Nat.cast_zero,zero_mul,hzero] using
(contMDiffAt_snd : ContMDiffAt ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ Prod.snd (t,x))
| succ n ih =>
have h := (hshort t ht (F ((n:ℝ)*t,x))).comp (t,x) (contMDiffAt_fst.prodMk ih)
have he : (fun p : ℝ Γ— M => F (((n+1:β„•):ℝ)*p.1,p.2)) =
(fun p : ℝ Γ— M => F (p.1,F ((n:ℝ)*p.1,p.2))) := by
funext p
rw [Nat.cast_add,Nat.cast_one,add_mul,one_mul,add_comm,hadd]
rw [he]
exact h
intro p
obtain ⟨n,hn⟩ := exists_nat_gt (max (|p.1|/Ρ) 1)
have hn0 : (0:ℝ) < n := lt_trans (by norm_num) ((le_max_right _ _).trans_lt hn)
have hnne : (n:ℝ) β‰  0 := ne_of_gt hn0
have ht : p.1/(n:ℝ) ∈ Ioo (-Ξ΅) Ξ΅ := by
apply abs_lt.mp
rw [abs_div,abs_of_pos hn0,div_lt_iffβ‚€ hn0]
have hb := (div_lt_iffβ‚€ hΞ΅).mp ((le_max_left _ _).trans_lt hn)
simpa only [mul_comm] using hb
have hc : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞
(fun q : ℝ Γ— M => (q.1/(n:ℝ),q.2)) :=
((contDiff_id.div_const (n:ℝ)).contMDiff.comp contMDiff_fst).prodMk contMDiff_snd
have h := (hmultiple n (p.1/n) ht p.2).comp p hc.contMDiffAt
have hcancel (r : ℝ) : (n:ℝ)*(r/(n:ℝ)) = r := by field_simp
simpa only [Function.comp_def,hcancel] using h
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
{M : Type*} [TopologicalSpace M] [T2Space M] [ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
theorem exists_smooth_global_manifold_flow
{v : (x : M) β†’ TangentSpace π“˜(ℝ,E) x}
(hv : ContMDiff π“˜(ℝ,E) (π“˜(ℝ,E)).tangent ∞ (fun x => (⟨x,v x⟩ : TangentBundle π“˜(ℝ,E) M)))
{K : Set M} (hK : IsCompact K) (hvK : βˆ€ x, x βˆ‰ K β†’ v x = 0) :
βˆƒ F : ℝ Γ— M β†’ M,
ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F ∧
(βˆ€ x, F (0,x) = x) ∧
(βˆ€ s t x, F (s+t,x) = F (s,F (t,x))) ∧
(βˆ€ x, IsMIntegralCurve (fun t => F (t,x)) v) ∧
(βˆ€ x, v x = 0 β†’ βˆ€ t, F (t,x) = x) := by
classical
choose Ξ³ hΞ³0 hΞ³d using exists_global_compact_manifold_trajectory hv hK hvK
let F : ℝ Γ— M β†’ M := fun p => Ξ³ p.2 p.1
have hF0 (x : M) : F (0,x) = x := hΞ³0 x
have hFd (x : M) : IsMIntegralCurve (fun t => F (t,x)) v := hΞ³d x
have hv1 : ContMDiff π“˜(ℝ,E) (π“˜(ℝ,E)).tangent 1
(fun x => (⟨x,v x⟩ : TangentBundle π“˜(ℝ,E) M)) := hv.of_le (by simp)
have hFa (s t : ℝ) (x : M) : F (s+t,x) = F (s,F (t,x)) := by
have he := isMIntegralCurve_Ioo_eq_of_contMDiff_boundaryless (tβ‚€ := 0) hv1
((hFd x).comp_add t) (hFd (F (t,x))) (by simp only [Function.comp_apply,zero_add,hF0])
exact congrFun he s
obtain ⟨Ρ,hΡ,hfamilies⟩ := exists_uniform_smooth_manifold_families hv hK hvK
have hFs : ContMDiffOn ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ univ) := by
intro p hp
obtain ⟨W,Ψ,hW,hpW,hΨs,hΨ0,hΨd⟩ := hfamilies p.2
have heq : EqOn F Ξ¨ (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W) := by
intro q hq
exact isMIntegralCurveOn_Ioo_eqOn_of_contMDiff_boundaryless
(tβ‚€ := 0) ⟨neg_lt_zero.mpr hΞ΅,hΡ⟩ hv1 ((hFd q.2).isMIntegralCurveOn _)
(hΨd q.2 hq.2) ((hF0 q.2).trans (hΨ0 q.2 hq.2).symm) hq.1
have hnb : Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W ∈ 𝓝 p := (isOpen_Ioo.prod hW).mem_nhds ⟨hp.1,hpW⟩
exact ((hΨs.contMDiffAt hnb).congr_of_eventuallyEq
(Filter.mem_of_superset hnb heq)).contMDiffWithinAt
refine ⟨F,flow_smooth_of_uniform_local F hF0 hFa hΡ hFs,hF0,hFa,hFd,?_⟩
intro x hx t
have he := isMIntegralCurve_Ioo_eq_of_contMDiff_boundaryless (tβ‚€ := 0) hv1
(hFd x) (isMIntegralCurve_const hx) (hF0 x)
exact congrFun he t
omit [FiniteDimensional ℝ E] in
theorem exists_smooth_global_manifold_flow_of_uniform_families
{v : (x : M) β†’ TangentSpace π“˜(ℝ,E) x}
(hv : ContMDiff π“˜(ℝ,E) (π“˜(ℝ,E)).tangent ∞ (fun x => (⟨x,v x⟩ : TangentBundle π“˜(ℝ,E) M)))
{Ξ΅ : ℝ} (hΞ΅ : 0 < Ξ΅)
(hfamilies : βˆ€ x : M, βˆƒ (W : Set M) (Ξ¨ : ℝ Γ— M β†’ M),
IsOpen W ∧ x ∈ W ∧
ContMDiffOn ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ Ξ¨ (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W) ∧
(βˆ€ y ∈ W, Ξ¨ (0,y) = y) ∧
(βˆ€ y ∈ W, IsMIntegralCurveOn (fun t => Ξ¨ (t,y)) v (Ioo (-Ξ΅) Ξ΅))) :
βˆƒ F : ℝ Γ— M β†’ M,
ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F ∧
(βˆ€ x, F (0,x) = x) ∧
(βˆ€ s t x, F (s+t,x) = F (s,F (t,x))) ∧
(βˆ€ x, IsMIntegralCurve (fun t => F (t,x)) v) ∧
(βˆ€ x, v x = 0 β†’ βˆ€ t, F (t,x) = x) := by
classical
have hex (x : M) : βˆƒ Ξ³ : ℝ β†’ M, Ξ³ 0=x ∧ IsMIntegralCurve Ξ³ v := by
apply exists_isMIntegralCurve_of_isMIntegralCurveOn (hv.of_le (by simp)) hΞ΅ _ x
intro y
obtain ⟨W,Ψ,_,hy,_,hΨ0,hΨd⟩ := hfamilies y
exact ⟨fun t => Ψ (t,y),hΨ0 y hy,hΨd y hy⟩
choose Ξ³ hΞ³0 hΞ³d using hex
let F : ℝ Γ— M β†’ M := fun p => Ξ³ p.2 p.1
have hF0 (x : M) : F (0,x) = x := hΞ³0 x
have hFd (x : M) : IsMIntegralCurve (fun t => F (t,x)) v := hΞ³d x
have hv1 : ContMDiff π“˜(ℝ,E) (π“˜(ℝ,E)).tangent 1
(fun x => (⟨x,v x⟩ : TangentBundle π“˜(ℝ,E) M)) := hv.of_le (by simp)
have hFa (s t : ℝ) (x : M) : F (s+t,x) = F (s,F (t,x)) := by
have he := isMIntegralCurve_Ioo_eq_of_contMDiff_boundaryless (tβ‚€ := 0) hv1
((hFd x).comp_add t) (hFd (F (t,x))) (by simp only [Function.comp_apply,zero_add,hF0])
exact congrFun he s
have hFs : ContMDiffOn ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ F (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ univ) := by
intro p hp
obtain ⟨W,Ψ,hW,hpW,hΨs,hΨ0,hΨd⟩ := hfamilies p.2
have heq : EqOn F Ξ¨ (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W) := by
intro q hq
exact isMIntegralCurveOn_Ioo_eqOn_of_contMDiff_boundaryless
(tβ‚€ := 0) ⟨neg_lt_zero.mpr hΞ΅,hΡ⟩ hv1 ((hFd q.2).isMIntegralCurveOn _)
(hΨd q.2 hq.2) ((hF0 q.2).trans (hΨ0 q.2 hq.2).symm) hq.1
have hnb : Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W ∈ 𝓝 p := (isOpen_Ioo.prod hW).mem_nhds ⟨hp.1,hpW⟩
exact ((hΨs.contMDiffAt hnb).congr_of_eventuallyEq
(Filter.mem_of_superset hnb heq)).contMDiffWithinAt
refine ⟨F,flow_smooth_of_uniform_local F hF0 hFa hΡ hFs,hF0,hFa,hFd,?_⟩
intro x hx t
have he := isMIntegralCurve_Ioo_eq_of_contMDiff_boundaryless (tβ‚€ := 0) hv1
(hFd x) (isMIntegralCurve_const hx) (hF0 x)
exact congrFun he t
theorem exists_uniform_smooth_manifold_families_of_background
{v : (x : M) β†’ TangentSpace π“˜(ℝ,E) x}
(hv : ContMDiff π“˜(ℝ,E) (π“˜(ℝ,E)).tangent ∞ (fun x => (⟨x,v x⟩ : TangentBundle π“˜(ℝ,E) M)))
{K : Set M} (hK : IsCompact K) (B : ℝ Γ— M β†’ M)
(hB : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ B)
(hB0 : βˆ€ x, B (0,x)=x)
(hBd : βˆ€ x, x βˆ‰ K β†’ IsMIntegralCurve (fun t => B (t,x)) v) :
βˆƒ Ξ΅ : ℝ, 0 < Ξ΅ ∧ βˆ€ x : M, βˆƒ (W : Set M) (Ξ¨ : ℝ Γ— M β†’ M),
IsOpen W ∧ x ∈ W ∧
ContMDiffOn ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,E) ∞ Ξ¨ (Ioo (-Ξ΅) Ξ΅ Γ—Λ’ W) ∧
(βˆ€ y ∈ W, Ξ¨ (0,y) = y) ∧
(βˆ€ y ∈ W, IsMIntegralCurveOn (fun t => Ξ¨ (t,y)) v (Ioo (-Ξ΅) Ξ΅)) := by
classical
choose Ρ W Ψ hΡ hW hxW hΨs hΨ0 hΨd using exists_smooth_local_manifold_family hv
obtain ⟨s,hs⟩ := hK.elim_finite_subcover W hW (fun x _ => mem_iUnion.mpr ⟨x,hxW x⟩)
have hsmall : βˆƒ Ξ΄ : ℝ, 0 < Ξ΄ ∧ βˆ€ x ∈ s, Ξ΄ ≀ Ξ΅ x := by
clear hs
induction s using Finset.induction_on with
| empty => exact ⟨1,by norm_num,by simp⟩
| @insert a s ha ih =>
obtain ⟨δ,hδ,hδs⟩ := ih
refine ⟨min (Ρ a) δ,lt_min (hΡ a) hδ,?_⟩
intro x hx
rcases Finset.mem_insert.mp hx with rfl | hx
Β· exact min_le_left _ _
Β· exact (min_le_right _ _).trans (hΞ΄s x hx)
obtain ⟨δ,hδ,hδs⟩ := hsmall
refine ⟨δ,hδ,fun x => ?_⟩
by_cases hx : x ∈ K
Β· obtain ⟨a,ha,hxa⟩ := mem_iUnionβ‚‚.mp (hs hx)
have hI : Ioo (-Ξ΄) Ξ΄ βŠ† Ioo (-Ξ΅ a) (Ξ΅ a) :=
Ioo_subset_Ioo (neg_le_neg (hΞ΄s a ha)) (hΞ΄s a ha)
exact ⟨W a,Ψ a,hW a,hxa,(hΨs a).mono (prod_mono hI Subset.rfl),
hΨ0 a,fun y hy => (hΨd a y hy).mono hI⟩
· exact ⟨Kᢜ,B,hK.isClosed.isOpen_compl,hx,hB.contMDiffOn,
fun y _ => hB0 y,fun y hy => (hBd y hy).isMIntegralCurveOn _⟩
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
theorem exists_smooth_scalar_clock_flow {Ο‡ : ℝ β†’ ℝ} (hΟ‡ : ContDiff ℝ ∞ Ο‡)
(hχc : HasCompactSupport χ) :
βˆƒ C : ℝ Γ— ℝ β†’ ℝ, ContDiff ℝ ∞ C ∧ (βˆ€ a, C (0,a)=a) ∧
(βˆ€ a t, HasDerivAt (fun s => C (s,a)) (Ο‡ (C (t,a))) t) ∧
(βˆ€ a, Ο‡ a=0 β†’ βˆ€ t, C (t,a)=a) := by
have hv : ContMDiff π“˜(ℝ,ℝ) (π“˜(ℝ,ℝ)).tangent ∞
(fun a => (⟨a,Ο‡ a⟩ : TangentBundle π“˜(ℝ,ℝ) ℝ)) :=
contMDiff_vectorSpace_iff_contDiff.mpr hχ
obtain ⟨C,hC,hC0,_,hCd,hCfix⟩ := exists_smooth_global_manifold_flow hv hΟ‡c
(fun _ hx => image_eq_zero_of_notMem_tsupport hx)
refine ⟨C,?_,hC0,?_,hCfix⟩
Β· rw [← modelWithCornersSelf_prod,chartedSpaceSelf_prod] at hC
exact contMDiff_iff_contDiff.mp hC
Β· intro a t
have hd := hasMFDerivAt_iff_hasFDerivAt.mp (hCd a t)
rw [hasDerivAt_iff_hasFDerivAt]
exact hd
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
def timeLiftField (Ο‡ : ℝ β†’ ℝ) (V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2)
(p : ℝ Γ— M) : TangentSpace ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) p :=
Ο‡ p.1 β€’ ((1:ℝ),V p)
theorem timeLiftField_smooth {Ο‡ : ℝ β†’ ℝ} (hΟ‡ : ContDiff ℝ ∞ Ο‡)
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
(hV : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M))) :
ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)).tangent) ∞
(fun p => (⟨p,timeLiftField Ο‡ V p⟩ : TangentBundle ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (ℝ Γ— M))) := by
have hc : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,ℝ)).tangent ∞
(fun p : ℝ Γ— M => (⟨p.1,(1:ℝ)⟩ : TangentBundle π“˜(ℝ,ℝ) ℝ)) := by
have hp : ContMDiff π“˜(ℝ,ℝ) (π“˜(ℝ,ℝ)).tangent ∞
(fun r : ℝ => (⟨r,(1:ℝ)⟩ : TangentBundle π“˜(ℝ,ℝ) ℝ)) :=
contMDiff_vectorSpace_iff_contDiff.mpr contDiff_const
exact hp.comp contMDiff_fst
have hu : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)).tangent) ∞
(fun p : ℝ Γ— M => (⟨p,((1:ℝ),V p)⟩ : TangentBundle ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (ℝ Γ— M))) :=
contMDiff_equivTangentBundleProd_symm.comp (hc.prodMk hV)
exact (hχ.contMDiff.comp contMDiff_fst).smul_section hu
omit [IsManifold π“˜(ℝ,E) ∞ M] in
theorem timeLiftField_clock_derivative {Ο‡ : ℝ β†’ ℝ}
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2} {Ξ³ : ℝ β†’ ℝ Γ— M} {t : ℝ}
(hd : HasMFDerivAt π“˜(ℝ,ℝ) ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) Ξ³ t
((1 : ℝ β†’L[ℝ] ℝ).smulRight (timeLiftField Ο‡ V (Ξ³ t)))) :
HasDerivAt (fun s => (Ξ³ s).1) (Ο‡ (Ξ³ t).1) t := by
rw [hasDerivAt_iff_hasFDerivAt]
apply hasMFDerivAt_iff_hasFDerivAt.mp
apply ((hasMFDerivAt_fst (Ξ³ t)).comp t hd).congr_mfderiv
apply ContinuousLinearMap.ext
intro a
change ℝ at a
change a * (Ο‡ (Ξ³ t).1 * 1) = a * Ο‡ (Ξ³ t).1
rw [mul_one]
omit [IsManifold π“˜(ℝ,E) ∞ M] in
theorem timeLiftField_spatial_derivative {Ο‡ : ℝ β†’ ℝ}
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2} {Ξ³ : ℝ β†’ ℝ Γ— M} {t : ℝ}
(hd : HasMFDerivAt π“˜(ℝ,ℝ) ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) Ξ³ t
((1 : ℝ β†’L[ℝ] ℝ).smulRight (timeLiftField Ο‡ V (Ξ³ t)))) :
HasMFDerivAt π“˜(ℝ,ℝ) π“˜(ℝ,E) (fun s => (Ξ³ s).2) t
((1 : ℝ β†’L[ℝ] ℝ).smulRight (Ο‡ (Ξ³ t).1 β€’ V (Ξ³ t))) := by
apply ((hasMFDerivAt_snd (Ξ³ t)).comp t hd).congr_mfderiv
apply ContinuousLinearMap.ext
intro a
rfl
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M]
theorem timeLift_constant_spatial_curve {Ο‡ : ℝ β†’ ℝ}
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
{x : M} (hx : βˆ€ s, V (s,x) = 0) {Ξ³ : ℝ β†’ ℝ}
(hΞ³ : βˆ€ t, HasDerivAt Ξ³ (Ο‡ (Ξ³ t)) t) :
IsMIntegralCurve (fun t => (Ξ³ t,x)) (timeLiftField Ο‡ V) := by
intro t
have hc : HasMFDerivAt π“˜(ℝ,ℝ) π“˜(ℝ,E) (fun _ : ℝ => x) t 0 :=
hasMFDerivAt_const (x := t) x
have hr : HasMFDerivAt π“˜(ℝ,ℝ) π“˜(ℝ,ℝ) Ξ³ t
((1 : ℝ β†’L[ℝ] ℝ).smulRight (Ο‡ (Ξ³ t))) := (hΞ³ t).hasFDerivAt.hasMFDerivAt
have hd := hr.prodMk hc
apply hd.congr_mfderiv
apply ContinuousLinearMap.ext
intro a
change ℝ at a
change (a * Ο‡ (Ξ³ t),0) = (a * (Ο‡ (Ξ³ t) * 1),a β€’ (Ο‡ (Ξ³ t) β€’ V (Ξ³ t,x)))
rw [hx,mul_one,smul_zero,smul_zero]
variable [T2Space M] [IsManifold π“˜(ℝ,E) ∞ M]
theorem timeLift_spatial_stationary {Ο‡ : ℝ β†’ ℝ} (hΟ‡ : ContDiff ℝ ∞ Ο‡)
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
(hV : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M)))
{a : ℝ} {x : M} (hx : βˆ€ s, V (s,x) = 0)
{Ξ³ : ℝ β†’ ℝ Γ— M} (hΞ³ : IsMIntegralCurve Ξ³ (timeLiftField Ο‡ V))
(h0 : Ξ³ 0 = (a,x)) (t : ℝ) : (Ξ³ t).2 = x := by
have hd := timeLift_constant_spatial_curve hx (fun s => timeLiftField_clock_derivative (hΞ³ s))
have he := isMIntegralCurve_Ioo_eq_of_contMDiff_boundaryless (tβ‚€ := 0)
((timeLiftField_smooth hχ hV).of_le (by simp)) hγ hd (by rw [h0])
exact congrArg Prod.snd (congrFun he t)
end
section
open scoped Topology NNReal
open Set Function
theorem scalar_clock_eq {Ο‡ : ℝ β†’ ℝ} {L : ℝβ‰₯0} (hL : LipschitzWith L Ο‡)
(hΟ‡ : βˆ€ s ∈ Icc (-3:ℝ) 3, Ο‡ s = 1)
{Ξ³ : ℝ β†’ ℝ} (hd : βˆ€ t, HasDerivAt Ξ³ (Ο‡ (Ξ³ t)) t)
{a : ℝ} (ha : a ∈ Icc (0:ℝ) 1) (h0 : Ξ³ 0 = a) :
EqOn Ξ³ (fun t => a+t) (Ioo (-2:ℝ) 2) := by
apply ODE_solution_unique_of_mem_Ioo
(s := fun _ => univ) (fun _ _ => hL.lipschitzOnWith)
(tβ‚€ := 0) (by constructor <;> norm_num)
(fun t _ => ⟨hd t,mem_univ _⟩)
Β· intro t ht
have hm : a+t ∈ Icc (-3:ℝ) 3 := by constructor <;> linarith [ha.1,ha.2,ht.1,ht.2]
rw [hχ _ hm]
exact ⟨by simpa only [Function.id_def] using (hasDerivAt_id t).const_add a,mem_univ _⟩
Β· simpa only [add_zero] using h0
end
section
open scoped ContDiff Manifold Topology NNReal
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
{M : Type*} [TopologicalSpace M] [T2Space M]
[ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
theorem exists_spatially_compact_time_lift
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
(hV : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M)))
{K : Set M} (hK : IsCompact K) (hVK : βˆ€ s x, x βˆ‰ K β†’ V (s,x)=0) :
βˆƒ (Ο‡ : ℝ β†’ ℝ) (G : ℝ Γ— (ℝ Γ— M) β†’ ℝ Γ— M),
ContDiff ℝ ∞ Ο‡ ∧ (βˆ€ s ∈ Icc (-3:ℝ) 3, Ο‡ s = 1) ∧
ContMDiff ((π“˜(ℝ,ℝ)).prod ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)))
((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ G ∧
(βˆ€ p, G (0,p) = p) ∧
(βˆ€ s t p, G (s+t,p) = G (s,G (t,p))) ∧
(βˆ€ p, IsMIntegralCurve (fun t => G (t,p)) (timeLiftField Ο‡ V)) ∧
(βˆ€ a ∈ Icc (0:ℝ) 1, βˆ€ x t, t ∈ Ioo (-2:ℝ) 2 β†’ (G (t,(a,x))).1 = a+t) := by
obtain βŸ¨Ο‡,hΟ‡,hΟ‡c,_,hΟ‡one,_⟩ := exists_smooth_cutoff (isCompact_Icc (a := (-3:ℝ)) (b := 3))
isOpen_univ (subset_univ _)
have hΟ‡1 : βˆ€ s ∈ Icc (-3:ℝ) 3, Ο‡ s = 1 := hΟ‡one.self_of_nhdsSet
obtain ⟨L,hL⟩ := ContDiff.lipschitzWith_of_hasCompactSupport hΟ‡c hΟ‡ (by simp)
have hprod : IsManifold ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ (ℝ Γ— M) := inferInstance
let instProd : ChartedSpace (ℝ Γ— E) (ℝ Γ— M) := prodChartedSpace ℝ ℝ E M
have : IsManifold π“˜(ℝ,ℝ Γ— E) ∞ (ℝ Γ— M) := by
simpa only [modelWithCornersSelf_prod,instProd] using hprod
have hv : ContMDiff π“˜(ℝ,ℝ Γ— E) (π“˜(ℝ,ℝ Γ— E)).tangent ∞
(fun p => (⟨p,timeLiftField Ο‡ V p⟩ : TangentBundle π“˜(ℝ,ℝ Γ— E) (ℝ Γ— M))) := by
simpa only [modelWithCornersSelf_prod,instProd] using! timeLiftField_smooth hχ hV
obtain ⟨C,hC,hC0,hCd,hCfix⟩ := exists_smooth_scalar_clock_flow hΟ‡ hΟ‡c
let B : ℝ Γ— (ℝ Γ— M) β†’ ℝ Γ— M := fun p => (C (p.1,p.2.1),p.2.2)
have hCm : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,ℝ)) π“˜(ℝ,ℝ) ∞ C := by
rw [← modelWithCornersSelf_prod,chartedSpaceSelf_prod]
exact hC.contMDiff
have hBm : ContMDiff ((π“˜(ℝ,ℝ)).prod ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)))
((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ B :=
(hCm.comp (contMDiff_fst.prodMk (contMDiff_fst.comp contMDiff_snd))).prodMk
(contMDiff_snd.comp contMDiff_snd)
have hB0 (p : ℝ Γ— M) : B (0,p)=p := by dsimp [B]; rw [hC0]
have hBd (p : ℝ Γ— M) (hp : p βˆ‰ tsupport Ο‡ Γ—Λ’ K) :
IsMIntegralCurve (fun t => B (t,p)) (timeLiftField Ο‡ V) := by
by_cases hx : p.2 ∈ K
Β· have ha : p.1 βˆ‰ tsupport Ο‡ := fun ht => hp ⟨ht,hx⟩
have hz : Ο‡ p.1=0 := image_eq_zero_of_notMem_tsupport ha
have he : (fun t => B (t,p))=(fun _ => p) := by
funext t
dsimp [B]
rw [hCfix p.1 hz t]
rw [he]
apply isMIntegralCurve_const
rw [timeLiftField,hz,zero_smul]
rfl
Β· exact timeLift_constant_spatial_curve (fun s => hVK s p.2 hx) (hCd p.1)
have hBs : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,ℝ Γ— E)) π“˜(ℝ,ℝ Γ— E) ∞ B := by
simpa only [modelWithCornersSelf_prod,instProd] using hBm
have hBd' (p : ℝ Γ— M) (hp : p βˆ‰ tsupport Ο‡ Γ—Λ’ K) :
IsMIntegralCurve (I := π“˜(ℝ,ℝ Γ— E)) (fun t => B (t,p)) (timeLiftField Ο‡ V) := by
intro t
have hderiv := hBd p hp t
simp only [HasMFDerivAt,modelWithCornersSelf_prod] at hderiv ⊒
refine ⟨hderiv.1,?_⟩
convert hderiv.2 using 1
rfl
obtain ⟨Ρ,hΡ,hfamilies⟩ := exists_uniform_smooth_manifold_families_of_background
hv (hχc.prod hK) B hBs hB0 hBd'
obtain ⟨G,hGs,hG0,hGa,hGd,_⟩ := exists_smooth_global_manifold_flow_of_uniform_families
hv hΞ΅ hfamilies
have hGs' : ContMDiff ((π“˜(ℝ,ℝ)).prod ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)))
((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ G := by
simpa only [modelWithCornersSelf_prod,instProd] using hGs
have hGd' : βˆ€ p, IsMIntegralCurve (fun t => G (t,p)) (timeLiftField Ο‡ V) := by
intro p t
have hderiv := hGd p t
simp only [HasMFDerivAt,modelWithCornersSelf_prod] at hderiv ⊒
refine ⟨hderiv.1,?_⟩
convert hderiv.2 using 1
rfl
refine βŸ¨Ο‡,G,hΟ‡,hΟ‡1,hGs',hG0,hGa,hGd',?_⟩
intro a ha x t ht
exact scalar_clock_eq hL hχ1 (fun s => timeLiftField_clock_derivative (hGd' (a,x) s)) ha
(congrArg Prod.fst (hG0 (a,x))) ht
end
open scoped ContDiff Manifold Topology NNReal
open Set Function Manifold
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
{M : Type*} [TopologicalSpace M] [T2Space M] [CompactSpace M]
[ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
theorem exists_compact_time_lift
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
(hV : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M))) :
βˆƒ (Ο‡ : ℝ β†’ ℝ) (G : ℝ Γ— (ℝ Γ— M) β†’ ℝ Γ— M),
ContDiff ℝ ∞ Ο‡ ∧ (βˆ€ s ∈ Icc (-3:ℝ) 3, Ο‡ s = 1) ∧
ContMDiff ((π“˜(ℝ,ℝ)).prod ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)))
((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ G ∧
(βˆ€ p, G (0,p) = p) ∧
(βˆ€ s t p, G (s+t,p) = G (s,G (t,p))) ∧
(βˆ€ p, IsMIntegralCurve (fun t => G (t,p)) (timeLiftField Ο‡ V)) ∧
(βˆ€ a ∈ Icc (0:ℝ) 1, βˆ€ x t, t ∈ Ioo (-2:ℝ) 2 β†’ (G (t,(a,x))).1 = a+t) := by
obtain βŸ¨Ο‡,hΟ‡,hΟ‡c,_,hΟ‡one,_⟩ := exists_smooth_cutoff (isCompact_Icc (a := (-3:ℝ)) (b := 3))
isOpen_univ (subset_univ _)
have hΟ‡1 : βˆ€ s ∈ Icc (-3:ℝ) 3, Ο‡ s = 1 := hΟ‡one.self_of_nhdsSet
obtain ⟨L,hL⟩ := ContDiff.lipschitzWith_of_hasCompactSupport hΟ‡c hΟ‡ (by simp)
have hprod : IsManifold ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ (ℝ Γ— M) := inferInstance
let instProd : ChartedSpace (ℝ Γ— E) (ℝ Γ— M) := prodChartedSpace ℝ ℝ E M
have : IsManifold π“˜(ℝ,ℝ Γ— E) ∞ (ℝ Γ— M) := by
simpa only [modelWithCornersSelf_prod,instProd] using hprod
have hv : ContMDiff π“˜(ℝ,ℝ Γ— E) (π“˜(ℝ,ℝ Γ— E)).tangent ∞
(fun p => (⟨p,timeLiftField Ο‡ V p⟩ : TangentBundle π“˜(ℝ,ℝ Γ— E) (ℝ Γ— M))) := by
simpa only [modelWithCornersSelf_prod,instProd] using! timeLiftField_smooth hχ hV
have hvK (p : ℝ Γ— M) (hp : p βˆ‰ tsupport Ο‡ Γ—Λ’ (univ : Set M)) : timeLiftField Ο‡ V p = 0 := by
have hp' : p.1 βˆ‰ tsupport Ο‡ := fun h => hp ⟨h,mem_univ _⟩
rw [timeLiftField,image_eq_zero_of_notMem_tsupport hp',zero_smul]
rfl
obtain ⟨G,hGs,hG0,hGa,hGd,_⟩ := exists_smooth_global_manifold_flow hv
(hχc.prod (isCompact_univ : IsCompact (univ : Set M))) hvK
have hGs' : ContMDiff ((π“˜(ℝ,ℝ)).prod ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)))
((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ G := by
simpa only [modelWithCornersSelf_prod,instProd] using hGs
have hGd' : βˆ€ p, IsMIntegralCurve (fun t => G (t,p)) (timeLiftField Ο‡ V) := by
intro p t
have hderiv := hGd p t
simp only [HasMFDerivAt,modelWithCornersSelf_prod] at hderiv ⊒
refine ⟨hderiv.1,?_⟩
convert hderiv.2 using 1
rfl
refine βŸ¨Ο‡,G,hΟ‡,hΟ‡1,hGs',hG0,hGa,hGd',?_⟩
intro a ha x t ht
exact scalar_clock_eq hL hχ1 (fun s => timeLiftField_clock_derivative (hGd' (a,x) s)) ha
(congrArg Prod.fst (hG0 (a,x))) ht
end PackingSufficiencySupport.Hamiltonian
end
end OAI