import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.BoundedFlow import PoincareLib.Geometry.RicciFlow.Restriction import PoincareLib.Geometry.Riemannian.Curvature.Scalar.Regularity /-! # Differential Harnack from componentwise slab bounds Restricting the flow to the queried point's connected component preserves the time derivative, spatial scalar differential, and Ricci term. Compact-time full-curvature bounds on each component therefore give the finite differential Harnack conclusion on a possibly disconnected manifold. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set open scoped Manifold ContDiff Bundle universe u namespace PoincareMT.RicciFlow variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {J : Set ℝ} /-- The component inclusion pulls back the Ricci tensor. -/ theorem restrictComponent_ricci (F : RicciFlow n M J) (p : M) (t : ℝ) (x : Poincare.connectedComponentOpens (EuclideanSpace ℝ (Fin n)) p) (v w : TangentSpace (𝓑 n) x) : ((F.restrictComponent p).connection t).ricci x v w = (F.connection t).ricci x (mfderiv (𝓑 n) (𝓑 n) Subtype.val x v) (mfderiv (𝓑 n) (𝓑 n) Subtype.val x w) := by apply ((F.restrictComponent p).connection t).ricci_eq_of_local_isometry (F.connection t) isOpen_univ contMDiff_subtype_val.contMDiffOn (fun _ _ _ _ => rfl) (mem_univ x) /-- The spatial scalar differential commutes with component inclusion. -/ theorem restrictComponent_scalarCurvature_mvfderiv (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) (p : M) (t : ℝ) (x : Poincare.connectedComponentOpens (EuclideanSpace ℝ (Fin n)) p) (v : TangentSpace (𝓑 n) x) : mvfderiv (𝓑 n) (fun y => ((F.restrictComponent p).connection t).scalarCurvature y) x v = mvfderiv (𝓑 n) (fun y => (F.connection t).scalarCurvature y) x (mfderiv (𝓑 n) (𝓑 n) Subtype.val x v) := by have hscalar : (fun y => ((F.restrictComponent p).connection t).scalarCurvature y) = (F.connection t).scalarCurvature ∘ Subtype.val := by funext y exact F.restrictComponent_scalarCurvature p t y rw [hscalar] have hs := (hC.tensor_calculus n M (F.metric t) (F.connection t)).contMDiff_scalarCurvature exact mvfderiv_comp_apply x (hs.mdifferentiable (by simp) x) ((contMDiff_subtype_val (n := ∞)).mdifferentiable (by simp) x) v 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] /-- Componentwise compact-time full-curvature bounds give the finite differential Harnack conclusion without a connectedness assumption. The production of these slab bounds from per-slice bounds is a separate step. -/ theorem finite_differential_of_component_curvature_slab_bounds (hC : RicciFlowCurvatureTheory.{u}) {Tβ‚€ T₁ : ℝ} (F : RicciFlow n M (Ioo Tβ‚€ T₁)) (hcomplete : βˆ€ t ∈ Ioo Tβ‚€ T₁, MetricComplete (F.metric t)) (hcurv : βˆ€ t ∈ Ioo Tβ‚€ T₁, βˆ€ x, (F.connection t).NonnegativeCurvatureOperator x) (hbound : βˆ€ p : M, βˆ€ a b : ℝ, a < b β†’ Icc a b βŠ† Ioo Tβ‚€ T₁ β†’ βˆƒ K : ℝ, βˆ€ s ∈ Icc a b, βˆ€ x ∈ connectedComponent p, (F.connection s).curvatureTensorNorm x ≀ K) : βˆ€ t ∈ Ioo Tβ‚€ T₁, βˆ€ x : M, βˆ€ v : TangentSpace (𝓑 n) x, βˆƒ dR : ℝ, HasDerivWithinAt (fun s => (F.connection s).scalarCurvature x) dR (Ioo Tβ‚€ T₁) t ∧ 0 ≀ dR + (F.connection t).scalarCurvature x / (t - Tβ‚€) + 2 * mvfderiv (𝓑 n) (fun y => (F.connection t).scalarCurvature y) x v + 2 * (F.connection t).ricci x v v := by intro t ht x v let U := Poincare.connectedComponentOpens (EuclideanSpace ℝ (Fin n)) x let x' : U := ⟨x, mem_connectedComponent⟩ let G := F.restrictComponent x obtain ⟨w, hw⟩ := ((G.metric t).mfderiv_bijective_of_pullback_eq (F.metric t) (f := Subtype.val) x' (fun _ _ => rfl)).surjective v have hcompleteG : βˆ€ s ∈ Ioo Tβ‚€ T₁, MetricComplete (G.metric s) := fun s hs => F.restrictComponent_metricComplete x s (hcomplete s hs) have hcurvG : βˆ€ s ∈ Ioo Tβ‚€ T₁, βˆ€ y, (G.connection s).NonnegativeCurvatureOperator y := fun s hs y => (F.restrictComponent_nonnegativeCurvatureOperator_iff x s y).mpr (hcurv s hs y) have hboundG : βˆ€ a b : ℝ, a < b β†’ Icc a b βŠ† Ioo Tβ‚€ T₁ β†’ βˆƒ K : ℝ, βˆ€ s ∈ Icc a b, βˆ€ y, (G.connection s).curvatureTensorNorm y ≀ K := by intro a b hab hJ obtain ⟨K, hK⟩ := hbound x a b hab hJ refine ⟨K, fun s hs y => ?_⟩ rw [F.restrictComponent_curvatureTensorNorm] exact hK s hs y y.property obtain ⟨dR, hdR, hineq⟩ := finite_differential_of_curvature_slab_bounds hC G hcompleteG hcurvG hboundG t ht x' w refine ⟨dR, ?_, ?_⟩ Β· simpa only [G, F.restrictComponent_scalarCurvature] using hdR Β· dsimp only [G] at hineq rw [F.restrictComponent_scalarCurvature_mvfderiv hC] at hineq simpa only [F.restrictComponent_scalarCurvature, F.restrictComponent_ricci, hw] using hineq end Poincare.RicciFlow.Harnack