Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Geometry/Manifold/MFDeriv/     Datei vom 15.10.2026 mit Größe 21 kB image not shown  

Quelle  Atlas.lean   Sprache: Lean

 

/-
Copyright (c) 2020 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Floris van Doorn
-/

module

public import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions
public import Mathlib.Geometry.Manifold.Notation
public import Mathlib.Geometry.Manifold.VectorBundle.Tangent

/-!
# Differentiability of models with corners and (extended) charts

In this file, we analyse the differentiability of charts, models with corners and extended charts.
We show that
* models with corners are differentiable
* charts are differentiable on their source
* `mdifferentiableOn_extChartAt`: `extChartAt` is differentiable on its source

Suppose an open partial homeomorphism `e` is differentiable. This file shows
* `OpenPartialHomeomorph.MDifferentiable.mfderiv`: its derivative is a continuous linear equivalence
* `OpenPartialHomeomorph.MDifferentiable.mfderiv_bijective`: its derivative is bijective;
  there are also spellings with trivial kernel and full range

In particular, (extended) charts have bijective differential.

## Tags
charts, differentiable, bijective
-/


@[expose] public section

noncomputable section

open Bundle Set

open scoped Manifold ContDiff Topology

variable {�� : Type*} [NontriviallyNormedField ��]
  {E : Type*} [NormedAddCommGroup E] [NormedSpace �� E] {H : Type*} [TopologicalSpace H]
  {I : ModelWithCorners �� E H} {M : Type*} [TopologicalSpace M] [ChartedSpace H M]
  {E' : Type*} [NormedAddCommGroup E'] [NormedSpace �� E'] {H' : Type*} [TopologicalSpace H']
  {I' : ModelWithCorners �� E' H'} {M' : Type*} [TopologicalSpace M'] [ChartedSpace H' M']
  {E'' : Type*} [NormedAddCommGroup E''] [NormedSpace �� E''] {H'' : Type*} [TopologicalSpace H'']
  {I'' : ModelWithCorners �� E'' H''} {M'' : Type*} [TopologicalSpace M''] [ChartedSpace H'' M'']

section ModelWithCorners
namespace ModelWithCorners

/- In general, the model with corner `I` is implicit in most theorems in differential geometry, but
this section is about `I` as a map, not as a parameter. Therefore, we make it explicit. -/

variable (I)

/-! #### Model with corners -/

protected theorem hasMFDerivAt {x} : HasMFDerivAt I ��(��, E) I x (ContinuousLinearMap.id _ _) :=
  ⟨I.continuousAt, (hasFDerivWithinAt_id _ _).congr' I.rightInvOn (mem_range_self _)⟩

protected theorem hasMFDerivWithinAt {s x} :
    HasMFDerivWithinAt I ��(��, E) I s x (ContinuousLinearMap.id _ _) :=
  I.hasMFDerivAt.hasMFDerivWithinAt

protected theorem mdifferentiableWithinAt {s x} : MDiffAt[s] I x :=
  I.hasMFDerivWithinAt.mdifferentiableWithinAt

protected theorem mdifferentiableAt {x} : MDiffAt I x :=
  I.hasMFDerivAt.mdifferentiableAt

protected theorem mdifferentiableOn {s} : MDiff[s] I := fun _ _ =>
  I.mdifferentiableWithinAt

protected theorem mdifferentiable : MDiff I := fun _ => I.mdifferentiableAt

theorem hasMFDerivWithinAt_symm {x} (hx : x ∈ range I) :
    HasMFDerivWithinAt ��(��, E) I I.symm (range I) x (ContinuousLinearMap.id _ _) :=
  ⟨I.continuousWithinAt_symm,
    (hasFDerivWithinAt_id _ _).congr' (fun _y hy => I.rightInvOn hy.1) ⟨hx, mem_range_self _⟩⟩

theorem mdifferentiableOn_symm : MDiff[range I] I.symm := fun _x hx =>
  (I.hasMFDerivWithinAt_symm hx).mdifferentiableWithinAt

theorem mdifferentiableWithinAt_symm {z : E} (hz : z ∈ range I) :
    MDiffAt[range I] I.symm z :=
  I.mdifferentiableOn_symm z hz

end ModelWithCorners

end ModelWithCorners

section Charts

variable {e : OpenPartialHomeomorph M H}

theorem mdifferentiableAt_of_mem_maximalAtlas
    (h : e ∈ IsManifold.maximalAtlas I 1 M) {x : M} (hx : x ∈ e.source) : MDiffAt e x :=
  (contMDiffAt_of_mem_maximalAtlas h hx).mdifferentiableAt one_ne_zero

lemma mdifferentiableAt_symm_of_mem_maximalAtlas
    (h : e ∈ IsManifold.maximalAtlas I 1 M) {x : H} (hx : x ∈ e.target) :
    MDiffAt e.symm x :=
  contMDiffAt_symm_of_mem_maximalAtlas h hx |>.mdifferentiableAt one_ne_zero

variable [IsManifold I 1 M] [IsManifold I' 1 M'] [IsManifold I'' 1 M'']

theorem mdifferentiableAt_atlas (h : e ∈ atlas H M) {x : M} (hx : x ∈ e.source) : MDiffAt e x :=
  contMDiffAt_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas h) hx
    |>.mdifferentiableAt one_ne_zero

theorem mdifferentiableOn_atlas (h : e ∈ atlas H M) : MDiff[e.source] e :=
  fun _x hx => (mdifferentiableAt_atlas h hx).mdifferentiableWithinAt

theorem mdifferentiableAt_atlas_symm (h : e ∈ atlas H M) {x : H} (hx : x ∈ e.target) :
    MDiffAt e.symm x :=
  mdifferentiableAt_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas h) hx

