import PoincareLib.Geometry.RicciFlow.AncientKappa.Compactness.Terminal.Normalization import PoincareLib.Geometry.Riemannian.Curvature.Scalar.SharpBounds /-! # Scalar monotonicity and past curvature control through zero Continuity extends the scalar monotonicity of the retained interior limit to the included terminal slice. Nonnegative curvature operator then bounds earlier full curvature by later scalar curvature on the actual closed flow, before constructing an ancient kappa-solution package. Reference: Morgan--Tian, Corollary 9.53 and Theorem 9.64, pp. 217, 225-229. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter open scoped Manifold ContDiff Bundle ENNReal Topology namespace PoincareMT namespace RicciFlow /-- Scalar monotonicity on negative times extends to the included terminal time by the scalar regularity of the actual closed Ricci flow. -/ theorem scalar_monotone_terminal_of_interior (P : M23NormalizedKappaCompactnessPredecessors) {M : Type} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) M] [IsManifold (๐“ก 3) โˆž M] (F : RicciFlow 3 M (Iic 0)) (hmono : โˆ€ s t : โ„, s โ‰ค t โ†’ t < 0 โ†’ โˆ€ x : M, (F.connection s).scalarCurvature x โ‰ค (F.connection t).scalarCurvature x) : โˆ€ s t : โ„, s โ‰ค t โ†’ t โ‰ค 0 โ†’ โˆ€ x : M, (F.connection s).scalarCurvature x โ‰ค (F.connection t).scalarCurvature x := by intro s t hst ht x rcases lt_or_eq_of_le ht with ht | rfl ยท exact hmono s t hst ht x rcases lt_or_eq_of_le hst with hs | rfl ยท have hreg : ContinuousOn (fun u => (F.connection u).scalarCurvature x) (Iic 0) := (P.scalar_regular M (Iic 0) F).continuousOn.comp (f := fun u : โ„ => (u, x)) (continuous_id.prodMk continuous_const).continuousOn (fun u hu => โŸจhu, mem_univ xโŸฉ) have hlim : Tendsto (fun u => (F.connection u).scalarCurvature x) (๐“[<] 0) (๐“ ((F.connection 0).scalarCurvature x)) := (hreg 0 (by change (0 : โ„) โ‰ค 0; exact le_refl 0)).mono Iio_subset_Iic_self apply ge_of_tendsto hlim filter_upwards [self_mem_nhdsWithin, (eventually_gt_nhds hs).filter_mono nhdsWithin_le_nhds] with u hu hsu exact hmono s u hsu.le hu x ยท exact le_rfl /-- On a closed flow with nonnegative curvature operator and scalar monotonicity, earlier full curvature is bounded by later scalar curvature. -/ theorem past_curvatureTensorNorm_le_scalar_of_nonnegative_operator (P : M23NormalizedKappaCompactnessPredecessors) {M : Type} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) M] [IsManifold (๐“ก 3) โˆž M] (F : RicciFlow 3 M (Iic 0)) (hoperator : โˆ€ t : โ„, t โ‰ค 0 โ†’ โˆ€ x : M, (F.connection t).NonnegativeCurvatureOperator x) (hmono : โˆ€ s t : โ„, s โ‰ค t โ†’ t โ‰ค 0 โ†’ โˆ€ x : M, (F.connection s).scalarCurvature x โ‰ค (F.connection t).scalarCurvature x) {s t : โ„} (hst : s โ‰ค t) (ht : t โ‰ค 0) (x : M) : |(F.connection s).curvatureTensorNorm x| โ‰ค (F.connection t).scalarCurvature x := by rw [abs_of_nonneg (show 0 โ‰ค (F.connection s).curvatureTensorNorm x from Real.sqrt_nonneg _)] exact ((F.connection s).curvatureTensorNorm_le_scalarCurvature_sharp (P.tensor_calculus 3 M (F.metric s) (F.connection s)) x (hoperator s (hst.trans ht) x)).trans (hmono s t hst ht x) end RicciFlow namespace NormalizedKappaSolutionSequence attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable local instance closedMonotonicityCarrierConnected (C : FlowCarrier.{0} 3) : ConnectedSpace C.carrier := connectedSpace_iff_univ.mpr C.connected variable {kappa : โ„} (S : NormalizedKappaSolutionSequence kappa) (G : AncientPointedGeometricConvergence (fun k => (S.term k).carrier) (fun k t => (S.term k).flow.flow.metric (t - 1)) (fun k => (S.term k).base) 1) private theorem closedMonotone_scalarCurvature_eq_of_metric_eq {M : Type*} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) M] [IsManifold (๐“ก 3) โˆž M] {g h : RiemannianMetric 3 M} (D : LeviCivitaData g) (E : LeviCivitaData h) (heq : g = h) (x : M) : D.scalarCurvature x = E.scalarCurvature x := by subst h exact D.scalarCurvature_eq E x /-- The same retained interior flow gives scalar monotonicity on its actual closed extension, including comparisons with the terminal slice. -/ theorem closedLimit_scalar_monotone (P : M23NormalizedKappaCompactnessPredecessors) (F : RicciFlow 3 G.limitCarrier.carrier (Iic 0)) (hmetric : โˆ€ t : โ„, t < 0 โ†’ F.metric t = G.limitFlow.metric (t + 1)) : โˆ€ s t : โ„, s โ‰ค t โ†’ t โ‰ค 0 โ†’ โˆ€ x : G.limitCarrier.carrier, (F.connection s).scalarCurvature x โ‰ค (F.connection t).scalarCurvature x := by apply F.scalar_monotone_terminal_of_interior P intro s t hst ht x rw [closedMonotone_scalarCurvature_eq_of_metric_eq (F.connection s) (G.limitFlow.connection (s + 1)) (hmetric s (hst.trans_lt ht)) x, closedMonotone_scalarCurvature_eq_of_metric_eq (F.connection t) (G.limitFlow.connection (t + 1)) (hmetric t ht) x] exact S.interiorLimit_scalar_monotone G P (by linarith) (by linarith) x /-- The actual closed extension inherits the original whole-past curvature control by later scalar curvature, with no global boundedness premise. -/ theorem closedLimit_past_norm_le_scalar (P : M23NormalizedKappaCompactnessPredecessors) (F : RicciFlow 3 G.limitCarrier.carrier (Iic 0)) (hmetric : โˆ€ t : โ„, t < 0 โ†’ F.metric t = G.limitFlow.metric (t + 1)) {s t : โ„} (hst : s โ‰ค t) (ht : t โ‰ค 0) (x : G.limitCarrier.carrier) : |(F.connection s).curvatureTensorNorm x| โ‰ค (F.connection t).scalarCurvature x := F.past_curvatureTensorNorm_le_scalar_of_nonnegative_operator P (S.closedLimit_nonnegativeCurvatureOperator G P F hmetric) (S.closedLimit_scalar_monotone G P F hmetric) hst ht x end NormalizedKappaSolutionSequence end PoincareMT