import PoincareLib.Geometry.RicciFlow.Rescaling.Contraction import PoincareLib.Geometry.RicciFlow.TimeTranslation /-! # Parabolic rescaling of the actual Ricci flow The affine time change and the metric factor cancel in the flow equation. Smoothness and derivatives are taken within the prescribed time interval, so the construction also applies at included endpoints. See Kleiner--Lott, Corollary 44.1, pp. 2682--2683. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter Topology Bundle open scoped Manifold ContDiff Bundle universe u namespace PoincareMT.RicciFlow variable {n : โ„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] {J K : Set โ„} /-- The flow `c g(ฯ„ + s/c)` on any nondegenerate interval mapped into the domain. -/ noncomputable def parabolicRescale (F : RicciFlow n M J) (c : โ„) (hc : 0 < c) (ฯ„ : โ„) (hKJ : MapsTo (fun s : โ„ โ†ฆ ฯ„ + s / c) K J) (hK : K.OrdConnected) (hne : K.Nontrivial) : RicciFlow n M K where metric s := rescaledMetric (F.metric (ฯ„ + s / c)) c hc connection s := rescaledMetric_connection (F.metric (ฯ„ + s / c)) (F.connection (ฯ„ + s / c)) c hc interval := hK nontrivial := hne smooth := by have hf : ContMDiffOn (๐“˜(โ„, โ„).prod (๐“ก n)) ๐“˜(โ„, โ„) โˆž (fun p : โ„ ร— M โ†ฆ p.1) (K ร—หข univ) := contMDiffOn_fst have hcst : ContMDiffOn (๐“˜(โ„, โ„).prod (๐“ก n)) ๐“˜(โ„, โ„) โˆž (fun _ : โ„ ร— M โ†ฆ cโปยน) (K ร—หข univ) := contMDiffOn_const have htime : ContMDiffOn (๐“˜(โ„, โ„).prod (๐“ก n)) (๐“˜(โ„, โ„).prod (๐“ก n)) โˆž (fun p : โ„ ร— M โ†ฆ (ฯ„ + p.1 / c, p.2)) (K ร—หข univ) := by simpa only [Pi.add_apply, Pi.smul_apply, smul_eq_mul, Pi.mul_apply, div_eq_mul_inv, mul_comm cโปยน] using ((contMDiffOn_const (c := ฯ„)).add (hcst.smul hf)).prodMk (contMDiffOn_snd (M := โ„) (N := M)) have hs := F.smooth.comp htime (fun p hp โ†ฆ โŸจhKJ hp.1, hp.2โŸฉ) intro p hp have hsp := hs p hp rw [Bundle.contMDiffWithinAt_totalSpace] at hsp โŠข refine โŸจhsp.1, ?_โŸฉ let E := EuclideanSpace โ„ (Fin n) โ†’L[โ„] EuclideanSpace โ„ (Fin n) โ†’L[โ„] โ„ let : NormedAddCommGroup E := inferInstanceAs (NormedAddCommGroup (EuclideanSpace โ„ (Fin n) โ†’L[โ„] EuclideanSpace โ„ (Fin n) โ†’L[โ„] โ„)) let : NormedSpace โ„ E := inferInstanceAs (NormedSpace โ„ (EuclideanSpace โ„ (Fin n) โ†’L[โ„] EuclideanSpace โ„ (Fin n) โ†’L[โ„] โ„)) let V := fun x : M โ†ฆ TangentSpace (๐“ก n) x โ†’L[โ„] TangentSpace (๐“ก n) x โ†’L[โ„] โ„ let (x : M) : ContinuousAdd (TangentSpace (๐“ก n) x โ†’L[โ„] โ„) := inferInstanceAs (ContinuousAdd (EuclideanSpace โ„ (Fin n) โ†’L[โ„] โ„)) let : VectorBundle โ„ E V := inferInstanceAs (VectorBundle โ„ (EuclideanSpace โ„ (Fin n) โ†’L[โ„] EuclideanSpace โ„ (Fin n) โ†’L[โ„] โ„) (fun x : M โ†ฆ TangentSpace (๐“ก n) x โ†’L[โ„] TangentSpace (๐“ก n) x โ†’L[โ„] โ„)) let e := trivializationAt E V p.2 let : e.IsLinear โ„ := trivialization_linear โ„ (F := E) (E := V) e have he : โˆ€แถ  q : โ„ ร— M in ๐“[K ร—หข univ] p, q.2 โˆˆ e.baseSet := continuous_snd.continuousWithinAt (e.open_baseSet.mem_nhds (FiberBundle.mem_baseSet_trivializationAt E V p.2)) have hconst : ContMDiffWithinAt (๐“˜(โ„, โ„).prod (๐“ก n)) ๐“˜(โ„, โ„) โˆž (fun _ : โ„ ร— M โ†ฆ c) (K ร—หข univ) p := contMDiffWithinAt_const apply (hconst.smul hsp.2).congr_of_eventuallyEq ยท filter_upwards [he] with q hq exact ((e.linear โ„ hq).map_smul c ((F.metric (ฯ„ + q.1 / c)).inner q.2)) ยท exact ((e.linear โ„ (FiberBundle.mem_baseSet_trivializationAt E V p.2)).map_smul c ((F.metric (ฯ„ + p.1 / c)).inner p.2)) equation := by intro s hs x u v have hinner : HasDerivWithinAt (fun r : โ„ โ†ฆ ฯ„ + r / c) cโปยน K s := by simpa only [one_div, id_eq] using (((hasDerivAt_id s).div_const c).const_add ฯ„).hasDerivWithinAt have houter := F.equation (ฯ„ + s / c) (hKJ hs) x u v have hcomp := (houter.comp s hinner hKJ).const_mul c simpa only [Function.comp_def, rescaledMetric_inner, rescaledMetric_ricci, show c * (-2 * (F.connection (ฯ„ + s / c)).ricci x u v * cโปยน) = -2 * (F.connection (ฯ„ + s / c)).ricci x u v by field_simp] using hcomp theorem parabolicRescale_metric (F : RicciFlow n M J) (c : โ„) (hc : 0 < c) (ฯ„ : โ„) (hKJ : MapsTo (fun s : โ„ โ†ฆ ฯ„ + s / c) K J) (hK : K.OrdConnected) (hne : K.Nontrivial) (s : โ„) : (F.parabolicRescale c hc ฯ„ hKJ hK hne).metric s = rescaledMetric (F.metric (ฯ„ + s / c)) c hc := rfl end PoincareMT.RicciFlow