import PoincareLib.Geometry.RicciFlow.Curvature.Calculus.Identities.TensorLaplacianDerivative import PoincareLib.Geometry.RicciFlow.Curvature.Calculus.Identities.ThirdCovariantDerivativeCommutator /-! Adapted from Mapher06/Poincare-MorganTian, `PoincareMT/Proofs/M04/TensorLaplacianCommutator.lean`, revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. See the curvature import record under `references/ricci-flow/mapher/curvature/`. -/ /-! # Commuting a covariant derivative with the tensor Laplacian The two adjacent commutators retain the curvature action on the derivative input and both copies of the curvature action on the original tensor inputs. -/ set_option autoImplicit false open scoped Manifold ContDiff Bundle BigOperators universe u namespace PoincareMT.RicciFlowAnalysis variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {g : RiemannianMetric n M} private theorem multilinear_curvature_update (D : LeviCivitaData g) {k : β„•} (x : M) (A : MultilinearMap ℝ (fun _ : Fin k ↦ TangentSpace (𝓑 n) x) ℝ) (a d : TangentSpace (𝓑 n) x) (v : Fin k β†’ TangentSpace (𝓑 n) x) (r : Fin k) : let b := g.orthonormalBasis x A (Function.update v r (D.curvature x a d (v r))) = βˆ‘ q, D.curvatureTensor x a d (b q) (v r) * A (Function.update v r (b q)) := by classical dsimp only let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let b := g.orthonormalBasis x have hb : (βˆ‘ q, D.curvatureTensor x a d (b q) (v r) β€’ b q) = D.curvature x a d (v r) := by change (βˆ‘ q, inner ℝ (D.curvature x a d (v r)) (b q) β€’ b q) = _ simpa only [real_inner_comm] using b.sum_repr' (D.curvature x a d (v r)) conv_lhs => rw [← hb] simp only [A.map_update_sum, A.map_update_smul, smul_eq_mul, b] set_option maxHeartbeats 2000000 in -- The traced third-derivative commutator and curvature-slot sums need extra elaboration. set_option backward.isDefEq.respectTransparency false in theorem covariantTensorDerivative_tensorLaplacian_commutator (D : LeviCivitaData g) {k : β„•} {T : CovariantTensorEvaluation n M k} (hT : IsSmoothCovariantTensor T) (x : M) (a : TangentSpace (𝓑 n) x) (v : Fin k β†’ TangentSpace (𝓑 n) x) : let b := g.orthonormalBasis x let K := D.covariantTensorDerivative T D.covariantTensorDerivative (D.tensorLaplacian T) x (Fin.cons a v) - D.tensorLaplacian K x (Fin.cons a v) = -(βˆ‘ p, βˆ‘ q, D.curvatureTensor x a (b p) (b q) (b p) * K x (Fin.cons (b q) v)) - 2 * (βˆ‘ p, βˆ‘ r, βˆ‘ q, D.curvatureTensor x a (b p) (b q) (v r) * K x (Fin.cons (b p) (Function.update v r (b q)))) - (βˆ‘ p, βˆ‘ r, βˆ‘ q, D.covariantTensorDerivative D.riemannEvaluation x ![b p, a, b p, b q, v r] * T x (Function.update v r (b q))) := by classical dsimp only let b := g.orthonormalBasis x let K := D.covariantTensorDerivative T let C := D.iteratedCovariantTensorDerivative T 3 x have hK : IsSmoothCovariantTensor K := isSmoothCovariantTensor_covariantTensorDerivative D hT obtain ⟨L, hL⟩ := hK.1 x have hpoint (p : Fin (Module.finrank ℝ (TangentSpace (𝓑 n) x))) : C (Fin.cons a (Fin.cons (b p) (Fin.cons (b p) v))) - C (Fin.cons (b p) (Fin.cons (b p) (Fin.cons a v))) = -(βˆ‘ q, D.curvatureTensor x a (b p) (b q) (b p) * K x (Fin.cons (b q) v)) - 2 * (βˆ‘ r, βˆ‘ q, D.curvatureTensor x a (b p) (b q) (v r) * K x (Fin.cons (b p) (Function.update v r (b q)))) - (βˆ‘ r, βˆ‘ q, D.covariantTensorDerivative D.riemannEvaluation x ![b p, a, b p, b q, v r] * T x (Function.update v r (b q))) := by have hfirst := covariantTensorDerivative_commutator D hK x a (b p) (Fin.cons (b p) v) have hInsert (r : Fin (k + 1)) : K x (Function.update (Fin.cons (b p) v) r (D.curvature x a (b p) ((Fin.cons (b p) v : Fin (k + 1) β†’ TangentSpace (𝓑 n) x) r))) = βˆ‘ q, D.curvatureTensor x a (b p) (b q) ((Fin.cons (b p) v : Fin (k + 1) β†’ TangentSpace (𝓑 n) x) r) * K x (Function.update (Fin.cons (b p) v) r (b q)) := by simpa only [hL] using multilinear_curvature_update D x L a (b p) (Fin.cons (b p) v) r simp only [hInsert] at hfirst rw [Fin.sum_univ_succ] at hfirst simp only [Fin.cons_zero, Fin.cons_succ, Fin.update_cons_zero, ← Fin.cons_update] at hfirst change C (Fin.cons a (Fin.cons (b p) (Fin.cons (b p) v))) - C (Fin.cons (b p) (Fin.cons a (Fin.cons (b p) v))) = _ at hfirst have hsecond := thirdCovariantTensorDerivative_commutator D hT x (b p) a (b p) v simp only [Finset.sum_add_distrib] at hsecond change C (Fin.cons (b p) (Fin.cons a (Fin.cons (b p) v))) - C (Fin.cons (b p) (Fin.cons (b p) (Fin.cons a v))) = _ at hsecond linarith only [hfirst, hsecond] rw [covariantTensorDerivative_tensorLaplacian D hT] change (βˆ‘ p, C (Fin.cons a (Fin.cons (b p) (Fin.cons (b p) v)))) - (βˆ‘ p, C (Fin.cons (b p) (Fin.cons (b p) (Fin.cons a v)))) = _ rw [← Finset.sum_sub_distrib] simp_rw [hpoint] simp only [Finset.sum_sub_distrib, Finset.sum_neg_distrib, ← Finset.mul_sum, b, K] end PoincareMT.RicciFlowAnalysis