import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Geometry.CanonicalGeometry.CapBallVolumeImage import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.Collar.Bounds.BufferBalls /-! # Actual terminal ball transfer through the open source map MT Theorem 1.36, p. 20, and Lemma 16.8, pp. 372-373. The given partial diffeomorphism has its entire actual source as domain. A retained ambient ball supplies both ball equality and calibrated volume equality. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set MeasureTheory open scoped Manifold ContDiff Bundle ENNReal Topology universe u v namespace PoincareMT.M47 variable {M : Type u} {N : Type v} [TopologicalSpace M] [TopologicalSpace N] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) M] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) N] [IsManifold (๐“ก 3) โˆž M] [IsManifold (๐“ก 3) โˆž N] /-- The actual source map decreases intrinsic distance, without a connectedness or completeness premise; MT Lemma 16.8. -/ theorem terminalSourceNormal_edist_le (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) (e : PartialDiffeomorph (๐“ก 3) (๐“ก 3) M N โˆž) (hsource : e.source = univ) (hmetric : โˆ€ x (v w : TangentSpace (๐“ก 3) x), g.inner x v w = h.inner (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) (mfderiv (๐“ก 3) (๐“ก 3) e x w)) (x y : M) : h.edist (e x) (e y) โ‰ค g.edist x y := by have he : ContMDiff (๐“ก 3) (๐“ก 3) โˆž e := contMDiffOn_univ.mp (hsource โ–ธ e.contMDiffOn) exact g.edist_comp_le_of_pullback_bound h he (fun z v => (hmetric z v v).symm.le) x y variable [T3Space M] /-- A retained ambient ball is exactly the image of the intrinsic source ball through the actual map; MT Theorem 1.36 and Lemma 16.8. -/ theorem terminalSourceNormal_ball_image (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) (e : PartialDiffeomorph (๐“ก 3) (๐“ก 3) M N โˆž) (hsource : e.source = univ) (hmetric : โˆ€ x (v w : TangentSpace (๐“ก 3) x), g.inner x v w = h.inner (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) (mfderiv (๐“ก 3) (๐“ก 3) e x w)) (p : M) (r : โ„) (hcover : h.ball (e p) r โІ e.target) : e '' g.ball p r = h.ball (e p) r := by have hf : ContMDiffOn (๐“ก 3) (๐“ก 3) 1 e e.source := e.contMDiffOn.of_le (by simp) have hi : ContMDiffOn (๐“ก 3) (๐“ก 3) 1 e.symm e.target := e.symm.contMDiffOn.of_le (by simp) have hn (x : M) (v : TangentSpace (๐“ก 3) x) : g.tangentNorm x v = h.tangentNorm (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) := congrArg Real.sqrt (hmetric x v v) apply Subset.antisymm ยท rintro _ โŸจx, hx, rflโŸฉ exact (terminalSourceNormal_edist_le g h e hsource hmetric p x).trans_lt hx ยท have hb := g.ball_subset_image_ball_of_forward_tangentNorm_le h e.toOpenPartialHomeomorph hf hi (hsource.symm โ–ธ mem_univ p) zero_lt_one hcover (fun x _hx _hd v => by change g.tangentNorm x v โ‰ค 1 * h.tangentNorm (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) rw [hn, one_mul]) change h.ball (e p) r โІ e '' (g.ball p (1 * r) โˆฉ e.source) at hb simpa only [one_mul, hsource, inter_univ] using hb variable [T3Space N] [MeasurableSpace M] [BorelSpace M] [MeasurableSpace N] [BorelSpace N] [SecondCountableTopology M] [SecondCountableTopology N] /-- Opposite local image-volume inequalities identify the actual source and retained ambient ball volumes; MT Theorem 1.36. -/ theorem terminalSourceNormal_ball_volume (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) (e : PartialDiffeomorph (๐“ก 3) (๐“ก 3) M N โˆž) (hsource : e.source = univ) (hmetric : โˆ€ x (v w : TangentSpace (๐“ก 3) x), g.inner x v w = h.inner (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) (mfderiv (๐“ก 3) (๐“ก 3) e x w)) (p : M) (r : โ„) (hcover : h.ball (e p) r โІ e.target) : calibratedMetricVolume g (g.ball p r) = calibratedMetricVolume h (h.ball (e p) r) := by let : EMetricSpace M := g.comparisonEMetric have hopen : IsOpen (g.ball p r) := isOpen_lt (continuous_const.edist continuous_id) continuous_const have hf : ContMDiffOn (๐“ก 3) (๐“ก 3) 1 e e.source := e.contMDiffOn.of_le (by simp) have hi : ContMDiffOn (๐“ก 3) (๐“ก 3) 1 e.symm e.target := e.symm.contMDiffOn.of_le (by simp) have hn (x : M) (v : TangentSpace (๐“ก 3) x) : g.tangentNorm x v = h.tangentNorm (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) := congrArg Real.sqrt (hmetric x v v) have hsub : g.ball p r โІ e.source := hsource.symm โ–ธ subset_univ _ have hupper := M34.calibratedMetricVolume_image_le_of_local_tangentNorm_le g h e.toOpenPartialHomeomorph hf zero_lt_one (fun x _hx v => by change h.tangentNorm (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) โ‰ค 1 * g.tangentNorm x v rw [โ† hn, one_mul]) hopen.measurableSet hsub have hlower := M34.calibratedMetricVolume_le_mul_image_of_local_tangentNorm_lower g h e.toOpenPartialHomeomorph hf hi zero_lt_one (fun x _hx v => by change g.tangentNorm x v โ‰ค 1 * h.tangentNorm (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) rw [hn, one_mul]) hopen.measurableSet hsub have himage := terminalSourceNormal_ball_image g h e hsource hmetric p r hcover change calibratedMetricVolume h (e '' g.ball p r) โ‰ค _ at hupper change _ โ‰ค ENNReal.ofReal 1 ^ 3 * calibratedMetricVolume h (e '' g.ball p r) at hlower rw [himage] at hupper hlower simp only [ENNReal.ofReal_one, one_pow, one_mul] at hlower hupper exact le_antisymm hlower hupper omit [T3Space M] [T3Space N] [MeasurableSpace M] [BorelSpace M] [MeasurableSpace N] [BorelSpace N] [SecondCountableTopology M] [SecondCountableTopology N] in /-- A compact ambient ball closure contained in the actual image supplies compact source closure, even for a noncompact source; MT Lemma 16.8. -/ theorem terminalSourceNormal_compact_ball (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) (e : PartialDiffeomorph (๐“ก 3) (๐“ก 3) M N โˆž) (hsource : e.source = univ) (hmetric : โˆ€ x (v w : TangentSpace (๐“ก 3) x), g.inner x v w = h.inner (e x) (mfderiv (๐“ก 3) (๐“ก 3) e x v) (mfderiv (๐“ก 3) (๐“ก 3) e x w)) (p : M) (r : โ„) (hcompact : IsCompact (closure (h.ball (e p) r))) (hinside : closure (h.ball (e p) r) โІ e.target) : IsCompact (closure (g.ball p r)) := by have he := e.toOpenPartialHomeomorph.isOpenEmbedding hsource have hc : IsCompact (e โปยน' closure (h.ball (e p) r)) := he.isEmbedding.isInducing.isCompact_preimage' hcompact (by intro y hy exact โŸจe.symm y, e.right_inv (hinside hy)โŸฉ) apply hc.of_isClosed_subset isClosed_closure apply closure_minimal _ (isClosed_closure.preimage he.continuous) intro x hx exact subset_closure ((terminalSourceNormal_edist_le g h e hsource hmetric p x).trans_lt hx) end PoincareMT.M47