import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.RadialLocalScalar import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.RadialIntervals import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.GuardedScalarFloor /-! # The actual orbit radius is bounded at scalar scale Morgan-Tian Theorem 12.32, pp. 326-327. An outward radial interval of length R^(-1/2)/(2A) lies in the guarded scalar-control ball. The finite-interval scalar formula then gives the uniform bound sqrt(R) rho <= max 8 (256 A), without curvature-derivative assumptions. -/ set_option autoImplicit false open Set open scoped Manifold ContDiff Bundle namespace PoincareMT.M35.Uniqueness private noncomputable abbrev e2 : StandardCapSpace := EuclideanSpace.single 2 1 /-- Theorem 12.32: actual complete nonnegative rotational geometry and the guarded scalar differential bound control every sufficiently high-curvature orbit in the center's own scalar normalization. -/ theorem axisWarpingRadius_mul_sqrt_scalar_le {g : RiemannianMetric 3 StandardCapSpace} (D : LeviCivitaData g) (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) (hsec : D.NonnegativeSectionalCurvature) (hcomplete : MetricComplete g) (hpos : βˆ€ x, 0 < D.scalarCurvature x) (hreg : ContMDiff (𝓑 3) π“˜(ℝ, ℝ) ∞ D.scalarCurvature) {A H : ℝ} (hA : 0 < A) (hgrad : βˆ€ x, H ≀ D.scalarCurvature x β†’ βˆ€ v : TangentSpace (𝓑 3) x, g.inner x v v = 1 β†’ |mvfderiv (𝓑 3) D.scalarCurvature x v| ≀ A * D.scalarCurvature x ^ (3 / 2 : ℝ)) {a : ℝ} (ha : 0 < a) (hhigh : 16 * H ≀ D.scalarCurvature (a β€’ e2)) : axisWarpingRadius g a * Real.sqrt (D.scalarCurvature (a β€’ e2)) ≀ max 8 (256 * A) := by let Q := D.scalarCurvature (a β€’ e2) let L := Q ^ (-1 / 2 : ℝ) / (2 * A) have hQ : 0 < Q := hpos _ have hL : 0 < L := div_pos (Real.rpow_pos_of_pos hQ _) (mul_pos (by norm_num) hA) obtain ⟨b, hab, hlength⟩ := exists_outward_radial_interval g hcomplete ha.le hL have hscale : 2 * L = Q ^ (-1 / 2 : ℝ) / A := by dsimp only [L]; ring have hfloor (u : ℝ) (hu : u ∈ Icc a b) : Q / 16 ≀ D.scalarCurvature (u β€’ e2) := by apply (scalar_floor_on_ball_of_guarded_gradient g D hpos hreg hA hgrad hhigh _).le have h := radial_interval_subset_ball g hL hlength u hu rwa [hscale] at h have hbound := axisWarpingRadius_sq_le_or_mul_arclength_le D hrotation hsec hcomplete ha hab.le (div_pos hQ (by norm_num)) hfloor have hsqrt : 0 < Real.sqrt Q := Real.sqrt_pos.mpr hQ have hsq : Real.sqrt Q ^ 2 = Q := Real.sq_sqrt hQ.le rcases hbound with hsmall | hlarge Β· have hmul := (le_div_iffβ‚€ (div_pos hQ (by norm_num : (0 : ℝ) < 16))).mp hsmall have hnorm : (axisWarpingRadius g a * Real.sqrt Q) ^ 2 = axisWarpingRadius g a ^ 2 * Q := by rw [mul_pow, hsq] apply le_trans _ (le_max_left _ _) change axisWarpingRadius g a * Real.sqrt Q ≀ 8 nlinarith [sq_nonneg (axisWarpingRadius g a * Real.sqrt Q - 8)] Β· rw [hlength] at hlarge have hpow : Q ^ (-1 / 2 : ℝ) = (Real.sqrt Q)⁻¹ := by rw [neg_div, Real.rpow_neg hQ.le, ← Real.sqrt_eq_rpow] have heq : Q / 16 * axisWarpingRadius g a * L = (axisWarpingRadius g a * Real.sqrt Q) / (32 * A) := by dsimp only [L] rw [hpow] field_simp [hA.ne', hsqrt.ne'] nlinarith [congrArg (fun q : ℝ => axisWarpingRadius g a * q) hsq] rw [heq] at hlarge have hmul := (div_le_iffβ‚€ (mul_pos (by norm_num : (0 : ℝ) < 32) hA)).mp hlarge exact (show axisWarpingRadius g a * Real.sqrt Q ≀ 256 * A by linarith).trans (le_max_right _ _) end PoincareMT.M35.Uniqueness namespace PoincareMT.RepairedStandardCapExistenceData open M35.Uniqueness /-- Theorem 12.32: one scalar-normalized orbit-radius bound and one threshold work at all times on the actual selected standard flow. -/ theorem exists_normalized_orbit_radius_bound (P : M35StandardCapPredecessors) {gβ‚€ : StandardInitialMetric} (E : RepairedStandardCapExistenceData gβ‚€) : βˆƒ B H : ℝ, 0 < B ∧ 0 < H ∧ βˆ€ t ∈ Ico 0 E.flow.base.lifetime, βˆ€ r : ℝ, 0 < r β†’ H ≀ (E.flow.connection t).scalarCurvature (r β€’ EuclideanSpace.single (2 : Fin 3) 1) β†’ axisWarpingRadius (E.flow.metric t) r * Real.sqrt ((E.flow.connection t).scalarCurvature (r β€’ EuclideanSpace.single (2 : Fin 3) 1)) ≀ B := by obtain ⟨A, H, hA, hH, hbounds⟩ := M35.OrdinaryRealization.exists_unit_time_scalar_estimates P E refine ⟨max 8 (256 * A), 16 * H, (by positivity), mul_pos (by norm_num) hH, ?_⟩ intro t ht r hr hhigh exact axisWarpingRadius_mul_sqrt_scalar_le (E.flow.connection t) (E.rotation_invariant t ht) (E.nonnegative_sectional t ht) (E.complete t ht) (E.scalar_pos ht) (Proofs.M09.scalarCurvature_contMDiff P.curvature (E.flow.connection t)) hA (fun z hz => (hbounds t ht z hz).1) hr hhigh end PoincareMT.RepairedStandardCapExistenceData