import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.InitialEstimates.EndCoordinates /-! # Axial translations of an arbitrary exact end Morgan-Tian Lemma 12.3, pp. 294-295. Translation in the axial coordinate preserves the literal cylinder inner product. Conjugating it by the supplied end coordinates gives a smooth local metric isometry wherever both the original and translated heights are positive. -/ set_option autoImplicit false open Set open scoped Manifold ContDiff namespace PoincareMT.M34 /-- Axial translation in the fixed cylinder model (Lemma 12.3, pp. 294-295). -/ def cylinderAxialTranslation (s : ℝ) (z : StandardCylinderSpace) : StandardCylinderSpace := (z.1, z.2 + s) /-- Axial translation is smooth on the whole cylinder (Lemma 12.3, pp. 294-295). -/ theorem cylinderAxialTranslation_contMDiff (s : ℝ) : ContMDiff ((𝓑 2).prod π“˜(ℝ, ℝ)) ((𝓑 2).prod π“˜(ℝ, ℝ)) ∞ (cylinderAxialTranslation s) := contMDiff_fst.prodMk (contMDiff_snd.add contMDiff_const) set_option backward.isDefEq.respectTransparency false in /-- Axial translation acts as the identity on the cylinder model tangent vectors (Lemma 12.3, pp. 294-295). -/ theorem cylinderAxialTranslation_mfderiv (s : ℝ) (z : StandardCylinderSpace) (v : TangentSpace ((𝓑 2).prod π“˜(ℝ, ℝ)) z) : mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) ((𝓑 2).prod π“˜(ℝ, ℝ)) (cylinderAxialTranslation s) z v = v := by have hs : MDifferentiableAt ((𝓑 2).prod π“˜(ℝ, ℝ)) π“˜(ℝ, ℝ) (fun q : StandardCylinderSpace => q.2 + s) z := mdifferentiableAt_snd.add mdifferentiableAt_const have hd : mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) π“˜(ℝ, ℝ) (fun q : StandardCylinderSpace => q.2 + s) z = mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) π“˜(ℝ, ℝ) Prod.snd z := by change mvfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) (fun q : StandardCylinderSpace => q.2 + s) z = mvfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) Prod.snd z rw [mvfderiv_fun_add mdifferentiableAt_snd mdifferentiableAt_const, mvfderiv_const, add_zero] erw [cylinderAxialTranslation, mfderiv_prodMk mdifferentiableAt_fst hs, hd, mfderiv_fst, mfderiv_snd] rfl variable {g : RiemannianMetric 3 StandardCapSpace} /-- The total map that realizes axial translation where the end coordinates and their translated heights are valid (Lemma 12.3, pp. 294-295). -/ def endAxialTranslation (e : StandardCylindricalEnd g) (s : ℝ) (x : StandardCapSpace) : StandardCapSpace := e.coordinate (cylinderAxialTranslation s (e.inverse x)) /-- The translated end point has its prescribed cylinder coordinates (Lemma 12.3, pp. 294-295). -/ theorem endAxialTranslation_coordinate (e : StandardCylindricalEnd g) (s : ℝ) {z : StandardCylinderSpace} (hz : 0 ≀ z.2) : endAxialTranslation e s (e.coordinate z) = e.coordinate (z.1, z.2 + s) := by rw [endAxialTranslation, e.coordinate_left_inverse ⟨mem_univ _, hz⟩] rfl /-- Translation is smooth whenever both cylinder heights are positive (Lemma 12.3, pp. 294-295). -/ theorem endAxialTranslation_contMDiffAt (e : StandardCylindricalEnd g) (s : ℝ) {z : StandardCylinderSpace} (hz : 0 < z.2) (hsz : 0 < z.2 + s) : ContMDiffAt (𝓑 3) (𝓑 3) ∞ (endAxialTranslation e s) (e.coordinate z) := by have hleft : e.inverse (e.coordinate z) = z := e.coordinate_left_inverse ⟨mem_univ _, hz.le⟩ have hc : ContMDiffAt ((𝓑 2).prod π“˜(ℝ, ℝ)) (𝓑 3) ∞ e.coordinate (cylinderAxialTranslation s (e.inverse (e.coordinate z))) := by rw [hleft] exact end_coordinate_contMDiffAt e hsz have ht : ContMDiffAt ((𝓑 2).prod π“˜(ℝ, ℝ)) ((𝓑 2).prod π“˜(ℝ, ℝ)) ∞ (cylinderAxialTranslation s) (e.inverse (e.coordinate z)) := (cylinderAxialTranslation_contMDiff s).contMDiffAt exact hc.comp (e.coordinate z) (ht.comp (e.coordinate z) (end_inverse_contMDiffAt e hz)) set_option backward.isDefEq.respectTransparency false in /-- The differential of the translated end coordinate is the coordinate derivative at the new height applied to the old inverse derivative (Lemma 12.3, pp. 294-295). -/ theorem endAxialTranslation_mfderiv (e : StandardCylindricalEnd g) (s : ℝ) {z : StandardCylinderSpace} (hz : 0 < z.2) (hsz : 0 < z.2 + s) (u : TangentSpace (𝓑 3) (e.coordinate z)) : mfderiv (𝓑 3) (𝓑 3) (endAxialTranslation e s) (e.coordinate z) u = mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) (𝓑 3) e.coordinate (z.1, z.2 + s) (mfderiv (𝓑 3) ((𝓑 2).prod π“˜(ℝ, ℝ)) e.inverse (e.coordinate z) u) := by have hleft : e.inverse (e.coordinate z) = z := e.coordinate_left_inverse ⟨mem_univ _, hz.le⟩ have hi := (end_inverse_contMDiffAt e hz).mdifferentiableAt (by simp) have hs := (cylinderAxialTranslation_contMDiff s).mdifferentiable (by simp) have hc : MDifferentiableAt ((𝓑 2).prod π“˜(ℝ, ℝ)) (𝓑 3) e.coordinate (cylinderAxialTranslation s (e.inverse (e.coordinate z))) := by rw [hleft] exact (end_coordinate_contMDiffAt e hsz).mdifferentiableAt (by simp) change mfderiv (𝓑 3) (𝓑 3) (e.coordinate ∘ (cylinderAxialTranslation s ∘ e.inverse)) (e.coordinate z) u = _ have ht : MDifferentiableAt (𝓑 3) ((𝓑 2).prod π“˜(ℝ, ℝ)) (cylinderAxialTranslation s ∘ e.inverse) (e.coordinate z) := (hs (e.inverse (e.coordinate z))).comp (e.coordinate z) hi erw [mfderiv_comp (e.coordinate z) hc ht, mfderiv_comp (e.coordinate z) (hs (e.inverse (e.coordinate z))) hi] change mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) (𝓑 3) e.coordinate (cylinderAxialTranslation s (e.inverse (e.coordinate z))) (mfderiv ((𝓑 2).prod π“˜(ℝ, ℝ)) ((𝓑 2).prod π“˜(ℝ, ℝ)) (cylinderAxialTranslation s) (e.inverse (e.coordinate z)) (mfderiv (𝓑 3) ((𝓑 2).prod π“˜(ℝ, ℝ)) e.inverse (e.coordinate z) u)) = _ erw [cylinderAxialTranslation_mfderiv] congr 2 exact congrArg (cylinderAxialTranslation s) hleft set_option backward.isDefEq.respectTransparency false in /-- Axial translation is a local isometry of the actual supplied metric where both heights are positive (Lemma 12.3, pp. 294-295). -/ theorem endAxialTranslation_metric (e : StandardCylindricalEnd g) (s : ℝ) {z : StandardCylinderSpace} (hz : 0 < z.2) (hsz : 0 < z.2 + s) (u v : TangentSpace (𝓑 3) (e.coordinate z)) : g.inner (e.coordinate z) u v = g.inner (endAxialTranslation e s (e.coordinate z)) (mfderiv (𝓑 3) (𝓑 3) (endAxialTranslation e s) (e.coordinate z) u) (mfderiv (𝓑 3) (𝓑 3) (endAxialTranslation e s) (e.coordinate z) v) := by erw [endAxialTranslation_coordinate e s hz.le, endAxialTranslation_mfderiv e s hz hsz, endAxialTranslation_mfderiv e s hz hsz, e.metric_pullback _ hsz.le, end_inverse_metric e hz] rfl /-- Every translation between positive heights is a smooth metric isometry on an open neighborhood of the original point (Lemma 12.3, pp. 294-295). -/ theorem endAxialTranslation_local_isometry (e : StandardCylindricalEnd g) (s : ℝ) {z : StandardCylinderSpace} (hz : 0 < z.2) (hsz : 0 < z.2 + s) : βˆƒ U : Set StandardCapSpace, IsOpen U ∧ e.coordinate z ∈ U ∧ ContMDiffOn (𝓑 3) (𝓑 3) ∞ (endAxialTranslation e s) U ∧ βˆ€ x ∈ U, βˆ€ u v : TangentSpace (𝓑 3) x, g.inner x u v = g.inner (endAxialTranslation e s x) (mfderiv (𝓑 3) (𝓑 3) (endAxialTranslation e s) x u) (mfderiv (𝓑 3) (𝓑 3) (endAxialTranslation e s) x v) := by let V : Set StandardCylinderSpace := univ Γ—Λ’ Ioi (max 0 (-s)) have hpos : βˆ€ w ∈ V, 0 < w.2 := fun _ hw => (le_max_left _ _).trans_lt hw.2 have hshift : βˆ€ w ∈ V, 0 < w.2 + s := by intro w hw have h := (le_max_right 0 (-s)).trans_lt hw.2 linarith refine ⟨e.coordinate '' V, end_isOpen_coordinate_image e (isOpen_univ.prod isOpen_Ioi) hpos, ⟨z, ⟨mem_univ _, max_lt_iff.mpr ⟨hz, by linarith⟩⟩, rfl⟩, ?_, ?_⟩ Β· rintro _ ⟨w, hw, rfl⟩ have h := endAxialTranslation_contMDiffAt e s (hpos w hw) (hshift w hw) exact h.contMDiffWithinAt Β· rintro _ ⟨w, hw, rfl⟩ u v exact endAxialTranslation_metric e s (hpos w hw) (hshift w hw) u v end PoincareMT.M34