import PoincareLib.Geometry.RicciFlow.Curvature.Calculus import PoincareLib.Geometry.RicciFlow.Harnack.Matrix.Spacetime import PoincareLib.Geometry.RicciFlow.Harnack.Matrix.Evolution.P import PoincareLib.Geometry.RicciFlow.Tensor.HeatGradient.Three /-! # Heat-gradient commutation for Hamilton's P The actual Ricci-flow tensor satisfies the three-slot commutator with no additional regularity certificate. Contracting the derivative and first tensor slots gives the spatial commutator used in Chow et al., Part II, (15.48), printed p. 275 (PDF p. 302). -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open scoped Manifold ContDiff Bundle Topology BigOperators universe u namespace Poincare.RicciFlow.Harnack open PoincareMT variable {n : โ„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] {J : Set โ„} theorem tensorHeatOperator_covariantHamiltonP_commutator (hC : RicciFlowCurvatureCalculus.{u}) (F : RicciFlow n M J) {t : โ„} (ht : t โˆˆ interior J) (x : M) (a b c d : TangentSpace (๐“ก n) x) : let D := F.connection t let e := (F.metric t).orthonormalBasis x let P : โ„ โ†’ CovariantTensorEvaluation n M 3 := fun s y z => hamiltonP (F.connection s) y (z 0) (z 1) (z 2) F.tensorHeatOperator (fun s => (F.connection s).covariantTensorDerivative (P s)) t x ![a, b, c, d] - D.covariantTensorDerivative (F.tensorHeatOperator P t) x ![a, b, c, d] = 2 * (โˆ‘ i, โˆ‘ j, D.curvatureTensor x a (e i) b (e j) * D.covariantTensorDerivative (P t) x ![e i, e j, c, d]) + 2 * (โˆ‘ i, โˆ‘ j, D.curvatureTensor x a (e i) c (e j) * D.covariantTensorDerivative (P t) x ![e i, b, e j, d]) + 2 * (โˆ‘ i, โˆ‘ j, D.curvatureTensor x a (e i) d (e j) * D.covariantTensorDerivative (P t) x ![e i, b, c, e j]) := by let P : โ„ โ†’ CovariantTensorEvaluation n M 3 := fun s y z => hamiltonP (F.connection s) y (z 0) (z 1) (z 2) let W : โ„ โ†’ CovariantTensorEvaluation n M 3 := fun s y z => deriv (fun r => P r y z) s apply F.tensorHeatOperator_covariantTensorDerivative_commutator_three (W := W) hC ht ยท exact fun s => hamiltonP_isSmoothCovariantTensor (F.connection s) (hC.tensor_calculus n M (F.metric s) (F.connection s)) ยท exact fun _ _ hX => contMDiffAt_hamiltonP_fields hC F ht hX ยท intro y z exact (hasDerivAt_hamiltonP_evolution hC F ht y (z 0) (z 1) (z 2)).differentiableAt.hasDerivAt end Poincare.RicciFlow.Harnack