import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.Neck.Geometry.NeckBall /-! # Larger actual balls inside the long cap boundary collar Morgan-Tian Remark 9.73, pp. 230-231, in Theorem 12.28, pp. 323-324. A variable axial exit level retains a ball of half that radius. The cutoff can be larger than the scalar curvature scale while remaining strictly inside the longer neck. -/ set_option autoImplicit false open Set open scoped Manifold ContDiff Bundle ENNReal namespace PoincareMT.StandardCylinderPatch /-- Remark 9.73 in Theorem 12.28: the actual metric ball with radius half any retained axial cutoff lies inside the neck carrier. -/ theorem center_ball_subset_carrier_of_axial_cutoff {epsilon u ell : ℝ} {x : StandardCapSpace} (N : StandardCylinderPatch epsilon⁻¹ x) (g : RiemannianMetric 3 StandardCapSpace) (he : 0 < epsilon) (hesmall : epsilon ≤ 1 / 24) (hu : u ∈ Icc (-1) 0) (hell : 0 < ell) (hlong : ell < epsilon⁻¹) (hclose : RoundCylinderClose epsilon u (roundCylinderPullback g N.coordinate)) : g.ball x (ell / 2) ⊆ N.carrier := by let : Bundle.RiemannianBundle (TangentSpace (𝓡 3) : StandardCapSpace → Type _) := ⟨g.toRiemannianMetric⟩ have hcenter : (N.inverse x).2 = 0 := by obtain ⟨q, hq⟩ := N.center_sphere have hdom : (q, (0 : ℝ)) ∈ univ ×ˢ Ioo (-epsilon⁻¹) epsilon⁻¹ := ⟨mem_univ _, ⟨neg_neg_of_pos N.length_pos, N.length_pos⟩⟩ have hi := N.coordinate_left_inverse hdom rw [hq] at hi exact congrArg Prod.snd hi intro y hy by_contra hout obtain ⟨gamma, hzero, hone, hsmooth, hlength⟩ := Manifold.exists_lt_of_riemannianEDist_lt hy obtain ⟨t, ht, hslab, hexit⟩ := N.exists_first_axial_exit hell hlong gamma hsmooth.continuousOn hzero (hone ▸ hout) let clock : ℝ → ℝ := fun s => t * s let eta := gamma ∘ clock have hclock : ContDiff ℝ 1 clock := contDiff_const.mul contDiff_id have hclockmap : MapsTo clock (Icc (0 : ℝ) 1) (Icc 0 t) := by intro s hs exact ⟨mul_nonneg ht.1.le hs.1, (mul_le_mul_of_nonneg_left hs.2 ht.1.le).trans_eq (mul_one t)⟩ have hsmall : Icc (0 : ℝ) t ⊆ Icc 0 1 := Icc_subset_Icc le_rfl ht.2 have heta : ContMDiffOn 𝓘(ℝ, ℝ) (𝓡 3) 1 eta (Icc 0 1) := (hsmooth.mono hsmall).comp hclock.contMDiff.contMDiffOn hclockmap have himage : MapsTo eta (Icc (0 : ℝ) 1) N.carrier := fun s hs => N.closed_axial_slab_subset_carrier hlong (hslab _ (hclockmap hs)) have hmon : MonotoneOn clock (Icc (0 : ℝ) 1) := by intro a _ b _ hab exact mul_le_mul_of_nonneg_left hab ht.1.le have hd : MDifferentiableOn 𝓘(ℝ, ℝ) (𝓡 3) gamma (Icc (clock 0) (clock 1)) := by simpa only [clock, mul_zero, mul_one] using (hsmooth.mono hsmall).mdifferentiableOn one_ne_zero have hparam : g.pathELength eta 0 1 = g.pathELength gamma 0 t := by have h := Manifold.pathELength_comp_of_monotoneOn (I := 𝓡 3) zero_le_one hmon (hclock.differentiable one_ne_zero).differentiableOn hd convert! h using 1 simp only [clock, mul_zero, mul_one] rfl have hlenle : g.pathELength eta 0 1 ≤ g.pathELength gamma 0 1 := hparam.le.trans (Manifold.pathELength_mono le_rfl ht.2) have hax := N.axial_edist_le_pathELength g he hesmall hu hclose eta heta himage have hax0 : eta 0 = x := by simpa only [eta, Function.comp_apply, clock, mul_zero] using hzero have hax1 : eta 1 = gamma t := by simp only [eta, Function.comp_apply, clock, mul_one] rw [hax0, hax1, hcenter, edist_dist, Real.dist_eq, zero_sub, abs_neg, hexit] at hax have hstrict : 2 * g.pathELength eta 0 1 < ENNReal.ofReal ell := by calc 2 * g.pathELength eta 0 1 ≤ 2 * g.pathELength gamma 0 1 := mul_le_mul_right hlenle 2 _ < 2 * ENNReal.ofReal (ell / 2) := ENNReal.mul_lt_mul_right (by norm_num) (by norm_num) hlength _ = ENNReal.ofReal (2 * (ell / 2)) := by rw [ENNReal.ofReal_mul (by norm_num : (0 : ℝ) ≤ 2), ENNReal.ofReal_ofNat] _ = ENNReal.ofReal ell := by congr 1; ring exact (not_lt_of_ge hax) hstrict /-- Remark 9.73 in Theorem 12.28: every central-sphere point, not only the designated center, has the same retained collar ball. -/ theorem central_sphere_ball_subset_carrier_of_axial_cutoff {epsilon u ell : ℝ} {x : StandardCapSpace} (N : StandardCylinderPatch epsilon⁻¹ x) (g : RiemannianMetric 3 StandardCapSpace) (he : 0 < epsilon) (hesmall : epsilon ≤ 1 / 24) (hu : u ∈ Icc (-1) 0) (hell : 0 < ell) (hlong : ell < epsilon⁻¹) (hclose : RoundCylinderClose epsilon u (roundCylinderPullback g N.coordinate)) (q : UnitTwoSphere) : g.ball (N.coordinate (q, 0)) (ell / 2) ⊆ N.carrier := by let N' : StandardCylinderPatch epsilon⁻¹ (N.coordinate (q, 0)) := { N with center_sphere := ⟨q, rfl⟩ } exact N'.center_ball_subset_carrier_of_axial_cutoff g he hesmall hu hell hlong hclose end PoincareMT.StandardCylinderPatch