import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Evolution.VolumeDensity import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Analysis.ExponentialComparison import PoincareLib.Geometry.RicciFlow.Volume.Surgery.Measure.CalibratedTransport /-! Adapted from Mapher `PoincareMT/Proofs/M49/VolumeEvolution.lean` at revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. # Ordinary calibrated-volume growth from a scalar lower bound Morgan-Tian, Lemma 17.12, p. 410: integrate the pointwise density estimate `J(b) <= exp(k * (b - a)) * J(a)` in each chart, then glue the resulting measure comparisons. In the surgery application the scalar lower bound gives `k = 6`. See `proof-work/tasks/M49/derivations/02-density-evolution.md`. -/ set_option autoImplicit false open Set Filter MeasureTheory open scoped Manifold ContDiff Bundle Topology ENNReal universe u namespace PoincareMT.SurgeryVolume variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] {J : Set ℝ} (F : RicciFlow n M J) /-- Scalar curvature bounds the actual coordinate-density growth (MT Lemma 17.12, p. 410). -/ theorem pullbackJacobian_le_exp_mul (f : EuclideanSpace ℝ (Fin n) β†’ M) (x : EuclideanSpace ℝ (Fin n)) (hD : Function.Bijective (mfderiv (𝓑 n) (𝓑 n) f x)) {a b k : ℝ} (hab : a ≀ b) (hJ : Icc a b βŠ† J) (hscalar : βˆ€ t ∈ Icc a b, -k ≀ (F.connection t).scalarCurvature (f x)) : SurgeryVolume.Measure.pullbackJacobian (F.metric b) f x ≀ Real.exp (k * (b - a)) * SurgeryVolume.Measure.pullbackJacobian (F.metric a) f x := by apply Real.le_exp_mul_of_hasDerivAt_le hab ((pullbackJacobian_continuousOn_time F f x).mono hJ) (f' := fun t => -(F.connection t).scalarCurvature (f x) * SurgeryVolume.Measure.pullbackJacobian (F.metric t) f x) Β· intro t ht exact pullbackJacobian_hasDerivAt F f x hD (mem_of_superset (isOpen_Ioo.mem_nhds ht) (Ioo_subset_Icc_self.trans hJ)) Β· intro t ht apply mul_le_mul_of_nonneg_right _ (SurgeryVolume.Measure.pullbackJacobian_nonneg _ _ _) linarith [hscalar t ⟨ht.1.le, ht.2.le⟩] variable [T3Space M] [MeasurableSpace M] [BorelSpace M] /-- The density inequality gives the local calibrated-volume estimate (MT Lemma 17.12, p. 410). -/ theorem calibratedMetricVolume_image_le_exp_mul (e : OpenPartialHomeomorph (EuclideanSpace ℝ (Fin n)) M) (he : ContMDiffOn (𝓑 n) (𝓑 n) 1 e e.source) (hei : ContMDiffOn (𝓑 n) (𝓑 n) 1 e.symm e.target) {a b k : ℝ} (hab : a ≀ b) (hJ : Icc a b βŠ† J) (hscalar : βˆ€ t ∈ Icc a b, βˆ€ x : M, -k ≀ (F.connection t).scalarCurvature x) {A : Set (EuclideanSpace ℝ (Fin n))} (hA : MeasurableSet A) (hAs : A βŠ† e.source) : calibratedMetricVolume (F.metric b) (e '' A) ≀ ENNReal.ofReal (Real.exp (k * (b - a))) * calibratedMetricVolume (F.metric a) (e '' A) := by have heD : e.MDifferentiable (𝓑 n) (𝓑 n) := ⟨he.mdifferentiableOn one_ne_zero, hei.mdifferentiableOn one_ne_zero⟩ rw [SurgeryVolume.Measure.calibratedMetricVolume_image_eq_lintegral (F.metric b) e he hei hA hAs, SurgeryVolume.Measure.calibratedMetricVolume_image_eq_lintegral (F.metric a) e he hei hA hAs] calc _ ≀ ∫⁻ x in A, ENNReal.ofReal (Real.exp (k * (b - a))) * ENNReal.ofReal (SurgeryVolume.Measure.pullbackJacobian (F.metric a) e x) := by apply lintegral_mono_ae filter_upwards [ae_restrict_mem hA] with x hx rw [← ENNReal.ofReal_mul (Real.exp_pos _).le] exact ENNReal.ofReal_le_ofReal (pullbackJacobian_le_exp_mul F e x (heD.mfderiv_bijective (hAs hx)) hab hJ (fun t ht => hscalar t ht (e x))) _ = _ := lintegral_const_mul' _ _ ENNReal.ofReal_ne_top variable [SecondCountableTopology M] /-- Ordinary evolution compares the actual calibrated measures on any Borel set (MT Lemma 17.12, p. 410). -/ theorem calibratedMetricVolume_le_exp_mul {a b k : ℝ} (hab : a ≀ b) (hJ : Icc a b βŠ† J) (hscalar : βˆ€ t ∈ Icc a b, βˆ€ x : M, -k ≀ (F.connection t).scalarCurvature x) {A : Set M} (hA : MeasurableSet A) : calibratedMetricVolume (F.metric b) A ≀ ENNReal.ofReal (Real.exp (k * (b - a))) * calibratedMetricVolume (F.metric a) A := by apply SurgeryVolume.Measure.measure_le_mul_of_local_comparison (U := univ) _ hA (subset_univ A) intro p _ let e := (chartAt (EuclideanSpace ℝ (Fin n)) p).symm refine ⟨e.target, e.open_target, mem_chart_source _ _, ?_⟩ intro B hB hBe have hpre : MeasurableSet ((Subtype.val : e.source β†’ EuclideanSpace ℝ (Fin n)) ⁻¹' (e ⁻¹' B)) := hB.preimage e.continuousOn.domRestrict.measurable have hC : MeasurableSet (e ⁻¹' B ∩ e.source) := by simpa only [Subtype.range_coe] using (MeasurableEmbedding.subtype_coe e.open_source.measurableSet).measurableSet_preimage.mp hpre have h := calibratedMetricVolume_image_le_exp_mul F e contMDiffOn_chart_symm contMDiffOn_chart hab hJ hscalar hC inter_subset_right rw [image_preimage_inter, e.image_source_eq_target, inter_eq_left.mpr hBe] at h exact h end PoincareMT.SurgeryVolume