import PoincareLib.Geometry.RicciFlow.Surgery.Singular.RegularLimit.Canonical.Cap.Gradient.Persistence import PoincareLib.Geometry.RicciFlow.Surgery.Singular.RegularLimit.Canonical.Cap.ScalarEvolution /-! # Quantitative fields of the terminal cap This internal record separates the numerical fields of the frozen cap certificate from its two necks and its topology. Pointwise calibrated balls provide the single radius function required by that certificate. -/ set_option autoImplicit false open Set Filter open scoped Manifold ContDiff Bundle Topology ENNReal universe u namespace PoincareMT.SingularRegularLimit variable {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace โ„ (Fin 3)) M] [IsManifold (๐“ก 3) โˆž M] [MeasurableSpace M] [BorelSpace M] [T3Space M] /-- The numerical fields used in constructing the actual terminal cap. -/ structure CapQuantitativeData (g : RiemannianMetric 3 M) (D : LeviCivitaData g) (C : โ„) (carrier core : Set M) where scalar_pos : โˆ€ x โˆˆ carrier, 0 < D.scalarCurvature x intrinsic_diameter_bound : intrinsicDiameter g carrier < ENNReal.ofReal (C * scalarCurvatureSupOn g D carrier ^ (-1 / 2 : โ„)) scalar_ratio : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, โˆ€ y โˆˆ carrier, D.scalarCurvature y โ‰ค b * D.scalarCurvature x volume_bound : calibratedMetricVolume g carrier < ENNReal.ofReal C * ENNReal.ofReal (scalarCurvatureSupOn g D carrier ^ (-3 / 2 : โ„)) core_radius : M โ†’ โ„ core_radius_pos : โˆ€ y โˆˆ core, 0 < core_radius y core_radius_eq : โˆ€ y โˆˆ core, scalarCurvatureSupOn g D (g.ball y (core_radius y)) = (core_radius y)โปยน ^ 2 core_ball_subset : โˆ€ y โˆˆ core, closure (g.ball y (core_radius y)) โІ carrier core_ball_compact : โˆ€ y โˆˆ core, IsCompact (closure (g.ball y (core_radius y))) core_ball_volume_lower : โˆƒ b : โ„, Cโปยน < b โˆง โˆ€ y โˆˆ core, ENNReal.ofReal (b * core_radius y ^ 3) โ‰ค calibratedMetricVolume g (g.ball y (core_radius y)) gradient_bound : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, scalarGradientNorm g D x โ‰ค b * (D.scalarCurvature x) ^ (3 / 2 : โ„) laplacian_bound : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, |D.laplacian D.scalarCurvature x + 2 * D.ricciNormSq x| โ‰ค b * (D.scalarCurvature x) ^ 2 /-- Choose one calibrated radius at each core point, with a harmless value outside the core. The lower-volume coefficient is common to every point. -/ theorem CapQuantitativeData.nonempty_of_pointwise_radius (g : RiemannianMetric 3 M) (D : LeviCivitaData g) (C : โ„) (carrier core : Set M) (hscalar : โˆ€ x โˆˆ carrier, 0 < D.scalarCurvature x) (hdiameter : intrinsicDiameter g carrier < ENNReal.ofReal (C * scalarCurvatureSupOn g D carrier ^ (-1 / 2 : โ„))) (hratio : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, โˆ€ y โˆˆ carrier, D.scalarCurvature y โ‰ค b * D.scalarCurvature x) (hvolume : calibratedMetricVolume g carrier < ENNReal.ofReal C * ENNReal.ofReal (scalarCurvatureSupOn g D carrier ^ (-3 / 2 : โ„))) {b : โ„} (hb : Cโปยน < b) (hradius : โˆ€ x โˆˆ core, โˆƒ r : โ„, 0 < r โˆง scalarCurvatureSupOn g D (g.ball x r) = rโปยน ^ 2 โˆง closure (g.ball x r) โІ carrier โˆง IsCompact (closure (g.ball x r)) โˆง ENNReal.ofReal (b * r ^ 3) โ‰ค calibratedMetricVolume g (g.ball x r)) (hgradient : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, scalarGradientNorm g D x โ‰ค b * (D.scalarCurvature x) ^ (3 / 2 : โ„)) (hevolution : โˆƒ b : โ„, b < C โˆง โˆ€ x โˆˆ carrier, |D.laplacian D.scalarCurvature x + 2 * D.ricciNormSq x| โ‰ค b * (D.scalarCurvature x) ^ 2) : Nonempty (CapQuantitativeData g D C carrier core) := by classical let radius : M โ†’ โ„ := fun x => if hx : x โˆˆ core then (hradius x hx).choose else 1 have hchosen (x : M) (hx : x โˆˆ core) : 0 < radius x โˆง scalarCurvatureSupOn g D (g.ball x (radius x)) = (radius x)โปยน ^ 2 โˆง closure (g.ball x (radius x)) โІ carrier โˆง IsCompact (closure (g.ball x (radius x))) โˆง ENNReal.ofReal (b * radius x ^ 3) โ‰ค calibratedMetricVolume g (g.ball x (radius x)) := by simpa only [radius, dif_pos hx] using (hradius x hx).choose_spec exact โŸจ{ scalar_pos := hscalar intrinsic_diameter_bound := hdiameter scalar_ratio := hratio volume_bound := hvolume core_radius := radius core_radius_pos := fun x hx => (hchosen x hx).1 core_radius_eq := fun x hx => (hchosen x hx).2.1 core_ball_subset := fun x hx => (hchosen x hx).2.2.1 core_ball_compact := fun x hx => (hchosen x hx).2.2.2.1 core_ball_volume_lower := โŸจb, hb, fun x hx => (hchosen x hx).2.2.2.2โŸฉ gradient_bound := hgradient laplacian_bound := hevolution }โŸฉ end PoincareMT.SingularRegularLimit