import PoincareLib.Geometry.RicciFlow.Surgery.CanonicalInduction.Terminal.Source.TerminalSourcePhysicalComponent import PoincareLib.Geometry.RicciFlow.Surgery.CanonicalInduction.Terminal.Germs.TerminalGermsOpenCharts /-! # Original physical chart maps into their actual base component Finite base-ball capture restricts only the codomain of the same map. The literal inclusion square retains its differential and both metric slots; the actual component metric retains every distance. MT Theorem 5.11; terminal-source-physical-component.md, G9b. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set open scoped Manifold ContDiff Bundle ENNReal Topology universe u v namespace PoincareMT.M47 local notation "E" => EuclideanSpace ℝ (Fin 3) variable {M : Type u} {N : Type v} [TopologicalSpace M] [TopologicalSpace N] [ChartedSpace E M] [ChartedSpace E N] [IsManifold (𝓑 3) ∞ N] [T3Space N] /-- The given physical map, with only its codomain restricted. -/ def terminalSourceComponentMap (g : RiemannianMetric 3 N) (p : N) (f : M β†’ N) {B : ℝ} (hball : βˆ€ x, f x ∈ g.ball p B) : M β†’ Poincare.connectedComponentOpens E p := fun x => ⟨f x, RiemannianMetric.mem_of_edist_lt_top (U := Poincare.connectedComponentOpens E p) isClosed_connectedComponent g mem_connectedComponent ((hball x).trans_le le_top)⟩ omit [T3Space N] in /-- The literal restriction retains the original open embedding and local diffeomorphism, with no new chart or source choice. -/ theorem terminalSourceComponentMap_geometry (g : RiemannianMetric 3 N) (p : N) (f : M β†’ N) {B : ℝ} (hball : βˆ€ x, f x ∈ g.ball p B) (hopen : Topology.IsOpenEmbedding f) (hsmooth : IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ f) : Topology.IsOpenEmbedding (terminalSourceComponentMap g p f hball) ∧ IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ (terminalSourceComponentMap g p f hball) := by let C := Poincare.connectedComponentOpens E p refine ⟨?_, ?_⟩ Β· exact Topology.IsOpenEmbedding.of_comp _ C.isOpen.isOpenEmbedding_subtypeVal hopen Β· exact terminalGerms_open_codomain_localDiffeomorph C hsmooth omit [T3Space N] in /-- The differentiated actual inclusion square preserves both physical metric slots on every point of the original chart domain. -/ theorem terminalSourceComponentMap_metric (g : RiemannianMetric 3 N) (p : N) (f : M β†’ N) {B : ℝ} (hball : βˆ€ x, f x ∈ g.ball p B) (hsmooth : IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ f) (x : M) (v w : TangentSpace (𝓑 3) x) : let fC := terminalSourceComponentMap g p f hball (g.connectedComponentMetric p).inner (fC x) (mfderiv (𝓑 3) (𝓑 3) fC x v) (mfderiv (𝓑 3) (𝓑 3) fC x w) = g.inner (f x) (mfderiv (𝓑 3) (𝓑 3) f x v) (mfderiv (𝓑 3) (𝓑 3) f x w) := by let C := Poincare.connectedComponentOpens E p let fC := terminalSourceComponentMap g p f hball have hfC : IsLocalDiffeomorph (𝓑 3) (𝓑 3) ∞ fC := terminalGerms_open_codomain_localDiffeomorph C hsmooth have hchain := mfderiv_comp x ((Poincare.isLocalDiffeomorph_opensSubtypeVal (𝓑 3) C).mdifferentiable (by simp) (fC x)) (hfC.mdifferentiable (by simp) x) change mfderiv (𝓑 3) (𝓑 3) f x = (mfderiv (𝓑 3) (𝓑 3) (Subtype.val : C β†’ N) (fC x)).comp (mfderiv (𝓑 3) (𝓑 3) fC x) at hchain change g.inner (f x) (mfderiv (𝓑 3) (𝓑 3) (Subtype.val : C β†’ N) (fC x) (mfderiv (𝓑 3) (𝓑 3) fC x v)) (mfderiv (𝓑 3) (𝓑 3) (Subtype.val : C β†’ N) (fC x) (mfderiv (𝓑 3) (𝓑 3) fC x w)) = _ exact congrArgβ‚‚ (fun a b : E => g.inner (f x) a b) (congrArg (fun A => A v) hchain).symm (congrArg (fun A => A w) hchain).symm omit [TopologicalSpace M] [ChartedSpace E M] in /-- Original chart distances are exactly unchanged by the actual component restriction and its finite metric-space structure. -/ theorem terminalSourceComponentMap_distances (g : RiemannianMetric 3 N) (p : N) (f : M β†’ N) {B : ℝ} (hball : βˆ€ x, f x ∈ g.ball p B) : letI := terminalSourceComponentMetricSpace g p βˆ€ x y, edist (terminalSourceComponentMap g p f hball x) (terminalSourceComponentMap g p f hball y) = g.edist (f x) (f y) ∧ dist (terminalSourceComponentMap g p f hball x) (terminalSourceComponentMap g p f hball y) = (g.edist (f x) (f y)).toReal := by let : MetricSpace (Poincare.connectedComponentOpens E p) := terminalSourceComponentMetricSpace g p intro x y exact terminalSourceComponent_distances g p _ _ end PoincareMT.M47