HepLean Documentation

Mathlib.Geometry.Manifold.MFDeriv.Defs

The derivative of functions between smooth manifolds #

Let M and M' be two smooth manifolds with corners over a field π•œ (with respective models with corners I on (E, H) and I' on (E', H')), and let f : M β†’ M'. We define the derivative of the function at a point, within a set or along the whole space, mimicking the API for (FrΓ©chet) derivatives. It is denoted by mfderiv I I' f x, where "m" stands for "manifold" and "f" for "FrΓ©chet" (as in the usual derivative fderiv π•œ f x).

Main definitions #

Let f be a map between smooth manifolds. The following definitions follow the fderiv API.

Various related results are proven in separate files: see

Implementation notes #

The tangent bundle is constructed using the machinery of topological fiber bundles, for which one can define bundled morphisms and construct canonically maps from the total space of one bundle to the total space of another one. One could use this mechanism to construct directly the derivative of a smooth map. However, we want to define the derivative of any map (and let it be zero if the map is not differentiable) to avoid proof arguments everywhere. This means we have to go back to the details of the definition of the total space of a fiber bundle constructed from core, to cook up a suitable definition of the derivative. It is the following: at each point, we have a preferred chart (used to identify the fiber above the point with the model vector space in fiber bundles). Then one should read the function using these preferred charts at x and f x, and take the derivative of f in these charts.

Due to the fact that we are working in a model with corners, with an additional embedding I of the model space H in the model vector space E, the charts taking values in E are not the original charts of the manifold, but those ones composed with I, called extended charts. We define writtenInExtChartAt I I' x f for the function f written in the preferred extended charts. Then the manifold derivative of f, at x, is just the usual derivative of writtenInExtChartAt I I' x f, at the point (extChartAt I x) x.

There is a subtlety with respect to continuity: if the function is not continuous, then the image of a small open set around x will not be contained in the source of the preferred chart around f x, which means that when reading f in the chart one is losing some information. To avoid this, we include continuity in the definition of differentiablity (which is reasonable since with any definition, differentiability implies continuity).

Warning: the derivative (even within a subset) is a linear map on the whole tangent space. Suppose that one is given a smooth submanifold N, and a function which is smooth on N (i.e., its restriction to the subtype N is smooth). Then, in the whole manifold M, the property MDifferentiableOn I I' f N holds. However, mfderivWithin I I' f N is not uniquely defined (what values would one choose for vectors that are transverse to N?), which can create issues down the road. The problem here is that knowing the value of f along N does not determine the differential of f in all directions. This is in contrast to the case where N would be an open subset, or a submanifold with boundary of maximal dimension, where this issue does not appear. The predicate UniqueMDiffOn I N indicates that the derivative along N is unique if it exists, and is an assumption in most statements requiring a form of uniqueness.

On a vector space, the manifold derivative and the usual derivative are equal. This means in particular that they live on the same space, i.e., the tangent space is defeq to the original vector space. To get this property is a motivation for our definition of the tangent space as a single copy of the vector space, instead of more usual definitions such as the space of derivations, or the space of equivalence classes of smooth curves in the manifold.

Tags #

derivative, manifold

Derivative of maps between manifolds #

The derivative of a smooth map f between smooth manifold M and M' at x is a bounded linear map from the tangent space to M at x, to the tangent space to M' at f x. Since we defined the tangent space using one specific chart, the formula for the derivative is written in terms of this specific chart.

We use the names MDifferentiable and mfderiv, where the prefix letter m means "manifold".

def DifferentiableWithinAtProp {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') (f : H β†’ H') (s : Set H) (x : H) :

Property in the model space of a model with corners of being differentiable within at set at a point, when read in the model vector space. This property will be lifted to manifolds to define differentiable functions between manifolds.

