import Mathlib.Geometry.Manifold.MFDeriv.Atlas import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace import Mathlib.Analysis.Complex.Basic /-! # Centered Manifold Chart -/ namespace OAI.AlgebraicGeometry.Divisors.LineBundles.CenteredManifoldChart.BundleCycles noncomputable section /-! Actual manifold charts centered at the given point, with their two-sided differentiability derived from the atlas and translation. -/ open scoped _root_.Manifold ContDiff variable (F B : Type) [NormedAddCommGroup F] [NormedSpace โ„‚ F] [TopologicalSpace B] [ChartedSpace F B] [IsManifold ๐“˜(โ„‚, F) ฯ‰ B] def centeredManifoldChart (b : B) : OpenPartialHomeomorph B F := (chartAt F b).transHomeomorph (Homeomorph.subRight (chartAt F b b)) omit [NormedSpace โ„‚ F] [IsManifold ๐“˜(โ„‚, F) ฯ‰ B] in theorem centeredManifoldChart_source (b : B) : b โˆˆ (centeredManifoldChart F B b).source := mem_chart_source F b omit [NormedSpace โ„‚ F] [IsManifold ๐“˜(โ„‚, F) ฯ‰ B] in theorem centeredManifoldChart_point (b : B) : centeredManifoldChart F B b b = 0 := sub_self _ theorem centeredManifoldChart_mdifferentiable (b : B) : (centeredManifoldChart F B b).MDifferentiable ๐“˜(โ„‚, F) ๐“˜(โ„‚, F) := by have ht : (Homeomorph.subRight (chartAt F b b)).toOpenPartialHomeomorph.MDifferentiable ๐“˜(โ„‚, F) ๐“˜(โ„‚, F) := by constructor ยท exact (show ContDiff โ„‚ 1 (fun z : F => z - chartAt F b b) from contDiff_id.sub contDiff_const).contMDiff.contMDiffOn.mdifferentiableOn one_ne_zero ยท exact (show ContDiff โ„‚ 1 (fun z : F => z + chartAt F b b) from contDiff_id.add contDiff_const).contMDiff.contMDiffOn.mdifferentiableOn one_ne_zero unfold centeredManifoldChart rw [OpenPartialHomeomorph.transHomeomorph_eq_trans] exact (mdifferentiable_chart (I := ๐“˜(โ„‚, F)) b).trans ht end end OAI.AlgebraicGeometry.Divisors.LineBundles.CenteredManifoldChart.BundleCycles