import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.IntrinsicShapeDerivative import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.IntrinsicCollarRadius /-! # Actual angular-profile jets on the intrinsic collar Morgan-Tian Theorem 12.32, pp. 326-327. The literal intrinsic angular coefficient is the squared orbit radius. Its exact first-order equation retains a vanishing shape derivative in each Leibniz term, so the actual radius value limit gives all the required positive profile derivatives. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter open scoped Manifold ContDiff Bundle Topology BigOperators namespace PoincareMT.M35.Uniqueness variable (g : RiemannianMetric 3 StandardCapSpace) (hrotation : โˆ€ A : Matrix.specialOrthogonalGroup (Fin 3) โ„, โˆ€ x u v : StandardCapSpace, g.inner (standardRotation A x) (mfderiv (๐“ก 3) (๐“ก 3) (standardRotation A) x u) (mfderiv (๐“ก 3) (๐“ก 3) (standardRotation A) x v) = g.inner x u v) (hcomplete : MetricComplete g) /-- Theorem 12.32: the actual squared angular radius satisfies the exact logarithmic-shape equation in genuine arclength. -/ theorem intrinsic_orbit_sq_deriv {s : โ„} (hs : 0 < s) : deriv (fun u => intrinsicWarpingRadius g hrotation hcomplete u ^ 2) s = 2 * intrinsicRadialShape g hrotation hcomplete s * intrinsicWarpingRadius g hrotation hcomplete s ^ 2 := by have hf := (intrinsicWarpingRadius_contDiff g hrotation hcomplete).differentiable (by simp) s rw [(hf.hasDerivAt.fun_pow 2).deriv] simp only [Nat.cast_ofNat, Nat.reduceSub, pow_one, intrinsicRadialShape] field_simp [(intrinsicWarpingRadius_pos g hrotation hcomplete hs).ne'] /-- Theorem 12.32: actual intrinsic shape jets and the cylindrical angular value force every positive angular-profile derivative to vanish. -/ theorem intrinsic_orbit_sq_jets_tendsto (g : โ„• โ†’ RiemannianMetric 3 StandardCapSpace) (hrotation : โˆ€ k, โˆ€ A : Matrix.specialOrthogonalGroup (Fin 3) โ„, โˆ€ x u v : StandardCapSpace, (g k).inner (standardRotation A x) (mfderiv (๐“ก 3) (๐“ก 3) (standardRotation A) x u) (mfderiv (๐“ก 3) (๐“ก 3) (standardRotation A) x v) = (g k).inner x u v) (hcomplete : โˆ€ k, MetricComplete (g k)) (b : โ„• โ†’ โ„) (hb : โˆ€แถ  k in atTop, 0 < b k) (hvalue : Tendsto (fun k => intrinsicWarpingRadius (g k) (hrotation k) (hcomplete k) (b k) ^ 2) atTop (๐“ 2)) (hshape : โˆ€ m : โ„•, Tendsto (fun k => iteratedDeriv m (intrinsicRadialShape (g k) (hrotation k) (hcomplete k)) (b k)) atTop (๐“ 0)) : โˆ€ m : โ„•, Tendsto (fun k => iteratedDeriv m (fun s => intrinsicWarpingRadius (g k) (hrotation k) (hcomplete k) s ^ 2) (b k)) atTop (๐“ (if m = 0 then 2 else 0)) := by let A k s := intrinsicWarpingRadius (g k) (hrotation k) (hcomplete k) s ^ 2 let S k := intrinsicRadialShape (g k) (hrotation k) (hcomplete k) have hA k : ContDiff โ„ โˆž (A k) := (intrinsicWarpingRadius_contDiff (g k) (hrotation k) (hcomplete k)).pow 2 intro m induction m using Nat.strong_induction_on with | h m hm => cases m with | zero => simpa only [iteratedDeriv_zero, if_true] using hvalue | succ n => have hterm (j : โ„•) (_hj : j โˆˆ Finset.range (n + 1)) : Tendsto (fun k => (n.choose j : โ„) * iteratedDeriv j (S k) (b k) * iteratedDeriv (n - j) (A k) (b k)) atTop (๐“ 0) := by have hh := ((hshape j).const_mul (n.choose j : โ„)).mul (hm (n - j) (Nat.lt_succ_of_le (Nat.sub_le n j))) simpa only [mul_zero, zero_mul] using hh have hsum : Tendsto (fun k => 2 * โˆ‘ j โˆˆ Finset.range (n + 1), (n.choose j : โ„) * iteratedDeriv j (S k) (b k) * iteratedDeriv (n - j) (A k) (b k)) atTop (๐“ 0) := by simpa only [Finset.sum_const_zero, mul_zero] using (tendsto_finsetSum (Finset.range (n + 1)) hterm).const_mul 2 have heq : โˆ€แถ  k in atTop, iteratedDeriv (n + 1) (A k) (b k) = 2 * โˆ‘ j โˆˆ Finset.range (n + 1), (n.choose j : โ„) * iteratedDeriv j (S k) (b k) * iteratedDeriv (n - j) (A k) (b k) := by filter_upwards [hb] with k hk have hlocal : deriv (A k) =แถ [๐“ (b k)] (fun s => 2 * (S k s * A k s)) := by filter_upwards [eventually_gt_nhds hk] with s hs have h := intrinsic_orbit_sq_deriv (g k) (hrotation k) (hcomplete k) hs simpa only [A, S, mul_assoc] using h rw [iteratedDeriv_succ', hlocal.iteratedDeriv_eq n, iteratedDeriv_const_mul_field] have hn : (n : โ„•โˆžฯ‰) โ‰ค โˆž := by exact_mod_cast le_top (a := (n : โ„•โˆž)) rw [iteratedDeriv_fun_mul ((intrinsicRadialShape_contDiffAt (g k) (hrotation k) (hcomplete k) hk).of_le hn) ((hA k).contDiffAt.of_le hn)] simpa only [Nat.succ_ne_zero, if_false] using hsum.congr' (heq.mono fun _ h => h.symm) end PoincareMT.M35.Uniqueness