import PoincareLib.Geometry.RicciFlow.Curvature.Calculus import PoincareLib.Geometry.RicciFlow.TimeTranslation import PoincareLib.Geometry.Riemannian.Distance.CompleteBalls import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.Localization import PoincareLib.Geometry.RicciFlow.Harnack.Matrix.Positivity.TimeShift import PoincareLib.Geometry.RicciFlow.Harnack.Matrix.Positivity.Scalar import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.Exhaustion.Proper /-! # Hamilton tensor bounds on buffered time slabs Translate a bounded complete flow to the zero-based interval in the frozen local Shi estimate. Compact balls are supplied by completeness. At each spatial center this gives derivative bounds uniform on a buffered closed time interval, and consequently a uniform lower bound for the Hamilton quadratic. This supplies the bounded-slab input to the localization argument of Chow et al., Part II, Section 15.4.5, pp. 285-287. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set open scoped Manifold ContDiff Bundle BigOperators ENNReal universe u namespace PoincareMT.RiemannianMetric variable {n : β„•} {M : Type u} [TopologicalSpace M] [T3Space M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] private theorem isCompact_closure_ball (g : RiemannianMetric n M) (hcomplete : MetricComplete g) (x : M) (r : ℝ) : IsCompact (closure (g.ball x r)) := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ => rfl⟩⟩ let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓑 n) M apply (g.isCompact_closedBall_of_metricComplete hcomplete x r).of_isClosed_subset isClosed_closure apply closure_minimal Β· intro y hy exact le_of_lt (show g.edist x y < ENNReal.ofReal r from hy) Β· exact isClosed_le (continuous_const.edist continuous_id) continuous_const private theorem ball_subset_finite_distance_component (g : RiemannianMetric n M) (O x : M) (hx : g.edist O x β‰  ⊀) (r : ℝ) : g.ball x r βŠ† {y | g.edist O y β‰  ⊀} := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ => rfl⟩⟩ let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓑 n) M intro y hy change EDist.edist O y β‰  ⊀ apply ne_top_of_le_ne_top _ (edist_triangle O x y) exact ENNReal.add_ne_top.mpr ⟨hx, ne_top_of_lt ((show g.edist x y < ENNReal.ofReal r from hy).trans ENNReal.ofReal_lt_top)⟩ private theorem isOpen_finite_distance_component (g : RiemannianMetric n M) (O : M) : IsOpen {x | g.edist O x β‰  ⊀} := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ => rfl⟩⟩ let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓑 n) M change IsOpen {x | EDist.edist O x β‰  ⊀} simpa only [lt_top_iff_ne_top] using! isOpen_lt (continuous_const.edist continuous_id) (continuous_const (y := (⊀ : ℝβ‰₯0∞))) end PoincareMT.RiemannianMetric namespace PoincareMT.RicciFlow variable {n : β„•} {M : Type u} [TopologicalSpace M] [T3Space M] [SecondCountableTopology M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {J : Set ℝ} private theorem exists_curvatureDerivativeNorm_bound_on_buffered_slab_on_set (hC : RicciFlowCurvatureCalculus.{u}) (F : RicciFlow n M J) (C : Set M) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x ∈ C, (F.connection t).curvatureTensorNorm x ≀ K) (hball : βˆ€ x ∈ C, (F.metric a).ball x 1 βŠ† C) (k : β„•) : βˆƒ D : ℝ, 0 < D ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x ∈ C, (F.connection t).curvatureDerivativeNorm k x ≀ D := by let Kβ‚€ := max K 1 have hKβ‚€ : 0 < Kβ‚€ := lt_of_lt_of_le (by norm_num) (le_max_right K 1) have hT : 0 < b - a := sub_pos.mpr hab have hΞ± : 0 < (b - a) * Kβ‚€ := mul_pos hT hKβ‚€ obtain ⟨D, hDpos, hShi⟩ := hC.local_derivative_estimates n k Kβ‚€ ((b - a) * Kβ‚€) 1 hKβ‚€ hΞ± (by norm_num) have hshift : (fun t : ℝ => t + a) '' Icc 0 (b - a) βŠ† J := by rintro _ ⟨t, ht, rfl⟩ apply hJ constructor <;> linarith [ht.1, ht.2] have hne : (Icc (0 : ℝ) (b - a)).Nontrivial := ⟨0, ⟨le_rfl, hT.le⟩, b - a, ⟨hT.le, le_rfl⟩, (ne_of_gt hT).symm⟩ let Ft := F.translate a hshift ordConnected_Icc hne have hlength : b - a ≀ ((b - a) * Kβ‚€) / Kβ‚€ := by rw [mul_div_cancel_rightβ‚€ _ (ne_of_gt hKβ‚€)] refine ⟨D / Ξ΄ ^ ((k : ℝ) / 2), by positivity, ?_⟩ intro t ht x hxC have hcompact : IsCompact (closure ((Ft.metric 0).ball x 1)) := by simpa only [Ft, translate, zero_add] using (F.metric a).isCompact_closure_ball hcomplete x 1 have hcurv : βˆ€ s ∈ Icc 0 (b - a), βˆ€ y ∈ (Ft.metric 0).ball x 1, (Ft.connection s).curvatureTensorNorm y ≀ Kβ‚€ := by intro s hs y hy have hy' : y ∈ (F.metric a).ball x 1 := by simpa only [Ft, translate, zero_add] using hy exact (hbound (s + a) (by constructor <;> linarith [hs.1, hs.2]) y (hball x hxC hy')).trans (le_max_left _ _) have ht' : t - a ∈ Ioc 0 (b - a) := by constructor <;> linarith [ht.1, ht.2] have hx : x ∈ (Ft.metric 0).ball x (1 / 2) := by simp [RiemannianMetric.ball, RiemannianMetric.edist, Manifold.riemannianEDist_self] have h := hShi M (b - a) hT hlength Ft x hcompact hcurv (t - a) ht' x hx change (F.connection (t - a + a)).curvatureDerivativeNorm k x ≀ _ at h rw [sub_add_cancel] at h apply h.trans apply div_le_div_of_nonneg_left hDpos.le (Real.rpow_pos_of_pos hΞ΄ _) exact Real.rpow_le_rpow hΞ΄.le (by linarith [ht.1]) (by positivity) /-- A full-curvature bound on a slab gives a uniform bound for any derivative order on a buffered closed subinterval. Only the initial slice needs to be complete, and no initial curvature derivative bound is used. -/ theorem exists_curvatureDerivativeNorm_bound_on_buffered_slab (hC : RicciFlowCurvatureCalculus.{u}) (F : RicciFlow n M J) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.connection t).curvatureTensorNorm x ≀ K) (k : β„•) : βˆƒ C : ℝ, 0 < C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.connection t).curvatureDerivativeNorm k x ≀ C := by obtain ⟨C, hCpos, hderiv⟩ := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab_on_set hC univ hab hJ hΞ΄ hcomplete (fun t ht x _ => hbound t ht x) (fun _ _ _ _ => trivial) k exact ⟨C, hCpos, fun t ht x => hderiv t ht x (mem_univ x)⟩ /-- The same Shi bound on a finite-distance component allows its curvature constant to depend on that component, without restricting the manifold. -/ theorem exists_curvatureDerivativeNorm_bound_on_buffered_slab_component (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) (O : M) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureTensorNorm x ≀ K) (k : β„•) : βˆƒ C : ℝ, 0 < C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureDerivativeNorm k x ≀ C := by exact F.exists_curvatureDerivativeNorm_bound_on_buffered_slab_on_set hC {x | (F.metric a).edist O x β‰  ⊀} hab hJ hΞ΄ hcomplete hbound (fun x hx => (F.metric a).ball_subset_finite_distance_component O x hx 1) k /-- One constant bounds all curvature derivatives through order two on a buffered slab, as required by Hamilton quadratic localization. -/ theorem exists_curvatureDerivativeNorm_two_bound_on_buffered_slab (hC : RicciFlowCurvatureCalculus.{u}) (F : RicciFlow n M J) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.connection t).curvatureTensorNorm x ≀ K) : βˆƒ C : ℝ, 0 < C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, βˆ€ j ≀ 2, (F.connection t).curvatureDerivativeNorm j x ≀ C := by obtain ⟨Cβ‚€, hCβ‚€, hβ‚€βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab hC hab hJ hΞ΄ hcomplete hbound 0 obtain ⟨C₁, hC₁, hβ‚βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab hC hab hJ hΞ΄ hcomplete hbound 1 obtain ⟨Cβ‚‚, hCβ‚‚, hβ‚‚βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab hC hab hJ hΞ΄ hcomplete hbound 2 refine ⟨Cβ‚€ + C₁ + Cβ‚‚, by positivity, ?_⟩ intro t ht x j hj interval_cases j <;> linarith [hβ‚€ t ht x, h₁ t ht x, hβ‚‚ t ht x] /-- The common bound through order two may depend on the finite-distance component of the initial metric. -/ theorem exists_curvatureDerivativeNorm_two_bound_on_buffered_slab_component (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) (O : M) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureTensorNorm x ≀ K) : βˆƒ C : ℝ, 0 < C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ βˆ€ j ≀ 2, (F.connection t).curvatureDerivativeNorm j x ≀ C := by obtain ⟨Cβ‚€, hCβ‚€, hβ‚€βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab_component hC O hab hJ hΞ΄ hcomplete hbound 0 obtain ⟨C₁, hC₁, hβ‚βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab_component hC O hab hJ hΞ΄ hcomplete hbound 1 obtain ⟨Cβ‚‚, hCβ‚‚, hβ‚‚βŸ© := F.exists_curvatureDerivativeNorm_bound_on_buffered_slab_component hC O hab hJ hΞ΄ hcomplete hbound 2 refine ⟨Cβ‚€ + C₁ + Cβ‚‚, by positivity, ?_⟩ intro t ht x hx j hj interval_cases j <;> linarith [hβ‚€ t ht x hx, h₁ t ht x hx, hβ‚‚ t ht x hx] end PoincareMT.RicciFlow namespace Poincare.RicciFlow.Harnack open PoincareMT variable {n : β„•} {M : Type u} [TopologicalSpace M] [T3Space M] [SecondCountableTopology M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {J : Set ℝ} /-- A bounded complete slab supplies the uniform lower bound for the actual Hamilton quadratic on each buffered interval, for every nonnegative elapsed time in its Ricci correction. -/ theorem exists_hamilton_quadratic_lower_bound_on_buffered_slab (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.connection t).NonnegativeCurvatureOperator x) : βˆƒ C : ℝ, 0 ≀ C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, βˆ€ Ο„ : ℝ, 0 ≀ Ο„ β†’ βˆ€ (U : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ) (W : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ), (βˆ€ i j, U i j = -U j i) β†’ let eb := (F.metric t).orthonormalBasis x; -C * (Real.sqrt (βˆ‘ i, (W i) ^ 2)) ^ 2 - C * Real.sqrt (βˆ‘ i, βˆ‘ j, (U i j) ^ 2) * Real.sqrt (βˆ‘ i, (W i) ^ 2) ≀ (βˆ‘ i, βˆ‘ j, hamiltonM (F.connection t) Ο„ x (eb i) (eb j) * W i * W j) + 2 * (βˆ‘ i, βˆ‘ j, βˆ‘ k, hamiltonP (F.connection t) x (eb i) (eb j) (eb k) * U i j * W k) + (βˆ‘ i, βˆ‘ j, βˆ‘ k, βˆ‘ l, (F.connection t).curvatureTensor x (eb i) (eb j) (eb k) (eb l) * U i j * U k l) := by obtain ⟨D, hD, hderiv⟩ := F.exists_curvatureDerivativeNorm_two_bound_on_buffered_slab hC hab hJ hΞ΄ hcomplete hbound refine ⟨6 * (n : ℝ) ^ 4 * D + 3 * (n : ℝ) ^ 5 * D ^ 2, by positivity, ?_⟩ intro t ht x Ο„ hΟ„ U W hU exact hamilton_quadratic_lower_bound_of_bound (F.connection t) (hC.tensor_calculus n M (F.metric t) (F.connection t)) hΟ„ x (hcurv t ht x) (hderiv t ht x) U W hU /-- Uniform Hamilton lower bounds on one finite-distance component. -/ theorem exists_hamilton_quadratic_lower_bound_on_buffered_slab_component (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) (O : M) {a b Ξ΄ K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† J) (hΞ΄ : 0 < Ξ΄) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).NonnegativeCurvatureOperator x) : βˆƒ C : ℝ, 0 ≀ C ∧ βˆ€ t ∈ Icc (a + Ξ΄) b, βˆ€ x : M, (F.metric a).edist O x β‰  ⊀ β†’ βˆ€ Ο„ : ℝ, 0 ≀ Ο„ β†’ βˆ€ (U : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ) (W : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ), (βˆ€ i j, U i j = -U j i) β†’ let eb := (F.metric t).orthonormalBasis x; -C * (Real.sqrt (βˆ‘ i, (W i) ^ 2)) ^ 2 - C * Real.sqrt (βˆ‘ i, βˆ‘ j, (U i j) ^ 2) * Real.sqrt (βˆ‘ i, (W i) ^ 2) ≀ (βˆ‘ i, βˆ‘ j, hamiltonM (F.connection t) Ο„ x (eb i) (eb j) * W i * W j) + 2 * (βˆ‘ i, βˆ‘ j, βˆ‘ k, hamiltonP (F.connection t) x (eb i) (eb j) (eb k) * U i j * W k) + (βˆ‘ i, βˆ‘ j, βˆ‘ k, βˆ‘ l, (F.connection t).curvatureTensor x (eb i) (eb j) (eb k) (eb l) * U i j * U k l) := by obtain ⟨D, hD, hderiv⟩ := F.exists_curvatureDerivativeNorm_two_bound_on_buffered_slab_component hC O hab hJ hΞ΄ hcomplete hbound refine ⟨6 * (n : ℝ) ^ 4 * D + 3 * (n : ℝ) ^ 5 * D ^ 2, by positivity, ?_⟩ intro t ht x hx Ο„ hΟ„ U W hU exact hamilton_quadratic_lower_bound_of_bound (F.connection t) (hC.tensor_calculus n M (F.metric t) (F.connection t)) hΟ„ x (hcurv t ht x hx) (hderiv t ht x hx) U W hU /-- Full-curvature control on a slab extending to a negative initial time supplies every derivative bound needed by compact Hamilton localization on the positive target interval. -/ theorem exists_compact_hamilton_perturbation_pos_of_buffered_curvature_bound (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) {O : M} (S : RicciFlow.SmoothExhaustion F O) (hproper : βˆ€ r : ℝ, IsCompact {x | S.toFun x ≀ r}) {a T K Ξ΅ Ξ΄ A : ℝ} (ha : a < 0) (hT : 0 < T) (hJ : Icc a T βŠ† J) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a T, βˆ€ x : M, (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Ioc 0 T, βˆ€ x : M, (F.connection t).NonnegativeCurvatureOperator x) (hΞ΅ : 0 < Ξ΅) (hΞ΄ : 0 < Ξ΄) (hA : 0 ≀ A) : βˆƒ L : Set M, IsCompact L ∧ βˆ€ t ∈ Ioc 0 T, βˆ€ x βˆ‰ L, βˆ€ (U : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ) (W : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x)) β†’ ℝ), (βˆ€ i j, U i j = -U j i) β†’ (Real.sqrt (βˆ‘ i, βˆ‘ j, (U i j) ^ 2) β‰  0 ∨ Real.sqrt (βˆ‘ i, (W i) ^ 2) β‰  0) β†’ let eb := (F.metric t).orthonormalBasis x 0 < (βˆ‘ i, βˆ‘ j, hamiltonM (F.connection t) t x (eb i) (eb j) * W i * W j) + 2 * (βˆ‘ i, βˆ‘ j, βˆ‘ k, hamiltonP (F.connection t) x (eb i) (eb j) (eb k) * U i j * W k) + (βˆ‘ i, βˆ‘ j, βˆ‘ k, βˆ‘ l, (F.connection t).curvatureTensor x (eb i) (eb j) (eb k) (eb l) * U i j * U k l) + (Ξ΅ * Real.exp (A * t) * S.toFun x / t) * (βˆ‘ i, (W i) ^ 2) + (Ξ΄ * Real.exp (A * t)) * (βˆ‘ i, βˆ‘ j, (U i j) ^ 2) := by obtain ⟨D, hD, hderiv⟩ := F.exists_curvatureDerivativeNorm_two_bound_on_buffered_slab hC (ha.trans hT) hJ (neg_pos.mpr ha) hcomplete hbound apply exists_compact_hamilton_perturbation_pos hC S hproper hD.le _ hcurv hΞ΅ hΞ΄ hA intro t ht x j hj exact hderiv t (by simpa only [add_neg_cancel] using ⟨ht.1.le, ht.2⟩) x j hj /-- Shi estimates supply the derivative bounds on buffered slabs. Letting the buffer decrease to zero recovers the initial time in Hamilton's block. -/ theorem hamiltonBlockPos_on_bounded_slab_of_smoothExhaustion (hC : RicciFlowCurvatureTheory.{u}) {Tβ‚€ T₁ : ℝ} (F : RicciFlow n M (Ioo Tβ‚€ T₁)) (O : M) (S : RicciFlow.SmoothExhaustion F O) (hproper : βˆ€ r : ℝ, IsCompact {x | S.toFun x ≀ r}) {a b K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† Ioo Tβ‚€ T₁) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x, (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Icc a b, βˆ€ x, (F.connection t).NonnegativeCurvatureOperator x) : βˆ€ t ∈ Ioc a b, βˆ€ x, HamiltonBlockPos F t x (t - a) := by intro t ht x apply hamiltonBlockPos_of_time_origin_limit F t x ht.1 intro c hc obtain ⟨D, hD, hderiv⟩ := F.exists_curvatureDerivativeNorm_two_bound_on_buffered_slab hC hab hJ (sub_pos.mpr hc.1) hcomplete hbound have hsub : Ioc c b βŠ† Icc a b := fun s hs => ⟨hc.1.le.trans hs.1.le, hs.2⟩ apply hamiltonBlockPos_of_smoothExhaustion_time_origin hC F O S hproper (hc.2.trans_le ht.2) (hsub.trans hJ) hD.le _ (fun s hs => hcurv s (hsub hs)) t ⟨hc.2, ht.2⟩ x intro s hs y j hj exact hderiv s ⟨by linarith [hs.1], hs.2⟩ y j hj /-- Initial completeness supplies properness on the finite-distance component; Shi estimates and the time-origin limit then give Hamilton positivity there. -/ theorem hamiltonBlockPos_on_bounded_slab_component_of_smoothExhaustion (hC : RicciFlowCurvatureTheory.{u}) {Tβ‚€ T₁ : ℝ} (F : RicciFlow n M (Ioo Tβ‚€ T₁)) (O : M) (S : RicciFlow.SmoothExhaustion F O) {a b K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† Ioo Tβ‚€ T₁) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Icc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).NonnegativeCurvatureOperator x) : βˆ€ t ∈ Ioc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ HamiltonBlockPos F t x (t - a) := by intro t ht x hx apply hamiltonBlockPos_of_time_origin_limit F t x ht.1 intro c hc obtain ⟨D, hD, hderiv⟩ := F.exists_curvatureDerivativeNorm_two_bound_on_buffered_slab_component hC O hab hJ (sub_pos.mpr hc.1) hcomplete hbound have hsub : Ioc c b βŠ† Icc a b := fun s hs => ⟨hc.1.le.trans hs.1.le, hs.2⟩ apply hamiltonBlockPos_on_open_set_of_smoothExhaustion_time_origin hC F O S {y | (F.metric a).edist O y β‰  ⊀} ((F.metric a).isOpen_finite_distance_component O) (S.isCompact_sublevel_component (hJ ⟨le_rfl, hab.le⟩) hcomplete) (hc.2.trans_le ht.2) (hsub.trans hJ) hD.le _ (fun s hs => hcurv s (hsub hs)) t ⟨hc.2, ht.2⟩ x hx intro s hs y hy j hj exact hderiv s ⟨by linarith [hs.1], hs.2⟩ y hy j hj /-- The scalar inequality used in terminal continuation follows from the proved componentwise Hamilton block by taking its lower diagonal trace. -/ theorem scalar_harnack_on_bounded_slab_component_of_smoothExhaustion (hC : RicciFlowCurvatureTheory.{u}) {Tβ‚€ T₁ : ℝ} (F : RicciFlow n M (Ioo Tβ‚€ T₁)) (O : M) (S : RicciFlow.SmoothExhaustion F O) {a b K : ℝ} (hab : a < b) (hJ : Icc a b βŠ† Ioo Tβ‚€ T₁) (hcomplete : MetricComplete (F.metric a)) (hbound : βˆ€ t ∈ Icc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).curvatureTensorNorm x ≀ K) (hcurv : βˆ€ t ∈ Icc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ (F.connection t).NonnegativeCurvatureOperator x) : βˆ€ t ∈ Ioc a b, βˆ€ x, (F.metric a).edist O x β‰  ⊀ β†’ 0 ≀ (F.connection t).laplacian (F.connection t).scalarCurvature x + 2 * (F.connection t).ricciNormSq x + (F.connection t).scalarCurvature x / (t - a) := by intro t ht x hx exact scalar_harnack_nonneg_of_hamiltonBlockPos hC F (hJ ⟨ht.1.le, ht.2⟩) x (t - a) (hamiltonBlockPos_on_bounded_slab_component_of_smoothExhaustion hC F O S hab hJ hcomplete hbound hcurv t ht x hx) end Poincare.RicciFlow.Harnack