import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.StationaryCompleteness import PoincareLib.Geometry.Riemannian.Metric.Product.EuclideanModel import PoincareLib.Geometry.Riemannian.Metric.LocalDiffeomorph /-! # Completeness of a compact transverse flowout The actual pullback metric of a locally diffeomorphic flowout is invariant under source translations when the ambient flow preserves its metric. The proper line coordinate and compact zero section give completeness, without identifying the metric with a product. This is the globalization step in Morgan--Tian Claim 11.7, pp. 270-271. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Manifold open scoped Manifold ContDiff Bundle universe u v namespace PoincareMT.M30 /-- A locally diffeomorphic flowout of a compact manifold has a complete actual pullback metric when its ambient action preserves the metric. -/ theorem metricComplete_flowout_pullback {n : โ„•} {S : Type u} {N : Type v} [TopologicalSpace S] [TopologicalSpace N] [ChartedSpace (EuclideanSpace โ„ (Fin n)) S] [ChartedSpace (EuclideanSpace โ„ (Fin (n + 1))) N] [IsManifold (๐“ก n) โˆž S] [IsManifold (๐“ก (n + 1)) โˆž N] [T3Space S] [CompactSpace S] (g : RiemannianMetric (n + 1) N) (Phi : โ„ โ†’ N โ†’ N) (j : S โ†’ N) (hPhi : โˆ€ t : โ„, ContMDiff (๐“ก (n + 1)) (๐“ก (n + 1)) โˆž (Phi t)) (hact : โˆ€ s t x, Phi (s + t) x = Phi s (Phi t x)) (hmetric : โˆ€ (t : โ„) (x : N) (a b : TangentSpace (๐“ก (n + 1)) x), g.inner (Phi t x) (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Phi t) x a) (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Phi t) x b) = g.inner x a b) : letI := RiemannianMetric.lineProductChartedSpace (n := n) (M := S) letI := RiemannianMetric.lineProductIsManifold (n := n) (M := S) let Xi : S ร— โ„ โ†’ N := fun z => Phi z.2 (j z.1) โˆ€ hXi : IsLocalDiffeomorph (๐“ก (n + 1)) (๐“ก (n + 1)) โˆž Xi, MetricComplete (g.pullbackOfLocalDiffeomorph Xi hXi) := by let : ChartedSpace (EuclideanSpace โ„ (Fin n) ร— โ„) (S ร— โ„) := prodChartedSpace (EuclideanSpace โ„ (Fin n)) S โ„ โ„ let := RiemannianMetric.lineProductChartedSpace (n := n) (M := S) let := RiemannianMetric.lineProductIsManifold (n := n) (M := S) dsimp only intro hXi let Xi : S ร— โ„ โ†’ N := fun z => Phi z.2 (j z.1) let G := g.pullbackOfLocalDiffeomorph Xi hXi let e : (S ร— โ„) โ‰ƒโ‚˜โŸฎ(๐“ก n).prod ๐“˜(โ„, โ„), ๐“ก (n + 1)โŸฏ (S ร— โ„) := by refine { toEquiv := Equiv.refl _ contMDiff_toFun := ?_ contMDiff_invFun := ?_ } ยท change ContMDiff ((๐“ก n).prod ๐“˜(โ„, โ„)) (๐“ก (n + 1)) โˆž (id : S ร— โ„ โ†’ _) rw [โ† modelWithCornersSelf_prod] exact Poincare.Manifold.contMDiff_linearRechart_id (M := S ร— โ„) (RiemannianMetric.lineModelEquiv n) ยท change ContMDiff (๐“ก (n + 1)) ((๐“ก n).prod ๐“˜(โ„, โ„)) โˆž (id : S ร— โ„ โ†’ _) rw [โ† modelWithCornersSelf_prod] exact Poincare.Manifold.contMDiff_linearRechart_id_symm (M := S ร— โ„) (RiemannianMetric.lineModelEquiv n) have hf : ContMDiff (๐“ก (n + 1)) ๐“˜(โ„, โ„) โˆž (Prod.snd : S ร— โ„ โ†’ โ„) := by have hs : ContMDiff ((๐“ก n).prod ๐“˜(โ„, โ„)) ๐“˜(โ„, โ„) โˆž (Prod.snd : S ร— โ„ โ†’ โ„) := contMDiff_snd exact hs.comp e.symm.contMDiff let Psi (t : โ„) (z : S ร— โ„) : S ร— โ„ := (z.1, z.2 + t) have hPsi (t : โ„) : ContMDiff (๐“ก (n + 1)) (๐“ก (n + 1)) โˆž (Psi t) := by have hs : ContMDiff ((๐“ก n).prod ๐“˜(โ„, โ„)) ((๐“ก n).prod ๐“˜(โ„, โ„)) โˆž (fun z : S ร— โ„ => (z.1, z.2 + t)) := contMDiff_fst.prodMk (contMDiff_snd.add contMDiff_const) exact e.contMDiff.comp (hs.comp e.symm.contMDiff) have hequiv (t : โ„) : Xi โˆ˜ Psi t = Phi t โˆ˜ Xi := by funext z change Phi (z.2 + t) (j z.1) = Phi t (Phi z.2 (j z.1)) rw [add_comm z.2 t, hact] have hinner (t : โ„) (z : S ร— โ„) (a b : TangentSpace (๐“ก (n + 1)) z) : G.inner (Psi t z) (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Psi t) z a) (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Psi t) z b) = G.inner z a b := by have hderiv : (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) Xi (Psi t z)).comp (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Psi t) z) = (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) (Phi t) (Xi z)).comp (mfderiv (๐“ก (n + 1)) (๐“ก (n + 1)) Xi z) := by rw [โ† mfderiv_comp z (hXi.contMDiff.mdifferentiable (by simp) (Psi t z)) ((hPsi t).mdifferentiable (by simp) z), hequiv t, mfderiv_comp z ((hPhi t).mdifferentiable (by simp) (Xi z)) (hXi.contMDiff.mdifferentiable (by simp) z)] have ha := congrArg (fun L => L a) hderiv have hb := congrArg (fun L => L b) hderiv have hpoint : Xi (Psi t z) = Phi t (Xi z) := congrFun (hequiv t) z dsimp only [ContinuousLinearMap.comp_apply] at ha hb dsimp only [G] rw [RiemannianMetric.pullbackOfLocalDiffeomorph_inner, RiemannianMetric.pullbackOfLocalDiffeomorph_inner, ha, hb, hpoint] exact hmetric t (Xi z) _ _ apply metricComplete_of_proper_height_and_metric_translations G hf isProperMap_snd_of_compactSpace (isCompact_univ.prod (show IsCompact ({0} : Set โ„) from isCompact_singleton)) (fun t => (hPsi t).mdifferentiable (by simp)) hinner (fun _ _ => rfl) intro z refine โŸจ-z.2, ?_โŸฉ simp [Psi] end PoincareMT.M30