theorem mdifferentiableOn_atlas_symm (h : e ∈ atlas H M) : MDiff[e.target] e.symm :=
  fun _x hx => (mdifferentiableAt_atlas_symm h hx).mdifferentiableWithinAt

theorem mdifferentiable_of_mem_atlas (h : e ∈ atlas H M) : e.MDifferentiable I I :=
  ⟨mdifferentiableOn_atlas h, mdifferentiableOn_atlas_symm h⟩

theorem mdifferentiable_chart (x : M) : (chartAt H x).MDifferentiable I I :=
  mdifferentiable_of_mem_atlas (chart_mem_atlas _ _)

end Charts

/-! ### Differentiable open partial homeomorphisms -/

namespace OpenPartialHomeomorph.MDifferentiable
variable {e : OpenPartialHomeomorph M M'} (he : e.MDifferentiable I I')
  {e' : OpenPartialHomeomorph M' M''}
include he

nonrec theorem symm : e.symm.MDifferentiable I' I := he.symm

protected theorem mdifferentiableAt {x : M} (hx : x ∈ e.source) : MDiffAt e x :=
  (he.1 x hx).mdifferentiableAt (e.open_source.mem_nhds hx)

theorem mdifferentiableAt_symm {x : M'} (hx : x ∈ e.target) : MDiffAt e.symm x :=
  (he.2 x hx).mdifferentiableAt (e.open_target.mem_nhds hx)

theorem symm_comp_deriv {x : M} (hx : x ∈ e.source) :
    (mfderiv% e.symm (e x)).comp (mfderiv% e x) =
      ContinuousLinearMap.id �� (TangentSpace I x) := by
  have : mfderiv% (e.symm ∘ e) x = (mfderiv% e.symm (e x)).comp (mfderiv% e x) :=
    mfderiv_comp x (he.mdifferentiableAt_symm (e.map_source hx)) (he.mdifferentiableAt hx)
  rw [← this]
  have : mfderiv% (_root_.id : M → M) x = ContinuousLinearMap.id _ _ := mfderiv_id
  rw [← this]
  apply Filter.EventuallyEq.mfderiv_eq
  have : e.source ∈ �� x := e.open_source.mem_nhds hx
  exact Filter.mem_of_superset this (by mfld_set_tac)

theorem comp_symm_deriv {x : M'} (hx : x ∈ e.target) :
    (mfderiv% e (e.symm x)).comp (mfderiv% e.symm x) =
      ContinuousLinearMap.id �� (TangentSpace I' x) :=
  he.symm.symm_comp_deriv hx

/-- The derivative of a differentiable open partial homeomorphism, as a continuous linear
equivalence between the tangent spaces at `x` and `e x`. -/

protected def mfderiv (he : e.MDifferentiable I I') {x : M} (hx : x ∈ e.source) :
    TangentSpace I x ≃L[��] TangentSpace I' (e x) :=
  { mfderiv% e x with
    invFun := mfderiv% e.symm (e x)
    continuous_toFun := (mfderiv% e x).cont
    continuous_invFun := (mfderiv% e.symm (e x)).cont
    left_inv := fun y => by
      have : (ContinuousLinearMap.id _ _ : TangentSpace I x →L[��] TangentSpace I x) y = y := rfl
      conv_rhs => rw [← this, ← he.symm_comp_deriv hx]
      rfl
    right_inv := fun y => by
      have :
        (ContinuousLinearMap.id �� _ : TangentSpace I' (e x) →L[��] TangentSpace I' (e x)) y = y :=
        rfl
      conv_rhs => rw [← this, ← he.comp_symm_deriv (e.map_source hx)]
      rw [e.left_inv hx]
      rfl }

theorem mfderiv_bijective {x : M} (hx : x ∈ e.source) : Function.Bijective (mfderiv% e x) :=
  (he.mfderiv hx).bijective

theorem mfderiv_injective {x : M} (hx : x ∈ e.source) : Function.Injective (mfderiv% e x) :=
  (he.mfderiv hx).injective

theorem mfderiv_surjective {x : M} (hx : x ∈ e.source) : Function.Surjective (mfderiv% e x) :=
  (he.mfderiv hx).surjective

theorem ker_mfderiv_eq_bot {x : M} (hx : x ∈ e.source) : (mfderiv% e x).ker = ⊥ :=
  (he.mfderiv hx).toLinearEquiv.ker

theorem range_mfderiv_eq_top {x : M} (hx : x ∈ e.source) : (mfderiv% e x).range = ⊤ :=
  (he.mfderiv hx).toLinearEquiv.range

theorem range_mfderiv_eq_univ {x : M} (hx : x ∈ e.source) : range (mfderiv% e x) = univ :=
  (he.mfderiv_surjective hx).range_eq

theorem trans (he' : e'.MDifferentiable I' I'') : (e.trans e').MDifferentiable I I'' := by
  constructor
  · intro x hx
    simp only [mfld_simps] at hx
    exact
      ((he'.mdifferentiableAt hx.2).comp _ (he.mdifferentiableAt hx.1)).mdifferentiableWithinAt
  · intro x hx
    simp only [mfld_simps] at hx
    exact
      ((he.symm.mdifferentiableAt hx.2).comp _
          (he'.symm.mdifferentiableAt hx.1)).mdifferentiableWithinAt

end OpenPartialHomeomorph.MDifferentiable

/-! ### Differentiability of `extChartAt` -/

section

open IsManifold

variable {e : OpenPartialHomeomorph M H}

theorem OpenPartialHomeomorph.mdifferentiableAt_extend
    {x : M} (he : e ∈ maximalAtlas I 1 M) (hx : x ∈ e.source) :
    MDiffAt (e.extend I) x :=
  e.contMDiffAt_extend he hx |>.mdifferentiableAt (by simp)

theorem OpenPartialHomeomorph.mdifferentiableOn_extend (he : e ∈ maximalAtlas I 1 M) :
    MDiff[e.source] (e.extend I) :=
  e.contMDiffOn_extend he |>.mdifferentiableOn (by simp)

variable {z : E}

theorem mdifferentiableWithinAt_extend_symm
    (he : e ∈ maximalAtlas I 1 M) (h : z ∈ (e.extend I).target) :
    MDiffAt[range I] (e.extend I).symm z := by
  have Z : MDiffAt[range ↑I] I.symm z :=
    I.mdifferentiableWithinAt_symm (e.extend_target_subset_range h)
  apply MDifferentiableAt.comp_mdifferentiableWithinAt _ _ Z
  exact mdifferentiableAt_symm_of_mem_maximalAtlas he (by simp_all)

theorem mdifferentiableOn_extend_symm (he : e ∈ maximalAtlas I 1 M) :
    MDiff[(e.extend I).target] (e.extend I).symm := by
  intro y hy
  exact mdifferentiableWithinAt_extend_symm he hy |>.mono (e.extend_target_subset_range)

/-- The composition of the derivative of an extended chart `e.extend I` with the derivative of its
inverse `(e.extend I).symm` gives the identity.
Version where the basepoint belongs to `(e.extend I).target`. -/

lemma mfderiv_extend_comp_mfderivWithin_extend_symm
    {y : E} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ (e.extend I).target) :
    (mfderiv% (e.extend I) ((e.extend I).symm y)) ∘L
      (mfderiv[range I] (e.extend I).symm y) = ContinuousLinearMap.id _ _ := by
  have U : UniqueMDiffAt[range I] y := by
    apply I.uniqueMDiffOn
    apply e.extend_target_subset_range hy
  have h'y : (e.extend I).symm y ∈ e.source := PartialEquiv.map_target _ (by simp_all)
  rw [← mfderiv_comp_mfderivWithin]; rotate_left
  · exact e.mdifferentiableAt_extend he h'y
  · exact mdifferentiableWithinAt_extend_symm he hy
  · exact U
  rw [← mfderivWithin_id U]
  apply Filter.EventuallyEq.mfderivWithin_eq
  · have : (e.extend I) ((e.extend I).symm y) = y := (e.extend I).right_inv hy
    filter_upwards [this ▸ e.extend_target_mem_nhdsWithin h'y (I := I)] with z hz
    simp_all
  · simp_all

/-- The composition of the derivative of an extended chart `e.extend I` with the derivative of its
inverse `(e.extend I).symm` gives the identity.
Version where the basepoint belongs to `(e.extend).source`. -/

lemma mfderiv_extend_comp_mfderivWithin_extend_symm'
    {y : M} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ (e.extend I).source) :
    (mfderiv% (e.extend I) y) ∘L (mfderiv[range I] (e.extend I).symm (e.extend I y))
    = ContinuousLinearMap.id _ _ := by
  convert! mfderiv_extend_comp_mfderivWithin_extend_symm he ((e.extend I).map_source hy)
  rw [(e.extend I).left_inv hy]

/-- The composition of the derivative of the inverse of an extended chart `e.extend I` with the
derivative of `e.extend I` gives the identity.
Version where the basepoint belongs to `(extChartAt I x).target`. -/

lemma mfderivWithin_extend_symm_comp_mfderiv_extend
    {y : E} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ (e.extend I).target) :
    (mfderiv[range I] (e.extend I).symm y) ∘L
      (mfderiv% (e.extend I) ((e.extend I).symm y))
      = ContinuousLinearMap.id _ _ := by
  have h'y : (e.extend I).symm y ∈ e.source := by simp_all
  have U' : UniqueMDiffAt[(e.extend I).source] ((e.extend I).symm y) := by
    rw [e.extend_source]
    exact e.open_source.uniqueMDiffWithinAt h'y
  have : mfderiv% (e.extend I) ((e.extend I).symm y)
      = mfderiv[(e.extend I).source] (e.extend I) ((e.extend I).symm y) := by
    rw [mfderivWithin_eq_mfderiv U']
    exact e.mdifferentiableAt_extend he h'y
  rw [this, ← mfderivWithin_comp_of_eq]; rotate_left
  · exact mdifferentiableWithinAt_extend_symm he hy
  · exact (e.mdifferentiableAt_extend he h'y).mdifferentiableWithinAt
  · intro z hz
    exact e.extend_target_subset_range ((e.extend I).map_source hz)
  · exact U'
  · exact (e.extend I).right_inv hy
  rw [← mfderivWithin_id U']
  apply Filter.EventuallyEq.mfderivWithin_eq
  · filter_upwards [e.extend_source_mem_nhdsWithin (I := I) h'y] with z hz
    simp only [Function.comp_def, PartialEquiv.left_inv (e.extend I) hz, id_eq]
  · simp only [Function.comp_def, PartialEquiv.right_inv (e.extend I) hy, id_eq]

/-- The composition of the derivative of the inverse of an extended chart `e.extend I` with the
derivative of `e.extend I` gives the identity.
Version where the basepoint belongs to `e.source`. -/

lemma mfderivWithin_extend_symm_comp_mfderiv_extend'
    {y : M} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ e.source) :
    (mfderiv[range I] (e.extend I).symm (e.extend I y)) ∘L (mfderiv% (e.extend I) y)
      = ContinuousLinearMap.id _ _ := by
  convert mfderivWithin_extend_symm_comp_mfderiv_extend he
    ((e.extend I).map_source (by simpa using hy))
  rw [(e.extend I).left_inv (by simpa using hy)]

lemma isInvertible_mfderivWithin_extend_symm
    {y : E} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ (e.extend I).target) :
    (mfderiv[range I] (e.extend I).symm y).IsInvertible :=
  ContinuousLinearMap.IsInvertible.of_inverse
    (mfderivWithin_extend_symm_comp_mfderiv_extend he hy)
    (mfderiv_extend_comp_mfderivWithin_extend_symm he hy)

lemma isInvertible_mfderiv_extend {y : M} (he : e ∈ maximalAtlas I 1 M) (hy : y ∈ e.source) :
    (mfderiv% (e.extend I) y).IsInvertible := by
  have h'y : e.extend I y ∈ (e.extend I).target := (e.extend I).map_source (by simpa using hy)
  have Z := ContinuousLinearMap.IsInvertible.of_inverse
    (mfderiv_extend_comp_mfderivWithin_extend_symm he h'y)
    (mfderivWithin_extend_symm_comp_mfderiv_extend he h'y)
  rwa [(e.extend I).left_inv (by simpa using hy)] at Z

end

section extChartAt

variable [IsManifold I 1 M] {s : Set M} {x y : M} {z : E}

theorem hasMFDerivAt_extChartAt (h : y ∈ (chartAt H x).source) :
    HasMFDerivAt% (extChartAt I x) y (mfderiv% (chartAt H x) y :) :=
  I.hasMFDerivAt.comp y ((mdifferentiable_chart x).mdifferentiableAt h).hasMFDerivAt

theorem hasMFDerivWithinAt_extChartAt (h : y ∈ (chartAt H x).source) :
    HasMFDerivAt[s] (extChartAt I x) y (mfderiv% (chartAt H x) y :) :=
  (hasMFDerivAt_extChartAt h).hasMFDerivWithinAt

theorem mdifferentiableAt_extChartAt (h : y ∈ (chartAt H x).source) :
    MDiffAt (extChartAt I x) y :=
  (hasMFDerivAt_extChartAt h).mdifferentiableAt

theorem mdifferentiableOn_extChartAt : MDiff[(chartAt H x).source] (extChartAt I x) :=
  fun _y hy ↦ (hasMFDerivWithinAt_extChartAt hy).mdifferentiableWithinAt

theorem mdifferentiableWithinAt_extChartAt_symm (h : z ∈ (extChartAt I x).target) :
    MDiffAt[range I] (extChartAt I x).symm z :=
  mdifferentiableWithinAt_extend_symm (IsManifold.chart_mem_maximalAtlas x) h

theorem mdifferentiableOn_extChartAt_symm :
    MDiff[(extChartAt I x).target] (extChartAt I x).symm :=
  mdifferentiableOn_extend_symm (IsManifold.chart_mem_maximalAtlas x)

/-- The composition of the derivative of `extChartAt` with the derivative of the inverse of
`extChartAt` gives the identity.
Version where the basepoint belongs to `(extChartAt I x).target`. -/

lemma mfderiv_extChartAt_comp_mfderivWithin_extChartAt_symm {x : M}
    {y : E} (hy : y ∈ (extChartAt I x).target) :
    (mfderiv% (extChartAt I x) ((extChartAt I x).symm y)) ∘L
      (mfderiv[range I] (extChartAt I x).symm y) = ContinuousLinearMap.id _ _ :=
  mfderiv_extend_comp_mfderivWithin_extend_symm (IsManifold.chart_mem_maximalAtlas x) hy

/-- The composition of the derivative of `extChartAt` with the derivative of the inverse of
`extChartAt` gives the identity.
Version where the basepoint belongs to `(extChartAt I x).source`. -/

lemma mfderiv_extChartAt_comp_mfderivWithin_extChartAt_symm' {x : M}
    {y : M} (hy : y ∈ (extChartAt I x).source) :
    (mfderiv% (extChartAt I x) y) ∘L (mfderiv[range I] (extChartAt I x).symm (extChartAt I x y))
    = ContinuousLinearMap.id _ _ :=
  mfderiv_extend_comp_mfderivWithin_extend_symm' (IsManifold.chart_mem_maximalAtlas x) hy

/-- The composition of the derivative of the inverse of `extChartAt` with the derivative of
`extChartAt` gives the identity.
Version where the basepoint belongs to `(extChartAt I x).target`. -/

lemma mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt
    {y : E} (hy : y ∈ (extChartAt I x).target) :
    (mfderiv[range I] (extChartAt I x).symm y) ∘L
      (mfderiv% (extChartAt I x) ((extChartAt I x).symm y))
      = ContinuousLinearMap.id _ _ :=
  mfderivWithin_extend_symm_comp_mfderiv_extend (IsManifold.chart_mem_maximalAtlas x) hy

/-- The composition of the derivative of the inverse of `extChartAt` with the derivative of
`extChartAt` gives the identity.
Version where the basepoint belongs to `(extChartAt I x).source`. -/

lemma mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt'
    {y : M} (hy : y ∈ (extChartAt I x).source) :
    (mfderiv[range I] (extChartAt I x).symm (extChartAt I x y)) ∘L (mfderiv% (extChartAt I x) y)
      = ContinuousLinearMap.id _ _ := by
  have : y = (extChartAt I x).symm (extChartAt I x y) := ((extChartAt I x).left_inv hy).symm
  convert mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt ((extChartAt I x).map_source hy)
  rw [(extChartAt I x).left_inv (by simpa using hy)]

lemma isInvertible_mfderivWithin_extChartAt_symm {y : E} (hy : y ∈ (extChartAt I x).target) :
    (mfderiv[range I] (extChartAt I x).symm y).IsInvertible :=
  isInvertible_mfderivWithin_extend_symm (IsManifold.chart_mem_maximalAtlas x) hy

lemma isInvertible_mfderiv_extChartAt {y : M} (hy : y ∈ (extChartAt I x).source) :
    (mfderiv% (extChartAt I x) y).IsInvertible :=
  isInvertible_mfderiv_extend (IsManifold.chart_mem_maximalAtlas x) (by simpa using hy)

set_option backward.isDefEq.respectTransparency false in
/-- The trivialization of the tangent bundle at a point is the manifold derivative of the
extended chart.
Use with care as this abuses the defeq `TangentSpace ��(��, E) y = E` for `y : E`. -/

theorem TangentBundle.continuousLinearMapAt_trivializationAt
    {x₀ x : M} (hx : x ∈ (chartAt H x₀).source) :
    (trivializationAt E (TangentSpace I) x₀).continuousLinearMapAt �� x =
      mfderiv% (extChartAt I x₀) x := by
  have : MDiffAt (extChartAt I x₀) x := mdifferentiableAt_extChartAt hx
  simp only [extChartAt, OpenPartialHomeomorph.extend, PartialEquiv.coe_trans,
    ModelWithCorners.toPartialEquiv_coe, OpenPartialHomeomorph.toFun_eq_coe] at this
  simp only [hx, mfderiv, this, mfld_simps]
  rfl

set_option backward.isDefEq.respectTransparency false in
/-- The inverse trivialization of the tangent bundle at a point is the manifold derivative of the
inverse of the extended chart.
Use with care as this abuses the defeq `TangentSpace ��(��, E) y = E` for `y : E`. -/

theorem TangentBundle.symmL_trivializationAt
    {x₀ x : M} (hx : x ∈ (chartAt H x₀).source) :
    (trivializationAt E (TangentSpace I) x₀).symmL �� x =
      mfderiv[range I] (extChartAt I x₀).symm (extChartAt I x₀ x) := by
  have : MDiffAt[range I] ((chartAt H x₀).symm ∘ I.symm) (I (chartAt H x₀ x)) := by
    simpa using mdifferentiableWithinAt_extChartAt_symm (by simp [hx])
  simp only [hx, mfderivWithin, this, mfld_simps]
  rfl

omit [IsManifold I 1 M] in
/-- The `fderivWithin` of the round-trip composition `(extChartAt I x) ∘ (extChartAt I x).symm`
at the chart point in `range I` equals the identity. -/

lemma fderivWithin_extChartAt_comp_extChartAt_symm_range :
    fderivWithin �� ((extChartAt I x) ∘ (extChartAt I x).symm) (range I) (extChartAt I x x) =
      ContinuousLinearMap.id �� _ := by
  set φ := extChartAt I x
  have eq_nhd : ((extChartAt I x) ∘ (extChartAt I x).symm) =ᶠ[��[range I] (extChartAt I x x)] id :=
    Filter.eventuallyEq_of_mem (extChartAt_target_mem_nhdsWithin x)
      (fun _ ↦ (extChartAt I x).right_inv)
  rw [eq_nhd.fderivWithin_eq (by simp)]
  exact fderivWithin_id <| I.uniqueDiffOn.uniqueDiffWithinAt (mem_range_self _)

/-- The manifold derivative of `extChartAt` at the basepoint is the identity. -/
lemma mfderiv_extChartAt_self :
    mfderiv% (extChartAt I x) x = ContinuousLinearMap.id �� _ := by
  rw [← TangentBundle.continuousLinearMapAt_trivializationAt (by simp),
    TangentBundle.continuousLinearMapAt_trivializationAt_eq_core (by simp)]
  ext v
  simpa using! (tangentBundleCore I M).coordChange_self (achart H x) x (mem_chart_source H x) v

set_option backward.isDefEq.respectTransparency false in
-- TODO: should there be a version for `extChartAt`?
/-- The manifold derivative within `range I` of `(extChartAt I x).symm` at the chart point is
the identity. -/

lemma mfderivWithin_range_extChartAt_symm :
    mfderiv[range I] (extChartAt I x).symm (extChartAt I x x) = ContinuousLinearMap.id �� _ := by
  have hcomp := mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt' (I := I)
    (mem_extChartAt_source x)
  rw [mfderiv_extChartAt_self, ContinuousLinearMap.comp_id] at hcomp
  simpa using! hcomp

set_option backward.isDefEq.respectTransparency false in
/-- The inverse of the derivative of `(extChartAt I x).symm` at the chart point,
applied to a tangent vector, gives back the tangent vector. -/

lemma mfderivWithin_extChartAt_symm_inverse_apply (v : TangentSpace I x) :
    (mfderiv[range I] (extChartAt I x).symm (extChartAt I x x)).inverse v = v := by
  rw [mfderivWithin_range_extChartAt_symm, ContinuousLinearMap.inverse_id]
  exact ContinuousLinearMap.id_apply ..

end extChartAt

Messung
CHZG
9110010096

¤ Dauer der Verarbeitung: 0.4 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland