Manifolds

A manifold is a topological space M locally modelled on a model space H, i.e., the manifold is covered by open subsets on which there are local homeomorphisms (the charts) going to H. If the changes of charts satisfy some additional property (for instance if they are smooth), then M inherits additional structure (it makes sense to talk about smooth manifolds). There are therefore two different ingredients in a manifold:

We separate these two parts in the definition: the manifold structure is just the set of charts, and then the different smoothness requirements (smooth manifold, orientable manifold, contact manifold, and so on) are additional properties of these charts. These properties are formalized through the notion of structure groupoid, i.e., a set of local homeomorphisms stable under composition and inverse, to which the change of coordinates should belong.

Main definitions

structure_groupoid H : a subset of local homeomorphisms of H stable under composition, inverse and restriction (ex: local diffeos) pregroupoid H : a subset of local homeomorphisms of H stable under composition and restriction, but not inverse (ex: smooth maps) groupoid_of_pregroupoid: construct a groupoid from a pregroupoid, by requiring that a map and its inverse both belong to the pregroupoid (ex: construct diffeos from smooth maps) continuous_groupoid H : the groupoid of all local homeomorphisms of H

manifold H M : manifold structure on M modelled on H, given by an atlas of local homeomorphisms from M to H whose sources cover M. This is a type class. has_groupoid M G : when G is a structure groupoid on H and M is a manifold modelled on H, require that all coordinate changes belong to G. This is a type class atlas H M : when M is a manifold modelled on H, the atlas of this manifold structure, i.e., the set of charts structomorph G M M' : the set of diffeomorphisms between the manifolds M and M' for the groupoid G. We avoid the word diffeomorphisms, keeping it for the smooth category.

As a basic example, we give the instance instance manifold_model_space (H : Type*) [topological_space H] : manifold H H saying that a topological space is a manifold over itself, with the identity as unique chart. This manifold structure is compatible with any groupoid.

Implementation notes

The atlas in a manifold is not a maximal atlas in general: the notion of maximality depends on the groupoid one considers, and changing groupoids changes the maximal atlas. With the current formalization, it makes sense first to choose the atlas, and then to ask whether this precise atlas defines a smooth manifold, an orientable manifold, and so on. A consequence is that structomorphisms between M and M' do not induce a bijection between the atlases of M and M': the definition is only that, read in charts, the structomorphism locally belongs to the groupoid under consideration. (This is equivalent to inducing a bijection between elements of the maximal atlas). A consequence is that the invariance under structomorphisms of properties defined in terms of the atlas is not obvious in general, and could require some work in theory (amounting to the fact that these properties only depend on the maximal atlas, for instance). In practice, this does not create any real difficulty.

We use the letter H for the model space thinking of the case of manifolds with boundary, where the model space is a half space.

Manifolds are sometimes defined as topological spaces with an atlas of local diffeomorphisms, and sometimes as spaces with an atlas from which a topology is deduced. We use the former approach: otherwise, there would be an instance from manifolds to topological spaces, which means that any instance search for topological spaces would try to find manifold structures involving a yet unknown model space, leading to problems. However, we also introduce the latter approach, through a structure manifold_core making it possible to construct a topology out of a set of local equivs with compatibility conditions (but we do not register it as an instance).

In the definition of a manifold, the model space is written as an explicit parameter as there can be several model spaces for a given topological space. For instance, a complex manifold (modelled over ℂ^n) will also be seen sometimes as a real manifold modelled over ℝ^(2n).


structure_groupoid

A structure groupoid is a set of local homeomorphisms of a topological space stable under composition and inverse. They appear in the definition of the smoothness class of a manifold.

structure_groupoid.partial_order

Partial order on the set of groupoids, given by inclusion of the members of the groupoid

id_groupoid

The trivial groupoid, containing only the identity (and maps with empty source, as this is necessary from the definition)

structure_groupoid.lattice.order_bot

Every structure groupoid contains the identity groupoid

pregroupoid

To construct a groupoid, one may consider classes of local homeos such that both the function and its inverse have some property. If this property is stable under composition, one gets a groupoid. pregroupoid bundles the properties needed for this construction, with the groupoid of smooth functions with smooth inverses as an application.

pregroupoid.groupoid

Construct a groupoid of local homeos for which the map and its inverse have some property, from a pregroupoid asserting that this property is stable under composition.

continuous_groupoid

The groupoid of all local homeomorphisms on a topological space H

structure_groupoid.lattice.order_top

Every structure groupoid is contained in the groupoid of all local homeomorphisms

manifold

A manifold is a topological space endowed with an atlas, i.e., a set of local homeomorphisms taking value in a model space H, called charts, such that the domains of the charts cover the whole space. We express the covering property by chosing for each x a member chart_at x of the atlas containing x in its source: in the smooth case, this is convenient to construct the tangent bundle in an efficient way. The model space is written as an explicit parameter as there can be several model spaces for a given topological space. For instance, a complex manifold (modelled over ℂ^n) will also be seen sometimes as a real manifold over ℝ^(2n).

manifold_model_space

Any space is a manifold modelled over itself, by just using the identity chart

model_space_atlas

In the trivial manifold structure of a space modelled over itself through the identity, the atlas members are just the identity

chart_at_model_space_eq

In the model space, chart_at is always the identity

manifold_core

Sometimes, one may want to construct a manifold structure on a space which does not yet have a topological structure, where the topology would come from the charts. For this, one needs charts that are only local equivs, and continuity properties for their composition. This is formalised in manifold_core.

manifold_core.to_topological_space

Topology generated by a set of charts on a Type.

has_groupoid

A manifold has an atlas in a groupoid G if the change of coordinates belong to the groupoid

has_groupoid_model_space

The trivial manifold structure on the model space is compatible with any groupoid

has_groupoid_continuous_groupoid

Any manifold structure is compatible with the groupoid of all local homeomorphisms

structomorph

A G-diffeomorphism between two manifolds is a homeomorphism which, when read in the charts, belongs to G. We avoid the word diffeomorph as it is too related to the smooth category, and use structomorph instead.

structomorph.refl

The identity is a diffeomorphism of any manifold, for any groupoid.

structomorph.symm

The inverse of a structomorphism is a structomorphism

structomorph.trans

The composition of structomorphisms is a structomorphism