import PoincareLib.Geometry.RicciFlow.Surgery.Comparison.Smoothing.Local.Riemannian import Mathlib.Geometry.Manifold.Riemannian.Basic import Mathlib.Analysis.Calculus.FDeriv.Equiv /-! # Normalizing a fixed smooth chart in the actual tangent norm Postcomposition by the inverse center derivative preserves a chart's affine-coordinate relation to the original chart. The resulting chart and its inverse have differential norm at most one at the center, and locally less than every constant greater than one in the Riemannian norms. Source: the quantitative smoothing section of the 2026-09-18 SurgeryComparison.Transport full contract, for Morgan--Tian Claim 18.22, printed p. 433. The semantic derivation is `proof-work/tasks/SurgeryComparison.Transport/derivations/smooth-chart-normalization.md`. -/ set_option autoImplicit false noncomputable section open Bundle Filter Set open scoped Topology Manifold ContDiff universe uE uH uM uF namespace PoincareMT.SurgeryComparison.Transport variable {E : Type uE} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type uH} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type uM} [TopologicalSpace M] [ChartedSpace H M] {F : Type uF} [NormedAddCommGroup F] [NormedSpace ℝ F] /-- The actual center derivative of a chart, with its vector-space target identified explicitly with the coordinate space. SurgeryComparison.Transport full contract, quantitative smoothing for Morgan--Tian Claim 18.22, p. 433. -/ def chartNormalizationLinearEquiv (e : OpenPartialHomeomorph M F) (he : e.MDifferentiable I π“˜(ℝ, F)) {x : M} (hx : x ∈ e.source) : TangentSpace I x ≃L[ℝ] F := (he.mfderiv hx).trans (NormedSpace.fromTangentSpace (e x)) /-- Normalize a fixed chart by its center derivative, keeping its source and its affine relation to the original coordinates. SurgeryComparison.Transport full contract, quantitative smoothing for Morgan--Tian Claim 18.22, p. 433. -/ def normalizedSmoothChart (e : OpenPartialHomeomorph M F) (he : e.MDifferentiable I π“˜(ℝ, F)) {x : M} (hx : x ∈ e.source) : OpenPartialHomeomorph M (TangentSpace I x) := e.trans (chartNormalizationLinearEquiv e he hx).symm.toHomeomorph.toOpenPartialHomeomorph variable (e : OpenPartialHomeomorph M F) (he : e.MDifferentiable I π“˜(ℝ, F)) {x : M} (hx : x ∈ e.source) /-- Normalization preserves the original chart source exactly. SurgeryComparison.Transport full contract, the fixed-chart requirement in quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_source : (normalizedSmoothChart e he hx).source = e.source := by change e.source ∩ Set.univ = e.source exact Set.inter_univ _ /-- The normalized target is the linear preimage of the original target. SurgeryComparison.Transport full contract, the fixed-chart requirement in quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_target : (normalizedSmoothChart e he hx).target = (chartNormalizationLinearEquiv e he hx) ⁻¹' e.target := by change Set.univ ∩ (chartNormalizationLinearEquiv e he hx) ⁻¹' e.target = _ exact Set.univ_inter _ /-- The exact forward-coordinate formula for the normalized chart. SurgeryComparison.Transport full contract, quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_apply (y : M) : normalizedSmoothChart e he hx y = (chartNormalizationLinearEquiv e he hx).symm (e y) := rfl /-- The exact inverse-coordinate formula for the normalized chart. SurgeryComparison.Transport full contract, quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_symm_apply (z : TangentSpace I x) : (normalizedSmoothChart e he hx).symm z = e.symm (chartNormalizationLinearEquiv e he hx z) := rfl section Riemannian variable [RiemannianBundle (TangentSpace I : M β†’ Type uE)] /-- The forward normalized chart is smooth on its unchanged source. SurgeryComparison.Transport full contract, quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_contMDiffOn (hs : ContMDiffOn I π“˜(ℝ, F) ∞ e e.source) : ContMDiffOn I π“˜(ℝ, TangentSpace I x) ∞ (normalizedSmoothChart e he hx) (normalizedSmoothChart e he hx).source := by rw [normalizedSmoothChart_source] exact (chartNormalizationLinearEquiv e he hx).symm.toContinuousLinearMap.contMDiff |>.comp_contMDiffOn hs /-- The inverse normalized chart is smooth on its target. SurgeryComparison.Transport full contract, quantitative smoothing for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_symm_contMDiffOn (hs : ContMDiffOn π“˜(ℝ, F) I ∞ e.symm e.target) : ContMDiffOn π“˜(ℝ, TangentSpace I x) I ∞ (normalizedSmoothChart e he hx).symm (normalizedSmoothChart e he hx).target := by rw [normalizedSmoothChart_target] exact hs.comp (chartNormalizationLinearEquiv e he hx).toContinuousLinearMap.contMDiffOn (fun _ hz => hz) /-- After the canonical tangent-vector identification, the center differential of the normalized chart is the identity. SurgeryComparison.Transport full contract, the near-isometry chart step for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_mfderiv_apply (v : TangentSpace I x) : NormedSpace.fromTangentSpace (normalizedSmoothChart e he hx x) (mfderiv I π“˜(ℝ, TangentSpace I x) (normalizedSmoothChart e he hx) x v) = v := by let A := chartNormalizationLinearEquiv e he hx change NormedSpace.fromTangentSpace (A.symm (e x)) (mfderiv I π“˜(ℝ, TangentSpace I x) (A.symm ∘ e) x v) = v rw [mfderiv_comp x A.symm.differentiableAt.mdifferentiableAt (he.mdifferentiableAt hx)] simp only [mfderiv_eq_fderiv, ContinuousLinearEquiv.fderiv] change A.symm (A v) = v exact A.symm_apply_apply v /-- The center differential has operator norm at most one in the actual Riemannian tangent norm, including dimension zero. SurgeryComparison.Transport full contract, the near-isometry chart step for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_norm_mfderiv_le : β€–mfderiv I π“˜(ℝ, TangentSpace I x) (normalizedSmoothChart e he hx) xβ€– ≀ 1 := by apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one intro v rw [one_mul, norm_tangentSpace_vectorSpace] change β€–NormedSpace.fromTangentSpace (normalizedSmoothChart e he hx x) (mfderiv I π“˜(ℝ, TangentSpace I x) (normalizedSmoothChart e he hx) x v)β€– ≀ β€–vβ€– exact (congrArg norm (normalizedSmoothChart_mfderiv_apply e he hx v)).le /-- The inverse center differential has the same unit operator bound, using the inverse chart identity to identify the correct metric fiber. SurgeryComparison.Transport full contract, near-isometry chart step for Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_symm_norm_mfderiv_le : β€–mfderiv π“˜(ℝ, TangentSpace I x) I (normalizedSmoothChart e he hx).symm (normalizedSmoothChart e he hx x)β€– ≀ 1 := by let A := chartNormalizationLinearEquiv e he hx let n := normalizedSmoothChart e he hx have hnx : x ∈ n.source := by simpa only [n, normalizedSmoothChart_source] using hx have hAx : A (n x) = e x := A.apply_symm_apply _ have hinv : MDifferentiableAt π“˜(ℝ, F) I e.symm (A (n x)) := by rw [hAx] exact he.mdifferentiableAt_symm (e.map_source hx) have hnorm (w : TangentSpace I x) : β€–(show TangentSpace I (n.symm (n x)) from w)β€– = β€–wβ€– := by rw [n.left_inv hnx] apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one intro v have hvalue : mfderiv π“˜(ℝ, TangentSpace I x) I n.symm (n x) v = NormedSpace.fromTangentSpace (n x) v := by change mfderiv π“˜(ℝ, TangentSpace I x) I (e.symm ∘ A) (n x) v = _ rw [mfderiv_comp (n x) hinv A.differentiableAt.mdifferentiableAt] simp only [mfderiv_eq_fderiv, ContinuousLinearEquiv.fderiv] rw [hAx] change (he.mfderiv hx).symm ((he.mfderiv hx) (NormedSpace.fromTangentSpace (n x) v)) = _ exact (he.mfderiv hx).symm_apply_apply _ change β€–mfderiv π“˜(ℝ, TangentSpace I x) I n.symm (n x) vβ€– ≀ 1 * β€–vβ€– rw [one_mul] exact ((congrArg norm hvalue).trans ((hnorm (NormedSpace.fromTangentSpace (n x) v)).trans (norm_tangentSpace_vectorSpace (v := v)).symm)).le variable [IsManifold I ∞ M] [IsContinuousRiemannianBundle E (TangentSpace I : M β†’ Type uE)] /-- A fixed normalized smooth chart and its inverse have operator norm locally below every `C > 1`. The chart is chosen before `C`; only the neighborhoods depend on this bound. SurgeryComparison.Transport full contract, quantitative smoothing for Morgan--Tian Claim 18.22, p. 433. -/ theorem normalizedSmoothChart_eventually_norm_mfderiv_lt (hs : ContMDiffOn I π“˜(ℝ, F) ∞ e e.source) (hi : ContMDiffOn π“˜(ℝ, F) I ∞ e.symm e.target) {C : ℝ} (hC : 1 < C) : (βˆ€αΆ  y in 𝓝 x, β€–mfderiv I π“˜(ℝ, TangentSpace I x) (normalizedSmoothChart e he hx) yβ€– < C) ∧ (βˆ€αΆ  z in 𝓝 (normalizedSmoothChart e he hx x), β€–mfderiv π“˜(ℝ, TangentSpace I x) I (normalizedSmoothChart e he hx).symm zβ€– < C) := by letI : IsContinuousRiemannianBundle (TangentSpace I x) (TangentSpace π“˜(ℝ, TangentSpace I x)) := { exists_continuous := ⟨(riemannianMetricVectorSpace (TangentSpace I x)).inner, (riemannianMetricVectorSpace (TangentSpace I x)).contMDiff.continuous, fun _ _ _ => rfl⟩ } let n := normalizedSmoothChart e he hx have hnx : x ∈ n.source := by simpa only [n, normalizedSmoothChart_source] using hx constructor Β· apply eventually_norm_mfderiv_lt Β· exact ((normalizedSmoothChart_contMDiffOn e he hx hs).contMDiffAt (n.open_source.mem_nhds hnx)).of_le (by norm_num) Β· exact (normalizedSmoothChart_norm_mfderiv_le e he hx).trans_lt hC Β· apply eventually_norm_mfderiv_lt Β· exact ((normalizedSmoothChart_symm_contMDiffOn e he hx hi).contMDiffAt (n.open_target.mem_nhds (n.map_source hnx))).of_le (by norm_num) Β· exact (normalizedSmoothChart_symm_norm_mfderiv_le e he hx).trans_lt hC end Riemannian end PoincareMT.SurgeryComparison.Transport