import PoincareLib.Geometry.RicciFlow.Compactness.GeometricLimit.SourceCharts /-! # Metric coefficients of the countable source charts The canonical parametrization of a rescaled unit-ball chart agrees locally with the original chart after linear dilation. The chain rule multiplies its metric coefficients by the square of the dilation, retaining the positive lower bounds needed by geometric compactness. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false noncomputable section open Set Filter Metric Poincare.Gluing open scoped Topology Manifold ContDiff namespace PoincareMT.NormalChartCover variable {n : โ„•} {M : Type*} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] {g : โ„ โ†’ RiemannianMetric n M} {p : M} {T' T A R ฯ a b : โ„} {N : โ„•} local instance : Nonempty (ball (0 : EuclideanSpace โ„ (Fin n)) 1) := โŸจโŸจ0, by simpโŸฉโŸฉ /-- The coefficients in a rescaled unit chart are the original coefficients at the dilated point, multiplied by the square of the scale. -/ theorem unitBallMap_pullbackCoefficients (C : NormalChartCover g p T' T A R ฯ a b N) (hฯ : 0 < ฯ) (hฯR : ฯ / 2 โ‰ค R) (i : Fin (N + 1)) (t : โ„) {x : EuclideanSpace โ„ (Fin n)} (hx : x โˆˆ ball 0 1) (v w : EuclideanSpace โ„ (Fin n)) : (g t).pullbackCoefficients (ChartDistance.chartParametrization (fun _ : โ„• => ball 0 1) (fun _ => isOpen_ball) (i := 0) (C.unitBallMap i)) x v w = (ฯ / 2) ^ 2 * (g t).pullbackCoefficients (C.chart i) ((ฯ / 2) โ€ข x) v w := by let L : EuclideanSpace โ„ (Fin n) โ†’L[โ„] EuclideanSpace โ„ (Fin n) := (ฯ / 2) โ€ข ContinuousLinearMap.id โ„ _ let f := ChartDistance.chartParametrization (fun _ : โ„• => ball 0 1) (fun _ => isOpen_ball) (i := 0) (C.unitBallMap i) have heq : (C.chart i) โˆ˜ L =แถ [๐“ x] f := by filter_upwards [isOpen_ball.mem_nhds hx] with y hy change C.chart i ((ฯ / 2) โ€ข y) = f (โŸจy, hyโŸฉ : ball (0 : EuclideanSpace โ„ (Fin n)) 1) exact (ChartDistance.chartParametrization_apply (fun _ : โ„• => ball 0 1) (fun _ => isOpen_ball) (i := 0) (C.unitBallMap i) โŸจy, hyโŸฉ).symm have hxsource : L x โˆˆ (C.chart i).source := by rw [C.source] exact (ball_subset_ball hฯR) (rescale_mem_half_ball hฯ โŸจx, hxโŸฉ) have he := ((C.chart i).contMDiffOn.contMDiffAt ((C.chart i).open_source.mem_nhds hxsource)).mdifferentiableAt (by simp) have hd := mfderiv_comp x he L.differentiableAt.mdifferentiableAt rw [heq.mfderiv_eq, mfderiv_eq_fderiv, L.fderiv] at hd change (g t).inner (f x) (mfderiv (๐“ก n) (๐“ก n) f x v) (mfderiv (๐“ก n) (๐“ก n) f x w) = (ฯ / 2) ^ 2 * (g t).inner (C.chart i (L x)) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) (L x) v) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) (L x) w) rw [hd] have hpoint := heq.self_of_nhds change C.chart i (L x) = f x at hpoint rw [โ† hpoint] simp only [ContinuousLinearMap.comp_apply, L, smul_apply, map_smul, smul_eq_mul] change (ฯ / 2) * ((ฯ / 2) * (g t).inner (C.chart i ((ฯ / 2) โ€ข x)) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) ((ฯ / 2) โ€ข x) v) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) ((ฯ / 2) โ€ข x) w)) = (ฯ / 2) ^ 2 * (g t).inner (C.chart i ((ฯ / 2) โ€ข x)) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) ((ฯ / 2) โ€ข x) v) (mfderiv (๐“ก n) (๐“ก n) (C.chart i) ((ฯ / 2) โ€ข x) w) ring /-- All interior times retain the normalized lower coefficient bound on the unit ball; the scale is fixed by the chart stage, independently of time. -/ theorem unitBallMap_lower_coefficients (C : NormalChartCover g p T' T A R ฯ a b N) (hฯ : 0 < ฯ) (hฯR : ฯ / 2 โ‰ค R) (i : Fin (N + 1)) {t : โ„} (ht : t โˆˆ Ioo T' T) {x : EuclideanSpace โ„ (Fin n)} (hx : x โˆˆ ball 0 1) (v : EuclideanSpace โ„ (Fin n)) : (a * (ฯ / 2) ^ 2) * โ€–vโ€– ^ 2 โ‰ค (g t).pullbackCoefficients (ChartDistance.chartParametrization (fun _ : โ„• => ball 0 1) (fun _ => isOpen_ball) (i := 0) (C.unitBallMap i)) x v v := by rw [unitBallMap_pullbackCoefficients C hฯ hฯR i t hx] have hx' : (ฯ / 2) โ€ข x โˆˆ closedBall 0 (2 * ฯ) := (ball_subset_closedBall.trans (closedBall_subset_closedBall (by linarith))) (rescale_mem_half_ball hฯ โŸจx, hxโŸฉ) have h := mul_le_mul_of_nonneg_left (C.coefficients i t ht _ hx' v).1 (sq_nonneg (ฯ / 2)) nlinarith only [h] section Sequence variable {S : PointedFlowSequence n T' T} local instance (k : โ„•) : TopologicalSpace (S.carrier k).carrier := (S.carrier k).topologicalSpace local instance (k : โ„•) : ChartedSpace (EuclideanSpace โ„ (Fin n)) (S.carrier k).carrier := (S.carrier k).chartedSpace local instance (k : โ„•) : IsManifold (๐“ก n) โˆž (S.carrier k).carrier := (S.carrier k).isManifold variable {R ฯ a b : โ„• โ†’ โ„} {N : โ„• โ†’ โ„•} (cover : โˆ€ k j, j โ‰ค k โ†’ NormalChartCover ((S.flow k).flow.metric) (S.flow k).base T' T ((j : โ„) + 1) (R j) (ฯ j) (a j) (b j) (N j)) /-- Each enumerated chart eventually has a common positive coefficient lower bound for every interior time and every point of its unit-ball domain. -/ theorem diagonalUnitBallMap_eventually_lower_coefficients (hฯ : โˆ€ j, 0 < ฯ j) (hฯR : โˆ€ j, ฯ j / 2 โ‰ค R j) (ha : โˆ€ j, 0 < a j) (i : โ„•) : โˆƒ c : โ„, 0 < c โˆง โˆ€แถ  k in atTop, โˆ€ t โˆˆ Ioo T' T, โˆ€ x โˆˆ ball (0 : EuclideanSpace โ„ (Fin n)) 1, โˆ€ v, c * โ€–vโ€– ^ 2 โ‰ค ((S.flow k).flow.metric t).pullbackCoefficients (ChartDistance.chartParametrization (fun _ : โ„• => ball 0 1) (fun _ => isOpen_ball) (i := i) (diagonalUnitBallMap cover k i)) x v v := by let j := (Nat.unpair i).1 refine โŸจa j * (ฯ j / 2) ^ 2, mul_pos (ha j) (sq_pos_of_pos (half_pos (hฯ j))), ?_โŸฉ filter_upwards [eventually_ge_atTop j] with k hk t ht x hx v rw [diagonalUnitBallMap_of_le cover k i hk] exact unitBallMap_lower_coefficients (cover k j hk) (hฯ j) (hฯR j) _ ht hx v end Sequence end PoincareMT.NormalChartCover