import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Comparison.ComparisonPullback import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Comparison.Jets.ComparisonNeckJets /-! # The literal standard-chart surgery error Morgan--Tian Claim 13.1 compares the scalar-normalized constructed metric with the standard cap. The formula below is valid throughout the output coordinate ball. At the tip the neck weight vanishes, so no derivative of the retained inverse at the tip is used. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false -- Bilinear coefficient operations retain two continuous-linear slots. set_option maxSynthPendingDepth 12 open scoped Manifold ContDiff Topology universe u namespace PoincareMT.MetricSurgery local notation "E₃" => EuclideanSpace ℝ (Fin 3) variable {M : Type u} [TopologicalSpace M] [ChartedSpace E₃ M] [IsManifold (𝓑 3) ∞ M] {g : RiemannianMetric 3 M} theorem surgeryRetainedInverse_chart (gβ‚€ : StandardInitialMetric) (N : EpsilonNeck g) {p : StandardCapSpace} (hp : p ∈ Metric.ball 0 (radialEuclideanRadius gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon))) : surgeryRetainedInverse gβ‚€ N (surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon) p) = comparisonNeckLift gβ‚€ N p := by unfold surgeryRetainedInverse rw [surgeryBallChart_right_inverse gβ‚€ _ hp] rfl theorem surgeryRetainedInverse_chart_mfderiv (gβ‚€ : StandardInitialMetric) (N : EpsilonNeck g) (hcut : surgeryCapRadius gβ‚€ < N.epsilon⁻¹) {p : StandardCapSpace} (hp : p ∈ Metric.ball 0 (radialEuclideanRadius gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon))) (hp0 : p β‰  0) (v : StandardCapSpace) : mfderiv (𝓑 3) (𝓑 3) (surgeryRetainedInverse gβ‚€ N) (surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon) p) (mfderiv (𝓑 3) (𝓑 3) (surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon)) p v) = mfderiv (𝓑 3) (𝓑 3) (comparisonNeckLift gβ‚€ N) p v := by have hc := ((surgeryBallChart_contMDiffOn gβ‚€ _ _ hp).contMDiffAt (Metric.isOpen_ball.mem_nhds hp)).mdifferentiableAt (by simp) have hi := (surgeryRetainedInverse_contMDiffAt gβ‚€ N hcut (by rw [surgeryBallChart_right_inverse gβ‚€ _ hp] exact hp0)).mdifferentiableAt (by simp) have heq : surgeryRetainedInverse gβ‚€ N ∘ surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon) =αΆ [nhds p] comparisonNeckLift gβ‚€ N := by filter_upwards [Metric.isOpen_ball.mem_nhds hp] with x hx exact surgeryRetainedInverse_chart gβ‚€ N hx have hd := heq.mfderiv_eq (I := 𝓑 3) (I' := 𝓑 3) rw [mfderiv_comp p hi hc] at hd exact congrArg (fun A => A v) hd theorem surgeryMetric_chart_coefficients (gβ‚€ : StandardInitialMetric) (N : EpsilonNeck g) (hcut : surgeryCapRadius gβ‚€ < N.epsilon⁻¹) (C q eta r : ℝ) (heta : 0 < eta) (hr : 0 < r) {p : StandardCapSpace} (hp : p ∈ Metric.ball 0 (radialEuclideanRadius gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon))) : N.connection.scalarCurvature N.center β€’ (surgeryMetric gβ‚€ N hcut C q eta r N.scalar_center_pos heta hr).pullbackCoefficients (surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon)) p = radialConformalMultiplier gβ‚€ C q N.epsilon r p β€’ (radialNeckWeight gβ‚€ p β€’ (normalizedNeckMetric N).pullbackCoefficients (comparisonNeckLift gβ‚€ N) p + (1 - radialNeckWeight gβ‚€ p) β€’ (eta β€’ gβ‚€.metric.euclideanCoefficients p)) := by let e := surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon) have hmu : surgeryConformalMultiplier gβ‚€ N C q r (e p) = radialConformalMultiplier gβ‚€ C q N.epsilon r p := by unfold surgeryConformalMultiplier e rw [Function.comp_apply, surgeryBallChart_right_inverse gβ‚€ _ hp] have ha : surgeryNeckWeight gβ‚€ N (e p) = radialNeckWeight gβ‚€ p := by unfold surgeryNeckWeight e rw [Function.comp_apply, surgeryBallChart_right_inverse gβ‚€ _ hp] have hbg (v w : StandardCapSpace) : metricPullbackForm gβ‚€.metric (surgeryBallInclusion gβ‚€ _) (e p) (mfderiv (𝓑 3) (𝓑 3) e p v) (mfderiv (𝓑 3) (𝓑 3) e p w) = gβ‚€.metric.euclideanCoefficients p v w := by rw [metricPullbackForm_apply, surgeryBallChart_inclusion_mfderiv gβ‚€ _ hp, surgeryBallChart_inclusion_mfderiv gβ‚€ _ hp] erw [surgeryBallChart_right_inverse gβ‚€ _ hp] rfl apply ContinuousLinearMap.ext intro v apply ContinuousLinearMap.ext intro w change N.connection.scalarCurvature N.center * (surgeryMetric gβ‚€ N hcut C q eta r N.scalar_center_pos heta hr).inner (e p) (mfderiv (𝓑 3) (𝓑 3) e p v) (mfderiv (𝓑 3) (𝓑 3) e p w) = _ rw [surgeryMetric_inner, hmu, ha, hbg] simp only [smul_apply, add_apply, smul_eq_mul] by_cases hzero : radialNeckWeight gβ‚€ p = 0 Β· rw [hzero] simp only [zero_mul, sub_zero, one_mul, zero_add] field_simp [N.scalar_center_pos.ne'] Β· have hp0 : p β‰  0 := by intro hp0 subst p exact hzero (radialNeckWeight_eventually_zero gβ‚€).self_of_nhds have hneck : metricPullbackForm g (surgeryRetainedInverse gβ‚€ N) (e p) (mfderiv (𝓑 3) (𝓑 3) e p v) (mfderiv (𝓑 3) (𝓑 3) e p w) = g.pullbackCoefficients (comparisonNeckLift gβ‚€ N) p v w := by rw [metricPullbackForm_apply, surgeryRetainedInverse_chart_mfderiv gβ‚€ N hcut hp hp0, surgeryRetainedInverse_chart_mfderiv gβ‚€ N hcut hp hp0] erw [surgeryRetainedInverse_chart gβ‚€ N hp] rfl have hnorm : (normalizedNeckMetric N).pullbackCoefficients (comparisonNeckLift gβ‚€ N) p v w = N.connection.scalarCurvature N.center * g.pullbackCoefficients (comparisonNeckLift gβ‚€ N) p v w := by exact rescaledMetric_inner g _ N.scalar_center_pos (comparisonNeckLift gβ‚€ N p) (mfderiv (𝓑 3) (𝓑 3) (comparisonNeckLift gβ‚€ N) p v) (mfderiv (𝓑 3) (𝓑 3) (comparisonNeckLift gβ‚€ N) p w) rw [hneck, hnorm] field_simp [N.scalar_center_pos.ne'] theorem surgeryMetric_chart_error (gβ‚€ : StandardInitialMetric) (N : EpsilonNeck g) (hcut : surgeryCapRadius gβ‚€ < N.epsilon⁻¹) (C q r : ℝ) (heta : 0 < 1 - 6 * N.epsilon) (hr : 0 < r) {p : StandardCapSpace} (hp : p ∈ Metric.ball 0 (radialEuclideanRadius gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon))) : N.connection.scalarCurvature N.center β€’ (surgeryMetric gβ‚€ N hcut C q (1 - 6 * N.epsilon) r N.scalar_center_pos heta hr).pullbackCoefficients (surgeryBallChart gβ‚€ (surgeryOuterRadius gβ‚€ N.epsilon)) p - gβ‚€.metric.euclideanCoefficients p = (radialConformalMultiplier gβ‚€ C q N.epsilon r p * radialNeckWeight gβ‚€ p) β€’ ((normalizedNeckMetric N).pullbackCoefficients (comparisonNeckLift gβ‚€ N) p - gβ‚€.metric.euclideanCoefficients p) + standardScalarError gβ‚€ C q r N.epsilon p := by rw [surgeryMetric_chart_coefficients gβ‚€ N hcut C q (1 - 6 * N.epsilon) r heta hr hp] unfold standardScalarError module end PoincareMT.MetricSurgery