math / data /lean /OAI /Geometry /BallPacking /Flows /AnnularPathGerms.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
26.5 kB
import Mathlib
import OAI.Geometry.BallPacking.Flows.AnnularInverseDomain
namespace OAI
noncomputable section
namespace PackingSufficiencySupport.Hamiltonian.AnnularHandleData
open scoped ContDiff Manifold Topology
open Set Function Manifold
section
variable {V E : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V]
[NormedAddCommGroup E] [NormedSpace ℝ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M]
{Ξ© : V β†’L[ℝ] V β†’L[ℝ] ℝ}
omit [NormedAddCommGroup V] [NormedSpace ℝ V] in
theorem annular_normalForm_cover
(D : AnnularHandleData E M)
(b : ℝ) (H : V β†’ ℝ)
(Ξ“ : V β†’ ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M}
(hN : βˆ€ v x,x∈Wβ†’Ξ“ v x=Ξ³ x+
(intervalClock (-b) b (D.chart.symm x).1*H v) β€’ D.dual x)
(v : V) {q : Plane} (hq : q∈D.annularCoverDomain) (hx : D.handleAnnularCover q∈W) :
Ξ“ v (D.handleAnnularCover q)=Ξ³ (D.handleAnnularCover q)+
(intervalClock (-b) b q.1*H v) β€’ D.dual (D.handleAnnularCover q) := by
simpa only [D.handleAnnularCover_inverse hq,cylinderCover] using hN v _ hx
theorem globalSurfaceFirstPrimitive_cover_germ
(D : AnnularHandleData E M)
(b : ℝ) (Ξ¦ : CompactHamiltonianIsotopy Ξ©) (H : V β†’ ℝ)
(Ξ“ : V β†’ ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M}
(hW : IsOpen W)
(hN : βˆ€ v x,x∈Wβ†’Ξ“ v x=Ξ³ x+
(intervalClock (-b) b (D.chart.symm x).1*H v) β€’ D.dual x)
(β„“ : ℝ) {p : Plane Γ— V} (hp : p.1∈D.annularCoverDomain)
(hx : D.handleAnnularCover p.1∈W) :
(fun y => euclideanPullbackOneForm
(fun _ => productHorizontalLift (fun v => globalSurfaceFirstPrimitive D b Ξ¦ H Ξ“ (β„“,v)))
(flatProductMap (D.handleAnnularCover)) (0,y)) =αΆ [𝓝 p]
(fun y => surfaceFirstPrimitive Ξ¦ (intervalClock (-b) b) H
(D.annularCoverA Ξ³) (D.annularCoverB Ξ³) (fun q => D.clock (circleTurn q.2)) (β„“,y)) := by
have hs := (D.annularCoverDomain_open).mem_nhds hp
have hw := (D.handleAnnularCover_smoothAt hp).continuousAt.preimage_mem_nhds (hW.mem_nhds hx)
filter_upwards [continuousAt_fst.preimage_mem_nhds hs,
continuousAt_fst.preimage_mem_nhds hw] with y hy hyW
exact globalSurfaceFirstPrimitive_cover D b Ξ¦ H Ξ“ Ξ³ β„“ y hy
(annular_normalForm_cover D b H Ξ“ Ξ³ hN y.2 hy hyW)
theorem globalSurfaceSecondPrimitive_cover_germ {ΞΉ : Type*} [Fintype ΞΉ]
(D : AnnularHandleData E M)
(b : ℝ) (Ξ¦ : CompactHamiltonianIsotopy Ξ©)
(K H : V β†’ ℝ) (h : ΞΉ β†’ V β†’ ℝ) (ρ : ΞΉ β†’ ℝ β†’ ℝ) (ρ₀ : ℝ β†’ ℝ)
(Ξ“ : V β†’ ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M}
(hW : IsOpen W)
(hN : βˆ€ v x,x∈Wβ†’Ξ“ v x=Ξ³ x+
(intervalClock (-b) b (D.chart.symm x).1*H v) β€’ D.dual x)
(Ο„ : ℝ) {p : Plane Γ— V} (hp : p.1∈D.annularCoverDomain)
(hx : D.handleAnnularCover p.1∈W) :
(fun y => euclideanPullbackOneForm
(fun _ => productHorizontalLift (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (Ο„,v)))
(flatProductMap (D.handleAnnularCover)) (0,y)) =αΆ [𝓝 p]
(fun y => surfaceSecondPrimitive Ξ¦ (intervalClock (-b) b) K H h ρ ρ₀
(D.annularCoverA Ξ³) (D.annularCoverB Ξ³) (fun q => D.clock (circleTurn q.2)) (Ο„,y)) := by
have hs := (D.annularCoverDomain_open).mem_nhds hp
have hw := (D.handleAnnularCover_smoothAt hp).continuousAt.preimage_mem_nhds (hW.mem_nhds hx)
filter_upwards [continuousAt_fst.preimage_mem_nhds hs,
continuousAt_fst.preimage_mem_nhds hw] with y hy hyW
exact globalSurfaceSecondPrimitive_cover D b Ξ¦ K H h ρ ρ₀ Ξ“ Ξ³ Ο„ y hy
(annular_normalForm_cover D b H Ξ“ Ξ³ hN y.2 hy hyW)
end
section
variable {V E : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V]
[NormedAddCommGroup E] [NormedSpace ℝ E]
{M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
{Ξ© : V β†’L[ℝ] V β†’L[ℝ] ℝ} {ΞΉ : Type*} [Fintype ΞΉ]
theorem globalSurfaceSecondEndpoint_cover_pullback
(D : AnnularHandleData E M)
(b : ℝ) (Ξ¦ : CompactHamiltonianIsotopy Ξ©)
(K H : V β†’ ℝ) (h : ΞΉ β†’ V β†’ ℝ) (ρ : ΞΉ β†’ ℝ β†’ ℝ) (ρ₀ : ℝ β†’ ℝ)
(Ξ“ : V β†’ ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M}
(hW : IsOpen W)
(hN : βˆ€ v x, x ∈ W β†’ Ξ“ v x = Ξ³ x +
(intervalClock (-b) b (D.chart.symm x).1 * H v) β€’ D.dual x)
(hΞ“ : SmoothOneFormFamily (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v)))
{p : Plane Γ— V} (hp : p.1 ∈ D.annularCoverDomain)
(hx : D.handleAnnularCover p.1 ∈ W) :
(globalHorizontalCoupling Ξ© (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v))
(flatProductMap (D.handleAnnularCover) p)).bilinearComp
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,E Γ— V) (flatProductMap (D.handleAnnularCover)) p)
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,E Γ— V) (flatProductMap (D.handleAnnularCover)) p) =
Ξ©.bilinearComp (ContinuousLinearMap.snd ℝ Plane V) (ContinuousLinearMap.snd ℝ Plane V) +
euclideanExteriorOneForm (fun y => surfaceSecondPrimitive Ξ¦ (intervalClock (-b) b) K H h ρ ρ₀
(D.annularCoverA Ξ³) (D.annularCoverB Ξ³) (fun q => D.clock (circleTurn q.2)) (1,y)) p := by
have hs := D.handleAnnularCover_smoothAt hp
rw [flatProductMap_derivative hs,globalHorizontalCoupling_pullback hΞ“ hs]
rw [euclideanExteriorOneForm_congr_germ
(globalSurfaceSecondPrimitive_cover_germ D b Ξ¦ K H h ρ ρ₀ Ξ“ Ξ³ hW hN 1 hp hx)]
theorem globalSurfaceSecondEndpoint_shear_cover
(D : AnnularHandleData E M)
(b : ℝ)
(hΞ© : Ξ©.IsInvertible) (hskew : βˆ€ v w, Ξ© v w = -Ξ© w v)
(Ξ¦ : CompactHamiltonianIsotopy Ξ©) {K H : V β†’ ℝ} {h : ΞΉ β†’ V β†’ ℝ}
{ρ : ΞΉ β†’ ℝ β†’ ℝ} {ρ₀ : ℝ β†’ ℝ}
(hK : ContDiff ℝ ∞ K) (hH : ContDiff ℝ ∞ H) (hh : βˆ€ i, ContDiff ℝ ∞ (h i))
(hρ : βˆ€ i, ContDiff ℝ ∞ (ρ i)) (hρ₀ : ContDiff ℝ ∞ ρ₀)
(Ξ“ : V β†’ ManifoldOneForm E M) (Ξ³ : ManifoldOneForm E M) {W : Set M}
(hW : IsOpen W)
(hN : βˆ€ v x, x ∈ W β†’ Ξ“ v x = Ξ³ x +
(intervalClock (-b) b (D.chart.symm x).1 * H v) β€’ D.dual x)
(hΞ“ : SmoothOneFormFamily (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v)))
{U : Set Plane} (hU : IsOpen U)
(hA : ContDiffOn ℝ ∞ (D.annularCoverA Ξ³) U)
(hB : ContDiffOn ℝ ∞ (D.annularCoverB Ξ³) U)
{p : Plane Γ— V} (hp : p.1 ∈ D.annularCoverDomain) (hpu : p.1 ∈ U)
(hx : D.handleAnnularCover p.1 ∈ W) :
(globalHorizontalCoupling Ξ© (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v))
(flatProductMap (D.handleAnnularCover) p)).bilinearComp
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,E Γ— V) (flatProductMap (D.handleAnnularCover)) p)
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,E Γ— V) (flatProductMap (D.handleAnnularCover)) p) =
(horizontalCoupling Ξ© (baseCoefficient (D.annularCoverA Ξ³))
(weightedSecondCoefficient (D.annularCoverB Ξ³) (fun q => D.clock (circleTurn q.2))
(surfaceFinalLayer (K-H) h (surfaceRemainder K H h (Ξ¦.map 1).symm) ρ ρ₀))
(hamiltonianBaseShear Ξ¦ (intervalClock (-b) b) (intervalClock_smooth (-b) b) p)).bilinearComp
(fderiv ℝ (hamiltonianBaseShear Ξ¦ (intervalClock (-b) b) (intervalClock_smooth (-b) b)) p)
(fderiv ℝ (hamiltonianBaseShear Ξ¦ (intervalClock (-b) b) (intervalClock_smooth (-b) b)) p) := by
rw [globalSurfaceSecondEndpoint_cover_pullback D b Ξ¦ K H h ρ ρ₀ Ξ“ Ξ³ hW hN hΞ“ hp hx]
exact (surfaceSecondEndpoint_shear_pullback hΞ© hskew Ξ¦ (intervalClock_smooth (-b) b)
hK hH hh hρ hρ₀ hU hA hB (((D.clock_smooth.comp circleTurn_smooth).contDiff).comp contDiff_snd) p hpu).symm
end
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V]
{M : Type*} [TopologicalSpace M] [ChartedSpace Plane M] [IsManifold π“˜(ℝ,Plane) ∞ M]
{Ξ© : V β†’L[ℝ] V β†’L[ℝ] ℝ} {ΞΉ : Type*} [Fintype ΞΉ]
theorem annularUnshearMap_pullback
(D : AnnularHandleData Plane M)
(b : ℝ)
(hΞ© : Ξ©.IsInvertible) (hskew : βˆ€ v w, Ξ© v w = -Ξ© w v)
(Ξ¦ : CompactHamiltonianIsotopy Ξ©) {K H : V β†’ ℝ} {h : ΞΉ β†’ V β†’ ℝ}
{ρ : ΞΉ β†’ ℝ β†’ ℝ} {ρ₀ : ℝ β†’ ℝ}
(hK : ContDiff ℝ ∞ K) (hH : ContDiff ℝ ∞ H) (hh : βˆ€ i, ContDiff ℝ ∞ (h i))
(hρ : βˆ€ i, ContDiff ℝ ∞ (ρ i)) (hρ₀ : ContDiff ℝ ∞ ρ₀)
(Ξ“ : V β†’ ManifoldOneForm Plane M) (Ξ³ : ManifoldOneForm Plane M) {W : Set M}
(hW : IsOpen W)
(hN : βˆ€ v x, x ∈ W β†’ Ξ“ v x = Ξ³ x +
(intervalClock (-b) b (D.chart.symm x).1 * H v) β€’ D.dual x)
(hΞ“ : SmoothOneFormFamily (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v)))
{U : Set Plane} (hU : IsOpen U)
(hA : ContDiffOn ℝ ∞ (D.annularCoverA Ξ³) U)
(hB : ContDiffOn ℝ ∞ (D.annularCoverB Ξ³) U)
{p : Plane Γ— V} (hp : p.1 ∈ D.annularCoverDomain) (hpu : p.1 ∈ U)
(hx : D.handleAnnularCover p.1 ∈ W) (v u : Plane Γ— V) :
globalHorizontalCoupling Ξ© (fun v => globalSurfaceSecondPrimitive D b Ξ¦ K H h ρ ρ₀ Ξ“ (1,v))
(annularUnshearMap D b Ξ¦ p)
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,Plane Γ— V) (annularUnshearMap D b Ξ¦) p v)
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,Plane Γ— V) (annularUnshearMap D b Ξ¦) p u) =
horizontalCoupling Ξ© (baseCoefficient (D.annularCoverA Ξ³))
(weightedSecondCoefficient (D.annularCoverB Ξ³) (fun q => D.clock (circleTurn q.2))
(surfaceFinalLayer (K-H) h (surfaceRemainder K H h (Ξ¦.map 1).symm) ρ ρ₀)) p v u := by
let L := hamiltonianBaseShear Ξ¦ (intervalClock (-b) b) (intervalClock_smooth (-b) b)
have hd : ContDiff ℝ ∞ L := hamiltonianBaseShear_smooth Ξ¦ (intervalClock_smooth (-b) b)
have hi : ContDiff ℝ ∞ L.symm := hamiltonianBaseShear_inverse_smooth Ξ¦ (intervalClock_smooth (-b) b)
have hΟ‡ : ContMDiffAt π“˜(ℝ,Plane Γ— V) π“˜(ℝ,Plane Γ— V) ∞
(flatProductMap (D.handleAnnularCover)) (L.symm p) :=
flatProductMap_smoothAt (D.handleAnnularCover_smoothAt hp)
have hder : mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,Plane Γ— V) (annularUnshearMap D b Ξ¦) p =
(mfderiv π“˜(ℝ,Plane Γ— V) π“˜(ℝ,Plane Γ— V) (flatProductMap (D.handleAnnularCover)) (L.symm p)).comp
(fderiv ℝ L.symm p) := by
exact (mfderiv_comp p (hχ.mdifferentiableAt (by simp))
(hi.contMDiff.mdifferentiableAt (by simp))).trans (by rw [mfderiv_eq_fderiv]; rfl)
have ht := globalSurfaceSecondEndpoint_shear_cover D b hΞ© hskew Ξ¦ hK hH hh hρ hρ₀
Ξ“ Ξ³ hW hN hΞ“ hU hA hB (p := L.symm p) hp hpu hx
have hh' := congrArg (fun B : (Plane Γ— V) β†’L[ℝ] (Plane Γ— V) β†’L[ℝ] ℝ =>
B (fderiv ℝ L.symm p v) (fderiv ℝ L.symm p u)) ht
rw [hder]
change _ = (horizontalCoupling Ξ© _ _ (L (L.symm p)))
(fderiv ℝ L (L.symm p) (fderiv ℝ L.symm p v))
(fderiv ℝ L (L.symm p) (fderiv ℝ L.symm p u)) at hh'
rw [L.apply_symm_apply,smoothHomeomorph_inverse_derivative L hd hi,
smoothHomeomorph_inverse_derivative L hd hi] at hh'
exact hh'
end PackingSufficiencySupport.Hamiltonian.AnnularHandleData
namespace PackingSufficiencySupport.Hamiltonian
open scoped ContDiff Manifold Topology
open Set Function Manifold
section
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_joint_localized_manifold_moser_field
{Ξ© : ℝ β†’ ManifoldTwoForm E M} {Ξ± : ℝ β†’ ManifoldOneForm E M}
(hΞ© : βˆ€ c, ContDiffOn ℝ ∞ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2)
(univ Γ—Λ’ (extChartAt π“˜(ℝ,E) c).target))
(hΞ± : βˆ€ c, ContDiffOn ℝ ∞ (fun q : ℝ Γ— E => chartOneForm (Ξ± q.1) c q.2)
(univ Γ—Λ’ (extChartAt π“˜(ℝ,E) c).target))
{K U : Set (ℝ Γ— M)} (hK : IsCompact K) (hU : IsOpen U) (hKU : K βŠ† U)
(hinv : βˆ€ p ∈ U, (Ξ© p.1 p.2).IsInvertible) :
βˆƒ V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2,
ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M)) ∧
(βˆ€αΆ  p in 𝓝˒ K, V p = manifoldMoserField Ξ© Ξ± p) ∧
(βˆ€ p, Ξ± p.1 p.2=0 β†’ V p=0) ∧
(βˆƒ C : Set M, IsCompact C ∧ βˆ€ t x, x βˆ‰ C β†’ V (t,x)=0) ∧
(βˆ€ p (L : E β†’L[ℝ] ℝ), (p ∈ U β†’ L (manifoldMoserField Ξ© Ξ± p)=0) β†’ L (V p)=0) := by
let : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace E M
let : NormalSpace (ℝ Γ— M) := inferInstance
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
obtain βŸ¨Ο‡,hΟ‡,hΟ‡c,hΟ‡U,hΟ‡1,_⟩ := exists_smooth_manifold_cutoff (E := ℝ Γ— E) hK hU hKU
have hΟ‡s : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) π“˜(ℝ,ℝ) ∞ Ο‡ := by
simpa only [modelWithCornersSelf_prod,instProd] using hχ
let V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2 := fun p => Ο‡ p β€’ manifoldMoserField Ξ© Ξ± p
have he (c : M) (q : ℝ Γ— E) : timeChartField V c q =
Ο‡ (q.1,(extChartAt π“˜(ℝ,E) c).symm q.2) β€’ timeChartField (manifoldMoserField Ξ© Ξ±) c q := by
dsimp only [timeChartField,V]
exact (chartDifferential c _).map_smul _ _
refine ⟨V,?_,?_,?_,?_,?_⟩
Β· apply timeField_smooth_of_coordinates
intro p
let c := p.2
let q : ℝ Γ— E := (p.1,extChartAt π“˜(ℝ,E) c c)
let F : ℝ Γ— E β†’ ℝ Γ— M := fun z => (z.1,(extChartAt π“˜(ℝ,E) c).symm z.2)
have hq : q.2 ∈ (extChartAt π“˜(ℝ,E) c).target := mem_extChartAt_target c
have hFe : F q=p := by dsimp only [F,q,c]; rw [extChartAt_to_inv]
have hi : ContMDiffAt π“˜(ℝ,E) π“˜(ℝ,E) ∞ (extChartAt π“˜(ℝ,E) c).symm q.2 :=
(contMDiffOn_extChartAt_symm (I := π“˜(ℝ,E)) (n := ∞) c).contMDiffAt
((isOpen_extChartAt_target (I := π“˜(ℝ,E)) c).mem_nhds hq)
have hF : ContMDiffAt π“˜(ℝ,ℝ Γ— E) ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) ∞ F q :=
contDiffAt_fst.contMDiffAt.prodMk (hi.comp q contDiffAt_snd.contMDiffAt)
have hn : (univ Γ—Λ’ (extChartAt π“˜(ℝ,E) c).target) ∈ 𝓝 q :=
(isOpen_univ.prod (isOpen_extChartAt_target (I := π“˜(ℝ,E)) c)).mem_nhds ⟨mem_univ _,hq⟩
by_cases hp : p ∈ U
Β· have hnU : βˆ€αΆ  z in 𝓝 q, F z ∈ U := hF.continuousAt.preimage_mem_nhds
(by rw [hFe]; exact hU.mem_nhds hp)
have hs := timeChartField_moser_contDiffAt hq ((hΞ© c).contDiffAt hn)
((hΞ± c).contDiffAt hn) (hnU.mono fun z hz => hinv (F z) hz)
have hc : ContDiffAt ℝ ∞ (fun z => Ο‡ (F z)) q :=
(hχs.contMDiffAt.comp q hF).contDiffAt
exact (hc.smul hs).congr_of_eventuallyEq (Filter.Eventually.of_forall (he c))
Β· have hp' : p βˆ‰ tsupport Ο‡ := fun h => hp (hΟ‡U h)
have hz : βˆ€αΆ  z in 𝓝 q, Ο‡ (F z)=0 := by
have hh : F ⁻¹' (tsupport Ο‡)ᢜ ∈ 𝓝 q := hF.continuousAt.preimage_mem_nhds
(show (tsupport Ο‡)ᢜ ∈ 𝓝 (F q) by
rw [hFe]; exact (isClosed_tsupport Ο‡).isOpen_compl.mem_nhds hp')
filter_upwards [hh] with z hz
exact image_eq_zero_of_notMem_tsupport hz
apply (contDiffAt_const (c := (0:E))).congr_of_eventuallyEq
filter_upwards [hz] with z hz
rw [he,hz,zero_smul]
· filter_upwards [hχ1] with p hp
change Ο‡ p β€’ _ = _
rw [hp,one_smul]
Β· intro p hp
change Ο‡ p β€’ (-((Ξ© p.1 p.2).inverse (Ξ± p.1 p.2)))=0
rw [hp,map_zero,neg_zero,smul_zero]
Β· refine ⟨Prod.snd '' tsupport Ο‡,hΟ‡c.image continuous_snd,?_⟩
intro t x hx
have hz : Ο‡ (t,x)=0 := image_eq_zero_of_notMem_tsupport (fun h => hx ⟨(t,x),h,rfl⟩)
change Ο‡ (t,x) β€’ _ = 0
rw [hz,zero_smul]
Β· intro p L hL
change L (Ο‡ p β€’ manifoldMoserField Ξ© Ξ± p)=0
erw [map_smul]
by_cases hp : p ∈ U
Β· rw [hL hp,smul_zero]
· rw [image_eq_zero_of_notMem_tsupport (fun h => hp (hχU h)),zero_smul]
end
section
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
theorem local_contraction_derivative
{Ξ© : ℝ Γ— E β†’ E β†’L[ℝ] E β†’L[ℝ] ℝ}
{Ξ± : ℝ Γ— E β†’ E β†’L[ℝ] ℝ} {X : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hΞ© : DifferentiableAt ℝ Ξ© p) (hΞ± : DifferentiableAt ℝ Ξ± p)
(hX : DifferentiableAt ℝ X p)
(hcon : (fun q => Ξ© q (X q)) =αΆ [𝓝 p] (fun q => -Ξ± q))
(q : ℝ Γ— E) (w : E) :
fderiv ℝ Ξ© p q (X p) w + Ξ© p (fderiv ℝ X p q) w = -(fderiv ℝ Ξ± p q w) := by
have hl := hΞ©.hasFDerivAt.clm_apply hX.hasFDerivAt
have hr := hΞ±.hasFDerivAt.neg.congr_of_eventuallyEq hcon
have he := congrArg (fun A : (ℝ Γ— E) β†’L[ℝ] E β†’L[ℝ] ℝ => A q w) (hl.unique hr)
simpa only [add_apply,ContinuousLinearMap.comp_apply,ContinuousLinearMap.flip_apply,
neg_apply,add_comm] using he
theorem local_moser_transport_equation
{Ξ© : ℝ Γ— E β†’ E β†’L[ℝ] E β†’L[ℝ] ℝ}
{Ξ± : ℝ Γ— E β†’ E β†’L[ℝ] ℝ} {X : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hΞ© : DifferentiableAt ℝ Ξ© p) (hΞ± : DifferentiableAt ℝ Ξ± p)
(hX : DifferentiableAt ℝ X p)
(hcon : (fun q => Ξ© q (X q)) =αΆ [𝓝 p] (fun q => -Ξ± q))
(hskew : βˆ€ u v, Ξ© p u v = -Ξ© p v u)
(hclosed : βˆ€ u v w, fderiv ℝ Ξ© p (0,u) v w - fderiv ℝ Ξ© p (0,v) u w +
fderiv ℝ Ξ© p (0,w) u v = 0)
(htime : βˆ€ v w, fderiv ℝ Ξ© p (1,0) v w =
fderiv ℝ Ξ± p (0,v) w - fderiv ℝ Ξ± p (0,w) v) (v w : E) :
fderiv ℝ Ξ© p (1,X p) v w +
Ξ© p (fderiv ℝ X p (0,v)) w + Ξ© p v (fderiv ℝ X p (0,w)) = 0 := by
have h1 := local_contraction_derivative hΞ© hΞ± hX hcon (0,v) w
have h2 := local_contraction_derivative hΞ© hΞ± hX hcon (0,w) v
have hc := hclosed (X p) v w
have ht := htime v w
rw [show (1,X p) = ((1,0) : ℝ Γ— E)+(0,X p) by ext <;> simp,
map_add,add_apply,add_apply,hskew v]
linarith
variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold π“˜(ℝ,E) ∞ M]
theorem joint_manifold_moser_PDE
{Ξ© : ℝ β†’ ManifoldTwoForm E M} {Ξ± : ℝ β†’ ManifoldOneForm E M}
{V : (p : ℝ Γ— M) β†’ TangentSpace π“˜(ℝ,E) p.2}
(hV : ContMDiff ((π“˜(ℝ,ℝ)).prod π“˜(ℝ,E)) (π“˜(ℝ,E)).tangent ∞
(fun p => (⟨p.2,V p⟩ : TangentBundle π“˜(ℝ,E) M)))
{U : Set (ℝ Γ— M)} (hU : IsOpen U) {t : ℝ} {c : M} {y : E}
(hy : y ∈ (extChartAt π“˜(ℝ,E) c).target)
(ht : (t,(extChartAt π“˜(ℝ,E) c).symm y) ∈ U)
(hinv : βˆ€ p ∈ U, (Ξ© p.1 p.2).IsInvertible)
(heq : βˆ€αΆ  p in 𝓝 (t,(extChartAt π“˜(ℝ,E) c).symm y),
V p = manifoldMoserField Ξ© Ξ± p)
(hΞ© : ContDiffAt ℝ ∞ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y))
(hΞ± : ContDiffAt ℝ ∞ (fun q : ℝ Γ— E => chartOneForm (Ξ± q.1) c q.2) (t,y))
(hskew : βˆ€ u v, chartTwoForm (Ξ© t) c y u v = -chartTwoForm (Ξ© t) c y v u)
(hclosed : βˆ€ u v w,
fderiv ℝ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y) (0,u) v w -
fderiv ℝ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y) (0,v) u w +
fderiv ℝ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y) (0,w) u v = 0)
(htime : βˆ€ v w,
fderiv ℝ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y) (1,0) v w =
fderiv ℝ (fun q : ℝ Γ— E => chartOneForm (Ξ± q.1) c q.2) (t,y) (0,v) w -
fderiv ℝ (fun q : ℝ Γ— E => chartOneForm (Ξ± q.1) c q.2) (t,y) (0,w) v)
(v w : E) :
fderiv ℝ (fun q : ℝ Γ— E => chartTwoForm (Ξ© q.1) c q.2) (t,y)
(1,timeChartField V c (t,y)) v w +
chartTwoForm (Ξ© t) c y (fderiv ℝ (timeChartField V c) (t,y) (0,v)) w +
chartTwoForm (Ξ© t) c y v (fderiv ℝ (timeChartField V c) (t,y) (0,w)) = 0 := by
have hn : (univ Γ—Λ’ (extChartAt π“˜(ℝ,E) c).target) ∈ 𝓝 (t,y) :=
(isOpen_univ.prod (isOpen_extChartAt_target (I := π“˜(ℝ,E)) c)).mem_nhds
⟨mem_univ _,hy⟩
have hX := ((timeChartField_contDiffOn hV c).contDiffAt hn).differentiableAt (by simp)
apply local_moser_transport_equation (hΞ©.differentiableAt (by simp))
(hΞ±.differentiableAt (by simp)) hX _ hskew hclosed htime
let F : ℝ Γ— E β†’ ℝ Γ— M := fun q => (q.1,(extChartAt π“˜(ℝ,E) c).symm q.2)
have hCs : ContinuousAt (fun z : E => (extChartAt π“˜(ℝ,E) c).symm z) y :=
continuousAt_extChartAt_symm'' (I := π“˜(ℝ,E)) hy
have hS : ContinuousAt (fun q : ℝ Γ— E => (extChartAt π“˜(ℝ,E) c).symm q.2) (t,y) :=
ContinuousAt.comp (f := fun q : ℝ Γ— E => q.2)
(g := fun z : E => (extChartAt π“˜(ℝ,E) c).symm z) (x := (t,y)) hCs continuousAt_snd
have hF : ContinuousAt F (t,y) := continuousAt_fst.prodMk hS
have hspaceU : βˆ€αΆ  q in 𝓝 (t,y), F q ∈ U :=
hF.preimage_mem_nhds (hU.mem_nhds ht)
have hVe : βˆ€αΆ  q in 𝓝 (t,y), V (F q)=manifoldMoserField Ξ© Ξ± (F q) :=
hF.preimage_mem_nhds heq
have htarg : βˆ€αΆ  q : ℝ Γ— E in 𝓝 (t,y), q.2 ∈ (extChartAt π“˜(ℝ,E) c).target :=
continuousAt_snd.preimage_mem_nhds ((isOpen_extChartAt_target (I := π“˜(ℝ,E)) c).mem_nhds hy)
filter_upwards [hspaceU,htarg,hVe] with q hq hqt hqe
have hVC : timeChartField V c q = timeChartField (manifoldMoserField Ξ© Ξ±) c q := by
dsimp only [timeChartField]
rw [show V (q.1,(extChartAt π“˜(ℝ,E) c).symm q.2)=
manifoldMoserField Ξ© Ξ± (q.1,(extChartAt π“˜(ℝ,E) c).symm q.2) from hqe]
rw [hVC]
exact chart_moser_contraction hqt (hinv (F q) hq)
end
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
theorem smoothAt_fderiv_apply_const {D G : Type*} [NormedAddCommGroup D]
[NormedSpace ℝ D] [NormedAddCommGroup G] [NormedSpace ℝ G] {f : D β†’ G}
{p : D} (hf : ContDiffAt ℝ ∞ f p) (v w : D) :
fderiv ℝ (fun q => fderiv ℝ f q v) p w = fderiv ℝ (fderiv ℝ f) p w v := by
have hfd : ContDiffAt ℝ ∞ (fderiv ℝ f) p := hf.fderiv_right (by simp)
have hh := (hfd.differentiableAt (by simp)).hasFDerivAt.clm_apply
(hasFDerivAt_const v p)
rw [hh.fderiv]
simp
theorem local_spatial_fderiv {F : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hF : DifferentiableAt ℝ F p) (v : E) :
fderiv ℝ (fun y => F (p.1,y)) p.2 v = fderiv ℝ F p (0,v) := by
have hd := hF.hasFDerivAt.comp p.2
((hasFDerivAt_const (c := p.1) p.2).prodMk (hasFDerivAt_id (π•œ := ℝ) p.2))
exact congrArg (fun A : E β†’L[ℝ] E => A v) hd.fderiv
theorem local_time_fderiv {F X : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hF : DifferentiableAt ℝ F p)
(hflow : HasDerivAt (fun s => F (s,p.2)) (X (p.1,F p)) p.1) :
fderiv ℝ F p (1,0) = X (p.1,F p) := by
have hd := hF.hasFDerivAt.comp_hasDerivAt p.1
((hasDerivAt_id p.1).prodMk (hasDerivAt_const p.1 p.2))
exact hd.unique hflow
theorem local_flow_variation {F X : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hF : ContDiffAt ℝ ∞ F p) (hX : DifferentiableAt ℝ X (p.1,F p))
(hflow : βˆ€αΆ  q in 𝓝 p, HasDerivAt (fun s => F (s,q.2)) (X (q.1,F q)) q.1)
(v : E) :
HasDerivAt (fun s => fderiv ℝ F (s,p.2) (0,v))
(fderiv ℝ X (p.1,F p) (0,fderiv ℝ F p (0,v))) p.1 := by
have hFd : ContDiffAt ℝ ∞ (fderiv ℝ F) p := hF.fderiv_right (by simp)
have hV : ContDiffAt ℝ ∞ (fun q => fderiv ℝ F q (0,v)) p :=
hFd.clm_apply contDiffAt_const
have hd := (hV.differentiableAt (by simp)).hasFDerivAt.comp_hasDerivAt p.1
((hasDerivAt_id p.1).prodMk (hasDerivAt_const p.1 p.2))
have he : (fun q => fderiv ℝ F q (1,0)) =αΆ [𝓝 p] (fun q => X (q.1,F q)) := by
have hF1 : ContDiffAt ℝ 1 F p := hF.of_le (by simp)
filter_upwards [hF1.eventually (by simp),hflow] with q hq hqf
exact local_time_fderiv (hq.differentiableAt (by simp)) hqf
have hchain := hX.hasFDerivAt.comp p
((hasFDerivAt_fst (π•œ := ℝ) (p := p)).prodMk
(hF.differentiableAt (by simp)).hasFDerivAt)
have hc := congrArg (fun A : (ℝ Γ— E) β†’L[ℝ] E => A (0,v)) hchain.fderiv
have he' := congrArg (fun A : (ℝ Γ— E) β†’L[ℝ] E => A (0,v)) he.fderiv_eq
change fderiv ℝ (fun q => X (q.1,F q)) p (0,v) = _ at hc
rw [smoothAt_fderiv_apply_const hF,hc] at he'
simp only [ContinuousLinearMap.comp_apply,ContinuousLinearMap.prod_apply] at he'
have hs := hF.isSymmSndFDerivAt (by
rw [minSmoothness_of_isRCLikeNormedField]
change ((2 : β„•βˆž) : WithTop β„•βˆž) ≀ ↑(⊀ : β„•βˆž)
exact WithTop.coe_le_coe.mpr le_top)
apply hd.congr_deriv
rw [smoothAt_fderiv_apply_const hF,hs.eq (1,0) (0,v)]
exact he'
theorem local_flow_form_derivative {F X : ℝ Γ— E β†’ E} {p : ℝ Γ— E}
(hF : ContDiffAt ℝ ∞ F p) (hX : DifferentiableAt ℝ X (p.1,F p))
(hflow : βˆ€αΆ  q in 𝓝 p, HasDerivAt (fun s => F (s,q.2)) (X (q.1,F q)) q.1)
{Ξ© : ℝ Γ— E β†’ E β†’L[ℝ] E β†’L[ℝ] ℝ} (hΞ© : DifferentiableAt ℝ Ξ© (p.1,F p))
(hPDE : βˆ€ u z, fderiv ℝ Ξ© (p.1,F p) (1,X (p.1,F p)) u z +
Ξ© (p.1,F p) (fderiv ℝ X (p.1,F p) (0,u)) z +
Ξ© (p.1,F p) u (fderiv ℝ X (p.1,F p) (0,z)) = 0) (v w : E) :
HasDerivAt (fun s => Ξ© (s,F (s,p.2))
(fderiv ℝ (fun y => F (s,y)) p.2 v) (fderiv ℝ (fun y => F (s,y)) p.2 w)) 0 p.1 := by
have hpos : HasDerivAt (fun s => (s,F (s,p.2))) (1,X (p.1,F p)) p.1 := by
simpa only [id_eq,Prod.eta] using
(hasDerivAt_id p.1).prodMk hflow.self_of_nhds
have hdΞ© := HasFDerivAt.comp_hasDerivAt_of_eq (π•œ := ℝ)
(E := E β†’L[ℝ] E β†’L[ℝ] ℝ) (F := ℝ Γ— E) (l := Ξ©)
p.1 hΞ©.hasFDerivAt hpos (by simp only [Prod.eta])
have hd := (hdΞ©.clm_apply (local_flow_variation hF hX hflow v)).clm_apply
(local_flow_variation hF hX hflow w)
have hz : HasDerivAt (fun s => Ξ© (s,F (s,p.2))
(fderiv ℝ F (s,p.2) (0,v)) (fderiv ℝ F (s,p.2) (0,w))) 0 p.1 := by
apply hd.congr_deriv
simpa only [add_apply,Function.comp_apply,id_eq] using hPDE
(fderiv ℝ F p (0,v)) (fderiv ℝ F p (0,w))
apply hz.congr_of_eventuallyEq
have hF1 : ContDiffAt ℝ 1 F p := hF.of_le (by simp)
have hev := (hF1.eventually (by simp)).filter_mono
(continuousAt_id.prodMk continuousAt_const).tendsto
filter_upwards [hev] with s hs
change ContDiffAt ℝ 1 F (s,p.2) at hs
rw [local_spatial_fderiv (hs.differentiableAt (by simp)),
local_spatial_fderiv (hs.differentiableAt (by simp))]
end PackingSufficiencySupport.Hamiltonian
end
end OAI