import PoincareLib.Geometry.RicciFlow.Soliton.TwoDimensional.Ancient.Entropy.ScalarEvolution import PoincareLib.Geometry.RicciFlow.Soliton.Homothety import Mathlib.Analysis.Calculus.MeanValue /-! # Scalar normalization of a cylindrical limit Spatial constancy eliminates the scalar Laplacian. For a round surface or an ambient flow with cylindrical Ricci norm, the inverse scalar curvature then has derivative minus one. Positivity throughout `Iio 1` and a lower bound diverging at time one determine the extinction parameter. -/ noncomputable section set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter open scoped Manifold ContDiff Bundle Topology namespace PoincareMT.RicciFlow variable {N : Type*} [TopologicalSpace N] [ChartedSpace (EuclideanSpace โ„ (Fin 2)) N] [IsManifold (๐“ก 2) โˆž N] /-- Spatial roundness reduces the genuine scalar evolution equation to the scalar Riccati equation. -/ theorem hasDerivAt_scalarCurvature_round_surface {J : Set โ„} (H : RicciFlow 2 N J) {t : โ„} (ht : t โˆˆ interior J) (hround : ConstantPositiveSectionalCurvature (H.metric t) (H.connection t)) (x : N) : HasDerivAt (fun s โ†ฆ (H.connection s).scalarCurvature x) ((H.connection t).scalarCurvature x ^ 2) t := by obtain โŸจR, _, hRโŸฉ := (constantPositiveSectionalCurvature_iff_scalarCurvature _).mp hround have hconst : (H.connection t).scalarCurvature = fun _ โ†ฆ R := funext hR have hlap : (H.connection t).laplacian (H.connection t).scalarCurvature x = 0 := by rw [hconst] simp only [LeviCivitaData.laplacian, LeviCivitaData.hessian, LeviCivitaData.hessianOnFields, mvfderiv_const, zero_apply, sub_self, Finset.sum_const_zero] simpa only [hlap, zero_add] using H.hasDerivAt_scalarCurvature_surface ht x /-- Positivity up to time one and the shrinking lower bound determine the extinction parameter in the scalar Riccati equation. -/ theorem eq_inverse_one_sub_of_riccati_lower_bound {R : โ„ โ†’ โ„} (hpositive : โˆ€ t < 1, 0 < R t) (hderivative : โˆ€ t < 1, HasDerivAt R (R t ^ 2) t) {c : โ„} (hc : 0 < c) (hlower : โˆ€ t < 1, c / (1 - t) โ‰ค R t) : โˆ€ t < 1, R t = 1 / (1 - t) := by have hinv (s : โ„) (hs : s < 1) : HasDerivAt (fun t โ†ฆ (R t)โปยน) (-1) s := by have h := (hderivative s hs).inv (hpositive s hs).ne' convert! h using 1 simp [(hpositive s hs).ne'] have hsum (s : โ„) (hs : s < 1) : HasDerivAt (fun t โ†ฆ (R t)โปยน + t) 0 s := by convert! (hinv s hs).add (hasDerivAt_id s) using 1 norm_num let A := (R 0)โปยน have hconstant (s : โ„) (hs : s < 1) : (R s)โปยน + s = A := by have h := isOpen_Iio.is_const_of_deriv_eq_zero (convex_Iio (1 : โ„)).isPreconnected (fun t ht โ†ฆ (hsum t ht).differentiableAt.differentiableWithinAt) (fun t ht โ†ฆ (hsum t ht).deriv) hs (show (0 : โ„) โˆˆ Iio 1 by norm_num) simpa only [add_zero] using h have hinverse (s : โ„) (hs : s < 1) : (R s)โปยน = A - s := by linarith [hconstant s hs] have hAlo : 1 โ‰ค A := by by_contra h have hA : A < 1 := lt_of_not_ge h have hs : (A + 1) / 2 < 1 := by linarith have hp := inv_pos.mpr (hpositive ((A + 1) / 2) hs) rw [hinverse _ hs] at hp linarith have hbound (s : โ„) (hs : s < 1) : c * (A - s) โ‰ค 1 - s := by have h := (div_le_iffโ‚€ (sub_pos.mpr hs)).mp (hlower s hs) have h' : c / R s โ‰ค 1 - s := (div_le_iffโ‚€ (hpositive s hs)).mpr (by nlinarith) simpa only [div_eq_mul_inv, hinverse s hs] using h' have hlim : Tendsto (fun s : โ„ โ†ฆ c * (A - s) - (1 - s)) (๐“[<] (1 : โ„)) (๐“ (c * (A - 1))) := by have hid : Tendsto (fun s : โ„ โ†ฆ s) (๐“[<] (1 : โ„)) (๐“ (1 : โ„)) := tendsto_id.mono_left nhdsWithin_le_nhds simpa only [sub_self, sub_zero] using ((tendsto_const_nhds (x := c)).mul ((tendsto_const_nhds (x := A)).sub hid)).sub ((tendsto_const_nhds (x := (1 : โ„))).sub hid) have hprod : c * (A - 1) โ‰ค 0 := by apply le_of_tendsto hlim filter_upwards [self_mem_nhdsWithin] with s hs exact sub_nonpos.mpr (hbound s hs) have hA : A = 1 := by nlinarith intro t ht have h := hinverse t ht rw [hA] at h have hi := congrArg Inv.inv h simpa only [inv_inv, one_div] using hi /-- A round surface flow defined up to time one, whose scalar curvature is bounded below by a positive multiple of `(1 - t)โปยน`, has exactly the normalized scalar curvature `(1 - t)โปยน` at every time and point. -/ theorem scalarCurvature_eq_one_div_one_sub_of_round_lower_bound (H : RicciFlow 2 N (Iio 1)) (hround : โˆ€ t < 1, ConstantPositiveSectionalCurvature (H.metric t) (H.connection t)) {c : โ„} (hc : 0 < c) (hlower : โˆ€ t < 1, โˆ€ x : N, c / (1 - t) โ‰ค (H.connection t).scalarCurvature x) : โˆ€ t < 1, โˆ€ x : N, (H.connection t).scalarCurvature x = 1 / (1 - t) := by intro t ht x apply eq_inverse_one_sub_of_riccati_lower_bound (R := fun s โ†ฆ (H.connection s).scalarCurvature x) ?_ ?_ hc (fun s hs โ†ฆ hlower s hs x) t ht ยท intro s hs exact (div_pos hc (sub_pos.mpr hs)).trans_le (hlower s hs x) ยท intro s hs exact H.hasDerivAt_scalarCurvature_round_surface (by simpa only [interior_Iio, mem_Iio] using hs) (hround s hs) x section Ambient variable {n : โ„•} {M : Type*} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin n)) M] [IsManifold (๐“ก n) โˆž M] /-- Spatial scalar constancy and the cylindrical Ricci norm identity reduce the actual ambient scalar evolution equation to the Riccati equation. -/ theorem hasDerivAt_scalarCurvature_of_spatially_constant {J : Set โ„} (F : RicciFlow n M J) {t : โ„} (ht : t โˆˆ interior J) (hconst : โˆ€ x y : M, (F.connection t).scalarCurvature x = (F.connection t).scalarCurvature y) (hnorm : โˆ€ x : M, (F.connection t).ricciNormSq x = (1 / 2 : โ„) * (F.connection t).scalarCurvature x ^ 2) (x : M) : HasDerivAt (fun s โ†ฆ (F.connection s).scalarCurvature x) ((F.connection t).scalarCurvature x ^ 2) t := by have hscalar : (F.connection t).scalarCurvature = fun _ โ†ฆ (F.connection t).scalarCurvature x := funext fun y โ†ฆ hconst y x have hlap : (F.connection t).laplacian (F.connection t).scalarCurvature x = 0 := by rw [hscalar] simp only [LeviCivitaData.laplacian, LeviCivitaData.hessian, LeviCivitaData.hessianOnFields, mvfderiv_const, zero_apply, sub_self, Finset.sum_const_zero] have h := F.hasDerivAt_scalarCurvature ht x rw [hlap, hnorm x] at h convert! h using 1 ring /-- Normalization follows on the actual ambient flow from spatial scalar constancy, the cylindrical Ricci norm, and the shrinking lower bound. -/ theorem scalarCurvature_eq_one_div_one_sub_of_spatially_constant_lower_bound (F : RicciFlow n M (Iio 1)) (hconst : โˆ€ t < 1, โˆ€ x y : M, (F.connection t).scalarCurvature x = (F.connection t).scalarCurvature y) (hnorm : โˆ€ t < 1, โˆ€ x : M, (F.connection t).ricciNormSq x = (1 / 2 : โ„) * (F.connection t).scalarCurvature x ^ 2) {c : โ„} (hc : 0 < c) (hlower : โˆ€ t < 1, โˆ€ x : M, c / (1 - t) โ‰ค (F.connection t).scalarCurvature x) : โˆ€ t < 1, โˆ€ x : M, (F.connection t).scalarCurvature x = 1 / (1 - t) := by intro t ht x apply eq_inverse_one_sub_of_riccati_lower_bound (R := fun s โ†ฆ (F.connection s).scalarCurvature x) ?_ ?_ hc (fun s hs โ†ฆ hlower s hs x) t ht ยท intro s hs exact (div_pos hc (sub_pos.mpr hs)).trans_le (hlower s hs x) ยท intro s hs exact F.hasDerivAt_scalarCurvature_of_spatially_constant (by simpa only [interior_Iio, mem_Iio] using hs) (hconst s hs) (hnorm s hs) x end Ambient end PoincareMT.RicciFlow