Charted spaces #
A smooth manifold is a topological space M
locally modelled on a euclidean space (or a euclidean
half-space for manifolds with boundaries, or an infinite dimensional vector space for more general
notions of manifolds), i.e., the manifold is covered by open subsets on which there are local
homeomorphisms (the charts) going to a model space H
, and the changes of charts should be smooth
maps.
In this file, we introduce a general framework describing these notions, where the model space is an arbitrary topological space. We avoid the word manifold, which should be reserved for the situation where the model space is a (subset of a) vector space, and use the terminology charted space instead.
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 charted space:
- the set of charts, which is data
- the fact that changes of charts belong to some group (in fact groupoid), which is additional Prop.
We separate these two parts in the definition: the charted space 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 partial homeomorphisms stable under composition and inverse, to which the change of coordinates should belong.
Main definitions #
StructureGroupoid H
: a subset of partial homeomorphisms ofH
stable under composition, inverse and restriction (ex: partial diffeomorphisms).continuousGroupoid H
: the groupoid of all partial homeomorphisms ofH
.ChartedSpace H M
: charted space structure onM
modelled onH
, given by an atlas of partial homeomorphisms fromM
toH
whose sources coverM
. This is a type class.HasGroupoid M G
: whenG
is a structure groupoid onH
andM
is a charted space modelled onH
, require that all coordinate changes belong toG
. This is a type class.atlas H M
: whenM
is a charted space modelled onH
, the atlas of this charted space structure, i.e., the set of charts.G.maximalAtlas M
: whenM
is a charted space modelled onH
and admittingG
as a structure groupoid, one can consider all the partial homeomorphisms fromM
toH
such that changing coordinate from any chart to them belongs toG
. This is a larger atlas, called the maximal atlas (for the groupoidG
).Structomorph G M M'
: the type of diffeomorphisms between the charted spacesM
andM'
for the groupoidG
. We avoid the word diffeomorphism, keeping it for the smooth category.
As a basic example, we give the instance
instance chartedSpaceSelf (H : Type*) [TopologicalSpace H] : ChartedSpace H H
saying that a topological space is a charted space over itself, with the identity as unique chart.
This charted space structure is compatible with any groupoid.
Additional useful definitions:
Pregroupoid H
: a subset of partial maps ofH
stable under composition and restriction, but not inverse (ex: smooth maps)Pregroupoid.groupoid
: 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)chartAt H x
is a preferred chart atx : M
whenM
has a charted space structure modelled onH
.G.compatible he he'
states that, for any two chartse
ande'
in the atlas, the composition ofe.symm
ande'
belongs to the groupoidG
whenM
admitsG
as a structure groupoid.G.compatible_of_mem_maximalAtlas he he'
states that, for any two chartse
ande'
in the maximal atlas associated to the groupoidG
, the composition ofe.symm
ande'
belongs to theG
ifM
admitsG
as a structure groupoid.ChartedSpaceCore.toChartedSpace
: consider a space without a topology, but endowed with a set of charts (which are partial equivs) for which the change of coordinates are partial homeos. Then one can construct a topology on the space for which the charts become partial homeos, defining a genuine charted space structure.
Implementation notes #
The atlas in a charted space 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 ChartedSpaceCore
making it possible to construct a topology out of a set of
partial equivs with compatibility conditions (but we do not register it as an instance).
In the definition of a charted space, 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)
.
Notations #
In the locale Manifold
, we denote the composition of partial homeomorphisms with ≫ₕ
, and the
composition of partial equivs with ≫
.
Equations
- Manifold.«term_≫ₕ_» = Lean.ParserDescr.trailingNode `Manifold.term_≫ₕ_ 100 101 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≫ₕ ") (Lean.ParserDescr.cat `term 100))
Instances For
Equations
- Manifold.«term_≫_» = Lean.ParserDescr.trailingNode `Manifold.term_≫_ 100 101 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≫ ") (Lean.ParserDescr.cat `term 100))
Instances For
Structure groupoids #
One could add to the definition of a structure groupoid the fact that the restriction of an
element of the groupoid to any open set still belongs to the groupoid.
(This is in Kobayashi-Nomizu.)
I am not sure I want this, for instance on H × E
where E
is a vector space, and the groupoid is
made of functions respecting the fibers and linear in the fibers (so that a charted space over this
groupoid is naturally a vector bundle) I prefer that the members of the groupoid are always
defined on sets of the form s × E
. There is a typeclass ClosedUnderRestriction
for groupoids
which have the restriction property.
The only nontrivial requirement is locality: if a partial homeomorphism belongs to the groupoid around each point in its domain of definition, then it belongs to the groupoid. Without this requirement, the composition of structomorphisms does not have to be a structomorphism. Note that this implies that a partial homeomorphism with empty source belongs to any structure groupoid, as it trivially satisfies this condition.
There is also a technical point, related to the fact that a partial homeomorphism is by definition a global map which is a homeomorphism when restricted to its source subset (and its values outside of the source are not relevant). Therefore, we also require that being a member of the groupoid only depends on the values on the source.
We use primes in the structure names as we will reformulate them below (without primes) using a
Membership
instance, writing e ∈ G
instead of e ∈ G.members
.
A structure groupoid is a set of partial homeomorphisms of a topological space stable under composition and inverse. They appear in the definition of the smoothness class of a manifold.
- members : Set (PartialHomeomorph H H)
- trans' : ∀ (e e' : PartialHomeomorph H H), e ∈ self.members → e' ∈ self.members → PartialHomeomorph.trans e e' ∈ self.members
- symm' : ∀ e ∈ self.members, PartialHomeomorph.symm e ∈ self.members
- id_mem' : PartialHomeomorph.refl H ∈ self.members
- locality' : ∀ (e : PartialHomeomorph H H), (∀ x ∈ e.source, ∃ (s : Set H), IsOpen s ∧ x ∈ s ∧ PartialHomeomorph.restr e s ∈ self.members) → e ∈ self.members
- mem_of_eqOnSource' : ∀ (e e' : PartialHomeomorph H H), e ∈ self.members → e' ≈ e → e' ∈ self.members
Instances For
Equations
- instMembershipPartialHomeomorphStructureGroupoid = { mem := fun (e : PartialHomeomorph H H) (G : StructureGroupoid H) => e ∈ G.members }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Partial order on the set of groupoids, given by inclusion of the members of the groupoid.
Equations
- StructureGroupoid.partialOrder = PartialOrder.lift StructureGroupoid.members (_ : ∀ (a b : StructureGroupoid H), a.members = b.members → a = b)
The trivial groupoid, containing only the identity (and maps with empty source, as this is necessary from the definition).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every structure groupoid contains the identity groupoid.
Equations
- instStructureGroupoidOrderBot = OrderBot.mk (_ : ∀ (u : StructureGroupoid H) ⦃f : PartialHomeomorph H H⦄, f ∈ ⊥.members → f ∈ u.members)
Equations
- instInhabitedStructureGroupoid = { default := idGroupoid H }
To construct a groupoid, one may consider classes of partial homeomorphisms 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.
- id_mem : self.property id Set.univ
Instances For
Construct a groupoid of partial homeos for which the map and its inverse have some property, from a pregroupoid asserting that this property is stable under composition.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The pregroupoid of all partial maps on a topological space H
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- instInhabitedPregroupoid H = { default := continuousPregroupoid H }
The groupoid of all partial homeomorphisms on a topological space H
.
Equations
Instances For
Every structure groupoid is contained in the groupoid of all partial homeomorphisms.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
A groupoid is closed under restriction if it contains all restrictions of its element local homeomorphisms to open subsets of the source.
- closedUnderRestriction : ∀ {e : PartialHomeomorph H H}, e ∈ G → ∀ (s : Set H), IsOpen s → PartialHomeomorph.restr e s ∈ G
Instances
The trivial restriction-closed groupoid, containing only partial homeomorphisms equivalent to the restriction of the identity to the various open subsets.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The trivial restriction-closed groupoid is indeed ClosedUnderRestriction
.
Equations
- (_ : ClosedUnderRestriction idRestrGroupoid) = (_ : ClosedUnderRestriction idRestrGroupoid)
A groupoid is closed under restriction if and only if it contains the trivial restriction-closed groupoid.
The groupoid of all partial homeomorphisms on a topological space H
is closed under restriction.
Equations
- (_ : ClosedUnderRestriction (continuousGroupoid H)) = (_ : ClosedUnderRestriction (continuousGroupoid H))
Charted spaces #
A charted space 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 choosing for each x
a member
chartAt 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)
.
- atlas : Set (PartialHomeomorph M H)
The atlas of charts in the
ChartedSpace
. - chartAt : M → PartialHomeomorph M H
The preferred chart at each point in the charted space.
- mem_chart_source : ∀ (x : M), x ∈ (ChartedSpace.chartAt x).source
- chart_mem_atlas : ∀ (x : M), ChartedSpace.chartAt x ∈ ChartedSpace.atlas
Instances
The atlas of charts in a ChartedSpace
.
Instances For
The preferred chart at a point x
in a charted space M
.
Equations
- chartAt H x = ChartedSpace.chartAt x
Instances For
Any space is a ChartedSpace
modelled over itself, by just using the identity chart.
Equations
- One or more equations did not get rendered due to their size.
In the trivial ChartedSpace
structure of a space modelled over itself through the identity,
the atlas members are just the identity.
In the model space, chartAt
is always the identity.
achart H x
is the chart at x
, considered as an element of the atlas.
Especially useful for working with BasicSmoothVectorBundleCore
.
Instances For
If a topological space admits an atlas with locally compact charts, then the space itself is locally compact.
If a topological space admits an atlas with locally connected charts, then the space itself is locally connected.
If M
is modelled on H'
and H'
is itself modelled on H
, then we can consider M
as being
modelled on H
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- instTopologicalSpaceModelProd H H' = instTopologicalSpaceProd
Equations
- instTopologicalSpaceModelPi = Pi.topologicalSpace
The product of two charted spaces is naturally a charted space, with the canonical construction of the atlas of product maps.
Equations
- One or more equations did not get rendered due to their size.
The product of a finite family of charted spaces is naturally a charted space, with the canonical construction of the atlas of finite product maps.
Equations
- One or more equations did not get rendered due to their size.
Constructing a topology from an atlas #
Sometimes, one may want to construct a charted space 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 partial equivs, and continuity properties for their composition.
This is formalised in ChartedSpaceCore
.
- atlas : Set (PartialEquiv M H)
- chartAt : M → PartialEquiv M H
- mem_chart_source : ∀ (x : M), x ∈ (self.chartAt x).source
- chart_mem_atlas : ∀ (x : M), self.chartAt x ∈ self.atlas
- open_source : ∀ (e e' : PartialEquiv M H), e ∈ self.atlas → e' ∈ self.atlas → IsOpen (PartialEquiv.trans (PartialEquiv.symm e) e').source
- continuousOn_toFun : ∀ (e e' : PartialEquiv M H), e ∈ self.atlas → e' ∈ self.atlas → ContinuousOn (↑(PartialEquiv.trans (PartialEquiv.symm e) e')) (PartialEquiv.trans (PartialEquiv.symm e) e').source
Instances For
Topology generated by a set of charts on a Type.
Equations
- ChartedSpaceCore.toTopologicalSpace c = TopologicalSpace.generateFrom (⋃ e ∈ c.atlas, ⋃ (s : Set H), ⋃ (_ : IsOpen s), {↑e ⁻¹' s ∩ e.source})
Instances For
An element of the atlas in a charted space without topology becomes a partial homeomorphism
for the topology constructed from this atlas. The PartialHomeomorph
version is given in this
definition.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a charted space without topology, endow it with a genuine charted space structure with respect to the topology constructed from the atlas.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Charted space with a given structure groupoid #
A charted space has an atlas in a groupoid G
if the change of coordinates belong to the
groupoid.
- compatible : ∀ {e e' : PartialHomeomorph M H}, e ∈ atlas H M → e' ∈ atlas H M → PartialHomeomorph.trans (PartialHomeomorph.symm e) e' ∈ G
Instances
Reformulate in the StructureGroupoid
namespace the compatibility condition of charts in a
charted space admitting a structure groupoid, to make it more easily accessible with dot
notation.
The trivial charted space structure on the model space is compatible with any groupoid.
Equations
- (_ : HasGroupoid H G) = (_ : HasGroupoid H G)
Any charted space structure is compatible with the groupoid of all partial homeomorphisms.
Equations
- (_ : HasGroupoid M (continuousGroupoid H)) = (_ : HasGroupoid M (continuousGroupoid H))
Given a charted space admitting a structure groupoid, the maximal atlas associated to this structure groupoid is the set of all charts that are compatible with the atlas, i.e., such that changing coordinates with an atlas member gives an element of the groupoid.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The elements of the atlas belong to the maximal atlas for any structure groupoid.
Changing coordinates between two elements of the maximal atlas gives rise to an element of the structure groupoid.
In the model space, the identity is in any maximal atlas.
In the model space, any element of the groupoid is in the maximal atlas.
If a single partial homeomorphism e
from a space α
into H
has source covering the whole
space α
, then that partial homeomorphism induces an H
-charted space structure on α
.
(This condition is equivalent to e
being an open embedding of α
into H
; see
OpenEmbedding.singletonChartedSpace
.)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a partial homeomorphism e
from a space α
into H
, if its source covers the whole
space α
, then the induced charted space structure on α
is HasGroupoid G
for any structure
groupoid G
which is closed under restrictions.
An open embedding of α
into H
induces an H
-charted space structure on α
.
See PartialHomeomorph.singletonChartedSpace
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An open subset of a charted space is naturally a charted space.
Equations
- One or more equations did not get rendered due to their size.
If a groupoid G
is ClosedUnderRestriction
, then an open subset of a space which is
HasGroupoid G
is naturally HasGroupoid G
.
Equations
- (_ : HasGroupoid (↥s) G) = (_ : HasGroupoid (↥s) G)
Structomorphisms #
A G
-diffeomorphism between two charted spaces 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.
- toFun : M → M'
- invFun : M' → M
- left_inv : Function.LeftInverse self.invFun self.toFun
- right_inv : Function.RightInverse self.invFun self.toFun
- continuous_toFun : Continuous self.toFun
- continuous_invFun : Continuous self.invFun
- mem_groupoid : ∀ (c : PartialHomeomorph M H) (c' : PartialHomeomorph M' H), c ∈ atlas H M → c' ∈ atlas H M' → PartialHomeomorph.trans (PartialHomeomorph.symm c) (PartialHomeomorph.trans (Homeomorph.toPartialHomeomorph self.toHomeomorph) c') ∈ G
Instances For
The identity is a diffeomorphism of any charted space, for any groupoid.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The inverse of a structomorphism is a structomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The composition of structomorphisms is a structomorphism.
Equations
- One or more equations did not get rendered due to their size.