import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Collapse.PolarMetric import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Collapse.CollapseMap import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Standard.Curvature.StandardCapConcavity /-! # Contraction of the standard cap's polar map Claim 13.1, Morgan--Tian pp.331-332, compares the radial map with the round cylinder. At A0+1 its angular form agrees with the supplied exact cylindrical end. Nonnegative radial curvature makes the angular radius nondecreasing toward that slice. Beyond it the exact end identity applies. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open scoped Manifold ContDiff Topology namespace PoincareMT.MetricSurgery local notation "Eβ‚‚" => EuclideanSpace ℝ (Fin 2) local notation "C" => StandardCylinderCoordinates local notation "IC" => ModelWithCorners.prod (𝓑 2) π“˜(ℝ, ℝ) theorem cylinder_height_translation_mfderiv (a : ℝ) (z : StandardCylinderSpace) (v : C) : mfderiv IC IC (fun w : StandardCylinderSpace => (w.1, w.2 - a)) z v = v := by erw [mfderiv_prodMk mdifferentiableAt_fst (mdifferentiableAt_snd.sub mdifferentiableAt_const), mfderiv_fst, mfderiv_sub mdifferentiableAt_snd mdifferentiableAt_const, mfderiv_snd, mfderiv_const] change (v.1, v.2 - 0) = v simp theorem adaptedPolarPoint_quadratic_end (gβ‚€ : StandardInitialMetric) (z : StandardCylinderSpace) (hz : gβ‚€.cylindrical_end.radius < z.2) (v : C) : gβ‚€.metric.inner (adaptedPolarPoint gβ‚€ z) (mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) z v) (mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) z v) = (EvolvingRoundCylinderMetric 0) z v v := by let T : StandardCylinderSpace β†’ StandardCylinderSpace := fun w => (w.1, w.2 - gβ‚€.cylindrical_end.radius) have hT : ContMDiff IC IC ∞ T := contMDiff_fst.prodMk (contMDiff_snd.sub contMDiff_const) have hE := (cylindrical_coordinate_contMDiffAt gβ‚€ (T z) (by dsimp [T]; linarith [gβ‚€.cylindrical_end.collar_pos])).mdifferentiableAt (by simp) have heq : adaptedPolarPoint gβ‚€ =αΆ [nhds z] gβ‚€.cylindrical_end.coordinate ∘ T := by filter_upwards [(isOpen_lt continuous_const continuous_snd).mem_nhds hz] with w hw exact adaptedPolarPoint_eq_end gβ‚€ w hw.le have hd := heq.mfderiv_eq (I := IC) (I' := 𝓑 3) rw [mfderiv_comp z hE ((hT z).mdifferentiableAt (by simp))] at hd have hdv := congrArg (fun L => L v) hd change mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) z v = mfderiv IC (𝓑 3) gβ‚€.cylindrical_end.coordinate (T z) (mfderiv IC IC T z v) at hdv have hTv : mfderiv IC IC T z v = v := cylinder_height_translation_mfderiv _ z v rw [hTv] at hdv rw [hdv, adaptedPolarPoint_eq_end gβ‚€ z hz.le] exact gβ‚€.cylindrical_end.metric_pullback (T z) (sub_nonneg.mpr hz.le) v v theorem adaptedPolarPoint_contracts (gβ‚€ : StandardInitialMetric) (z : StandardCylinderSpace) (hz : 0 < z.2) (v : C) : gβ‚€.metric.inner (adaptedPolarPoint gβ‚€ z) (mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) z v) (mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) z v) ≀ (EvolvingRoundCylinderMetric 0) z v v := by by_cases hR : z.2 ≀ gβ‚€.cylindrical_end.radius + 1 Β· let zstar : StandardCylinderSpace := (z.1, gβ‚€.cylindrical_end.radius + 1) have hstarpos : 0 < zstar.2 := by dsimp [zstar] linarith [gβ‚€.cylindrical_end.radius_pos] have hstar := adaptedPolarPoint_quadratic_end gβ‚€ zstar (by dsimp [zstar]; linarith) v rw [adaptedPolarPoint_quadratic gβ‚€ zstar hstarpos v] at hstar have hrad := (radialEuclideanRadius_strictMono gβ‚€).monotone hR have hrpos := (radialEuclideanRadius_pos_iff gβ‚€ _).mpr hz have hstarrpos := (radialEuclideanRadius_pos_iff gβ‚€ _).mpr hstarpos have hp := euclideanWarpRadius_monotoneOn gβ‚€ hrpos.le hstarrpos.le hrad have hpsq := pow_le_pow_leftβ‚€ (euclideanWarpRadius_pos gβ‚€ hrpos).le hp 2 have ha : 0 ≀ inner ℝ (mvfderiv (𝓑 2) (adaptedAngularEmbedding gβ‚€) z.1 v.1) (mvfderiv (𝓑 2) (adaptedAngularEmbedding gβ‚€) z.1 v.1) := real_inner_self_nonneg rw [adaptedPolarPoint_quadratic gβ‚€ z hz v] calc _ ≀ euclideanWarpRadius gβ‚€ (radialEuclideanRadius gβ‚€ zstar.2) ^ 2 * inner ℝ (mvfderiv (𝓑 2) (adaptedAngularEmbedding gβ‚€) z.1 v.1) (mvfderiv (𝓑 2) (adaptedAngularEmbedding gβ‚€) z.1 v.1) + v.2 ^ 2 := add_le_add (mul_le_mul_of_nonneg_right hpsq ha) le_rfl _ = _ := hstar Β· exact (adaptedPolarPoint_quadratic_end gβ‚€ z (by linarith) v).le theorem cylinder_height_reversal_mfderiv (S : ℝ) (z : StandardCylinderSpace) (v : C) : mfderiv IC IC (fun w : StandardCylinderSpace => (w.1, S - w.2)) z v = (v.1, -v.2) := by erw [mfderiv_prodMk mdifferentiableAt_fst (mdifferentiableAt_const.sub mdifferentiableAt_snd), mfderiv_fst, mfderiv_sub mdifferentiableAt_const mdifferentiableAt_snd, mfderiv_snd, mfderiv_const] change (v.1, 0 - v.2) = (v.1, -v.2) simp theorem adaptedClippedCollapse_contracts (gβ‚€ : StandardInitialMetric) (S : ℝ) (z : StandardCylinderSpace) (hz : z.2 < S) (v : C) : gβ‚€.metric.inner (adaptedClippedCollapse gβ‚€ S z) (mfderiv IC (𝓑 3) (adaptedClippedCollapse gβ‚€ S) z v) (mfderiv IC (𝓑 3) (adaptedClippedCollapse gβ‚€ S) z v) ≀ (EvolvingRoundCylinderMetric 0) z v v := by let T : StandardCylinderSpace β†’ StandardCylinderSpace := fun w => (w.1, S - w.2) have hT : ContMDiff IC IC ∞ T := contMDiff_fst.prodMk (contMDiff_const.sub contMDiff_snd) have heq : adaptedClippedCollapse gβ‚€ S =αΆ [nhds z] adaptedPolarPoint gβ‚€ ∘ T := by filter_upwards [(isOpen_lt continuous_snd continuous_const).mem_nhds hz] with w hw exact adaptedClippedCollapse_of_lt gβ‚€ S w hw have hd := heq.mfderiv_eq (I := IC) (I' := 𝓑 3) rw [mfderiv_comp z ((adaptedPolarPoint_contMDiff gβ‚€ (T z)).mdifferentiableAt (by simp)) ((hT z).mdifferentiableAt (by simp))] at hd have hdv := congrArg (fun L => L v) hd change mfderiv IC (𝓑 3) (adaptedClippedCollapse gβ‚€ S) z v = mfderiv IC (𝓑 3) (adaptedPolarPoint gβ‚€) (T z) (mfderiv IC IC T z v) at hdv rw [show mfderiv IC IC T z v = (v.1, -v.2) from cylinder_height_reversal_mfderiv S z v] at hdv rw [hdv, adaptedClippedCollapse_of_lt gβ‚€ S z hz] have h := adaptedPolarPoint_contracts gβ‚€ (T z) (sub_pos.mpr hz) (v.1, -v.2) convert! h using 1 change 2 * (1 - (0 : ℝ)) * _ + v.2 * v.2 = 2 * (1 - (0 : ℝ)) * _ + (-v.2) * (-v.2) ring end PoincareMT.MetricSurgery