import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Construction.Curvature.DoubleCurvature /-! # Compact doubles for metrics modified inside the collar Keep the original double's actual carrier, charts, and reflected overlap. A new smooth metric that agrees with the original metric on that collar descends through the same quotient. Its coefficient field and curvature norms are retained on both pieces. This is the terminal restart double in Morgan-Tian Theorem 12.5, pp. 296-297. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Topology Filter Poincare.Gluing open scoped Manifold ContDiff namespace PoincareMT.M34 variable {g : RiemannianMetric 3 StandardCapSpace} /-- Restrict a modified metric to the original double piece by the actual inclusion differential (Theorem 12.5, pp. 296-297). -/ noncomputable def modifiedEndDoublePieceMetric (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) : let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR RiemannianMetric 3 (EndDoublePiece e R) := by let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR exact h.pullbackOfLocalDiffeomorph Subtype.val (endDoublePiece_subtypeVal_isLocalDiffeomorph e hR) /-- The modified piece coefficients are the genuine inclusion pullback (Theorem 12.5, pp. 296-297). -/ theorem modifiedEndDoublePieceMetric_inner (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) : let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR โˆ€ (x : EndDoublePiece e R) (u v : TangentSpace (๐“ก 3) x), (modifiedEndDoublePieceMetric e h hR).inner x u v = h.inner (x : StandardCapSpace) (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x u) (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x v) := by let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR dsimp only intro x u v rfl /-- Equality on the reflected collar makes the two modified piece metrics compatible throughout every overlap (Theorem 12.5, pp. 296-297). -/ theorem modifiedEndDoubleMetrics_compatible (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) (hagrees : EqOn h.euclideanCoefficients g.euclideanCoefficients (endDoubleCollar e R)) : let := endDoublePiece_nonempty e hR CompatibleMetrics (fun _ : Bool => endTruncation e (R + 1)) (fun _ => endTruncation_isOpen e (show 0 โ‰ค R + 1 by linarith)) (endDoubleOverlap e hR) (fun _ => modifiedEndDoublePieceMetric e h hR) := by let := endDoublePiece_nonempty e hR let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR have heq (x : EndDoublePiece e R) (hx : (x : StandardCapSpace) โˆˆ endDoubleCollar e R) (u v : TangentSpace (๐“ก 3) x) : (modifiedEndDoublePieceMetric e h hR).inner x u v = (endDoublePieceMetric e hR).inner x u v := by rw [modifiedEndDoublePieceMetric_inner, endDoublePieceMetric_inner] exact congrArg (fun B => B (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x u) (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x v)) (hagrees hx) dsimp only [CompatibleMetrics] intro i j x hx u v by_cases hij : i = j ยท subst j rw [(endDoubleOverlap e hR).self] change (modifiedEndDoublePieceMetric e h hR).inner x u v = (modifiedEndDoublePieceMetric e h hR).inner x (mfderiv (๐“ก 3) (๐“ก 3) id x u) (mfderiv (๐“ก 3) (๐“ก 3) id x v) rw [mfderiv_id] rfl ยท have ht : (endDoubleOverlap e hR).transition i j = endDoubleTransition e hR := twoPieceOverlap_transition_ne _ _ hij rw [ht] at hx โŠข have hxval : (x : StandardCapSpace) โˆˆ endDoubleCollar e R := by simpa only [endDoubleTransition_source, mem_preimage] using hx have hyval : ((endDoubleTransition e hR x) : StandardCapSpace) โˆˆ endDoubleCollar e R := by rw [endDoubleTransition_apply_coe e hR hxval] exact endAxialReflection_maps_collar e hR hxval rw [heq x hxval, heq _ hyval] exact endDoubleTransition_metric e hR x hx u v /-- The actual descended metric on the original compact double for any smooth metric unchanged on the collar (Theorem 12.5, pp. 296-297). -/ noncomputable def modifiedEndDoubleMetric (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) (hagrees : EqOn h.euclideanCoefficients g.euclideanCoefficients (endDoubleCollar e R)) : RiemannianMetric 3 (EndDouble e hR) := by let := endDoublePiece_nonempty e hR exact quotientMetric (fun _ : Bool => endTruncation e (R + 1)) (fun _ => endTruncation_isOpen e (show 0 โ‰ค R + 1 by linarith)) (endDoubleOverlap e hR) (endDoubleOverlap_smooth e hR) (fun _ => modifiedEndDoublePieceMetric e h hR) (modifiedEndDoubleMetrics_compatible e h hR hagrees) /-- Both quotient inclusions preserve the modified metric through their actual tangent derivatives (Theorem 12.5, pp. 296-297). -/ theorem modifiedEndDoubleMetric_preserves (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) (hagrees : EqOn h.euclideanCoefficients g.euclideanCoefficients (endDoubleCollar e R)) (i : Bool) : let := endDoublePieceChartedSpace e hR โˆ€ (x : EndDoublePiece e R) (u v : TangentSpace (๐“ก 3) x), h.inner (x : StandardCapSpace) (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x u) (mfderiv (๐“ก 3) (๐“ก 3) Subtype.val x v) = (modifiedEndDoubleMetric e h hR hagrees).inner ((endDoubleOverlap e hR).include i x) (mfderiv (๐“ก 3) (๐“ก 3) ((endDoubleOverlap e hR).include i) x u) (mfderiv (๐“ก 3) (๐“ก 3) ((endDoubleOverlap e hR).include i) x v) := by let := endDoublePieceChartedSpace e hR let := endDoublePiece_nonempty e hR dsimp only intro x u v exact quotientMetric_preserves (fun _ : Bool => endTruncation e (R + 1)) (fun _ => endTruncation_isOpen e (show 0 โ‰ค R + 1 by linarith)) (endDoubleOverlap e hR) (endDoubleOverlap_smooth e hR) (fun _ => modifiedEndDoublePieceMetric e h hR) (modifiedEndDoubleMetrics_compatible e h hR hagrees) i x u v /-- The original total cap parametrizations pull the descended metric back exactly to the modified metric on their open sources (Theorem 12.5, pp. 296-297). -/ theorem modifiedEndDoubleParametrization_metric (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) {R : โ„} (hR : 1 < R) (hagrees : EqOn h.euclideanCoefficients g.euclideanCoefficients (endDoubleCollar e R)) (i : Bool) {x : StandardCapSpace} (hx : x โˆˆ endTruncation e (R + 1)) (u v : TangentSpace (๐“ก 3) x) : h.inner x u v = (modifiedEndDoubleMetric e h hR hagrees).inner (endDoubleParametrization e hR i x) (mfderiv (๐“ก 3) (๐“ก 3) (endDoubleParametrization e hR i) x u) (mfderiv (๐“ก 3) (๐“ก 3) (endDoubleParametrization e hR i) x v) := by let := endDoublePiece_nonempty e hR let := endDoublePieceChartedSpace e hR let := endDoublePiece_isManifold e hR let p : EndDoublePiece e R := โŸจx, hxโŸฉ have hp := modifiedEndDoubleMetric_preserves e h hR hagrees i p u v rw [mfderiv_subtypeVal_singleton (endTruncation_isOpen e (show 0 โ‰ค R + 1 by linarith)) p] at hp change h.inner x u v = _ at hp rw [show x = (p : StandardCapSpace) from rfl, endDoubleParametrization_apply, endDoubleParametrization_mfderiv] exact hp /-- Actual covariant curvature bounds of the modified metric hold on the compact double for every compatible connection (Theorem 12.5, pp. 296-297). -/ theorem modifiedEndDouble_curvatureDerivative_le (e : StandardCylindricalEnd g) (h : RiemannianMetric 3 StandardCapSpace) (D : LeviCivitaData h) {R : โ„} (hR : 1 < R) (hagrees : EqOn h.euclideanCoefficients g.euclideanCoefficients (endDoubleCollar e R)) (m : โ„•) {C : โ„} (hbound : โˆ€ x : StandardCapSpace, D.curvatureDerivativeNorm m x โ‰ค C) (D' : LeviCivitaData (modifiedEndDoubleMetric e h hR hagrees)) (q : EndDouble e hR) : D'.curvatureDerivativeNorm m q โ‰ค C := by obtain โŸจi, x, hx, rflโŸฉ := endDoubleParametrization_cover e hR q rw [โ† D.curvatureDerivativeNorm_eq_pullback D' (endTruncation_isOpen e (show 0 โ‰ค R + 1 by linarith)) (endDoubleParametrization_contMDiffOn e hR i) (fun _ hy => endDoubleParametrization_mfderiv_isInvertible e hR i hy) (fun _ hy u v => modifiedEndDoubleParametrization_metric e h hR hagrees i hy u v) m hx] exact hbound x end PoincareMT.M34