import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.GeometryImports import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.PartialLimits.RegularSets.CompactImageRegularity import PoincareLib.Geometry.Riemannian.Comparison.Injectivity.PullbackGeodesics /-! # A fixed Euclidean buffer for the moving image metric The lower quadratic bound on the outer coordinate ball gives intrinsic regularity of radius a/8 at every image of its closed a/64 ball. The inverse buffer lies in the compact a/2 ball. Source: Morgan--Tian's local cone-limit argument, pp. 263-265; M28 derivation 132, Sections 2-3. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Metric open scoped Manifold ContDiff Topology ENNReal namespace PoincareMT.M28 attribute [local instance] normedAddCommGroupTangentSpaceVectorSpace normedSpaceTangentSpaceVectorSpace local notation "E" => EuclideanSpace ℝ (Fin 3) variable {N : Type*} [TopologicalSpace N] [T2Space N] [ChartedSpace E N] [IsManifold (𝓑 3) ∞ N] /-- The explicit outer, buffer, and inner radii give literal intrinsic image regularity from the lower coefficient bound. Compactness is used only for the Euclidean buffer, without a complete ambient manifold. -/ theorem mem_intrinsicImage_regularPoints_of_euclidean_buffer (h : RiemannianMetric 3 N) (e : PartialDiffeomorph (𝓑 3) (𝓑 3) E N ∞) {a : ℝ} (ha : 0 < a) (hsource : ball (0 : E) a βŠ† e.source) (hlower : βˆ€ z ∈ ball (0 : E) a, βˆ€ v : E, (1 / 8 : ℝ) * β€–vβ€– ^ 2 ≀ h.inner (e z) (mfderiv (𝓑 3) (𝓑 3) e z v) (mfderiv (𝓑 3) (𝓑 3) e z v)) {x : E} (hx : x ∈ closedBall (0 : E) (a / 64)) : let V : TopologicalSpace.Opens E := ⟨ball 0 a, isOpen_ball⟩ let W : TopologicalSpace.Opens N := ⟨e '' (V : Set E), e.toOpenPartialHomeomorph.isOpen_image_of_subset_source V.isOpen hsource⟩ βˆ€ p : W, (p : N) = e x β†’ p ∈ regularPoints (intrinsicOpenMetric h W) (a / 8) := by let V : TopologicalSpace.Opens E := ⟨ball 0 a, isOpen_ball⟩ let W : TopologicalSpace.Opens N := ⟨e '' (V : Set E), e.toOpenPartialHomeomorph.isOpen_image_of_subset_source V.isOpen hsource⟩ have hxV : x ∈ (V : Set E) := closedBall_subset_ball (by linarith) hx have hKV : closedBall (0 : E) (a / 2) βŠ† (V : Set E) := closedBall_subset_ball (by linarith) have hbound : βˆ€ z ∈ (V : Set E), βˆ€ v : TangentSpace (𝓑 3) z, (RiemannianMetric.euclideanMetric 3).inner z v v ≀ (3 : ℝ) ^ 2 * h.inner (e z) (mfderiv (𝓑 3) (𝓑 3) e z v) (mfderiv (𝓑 3) (𝓑 3) e z v) := by intro z hz v rw [RiemannianMetric.euclideanMetric_inner, real_inner_self_eq_norm_sq] nlinarith [hlower z hz v, sq_nonneg β€–(v : E)β€–] have hball : (RiemannianMetric.euclideanMetric 3).ball x (3 * (a / 8)) βŠ† closedBall (0 : E) (a / 2) := by intro y hy change (RiemannianMetric.euclideanMetric 3).edist x y < ENNReal.ofReal (3 * (a / 8)) at hy rw [RiemannianMetric.euclideanMetric_edist, edist_dist] at hy have hxy : dist x y < 3 * (a / 8) := (ENNReal.ofReal_lt_ofReal_iff (by positivity)).mp hy have hx0 : dist x 0 ≀ a / 64 := hx have hy0 := dist_triangle y x (0 : E) rw [dist_comm y x] at hy0 change dist y 0 ≀ a / 2 linarith change βˆ€ p : W, (p : N) = e x β†’ p ∈ regularPoints (intrinsicOpenMetric h W) (a / 8) intro p hp have heq : (⟨e x, x, hxV, rfl⟩ : W) = p := Subtype.ext hp.symm rw [← heq] exact mem_intrinsicImage_regularPoints_of_compact_inverse_buffer (RiemannianMetric.euclideanMetric 3) h e V hsource (isCompact_closedBall 0 (a / 2)) hKV (by norm_num : (0 : ℝ) < 3) hbound hxV (by positivity) hball end PoincareMT.M28