Equations
Instances For
    theorem differentiableWithinAt_localInvariantProp {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} :

    Being differentiable in the model space is a local property, invariant under smooth maps. Therefore, it will lift nicely to manifolds.

    @[deprecated differentiableWithinAt_localInvariantProp]
    theorem differentiable_within_at_localInvariantProp {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} :

    Alias of differentiableWithinAt_localInvariantProp.


    Being differentiable in the model space is a local property, invariant under smooth maps. Therefore, it will lift nicely to manifolds.

    def UniqueMDiffWithinAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] (s : Set M) (x : M) :

    Predicate ensuring that, at a point and within a set, a function can have at most one derivative. This is expressed using the preferred chart at the considered point.

    Equations
    Instances For
      def UniqueMDiffOn {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] (s : Set M) :

      Predicate ensuring that, at all points of a set, a function can have at most one derivative.

      Equations
      Instances For
        def MDifferentiableWithinAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) (x : M) :

        MDifferentiableWithinAt I I' f s x indicates that the function f between manifolds has a derivative at the point x within the set s. This is a generalization of DifferentiableWithinAt to manifolds.

        We require continuity in the definition, as otherwise points close to x in s could be sent by f outside of the chart domain around f x. Then the chart could do anything to the image points, and in particular by coincidence writtenInExtChartAt I I' x f could be differentiable, while this would not mean anything relevant.

        Equations
        Instances For
          theorem mdifferentiableWithinAt_iff' {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) (x : M) :
          @[deprecated mdifferentiableWithinAt_iff']
          theorem mdifferentiableWithinAt_iff_liftPropWithinAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) (x : M) :

          Alias of mdifferentiableWithinAt_iff'.

          theorem MDifferentiableWithinAt.continuousWithinAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] {f : M β†’ M'} {s : Set M} {x : M} (hf : MDifferentiableWithinAt I I' f s x) :
          theorem MDifferentiableWithinAt.differentiableWithinAt_writtenInExtChartAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] {f : M β†’ M'} {s : Set M} {x : M} (hf : MDifferentiableWithinAt I I' f s x) :
          DifferentiableWithinAt π•œ (writtenInExtChartAt I I' x f) (↑(extChartAt I x).symm ⁻¹' s ∩ Set.range ↑I) (↑(extChartAt I x) x)
          def MDifferentiableAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (x : M) :

          MDifferentiableAt I I' f x indicates that the function f between manifolds has a derivative at the point x. This is a generalization of DifferentiableAt to manifolds.

          We require continuity in the definition, as otherwise points close to x could be sent by f outside of the chart domain around f x. Then the chart could do anything to the image points, and in particular by coincidence writtenInExtChartAt I I' x f could be differentiable, while this would not mean anything relevant.

          Equations
          Instances For
            theorem mdifferentiableAt_iff {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (x : M) :
            @[deprecated mdifferentiableAt_iff]
            theorem mdifferentiableAt_iff_liftPropAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (x : M) :

            Alias of mdifferentiableAt_iff.

            theorem MDifferentiableAt.continuousAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] {f : M β†’ M'} {x : M} (hf : MDifferentiableAt I I' f x) :
            theorem MDifferentiableAt.differentiableWithinAt_writtenInExtChartAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners π•œ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] {I' : ModelWithCorners π•œ E' H'} {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] {f : M β†’ M'} {x : M} (hf : MDifferentiableAt I I' f x) :
            DifferentiableWithinAt π•œ (writtenInExtChartAt I I' x f) (Set.range ↑I) (↑(extChartAt I x) x)
            def MDifferentiableOn {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) :

            MDifferentiableOn I I' f s indicates that the function f between manifolds has a derivative within s at all points of s. This is a generalization of DifferentiableOn to manifolds.

            Equations
            Instances For
              def MDifferentiable {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') :

              MDifferentiable I I' f indicates that the function f between manifolds has a derivative everywhere. This is a generalization of Differentiable to manifolds.

              Equations
              Instances For
                def PartialHomeomorph.MDifferentiable {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : PartialHomeomorph M M') :

                Prop registering if a partial homeomorphism is a local diffeomorphism on its source

                Equations
                Instances For
                  def HasMFDerivWithinAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) (x : M) (f' : TangentSpace I x β†’L[π•œ] TangentSpace I' (f x)) :

                  HasMFDerivWithinAt I I' f s x f' indicates that the function f between manifolds has, at the point x and within the set s, the derivative f'. Here, f' is a continuous linear map from the tangent space at x to the tangent space at f x.

                  This is a generalization of HasFDerivWithinAt to manifolds (as indicated by the prefix m). The order of arguments is changed as the type of the derivative f' depends on the choice of x.

                  We require continuity in the definition, as otherwise points close to x in s could be sent by f outside of the chart domain around f x. Then the chart could do anything to the image points, and in particular by coincidence writtenInExtChartAt I I' x f could be differentiable, while this would not mean anything relevant.

                  Equations
                  Instances For
                    def HasMFDerivAt {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (x : M) (f' : TangentSpace I x β†’L[π•œ] TangentSpace I' (f x)) :

                    HasMFDerivAt I I' f x f' indicates that the function f between manifolds has, at the point x, the derivative f'. Here, f' is a continuous linear map from the tangent space at x to the tangent space at f x.

                    We require continuity in the definition, as otherwise points close to x s could be sent by f outside of the chart domain around f x. Then the chart could do anything to the image points, and in particular by coincidence writtenInExtChartAt I I' x f could be differentiable, while this would not mean anything relevant.

                    Equations
                    Instances For
                      def mfderivWithin {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) (x : M) :
                      TangentSpace I x β†’L[π•œ] TangentSpace I' (f x)

                      Let f be a function between two smooth manifolds. Then mfderivWithin I I' f s x is the derivative of f at x within s, as a continuous linear map from the tangent space at x to the tangent space at f x.

                      Equations
                      Instances For
                        def mfderiv {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (x : M) :
                        TangentSpace I x β†’L[π•œ] TangentSpace I' (f x)

                        Let f be a function between two smooth manifolds. Then mfderiv I I' f x is the derivative of f at x, as a continuous linear map from the tangent space at x to the tangent space at f x.

                        Equations
                        Instances For
                          def tangentMapWithin {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') (s : Set M) :
                          TangentBundle I M β†’ TangentBundle I' M'

                          The derivative within a set, as a map between the tangent bundles

                          Equations
                          Instances For
                            def tangentMap {π•œ : Type u_1} [NontriviallyNormedField π•œ] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace π•œ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners π•œ E H) {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] {E' : Type u_5} [NormedAddCommGroup E'] [NormedSpace π•œ E'] {H' : Type u_6} [TopologicalSpace H'] (I' : ModelWithCorners π•œ E' H') {M' : Type u_7} [TopologicalSpace M'] [ChartedSpace H' M'] (f : M β†’ M') :
                            TangentBundle I M β†’ TangentBundle I' M'

                            The derivative, as a map between the tangent bundles

                            Equations
                            Instances For