import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.Jacobian.ExponentialGram import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.Coordinates.ExponentialNormalization import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.Jacobian.GramNormalization import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Metric.Trace.MetricTrace import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Exponential.Jacobian.JacobianEvolution /-! # Evolution of the actual exponential Jacobian Morgan-Tian Proposition 6.81. The source normalization is constructed from the actual noncritical differential and the exact selected endpoint basis. The normalized Gram evolution and its constant determinant factor give J' = J (R + Delta l) for the same Jacobian used in calibrated transport. -/ set_option autoImplicit false open Set Filter open scoped Manifold ContDiff Bundle Topology BigOperators universe u namespace PoincareMT.ReducedVolume variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] [ConnectedSpace M] {J : Set ℝ} {F : RicciFlow n M J} {T Ο„max : ℝ} {p : M} set_option backward.isDefEq.respectTransparency false in /-- The exponential Jacobian evolves by scalar curvature plus the actual reduced-length Laplacian. -/ theorem exponentialJacobian_hasDerivAt (hwindow : Icc (T - Ο„max) T βŠ† J) (hL : LGeodesicTheory F T Ο„max) (G : LExponentialGeometry F T Ο„max p) (x : EuclideanSpace ℝ (Fin n)) {Ο„ : ℝ} (hreg : (metricCoordinates (F.metric T) p x, Ο„) ∈ G.toLExponentialFamily.regularDomain) : HasDerivAt (fun s ↦ pullbackJacobian (F.metric (T - s)) (exponentialSliceChart G s) x) (pullbackJacobian (F.metric (T - Ο„)) (exponentialSliceChart G Ο„) x * ((F.connection (T - Ο„)).scalarCurvature (exponentialSliceChart G Ο„ x) + (F.connection (T - Ο„)).laplacian (fun y ↦ reducedLength F T p y Ο„) (exponentialSliceChart G Ο„ x))) Ο„ := by obtain ⟨C, hC⟩ := exists_exponential_source_normalization G x hreg let q := G.gamma (metricCoordinates (F.metric T) p x) Ο„ let A : ℝ β†’ Matrix (Fin n) (Fin n) ℝ := fun s ↦ (fun i j : Fin n ↦ pullbackMetricForm (F.metric (T - s)) (exponentialSliceChart G s) x (C (EuclideanSpace.basisFun (Fin n) ℝ i)) (C (EuclideanSpace.basisFun (Fin n) ℝ j))) let j := fun s ↦ pullbackJacobian (F.metric (T - s)) (exponentialSliceChart G s) x obtain ⟨D, hA, hdiag⟩ := exponential_gram_hasDerivAt hwindow hL G x hreg C.toContinuousLinearMap have hAt : A Ο„ = 1 := by ext i j change (F.metric (T - Ο„)).inner (exponentialSliceChart G Ο„ x) (mfderiv (𝓑 n) (𝓑 n) (exponentialSliceChart G Ο„) x (C (EuclideanSpace.basisFun (Fin n) ℝ i))) (mfderiv (𝓑 n) (𝓑 n) (exponentialSliceChart G Ο„) x (C (EuclideanSpace.basisFun (Fin n) ℝ j))) = (1 : Matrix (Fin n) (Fin n) ℝ) i j obtain ⟨hΟ„, hmax, _, _⟩ := hreg.1 rw [exponentialSliceChart_differential G hΟ„ hmax, exponentialSliceChart_differential G hΟ„ hmax, exponentialSliceChart_apply, hC, hC, metricCoordinates_basis_inner, Matrix.one_apply] have hscale : (fun s ↦ C.toLinearMap.normDet * j s) =αΆ [𝓝 Ο„] (fun s ↦ Real.sqrt ((A s).det)) := by apply Filter.Eventually.of_forall intro s simpa only [A, j, mul_comm] using! (sqrt_det_pullbackMetric_change_source (F.metric (T - s)) (exponentialSliceChart G s) x C.toLinearMap).symm have hdiag' (i : Fin n) : D i i = 2 * (F.connection (T - Ο„)).ricci q (metricCoordinates (F.metric (T - Ο„)) q (EuclideanSpace.basisFun (Fin n) ℝ i)) (metricCoordinates (F.metric (T - Ο„)) q (EuclideanSpace.basisFun (Fin n) ℝ i)) + 2 * (F.connection (T - Ο„)).hessian (fun y ↦ reducedLength F T p y Ο„) q (metricCoordinates (F.metric (T - Ο„)) q (EuclideanSpace.basisFun (Fin n) ℝ i)) (metricCoordinates (F.metric (T - Ο„)) q (EuclideanSpace.basisFun (Fin n) ℝ i)) := by have hh := hdiag i change D i i = 2 * (F.connection (T - Ο„)).ricci q (G.toLExponentialFamily.sliceDifferential (metricCoordinates (F.metric T) p x) Ο„ (metricCoordinates (F.metric T) p (C (EuclideanSpace.basisFun (Fin n) ℝ i)))) (G.toLExponentialFamily.sliceDifferential (metricCoordinates (F.metric T) p x) Ο„ (metricCoordinates (F.metric T) p (C (EuclideanSpace.basisFun (Fin n) ℝ i)))) + 2 * (F.connection (T - Ο„)).hessian (fun y ↦ reducedLength F T p y Ο„) q (G.toLExponentialFamily.sliceDifferential (metricCoordinates (F.metric T) p x) Ο„ (metricCoordinates (F.metric T) p (C (EuclideanSpace.basisFun (Fin n) ℝ i)))) (G.toLExponentialFamily.sliceDifferential (metricCoordinates (F.metric T) p x) Ο„ (metricCoordinates (F.metric T) p (C (EuclideanSpace.basisFun (Fin n) ℝ i)))) at hh rw [hC] at hh exact hh have htrace : D.trace / 2 = (F.connection (T - Ο„)).scalarCurvature q + (F.connection (T - Ο„)).laplacian (fun y ↦ reducedLength F T p y Ο„) q := by change (βˆ‘ i : Fin n, D i i) / 2 = _ simp_rw [hdiag'] rw [Finset.sum_add_distrib, ← Finset.mul_sum, ← Finset.mul_sum, sum_metricCoordinates_ricci, sum_metricCoordinates_hessian] ring have hd := hasDerivAt_jacobian_of_scaled_normalized_gram (ne_of_gt (source_normalization_normDet_pos C)) hscale hA hAt rw [htrace] at hd simpa only [exponentialSliceChart_apply] using hd end PoincareMT.ReducedVolume