import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Imports import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.ScalarOperators.ScalarLaplacianConvergence /-! # Retaining the actual scalar evolution expression Morgan-Tian Definition 9.72, pp. 230-231, in Theorem 12.28, pp. 323-324. Two inverse-Gram traces recover the frozen Ricci squared norm without selecting convergent orthonormal frames. -/ set_option autoImplicit false set_option maxSynthPendingDepth 5 open Filter open scoped Manifold ContDiff Bundle Topology BigOperators Matrix.Norms.Elementwise namespace PoincareMT.M35 local notation:max "E" n:max => EuclideanSpace ℝ (Fin n) /-- Definition 9.72: two actual inverse-metric contractions give the frozen Ricci squared norm in any fixed basis. -/ theorem ricciNormSq_eq_inverse_gram {n : β„•} {M : Type*} [TopologicalSpace M] [ChartedSpace (E n) M] [IsManifold (𝓑 n) ∞ M] [T2Space M] {g : RiemannianMetric n M} (D : LeviCivitaData g) (x : M) (b : Module.Basis (Fin n) ℝ (TangentSpace (𝓑 n) x)) : D.ricciNormSq x = βˆ‘ i, βˆ‘ j, βˆ‘ a, βˆ‘ c, (Matrix.of (fun i j => g.inner x (b i) (b j)))⁻¹ i j * ((Matrix.of (fun i j => g.inner x (b i) (b j)))⁻¹ a c * (D.ricci x (b i) (b a) * D.ricci x (b j) (b c))) := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let B := M13.ricciLinear D x let e := g.orthonormalBasis x let C : TangentSpace (𝓑 n) x β†’β‚—[ℝ] TangentSpace (𝓑 n) x β†’β‚—[ℝ] ℝ := βˆ‘ a, (B.flip (e a)).smulRight (B.flip (e a)) have hC (u v : TangentSpace (𝓑 n) x) : C u v = βˆ‘ a, B u (e a) * B v (e a) := by simp only [C, LinearMap.sum_apply, LinearMap.smulRight_apply, LinearMap.smul_apply, smul_eq_mul, LinearMap.flip_apply] have hinner (i j : Fin n) : C (b i) (b j) = βˆ‘ a, βˆ‘ c, (Matrix.of (fun i j => g.inner x (b i) (b j)))⁻¹ a c * (D.ricci x (b i) (b a) * D.ricci x (b j) (b c)) := by rw [hC] exact bilinear_sum_basis_eq_inverse_gram ((B (b i)).smulRight (B (b j))) b e calc D.ricciNormSq x = βˆ‘ a, C (e a) (e a) := by simp only [hC, pow_two, LeviCivitaData.ricciNormSq, B, e, M13.ricciLinear_apply] _ = βˆ‘ i, βˆ‘ j, (Matrix.of (fun i j => g.inner x (b i) (b j)))⁻¹ i j * C (b i) (b j) := bilinear_sum_basis_eq_inverse_gram C b e _ = _ := by simp only [hinner, Finset.mul_sum] /-- Theorem 12.28: the actual Ricci squared norm converges from second metric jets at moving points. -/ theorem ricciNormSq_tendsto_of_metric_jets {n : β„•} {gseq : β„• β†’ RiemannianMetric n (E n)} {g : RiemannianMetric n (E n)} (Dseq : βˆ€ k, LeviCivitaData (gseq k)) (D : LeviCivitaData g) (pseq : β„• β†’ E n) (p : E n) (hjet : βˆ€ m ≀ 2, Tendsto (fun k => iteratedFDeriv ℝ m (gseq k).euclideanCoefficients (pseq k)) atTop (𝓝 (iteratedFDeriv ℝ m g.euclideanCoefficients p))) : Tendsto (fun k => (Dseq k).ricciNormSq (pseq k)) atTop (𝓝 (D.ricciNormSq p)) := by let b := (EuclideanSpace.basisFun (Fin n) ℝ).toBasis have hI (i j : Fin n) : Tendsto (fun k => (Matrix.of (fun a c => (gseq k).inner (pseq k) (b a) (b c)))⁻¹ i j) atTop (𝓝 ((Matrix.of (fun a c => g.inner p (b a) (b c)))⁻¹ i j)) := by have h := ((continuousMultilinearCurryFin0 ℝ (E n) ℝ).continuous.tendsto _).comp (inverseGram_jets_tendsto_of_metric_jets pseq p b i j 0 (fun m hm => hjet m (by omega))) simpa only [iteratedFDeriv_zero_eq_comp, Function.comp_def, LinearIsometryEquiv.apply_symm_apply] using h have hR (u v : E n) : Tendsto (fun k => (Dseq k).ricci (pseq k) u v) atTop (𝓝 (D.ricci p u v)) := by have h := ((continuousMultilinearCurryFin0 ℝ (E n) ℝ).continuous.tendsto _).comp (ricci_jets_tendsto_of_metric_jets Dseq D pseq p u v 0 hjet) simpa only [iteratedFDeriv_zero_eq_comp, Function.comp_def, LinearIsometryEquiv.apply_symm_apply] using h simp_rw [ricciNormSq_eq_inverse_gram _ _ b] apply tendsto_finsetSum intro i _ apply tendsto_finsetSum intro j _ apply tendsto_finsetSum intro a _ apply tendsto_finsetSum intro c _ exact (hI i j).mul ((hI a c).mul ((hR (b i) (b a)).mul (hR (b j) (b c)))) /-- Theorem 12.28: the complete actual scalar evolution expression converges from four metric derivatives at the selected moving points. -/ theorem scalar_evolution_tendsto_of_metric_jets {n : β„•} {gseq : β„• β†’ RiemannianMetric n (E n)} {g : RiemannianMetric n (E n)} (Dseq : βˆ€ k, LeviCivitaData (gseq k)) (D : LeviCivitaData g) (pseq : β„• β†’ E n) (p : E n) (hjet : βˆ€ m ≀ 4, Tendsto (fun k => iteratedFDeriv ℝ m (gseq k).euclideanCoefficients (pseq k)) atTop (𝓝 (iteratedFDeriv ℝ m g.euclideanCoefficients p))) : Tendsto (fun k => (Dseq k).laplacian (Dseq k).scalarCurvature (pseq k) + 2 * (Dseq k).ricciNormSq (pseq k)) atTop (𝓝 (D.laplacian D.scalarCurvature p + 2 * D.ricciNormSq p)) := (scalar_laplacian_tendsto_of_metric_jets Dseq D pseq p hjet).add (tendsto_const_nhds.mul (ricciNormSq_tendsto_of_metric_jets Dseq D pseq p (fun m hm => hjet m (by omega)))) end PoincareMT.M35