cfahlgren1/math / lean /OAI /Geometry /BallPacking /Forms /ManifoldExteriorAlgebra.lean
cfahlgren1's picture
download
raw
28 kB
import Mathlib
import OAI.Geometry.BallPacking.Forms.HorizontalCoupling
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] [IsManifold ๐“˜(โ„,E) โˆž M]
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem manifoldExteriorOneForm_sub {ฮฑ ฮฒ : ManifoldOneForm E M}
(hฮฑ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฑ c) (extChartAt ๐“˜(โ„,E) c).target)
(hฮฒ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฒ c) (extChartAt ๐“˜(โ„,E) c).target)
(x : M) : manifoldExteriorOneForm (ฮฑ-ฮฒ) x=
manifoldExteriorOneForm ฮฑ x-manifoldExteriorOneForm ฮฒ x := by
have hx : extChartAt ๐“˜(โ„,E) x xโˆˆ(extChartAt ๐“˜(โ„,E) x).target :=
(extChartAt ๐“˜(โ„,E) x).map_source (mem_extChartAt_source x)
have hn := (isOpen_extChartAt_target (I := ๐“˜(โ„,E)) x).mem_nhds hx
have he : chartOneForm (ฮฑ-ฮฒ) x=chartOneForm ฮฑ x-chartOneForm ฮฒ x :=
funext (chartOneForm_sub ฮฑ ฮฒ x)
simp only [manifoldExteriorOneForm,euclideanExteriorOneForm,he,
fderiv_sub ((hฮฑ x).contDiffAt hn |>.differentiableAt (by simp))
((hฮฒ x).contDiffAt hn |>.differentiableAt (by simp))]
apply ContinuousLinearMap.ext
intro u
apply ContinuousLinearMap.ext
intro v
simp only [ContinuousLinearMap.bilinearComp_apply,sub_apply,
ContinuousLinearMap.flip_apply]
ring
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem manifoldExteriorOneForm_smul (a : โ„) {ฮฑ : ManifoldOneForm E M}
(hฮฑ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฑ c) (extChartAt ๐“˜(โ„,E) c).target)
(x : M) : manifoldExteriorOneForm (a โ€ข ฮฑ) x=a โ€ข manifoldExteriorOneForm ฮฑ x := by
have hx : extChartAt ๐“˜(โ„,E) x xโˆˆ(extChartAt ๐“˜(โ„,E) x).target :=
(extChartAt ๐“˜(โ„,E) x).map_source (mem_extChartAt_source x)
have hn := (isOpen_extChartAt_target (I := ๐“˜(โ„,E)) x).mem_nhds hx
have he : chartOneForm (a โ€ข ฮฑ) x=a โ€ข chartOneForm ฮฑ x := funext (chartOneForm_smul a ฮฑ x)
simp only [manifoldExteriorOneForm,he,euclideanExteriorOneForm_smul a
((hฮฑ x).contDiffAt hn |>.differentiableAt (by simp))]
rfl
theorem manifold_closed_exact_normalization {ฮฑ ฮฒ : ManifoldOneForm E M}
(hฮฑ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฑ c) (extChartAt ๐“˜(โ„,E) c).target)
(hฮฒ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฒ c) (extChartAt ๐“˜(โ„,E) c).target)
(hclosed : โˆ€ x,manifoldExteriorOneForm ฮฒ x=0)
{F : M โ†’ โ„} (hF : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž F) (a : โ„) (x : M) :
manifoldExteriorOneForm (ฮฑ-a โ€ข ฮฒ-manifoldScalarDifferential F) x=
manifoldExteriorOneForm ฮฑ x := by
have hb : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm (a โ€ข ฮฒ) c)
(extChartAt ๐“˜(โ„,E) c).target := by
intro c
simpa only [show chartOneForm (a โ€ข ฮฒ) c=fun y => a โ€ข chartOneForm ฮฒ c y
from funext (chartOneForm_smul a ฮฒ c)] using (hฮฒ c).const_smul a
have hab : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm (ฮฑ-a โ€ข ฮฒ) c)
(extChartAt ๐“˜(โ„,E) c).target := by
intro c
exact ((hฮฑ c).sub (hb c)).congr (fun y _ => chartOneForm_sub ฮฑ (a โ€ข ฮฒ) c y)
rw [manifoldExteriorOneForm_sub hab (manifoldScalarDifferential_smooth hF),
manifoldScalarDifferential_closed hF,manifoldExteriorOneForm_sub hฮฑ hb,
manifoldExteriorOneForm_smul a hฮฒ,hclosed]
apply ContinuousLinearMap.ext
intro u
apply ContinuousLinearMap.ext
intro v
simp
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] [NormalSpace M] [SigmaCompactSpace M]
[ChartedSpace E M] [IsManifold ๐“˜(โ„,E) โˆž M]
theorem exists_smooth_manifold_cutoff {K U : Set M}
(hK : IsCompact K) (hU : IsOpen U) (hKU : K โІ U) :
โˆƒ ฯ‡ : M โ†’ โ„, ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž ฯ‡ โˆง HasCompactSupport ฯ‡ โˆง
tsupport ฯ‡ โІ U โˆง (โˆ€แถ  x in ๐“หข K, ฯ‡ x=1) โˆง (โˆ€ x, ฯ‡ x โˆˆ Icc (0:โ„) 1) := by
let : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace E M
obtain โŸจD,hD,hKD,hDUโŸฉ := exists_compact_between hK hU hKU
obtain โŸจฯ‡,hฯ‡1,hฯ‡0,hฯ‡โŸฉ := exists_contMDiffMap_one_nhds_of_subset_interior
(n := (โŠค : โ„•โˆž)) ๐“˜(โ„,E) hK.isClosed hKD
have hs : tsupport (ฯ‡ : M โ†’ โ„) โІ D :=
closure_minimal (fun x hx => by by_contra hn; exact hx (hฯ‡0 x hn)) hD.isClosed
exact โŸจฯ‡,ฯ‡.contMDiff,HasCompactSupport.of_support_subset_isCompact hD
((subset_tsupport ฯ‡).trans hs),hs.trans hDU,hฯ‡1,hฯ‡โŸฉ
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]
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem manifold_local_potential_smooth {A : Set M} (hA : IsOpen A)
{F ฮถ : M โ†’ โ„} (hF : ContMDiffOn ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž F A)
(hฮถ : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž ฮถ) (hs : tsupport ฮถ โІ A) :
ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž (fun x => ฮถ x*F x) := by
intro x
by_cases hx : xโˆˆA
ยท exact hฮถ.contMDiffAt.mul (hF.contMDiffAt (hA.mem_nhds hx))
ยท have ht : xโˆ‰tsupport ฮถ := fun ht => hx (hs ht)
apply (contMDiffAt_const (c := (0:โ„))).congr_of_eventuallyEq
filter_upwards [isClosed_closure.isOpen_compl.mem_nhds ht] with y hy
have hz : ฮถ y=0 := notMem_support.mp (fun hv => hy (subset_closure hv))
simp only [hz,zero_mul]
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem scalar_product_tsupport_left (F ฮถ : M โ†’ โ„) :
tsupport (fun x => ฮถ x*F x) โІ tsupport ฮถ := by
apply closure_minimal _ isClosed_closure
intro x hx
apply subset_closure
intro hzero
exact hx (by simp only [hzero,zero_mul])
variable [FiniteDimensional โ„ E] [T2Space M] [NormalSpace M] [SigmaCompactSpace M]
theorem exists_global_local_potential {K A : Set M} (hK : IsCompact K)
(hA : IsOpen A) (hKA : K โІ A) {F : M โ†’ โ„}
(hF : ContMDiffOn ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž F A) :
โˆƒ G : M โ†’ โ„, ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž G โˆง
HasCompactSupport G โˆง tsupport G โІ A โˆง
(โˆ€แถ  x in ๐“หข K,G x=F x) โˆง
HasCompactSupport (manifoldScalarDifferential (E := E) G) โˆง
support (manifoldScalarDifferential (E := E) G) โІ A โˆง
(โˆ€ x,manifoldExteriorOneForm (manifoldScalarDifferential (E := E) G) x=0) โˆง
(โˆ€ x โˆˆ K,manifoldScalarDifferential (E := E) G x=
manifoldScalarDifferential (E := E) F x) := by
obtain โŸจฮถ,hฮถ,hฮถc,hฮถA,hฮถ1,_โŸฉ := exists_smooth_manifold_cutoff (E := E) hK hA hKA
let G : M โ†’ โ„ := fun x => ฮถ x*F x
have hG : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž G :=
manifold_local_potential_smooth hA hF hฮถ hฮถA
have hs : tsupport G โІ tsupport ฮถ := scalar_product_tsupport_left F ฮถ
have hGc : HasCompactSupport G :=
HasCompactSupport.of_support_subset_isCompact hฮถc (subset_closure.trans hs)
have hEq : โˆ€แถ  x in ๐“หข K,G x=F x := by
filter_upwards [hฮถ1] with x hx
simp only [G,hx,one_mul]
have hd : support (manifoldScalarDifferential (E := E) G) โІ tsupport G :=
manifoldScalarDifferential_support G
refine โŸจG,hG,hGc,hs.trans hฮถA,hEq,
HasCompactSupport.of_support_subset_isCompact hGc hd,hd.trans (hs.trans hฮถA),
manifoldScalarDifferential_closed hG,?_โŸฉ
intro x hx
have he : G =แถ [๐“ x] F := hEq.filter_mono (nhds_le_nhdsSet hx)
exact he.mfderiv_eq
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace โ„ P]
[NormedAddCommGroup E] [NormedSpace โ„ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M]
theorem manifoldFamily_local_potential_smoothOn {V : Set P} {A : Set M}
(hV : IsOpen V) (hA : IsOpen A) {F : P ร— M โ†’ โ„} {ฮถ : M โ†’ โ„}
(hF : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž F (V ร—หข A))
(hฮถ : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž ฮถ) (hs : tsupport ฮถ โІ A) :
ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž
(fun q : P ร— M => ฮถ q.2*F q) (V ร—หข univ) := by
intro q hq
by_cases hy : q.2โˆˆA
ยท exact ((hฮถ.comp contMDiff_snd).contMDiffAt.mul
(hF.contMDiffAt ((hV.prod hA).mem_nhds โŸจhq.1,hyโŸฉ))).contMDiffWithinAt
ยท have ht : q.2โˆ‰tsupport ฮถ := fun ht => hy (hs ht)
have he : (fun y : P ร— M => ฮถ y.2*F y) =แถ [๐“ q] (fun _ => (0:โ„)) := by
have hn := (continuous_snd.continuousAt : ContinuousAt (Prod.snd : P ร— M โ†’ M) q)
filter_upwards [hn (isClosed_closure.isOpen_compl.mem_nhds ht)] with y hy
have hz : ฮถ y.2=0 := notMem_support.mp (fun hv => hy (subset_closure hv))
simp only [hz,zero_mul]
exact ((contMDiffAt_const (c := (0:โ„))).congr_of_eventuallyEq he).contMDiffWithinAt
variable [FiniteDimensional โ„ E] [IsManifold ๐“˜(โ„,E) โˆž M]
[T2Space M] [NormalSpace M] [SigmaCompactSpace M]
theorem exists_joint_global_local_potential {V : Set P} {K A : Set M}
(hV : IsOpen V) (hK : IsCompact K) (hA : IsOpen A) (hKA : K โІ A)
{F : P ร— M โ†’ โ„}
(hF : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž F (V ร—หข A)) :
โˆƒ (G : P ร— M โ†’ โ„) (L : Set M), IsCompact L โˆง L โІ A โˆง
ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž G (V ร—หข univ) โˆง
(โˆ€ p,tsupport (fun y => G (p,y)) โІ L) โˆง
(โˆ€แถ  y in ๐“หข K,โˆ€ p,G (p,y)=F (p,y)) โˆง
(โˆ€ p,support (manifoldScalarDifferential (E := E) (fun y => G (p,y))) โІ L) โˆง
(โˆ€ p โˆˆ V,โˆ€ y,manifoldExteriorOneForm
(manifoldScalarDifferential (E := E) (fun z => G (p,z))) y=0) โˆง
(โˆ€ p,โˆ€ y โˆˆ K,manifoldScalarDifferential (E := E) (fun z => G (p,z)) y=
manifoldScalarDifferential (E := E) (fun z => F (p,z)) y) := by
obtain โŸจฮถ,hฮถ,hฮถc,hฮถA,hฮถ1,_โŸฉ := exists_smooth_manifold_cutoff (E := E) hK hA hKA
let G : P ร— M โ†’ โ„ := fun q => ฮถ q.2*F q
have hG := manifoldFamily_local_potential_smoothOn hV hA hF hฮถ hฮถA
have hs : โˆ€ p,tsupport (fun y => G (p,y)) โІ tsupport ฮถ :=
fun p => scalar_product_tsupport_left (fun y => F (p,y)) ฮถ
have he : โˆ€แถ  y in ๐“หข K,โˆ€ p,G (p,y)=F (p,y) := by
filter_upwards [hฮถ1] with y hy p
simp only [G,hy,one_mul]
refine โŸจG,tsupport ฮถ,hฮถc,hฮถA,hG,hs,he,?_,?_,?_โŸฉ
ยท intro p
exact (manifoldScalarDifferential_support (fun y => G (p,y))).trans (hs p)
ยท intro p hp y
have hfib : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž (fun z => G (p,z)) := by
intro z
exact (hG.contMDiffAt (((hV.prod isOpen_univ)).mem_nhds โŸจhp,mem_univ zโŸฉ)).comp z
(contMDiff_const.prodMk contMDiff_id).contMDiffAt
exact manifoldScalarDifferential_closed hfib y
ยท intro p y hy
have he' : (fun z => G (p,z)) =แถ [๐“ y] (fun z => F (p,z)) := by
filter_upwards [he.filter_mono (nhds_le_nhdsSet hy)] with z hz
exact hz p
exact he'.mfderiv_eq
end
section
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace โ„ P]
[NormedAddCommGroup E] [NormedSpace โ„ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold ๐“˜(โ„,E) โˆž M]
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem manifoldFamily_scalar_fiber_smooth {V : Set P} (hV : IsOpen V)
{G : P ร— M โ†’ โ„}
(hG : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž G (V ร—หข univ))
{p : P} (hp : pโˆˆV) : ContMDiff ๐“˜(โ„,E) ๐“˜(โ„,โ„) โˆž (fun z => G (p,z)) := by
intro z
exact (hG.contMDiffAt ((hV.prod isOpen_univ).mem_nhds โŸจhp,mem_univ zโŸฉ)).comp z
(contMDiff_const.prodMk contMDiff_id).contMDiffAt
theorem manifoldFamily_scalar_chart_smooth {V : Set P} (hV : IsOpen V)
{G : P ร— M โ†’ โ„}
(hG : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž G (V ร—หข univ))
(c : M) : ContDiffOn โ„ โˆž
(fun q : P ร— E => G (q.1,(extChartAt ๐“˜(โ„,E) c).symm q.2))
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target) := by
intro q hq
have hi := (contMDiffOn_extChartAt_symm (I := ๐“˜(โ„,E)) (n := โˆž) c).contMDiffAt
((isOpen_extChartAt_target (I := ๐“˜(โ„,E)) c).mem_nhds hq.2)
have hfst : ContMDiffAt ๐“˜(โ„,P ร— E) ๐“˜(โ„,P) โˆž (Prod.fst : P ร— E โ†’ P) q :=
contDiff_fst.contMDiff.contMDiffAt
have hsnd : ContMDiffAt ๐“˜(โ„,P ร— E) ๐“˜(โ„,E) โˆž (Prod.snd : P ร— E โ†’ E) q :=
contDiff_snd.contMDiff.contMDiffAt
have hinc := hfst.prodMk (hi.comp q hsnd)
have hh := (hG.contMDiffAt ((hV.prod isOpen_univ).mem_nhds
(show (q.1,(extChartAt ๐“˜(โ„,E) c).symm q.2)โˆˆV ร—หข univ from โŸจhq.1,mem_univ _โŸฉ))).comp q hinc
exact hh.contDiffAt.contDiffWithinAt
omit [TopologicalSpace M] [ChartedSpace E M] [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem joint_scalar_fderiv_slice {F : P ร— E โ†’ โ„} {q : P ร— E}
(hF : DifferentiableAt โ„ F q) :
fderiv โ„ (fun y => F (q.1,y)) q.2=
(fderiv โ„ F q).comp ((0 : E โ†’L[โ„] P).prod (ContinuousLinearMap.id โ„ E)) := by
have hi : HasFDerivAt (fun y : E => (q.1,y))
((0 : E โ†’L[โ„] P).prod (ContinuousLinearMap.id โ„ E)) q.2 :=
(hasFDerivAt_const q.1 q.2).prodMk (hasFDerivAt_id q.2)
exact (hF.hasFDerivAt.comp q.2 hi).fderiv
theorem manifoldFamilyScalarDifferential_smooth {V : Set P} (hV : IsOpen V)
{G : P ร— M โ†’ โ„}
(hG : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž G (V ร—หข univ))
(c : M) : ContDiffOn โ„ โˆž
(fun q : P ร— E => chartOneForm
(manifoldScalarDifferential (E := E) (fun z => G (q.1,z))) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target) := by
let F : P ร— E โ†’ โ„ := fun q => G (q.1,(extChartAt ๐“˜(โ„,E) c).symm q.2)
have hF : ContDiffOn โ„ โˆž F (V ร—หข (extChartAt ๐“˜(โ„,E) c).target) :=
manifoldFamily_scalar_chart_smooth hV hG c
intro q hq
have hn := (hV.prod (isOpen_extChartAt_target (I := ๐“˜(โ„,E)) c)).mem_nhds hq
have hdf : ContDiffAt โ„ โˆž (fun z => fderiv โ„ F z) q :=
(hF.contDiffAt hn).fderiv_right (by simp)
have hd := hdf.clm_comp
(contDiffAt_const (c := ((0 : E โ†’L[โ„] P).prod (ContinuousLinearMap.id โ„ E))))
apply (hd.congr_of_eventuallyEq ?_).contDiffWithinAt
filter_upwards [hn] with z hz
rw [manifoldScalarDifferential_chart (manifoldFamily_scalar_fiber_smooth hV hG hz.1) hz.2]
exact joint_scalar_fderiv_slice ((hF.contDiffAt
((hV.prod (isOpen_extChartAt_target (I := ๐“˜(โ„,E)) c)).mem_nhds hz)).differentiableAt (by simp))
def normalizedManifoldPrimitive (ฮ“ : P โ†’ ManifoldOneForm E M)
(ฮฒ : ManifoldOneForm E M) (a : P โ†’ โ„) (G : P ร— M โ†’ โ„) (p : P) :
ManifoldOneForm E M := ฮ“ p-a p โ€ข ฮฒ-manifoldScalarDifferential (fun y => G (p,y))
omit [NormedAddCommGroup P] [NormedSpace โ„ P] [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem normalizedManifoldPrimitive_chart
(ฮ“ : P โ†’ ManifoldOneForm E M) (ฮฒ : ManifoldOneForm E M)
(a : P โ†’ โ„) (G : P ร— M โ†’ โ„) (p : P) (c : M) (y : E) :
chartOneForm (normalizedManifoldPrimitive ฮ“ ฮฒ a G p) c y=
chartOneForm (ฮ“ p) c y-a p โ€ข chartOneForm ฮฒ c y-
chartOneForm (manifoldScalarDifferential (fun z => G (p,z))) c y := by
simp only [normalizedManifoldPrimitive,chartOneForm_sub,chartOneForm_smul]
theorem normalizedManifoldPrimitive_smooth {V : Set P} (hV : IsOpen V)
{ฮ“ : P โ†’ ManifoldOneForm E M} {ฮฒ : ManifoldOneForm E M} {a : P โ†’ โ„}
{G : P ร— M โ†’ โ„}
(hฮ“ : โˆ€ c,ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm (ฮ“ q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target))
(hฮฒ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฒ c) (extChartAt ๐“˜(โ„,E) c).target)
(ha : ContDiffOn โ„ โˆž a V)
(hG : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž G (V ร—หข univ))
(c : M) : ContDiffOn โ„ โˆž
(fun q : P ร— E => chartOneForm (normalizedManifoldPrimitive ฮ“ ฮฒ a G q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target) := by
have hma : ContDiffOn โ„ โˆž (fun q : P ร— E => a q.1)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target) :=
ha.comp contDiff_fst.contDiffOn (fun _ hx => hx.1)
have hmb : ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm ฮฒ c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target) :=
(hฮฒ c).comp contDiff_snd.contDiffOn (fun _ hx => hx.2)
exact (((hฮ“ c).sub (hma.smul hmb)).sub
(manifoldFamilyScalarDifferential_smooth hV hG c)).congr
(fun q _ => normalizedManifoldPrimitive_chart ฮ“ ฮฒ a G q.1 c q.2)
variable [FiniteDimensional โ„ E] [T2Space M] [NormalSpace M] [SigmaCompactSpace M]
theorem exists_normalized_manifold_primitive {V : Set P} {K A : Set M}
(hV : IsOpen V) (hK : IsCompact K) (hA : IsOpen A) (hKA : K โІ A)
{ฮ“ N : P โ†’ ManifoldOneForm E M} {ฮฒ : ManifoldOneForm E M}
{a : P โ†’ โ„} {F : P ร— M โ†’ โ„}
(hฮ“ : โˆ€ c,ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm (ฮ“ q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target))
(hฮฒ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฒ c) (extChartAt ๐“˜(โ„,E) c).target)
(hฮฒclosed : โˆ€ x,manifoldExteriorOneForm ฮฒ x=0)
(hฮฒcompact : HasCompactSupport ฮฒ) (ha : ContDiffOn โ„ โˆž a V)
(hF : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž F (V ร—หข A))
(hFd : โˆ€ p โˆˆ V,โˆ€ x โˆˆ A,
manifoldScalarDifferential (E := E) (fun y => F (p,y)) x=
ฮ“ p x-N p x-a p โ€ข ฮฒ x) :
โˆƒ (ฮ“โ‚ : P โ†’ ManifoldOneForm E M) (L : Set M), IsCompact L โˆง L โІ A โˆง
(โˆ€ c,ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm (ฮ“โ‚ q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target)) โˆง
(โˆ€ p,support (ฮ“โ‚ p-ฮ“ p) โІ tsupport ฮฒ โˆช L) โˆง
(โˆ€ p,HasCompactSupport (ฮ“โ‚ p-ฮ“ p)) โˆง
(โˆ€ p โˆˆ V,โˆ€ x,manifoldExteriorOneForm (ฮ“โ‚ p) x=manifoldExteriorOneForm (ฮ“ p) x) โˆง
(โˆ€ p โˆˆ V,โˆ€ x โˆˆ K,ฮ“โ‚ p x=N p x) := by
obtain โŸจG,L,hLc,hLA,hG,_,_,hGs,_,hGdโŸฉ :=
exists_joint_global_local_potential hV hK hA hKA hF
let ฮ“โ‚ := normalizedManifoldPrimitive ฮ“ ฮฒ a G
have hs : โˆ€ p,support (ฮ“โ‚ p-ฮ“ p) โІ tsupport ฮฒ โˆช L := by
intro p x hx
by_contra hout
have hฮฒz : ฮฒ x=0 := notMem_support.mp (fun hv => hout (Or.inl (subset_closure hv)))
have hdz : manifoldScalarDifferential (E := E) (fun y => G (p,y)) x=0 :=
notMem_support.mp (fun hv => hout (Or.inr (hGs p hv)))
apply hx
apply ContinuousLinearMap.ext
intro v
change ฮ“ p x v-a p*ฮฒ x v-manifoldScalarDifferential (E := E) (fun y => G (p,y)) x v-
ฮ“ p x v=0
rw [hฮฒz,hdz]
simp
refine โŸจฮ“โ‚,L,hLc,hLA,normalizedManifoldPrimitive_smooth hV hฮ“ hฮฒ ha hG,hs,
(fun p => HasCompactSupport.of_support_subset_isCompact (hฮฒcompact.union hLc) (hs p)),?_,?_โŸฉ
ยท intro p hp x
have hฮ“p : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm (ฮ“ p) c)
(extChartAt ๐“˜(โ„,E) c).target := by
intro c
exact (hฮ“ c).comp ((contDiff_const.prodMk contDiff_id).contDiffOn)
(fun y hy => โŸจhp,hyโŸฉ)
exact manifold_closed_exact_normalization hฮ“p hฮฒ hฮฒclosed
(manifoldFamily_scalar_fiber_smooth hV hG hp) (a p) x
ยท intro p hp x hx
apply ContinuousLinearMap.ext
intro v
change ฮ“ p x v-a p*ฮฒ x v-manifoldScalarDifferential (E := E) (fun y => G (p,y)) x v=N p x v
rw [hGd p x hx,hFd p hp x (hKA hx)]
simp only [sub_apply,smul_apply,smul_eq_mul]
ring
theorem exists_normalized_manifold_primitive_neighborhood {V : Set P} {K A : Set M}
(hV : IsOpen V) (hK : IsCompact K) (hA : IsOpen A) (hKA : K โІ A)
{ฮ“ N : P โ†’ ManifoldOneForm E M} {ฮฒ : ManifoldOneForm E M}
{a : P โ†’ โ„} {F : P ร— M โ†’ โ„}
(hฮ“ : โˆ€ c,ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm (ฮ“ q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target))
(hฮฒ : โˆ€ c,ContDiffOn โ„ โˆž (chartOneForm ฮฒ c) (extChartAt ๐“˜(โ„,E) c).target)
(hฮฒclosed : โˆ€ x,manifoldExteriorOneForm ฮฒ x=0)
(hฮฒcompact : HasCompactSupport ฮฒ) (ha : ContDiffOn โ„ โˆž a V)
(hF : ContMDiffOn ((๐“˜(โ„,P)).prod ๐“˜(โ„,E)) ๐“˜(โ„,โ„) โˆž F (V ร—หข A))
(hFd : โˆ€ p โˆˆ V,โˆ€ x โˆˆ A,
manifoldScalarDifferential (E := E) (fun y => F (p,y)) x=
ฮ“ p x-N p x-a p โ€ข ฮฒ x) :
โˆƒ (ฮ“โ‚ : P โ†’ ManifoldOneForm E M) (L W : Set M),
IsCompact L โˆง L โІ A โˆง IsOpen W โˆง K โІ W โˆง W โІ A โˆง
(โˆ€ c,ContDiffOn โ„ โˆž (fun q : P ร— E => chartOneForm (ฮ“โ‚ q.1) c q.2)
(V ร—หข (extChartAt ๐“˜(โ„,E) c).target)) โˆง
(โˆ€ p,support (ฮ“โ‚ p-ฮ“ p) โІ tsupport ฮฒ โˆช L) โˆง
(โˆ€ p,HasCompactSupport (ฮ“โ‚ p-ฮ“ p)) โˆง
(โˆ€ p โˆˆ V,โˆ€ x,manifoldExteriorOneForm (ฮ“โ‚ p) x=manifoldExteriorOneForm (ฮ“ p) x) โˆง
(โˆ€ p โˆˆ V,โˆ€ x โˆˆ W,ฮ“โ‚ p x=N p x) := by
let : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace E M
obtain โŸจD,hD,hKD,hDAโŸฉ := exists_compact_between hK hA hKA
obtain โŸจฮ“โ‚,L,hL,hLA,hs,hsp,hcp,hd,heโŸฉ :=
exists_normalized_manifold_primitive hV hD hA hDA hฮ“ hฮฒ hฮฒclosed hฮฒcompact ha hF hFd
exact โŸจฮ“โ‚,L,interior D,hL,hLA,isOpen_interior,hKD,interior_subset.trans hDA,
hs,hsp,hcp,hd,fun p hp x hx => he p hp x (interior_subset hx)โŸฉ
end
open scoped ContDiff Manifold Topology
open Set Function Manifold
variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace โ„ E]
[NormedAddCommGroup F] [NormedSpace โ„ F]
{M N : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold ๐“˜(โ„,E) โˆž M]
[TopologicalSpace N] [ChartedSpace F N] [IsManifold ๐“˜(โ„,F) โˆž N]
def handlePushforwardOneForm (e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
(ฮฑ : ManifoldOneForm E M) : ManifoldOneForm F N :=
extendManifoldOneForm e.target (manifoldPullbackOneForm (fun _ => ฮฑ) e.symm 0)
omit [IsManifold ๐“˜(โ„,E) โˆž M] [IsManifold ๐“˜(โ„,F) โˆž N] in
theorem handlePushforwardOneForm_zero
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
{ฮฑ : ManifoldOneForm E M} {K : Set M}
(hz : โˆ€ x, x โˆ‰ K โ†’ ฮฑ x=0) {y : N} (hy : y โˆ‰ e '' K) :
handlePushforwardOneForm e ฮฑ y=0 := by
by_cases ht : yโˆˆe.target
ยท have hk : e.symm yโˆ‰K := by
intro hk
exact hy โŸจe.symm y,hk,e.right_inv htโŸฉ
rw [handlePushforwardOneForm,extendManifoldOneForm_inside ht]
simp only [manifoldPullbackOneForm,hz _ hk,ContinuousLinearMap.zero_comp]
ยท exact extendManifoldOneForm_outside ht
theorem handlePushforwardOneForm_smooth [T2Space N]
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
{ฮฑ : ManifoldOneForm E M} {K : Set M} (hK : IsCompact K) (hKs : KโІe.source)
(hฮฑ : โˆ€ c, ContDiffOn โ„ โˆž (chartOneForm ฮฑ c) (extChartAt ๐“˜(โ„,E) c).target)
(hz : โˆ€ x, xโˆ‰K โ†’ ฮฑ x=0) :
SmoothOneFormFamily (fun _ : โ„ => handlePushforwardOneForm e ฮฑ) := by
have hKi : IsCompact (e '' K) :=
hK.image_of_continuousOn (e.contMDiffOn.continuousOn.mono hKs)
change SmoothOneFormFamily (fun p : โ„ => extendManifoldOneForm e.target
(manifoldPullbackOneForm (fun _ : โ„ => ฮฑ) e.symm p))
apply extendManifoldOneForm_smooth e.open_target hKi.isClosed
ยท rintro y โŸจx,hx,rflโŸฉ
exact e.map_source (hKs hx)
ยท exact manifoldPullbackOneForm_smooth_on (ฮฑ := fun _ : โ„ => ฮฑ)
e.open_target e.symm.contMDiffOn
(fun c => (hฮฑ c).comp contDiffOn_snd (fun _ hp => hp.2))
ยท intro p y hyt hy
have hk : e.symm yโˆ‰K := by
intro hk
exact hy โŸจe.symm y,hk,e.right_inv hytโŸฉ
simp only [manifoldPullbackOneForm,hz _ hk,ContinuousLinearMap.zero_comp]
omit [IsManifold ๐“˜(โ„,E) โˆž M] [IsManifold ๐“˜(โ„,F) โˆž N] in
theorem handlePushforwardOneForm_tsupport [T2Space N]
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
{ฮฑ : ManifoldOneForm E M} {K : Set M} (hK : IsCompact K) (hKs : KโІe.source)
(hz : โˆ€ x, xโˆ‰K โ†’ ฮฑ x=0) :
tsupport (handlePushforwardOneForm e ฮฑ) โІ e '' K := by
apply closure_minimal _ (hK.image_of_continuousOn
(e.contMDiffOn.continuousOn.mono hKs)).isClosed
intro y hy
by_contra hn
exact hy (handlePushforwardOneForm_zero e hz hn)
omit [IsManifold ๐“˜(โ„,E) โˆž M] [IsManifold ๐“˜(โ„,F) โˆž N] in
theorem handlePushforwardOneForm_compact [T2Space N]
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
{ฮฑ : ManifoldOneForm E M} {K : Set M} (hK : IsCompact K) (hKs : KโІe.source)
(hz : โˆ€ x, xโˆ‰K โ†’ ฮฑ x=0) : HasCompactSupport (handlePushforwardOneForm e ฮฑ) := by
apply HasCompactSupport.intro (hK.image_of_continuousOn
(e.contMDiffOn.continuousOn.mono hKs))
exact fun _ hy => handlePushforwardOneForm_zero e hz hy
omit [IsManifold ๐“˜(โ„,E) โˆž M] in
theorem manifoldExteriorOneForm_zero (x : M) :
manifoldExteriorOneForm (0 : ManifoldOneForm E M) x=0 := by
unfold manifoldExteriorOneForm
have hz : chartOneForm (0 : ManifoldOneForm E M) x = fun _ => 0 :=
funext fun y => chartOneForm_zero x y
simp only [hz,euclideanExteriorOneForm,fderiv_const_apply,
ContinuousLinearMap.flip_zero]
ext u v
change (0 : โ„)-0=0
ring
theorem handlePushforwardOneForm_closed [T2Space N]
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
{ฮฑ : ManifoldOneForm E M} {K : Set M} (hK : IsCompact K) (hKs : KโІe.source)
(hฮฑ : โˆ€ c, ContDiffOn โ„ โˆž (chartOneForm ฮฑ c) (extChartAt ๐“˜(โ„,E) c).target)
(hz : โˆ€ x, xโˆ‰K โ†’ ฮฑ x=0) (hd : โˆ€ x, manifoldExteriorOneForm ฮฑ x=0) (y : N) :
manifoldExteriorOneForm (handlePushforwardOneForm e ฮฑ) y=0 := by
by_cases hy : yโˆˆe.target
ยท rw [handlePushforwardOneForm,extendManifoldOneForm_exterior_inside e.open_target _ hy,
manifold_pullback_exterior_on hฮฑ e.open_target e.symm.contMDiffOn hy]
simp only [manifoldPullbackTwoForm,hd]
rfl
ยท have hn : yโˆ‰e '' K := by
rintro โŸจx,hx,rflโŸฉ
exact hy (e.map_source (hKs hx))
have hKi := hK.image_of_continuousOn (e.contMDiffOn.continuousOn.mono hKs)
have he : handlePushforwardOneForm e ฮฑ =แถ [๐“ y] 0 := by
filter_upwards [hKi.isClosed.isOpen_compl.mem_nhds hn] with z hzK
exact handlePushforwardOneForm_zero e hz hzK
rw [manifoldExteriorOneForm_congr_of_eventuallyEq he,manifoldExteriorOneForm_zero]
omit [IsManifold ๐“˜(โ„,E) โˆž M] [IsManifold ๐“˜(โ„,F) โˆž N] in
theorem handle_mfderiv_symm_comp
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž) {x : M} (hx : xโˆˆe.source) :
(mfderiv ๐“˜(โ„,F) ๐“˜(โ„,E) e.symm (e x)).comp
(mfderiv ๐“˜(โ„,E) ๐“˜(โ„,F) e x) = ContinuousLinearMap.id โ„ E := by
have he : (e.symm โˆ˜ e) =แถ [๐“ x] id := by
filter_upwards [e.open_source.mem_nhds hx] with y hy
exact e.left_inv hy
have hd := mfderiv_comp x (e.symm.mdifferentiableAt (by simp) (e.map_source hx))
(e.mdifferentiableAt (by simp) hx)
rw [โ† hd,he.mfderiv_eq,mfderiv_id]
rfl
omit [IsManifold ๐“˜(โ„,E) โˆž M] [IsManifold ๐“˜(โ„,F) โˆž N] in
theorem handlePushforwardOneForm_pullback
(e : PartialDiffeomorph ๐“˜(โ„,E) ๐“˜(โ„,F) M N โˆž)
(ฮฑ : ManifoldOneForm E M) {x : M} (hx : xโˆˆe.source) :
manifoldPullbackOneForm (fun _ => handlePushforwardOneForm e ฮฑ) e 0 x=ฮฑ x := by
have hd := handle_mfderiv_symm_comp e hx
change (extendManifoldOneForm e.target
(manifoldPullbackOneForm (fun _ => ฮฑ) e.symm 0) (e x)).comp _ = _
rw [extendManifoldOneForm_inside (e.map_source hx)]
ext v
change ฮฑ (e.symm (e x))
((manifoldMapDifferential (E := E) (F := F) e.symm (e x))
((manifoldMapDifferential (E := F) (F := E) e x) v)) = ฮฑ x v
have hฮฑx : ฮฑ (e.symm (e x))=ฮฑ x := congrArg ฮฑ (e.left_inv hx)
rw [hฮฑx]
exact congrArg (ฮฑ x) (congrArg (fun D : E โ†’L[โ„] E => D v) hd)
end PackingSufficiencySupport.Hamiltonian
end
end OAI

Xet Storage Details

Size:
28 kB
ยท
Xet hash:
fd6010eb35ffa6541e943f7f27d97f69dcc0c2612bcc4899771dabdac3d538c0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.