The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V23. Manifolds and bundles

Mathlib.Geometry.Manifold.StructureGroupoid

57 declarations. Mathlib docs · Source

Structure groupoids

This file contains the definitions and properties of structure groupoids, i.e., sets of open partial homeomorphisms stable under composition and inverse. These are used to define charted spaces (and hence manifolds). See the file Mathlib.Geometry.Manifold.ChartedSpace for more details.

Main definitions

  • StructureGroupoid H : a subset of open partial homeomorphisms of H stable under composition, inverse and restriction (ex: partial diffeomorphisms).
  • continuousGroupoid H : the groupoid of all open partial homeomorphisms of H.

Additional useful definitions:

  • Pregroupoid H : a subset of partial maps of H 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)

Notation

In the scope Manifold, we denote the composition of open partial homeomorphisms with ≫ₕ, and the composition of partial equivs with ≫.

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 an open 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 an open 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 an open 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.

theorem Pregroupoid.mk.inj E1 #

∀ {H : Type u_2} {inst : TopologicalSpace H} {property : (H → H) → Set H → Prop}
  {comp :
    ∀ {f g : H → H} {u v : Set H},
      property f u → property g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → property (g ∘ f) (u ∩ f ⁻¹' v)}
  {id_mem : property id Set.univ}
  {locality :
    ∀ {f : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ property f (u ∩ v)) → property f u}
  {congr : ∀ {f g : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, g x = f x) → property f u → property g u}
  {property_1 : (H → H) → Set H → Prop}
  {comp_1 :
    ∀ {f g : H → H} {u v : Set H},
      property_1 f u → property_1 g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → property_1 (g ∘ f) (u ∩ f ⁻¹' v)}
  {id_mem_1 : property_1 id Set.univ}
  {locality_1 :
    ∀ {f : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ property_1 f (u ∩ v)) → property_1 f u}
  {congr_1 : ∀ {f g : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, g x = f x) → property_1 f u → property_1 g u},
  { property := property, comp := comp, id_mem := id_mem, locality := locality, congr := congr } =
      { property := property_1, comp := comp_1, id_mem := id_mem_1, locality := locality_1, congr := congr_1 } →
    property = property_1

theorem Pregroupoid.mk.injEq E0 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (property : (H → H) → Set H → Prop)
  (comp :
    ∀ {f g : H → H} {u v : Set H},
      property f u → property g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → property (g ∘ f) (u ∩ f ⁻¹' v))
  (id_mem : property id Set.univ)
  (locality :
    ∀ {f : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ property f (u ∩ v)) → property f u)
  (congr : ∀ {f g : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, g x = f x) → property f u → property g u)
  (property_1 : (H → H) → Set H → Prop)
  (comp_1 :
    ∀ {f g : H → H} {u v : Set H},
      property_1 f u → property_1 g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → property_1 (g ∘ f) (u ∩ f ⁻¹' v))
  (id_mem_1 : property_1 id Set.univ)
  (locality_1 :
    ∀ {f : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ property_1 f (u ∩ v)) → property_1 f u)
  (congr_1 : ∀ {f g : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, g x = f x) → property_1 f u → property_1 g u),
  ({ property := property, comp := comp, id_mem := id_mem, locality := locality, congr := congr } =
      { property := property_1, comp := comp_1, id_mem := id_mem_1, locality := locality_1, congr := congr_1 }) =
    (property = property_1)

theorem StructureGroupoid.mk.injEq E0 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (members : Set (OpenPartialHomeomorph H H))
  (trans' : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ∈ members → e.trans e' ∈ members)
  (symm' : ∀ e ∈ members, e.symm ∈ members) (id_mem' : OpenPartialHomeomorph.refl H ∈ members)
  (locality' :
    ∀ (e : OpenPartialHomeomorph H H), (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ members) → e ∈ members)
  (mem_of_eqOnSource' : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ≈ e → e' ∈ members)
  (members_1 : Set (OpenPartialHomeomorph H H))
  (trans'_1 : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members_1 → e' ∈ members_1 → e.trans e' ∈ members_1)
  (symm'_1 : ∀ e ∈ members_1, e.symm ∈ members_1) (id_mem'_1 : OpenPartialHomeomorph.refl H ∈ members_1)
  (locality'_1 :
    ∀ (e : OpenPartialHomeomorph H H), (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ members_1) → e ∈ members_1)
  (mem_of_eqOnSource'_1 : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members_1 → e' ≈ e → e' ∈ members_1),
  ({ members := members, trans' := trans', symm' := symm', id_mem' := id_mem', locality' := locality',
        mem_of_eqOnSource' := mem_of_eqOnSource' } =
      { members := members_1, trans' := trans'_1, symm' := symm'_1, id_mem' := id_mem'_1, locality' := locality'_1,
        mem_of_eqOnSource' := mem_of_eqOnSource'_1 }) =
    (members = members_1)

def StructureGroupoid.ctorIdx E1 #

{H : Type u_2} → {inst : TopologicalSpace H} → StructureGroupoid H → ℕ

def Pregroupoid.ctorIdx E1 #

{H : Type u_2} → {inst : TopologicalSpace H} → Pregroupoid H → ℕ

theorem StructureGroupoid.mk.inj E1 #

∀ {H : Type u_2} {inst : TopologicalSpace H} {members : Set (OpenPartialHomeomorph H H)}
  {trans' : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ∈ members → e.trans e' ∈ members}
  {symm' : ∀ e ∈ members, e.symm ∈ members} {id_mem' : OpenPartialHomeomorph.refl H ∈ members}
  {locality' :
    ∀ (e : OpenPartialHomeomorph H H), (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ members) → e ∈ members}
  {mem_of_eqOnSource' : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ≈ e → e' ∈ members}
  {members_1 : Set (OpenPartialHomeomorph H H)}
  {trans'_1 : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members_1 → e' ∈ members_1 → e.trans e' ∈ members_1}
  {symm'_1 : ∀ e ∈ members_1, e.symm ∈ members_1} {id_mem'_1 : OpenPartialHomeomorph.refl H ∈ members_1}
  {locality'_1 :
    ∀ (e : OpenPartialHomeomorph H H), (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ members_1) → e ∈ members_1}
  {mem_of_eqOnSource'_1 : ∀ (e e' : OpenPartialHomeomorph H H), e ∈ members_1 → e' ≈ e → e' ∈ members_1},
  { members := members, trans' := trans', symm' := symm', id_mem' := id_mem', locality' := locality',
        mem_of_eqOnSource' := mem_of_eqOnSource' } =
      { members := members_1, trans' := trans'_1, symm' := symm'_1, id_mem' := id_mem'_1, locality' := locality'_1,
        mem_of_eqOnSource' := mem_of_eqOnSource'_1 } →
    members = members_1

def Manifold.«term_≫ₕ_» E1 #

Lean.TrailingParserDescr

Composing two open partial homeomorphisms, by restricting to the maximal domain where their composition is well defined. Within the Manifold namespace, there is the notation e ≫ₕ f for this.

def Manifold.«term_≫_» E1 #

Lean.TrailingParserDescr

Composing two partial equivs, by restricting to the maximal domain where their composition is well defined. Within the Manifold namespace, there is the notation e ≫ f for this.

structure StructureGroupoid E1 #

(H : Type u_2) → [TopologicalSpace H] → Type u_2

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

ctor StructureGroupoid.mk E0 #

{H : Type u_2} →
  [inst : TopologicalSpace H] →
    (members : Set (OpenPartialHomeomorph H H)) →
      (∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ∈ members → e.trans e' ∈ members) →
        (∀ e ∈ members, e.symm ∈ members) →
          OpenPartialHomeomorph.refl H ∈ members →
            (∀ (e : OpenPartialHomeomorph H H),
                (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ members) → e ∈ members) →
              (∀ (e e' : OpenPartialHomeomorph H H), e ∈ members → e' ≈ e → e' ∈ members) → StructureGroupoid H

abbrev StructureGroupoid.members E1 #

{H : Type u_2} → [inst : TopologicalSpace H] → StructureGroupoid H → Set (OpenPartialHomeomorph H H)

Members of the structure groupoid are open partial homeomorphisms.

theorem StructureGroupoid.trans' E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : StructureGroupoid H) (e e' : OpenPartialHomeomorph H H),
  e ∈ self.members → e' ∈ self.members → e.trans e' ∈ self.members

Structure groupoids are stable under composition.

theorem StructureGroupoid.symm' E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : StructureGroupoid H), ∀ e ∈ self.members, e.symm ∈ self.members

Structure groupoids are stable under inverse.

theorem StructureGroupoid.id_mem' E2 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : StructureGroupoid H), OpenPartialHomeomorph.refl H ∈ self.members

The identity morphism lies in the structure groupoid.

theorem StructureGroupoid.locality' E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : StructureGroupoid H) (e : OpenPartialHomeomorph H H),
  (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ self.members) → e ∈ self.members

Let e be an open partial homeomorphism. If for every x ∈ e.source, the restriction of e to some open set around x lies in the groupoid, then e lies in the groupoid.

theorem StructureGroupoid.mem_of_eqOnSource' E0 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : StructureGroupoid H) (e e' : OpenPartialHomeomorph H H),
  e ∈ self.members → e' ≈ e → e' ∈ self.members

Membership in a structure groupoid respects the equivalence of open partial homeomorphisms.

instance instMembershipOpenPartialHomeomorphStructureGroupoid E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → Membership (OpenPartialHomeomorph H H) (StructureGroupoid H)

instance instSetLikeStructureGroupoidOpenPartialHomeomorph E0 #

(H : Type u_2) → [inst : TopologicalSpace H] → SetLike (StructureGroupoid H) (OpenPartialHomeomorph H H)

instance instMinStructureGroupoid E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → Min (StructureGroupoid H)

instance instInfSetStructureGroupoid E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → InfSet (StructureGroupoid H)

theorem StructureGroupoid.trans E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H) {e e' : OpenPartialHomeomorph H H},
  e ∈ G → e' ∈ G → e.trans e' ∈ G

theorem StructureGroupoid.symm E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H) {e : OpenPartialHomeomorph H H},
  e ∈ G → e.symm ∈ G

theorem StructureGroupoid.id_mem E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H), OpenPartialHomeomorph.refl H ∈ G

theorem StructureGroupoid.locality E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H) {e : OpenPartialHomeomorph H H},
  (∀ x ∈ e.source, ∃ s, IsOpen s ∧ x ∈ s ∧ e.restr s ∈ G) → e ∈ G

theorem StructureGroupoid.mem_of_eqOnSource E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H) {e e' : OpenPartialHomeomorph H H},
  e ∈ G → e' ≈ e → e' ∈ G

theorem StructureGroupoid.mem_iff_of_eqOnSource E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {G : StructureGroupoid H} {e e' : OpenPartialHomeomorph H H},
  e ≈ e' → (e ∈ G ↔ e' ∈ G)

instance StructureGroupoid.partialOrder E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → PartialOrder (StructureGroupoid H)

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

theorem StructureGroupoid.le_iff E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {G₁ G₂ : StructureGroupoid H}, G₁ ≤ G₂ ↔ ∀ e ∈ G₁, e ∈ G₂

def idGroupoid E1 #

(H : Type u_2) → [inst : TopologicalSpace H] → StructureGroupoid H

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

instance instStructureGroupoidOrderBot E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → OrderBot (StructureGroupoid H)

Every structure groupoid contains the identity groupoid.

instance instInhabitedStructureGroupoid E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → Inhabited (StructureGroupoid H)

structure Pregroupoid E1 #

(H : Type u_2) → [TopologicalSpace H] → Type u_2

To construct a groupoid, one may consider classes of open 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.

ctor Pregroupoid.mk E0 #

{H : Type u_2} →
  [inst : TopologicalSpace H] →
    (property : (H → H) → Set H → Prop) →
      (∀ {f g : H → H} {u v : Set H},
          property f u → property g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → property (g ∘ f) (u ∩ f ⁻¹' v)) →
        property id Set.univ →
          (∀ {f : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ property f (u ∩ v)) → property f u) →
            (∀ {f g : H → H} {u : Set H}, IsOpen u → (∀ x ∈ u, g x = f x) → property f u → property g u) → Pregroupoid H

abbrev Pregroupoid.property E1 #

{H : Type u_2} → [inst : TopologicalSpace H] → Pregroupoid H → (H → H) → Set H → Prop

Property describing membership in this groupoid: the pregroupoid "contains" all functions H → H having the pregroupoid property on some s : Set H

theorem Pregroupoid.comp E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : Pregroupoid H) {f g : H → H} {u v : Set H},
  self.property f u →
    self.property g v → IsOpen u → IsOpen v → IsOpen (u ∩ f ⁻¹' v) → self.property (g ∘ f) (u ∩ f ⁻¹' v)

The pregroupoid property is stable under composition

theorem Pregroupoid.id_mem E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : Pregroupoid H), self.property id Set.univ

Pregroupoids contain the identity map (on univ)

theorem Pregroupoid.locality E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : Pregroupoid H) {f : H → H} {u : Set H},
  IsOpen u → (∀ x ∈ u, ∃ v, IsOpen v ∧ x ∈ v ∧ self.property f (u ∩ v)) → self.property f u

The pregroupoid property is "local", in the sense that f has the pregroupoid property on u iff its restriction to each open subset of u has it

theorem Pregroupoid.congr E1 #

∀ {H : Type u_2} [inst : TopologicalSpace H] (self : Pregroupoid H) {f g : H → H} {u : Set H},
  IsOpen u → (∀ x ∈ u, g x = f x) → self.property f u → self.property g u

If f = g on u and property f u, then property g u

def Pregroupoid.groupoid E3 #

{H : Type u_1} → [inst : TopologicalSpace H] → Pregroupoid H → StructureGroupoid H

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.

theorem mem_groupoid_of_pregroupoid E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {PG : Pregroupoid H} {e : OpenPartialHomeomorph H H},
  e ∈ PG.groupoid ↔ PG.property (↑e) e.source ∧ PG.property (↑e.symm) e.target

theorem groupoid_of_pregroupoid_le E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (PG₁ PG₂ : Pregroupoid H),
  (∀ (f : H → H) (s : Set H), PG₁.property f s → PG₂.property f s) → PG₁.groupoid ≤ PG₂.groupoid

theorem mem_pregroupoid_of_eqOnSource E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (PG : Pregroupoid H) {e e' : OpenPartialHomeomorph H H},
  e ≈ e' → PG.property (↑e) e.source → PG.property (↑e') e'.source

abbrev continuousPregroupoid E1 #

(H : Type u_2) → [inst : TopologicalSpace H] → Pregroupoid H

The pregroupoid of all partial maps on a topological space H.

instance instInhabitedPregroupoid E0 #

(H : Type u_2) → [inst : TopologicalSpace H] → Inhabited (Pregroupoid H)

def continuousGroupoid E1 #

(H : Type u_2) → [inst : TopologicalSpace H] → StructureGroupoid H

The groupoid of all open partial homeomorphisms on a topological space H.

instance instStructureGroupoidOrderTop E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → OrderTop (StructureGroupoid H)

Every structure groupoid is contained in the groupoid of all open partial homeomorphisms.

instance instCompleteLatticeStructureGroupoid E0 #

{H : Type u_1} → [inst : TopologicalSpace H] → CompleteLattice (StructureGroupoid H)

class ClosedUnderRestriction E1 #

{H : Type u_1} → [inst : TopologicalSpace H] → StructureGroupoid H → Prop

A groupoid is closed under restriction if it contains all restrictions of its element local homeomorphisms to open subsets of the source.

ctor ClosedUnderRestriction.mk E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {G : StructureGroupoid H},
  (∀ {e : OpenPartialHomeomorph H H}, e ∈ G → ∀ (s : Set H), IsOpen s → e.restr s ∈ G) → ClosedUnderRestriction G

theorem ClosedUnderRestriction.closedUnderRestriction E1 #

∀ {H : Type u_1} {inst : TopologicalSpace H} {G : StructureGroupoid H} [self : ClosedUnderRestriction G]
  {e : OpenPartialHomeomorph H H}, e ∈ G → ∀ (s : Set H), IsOpen s → e.restr s ∈ G

theorem closedUnderRestriction' E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {G : StructureGroupoid H} [ClosedUnderRestriction G]
  {e : OpenPartialHomeomorph H H}, e ∈ G → ∀ {s : Set H}, IsOpen s → e.restr s ∈ G

theorem StructureGroupoid.restr_mem_of_eqOn E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {G : StructureGroupoid H} [ClosedUnderRestriction G]
  {e e' : OpenPartialHomeomorph H H},
  e ∈ G → ∀ {s : Set H}, IsOpen s → Set.EqOn (↑e) (↑e') s → e'.source ∩ s ⊆ e.source → e'.restr s ∈ G

def idRestrGroupoid E1 #

{H : Type u_1} → [inst : TopologicalSpace H] → StructureGroupoid H

The trivial restriction-closed groupoid, containing only open partial homeomorphisms equivalent to the restriction of the identity to the various open subsets.

theorem idRestrGroupoid_mem E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] {s : Set H} (hs : IsOpen s),
  OpenPartialHomeomorph.ofSet s hs ∈ idRestrGroupoid

instance closedUnderRestriction_idRestrGroupoid E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H], ClosedUnderRestriction idRestrGroupoid

The trivial restriction-closed groupoid is indeed ClosedUnderRestriction.

theorem closedUnderRestriction_iff_id_le E1 #

∀ {H : Type u_1} [inst : TopologicalSpace H] (G : StructureGroupoid H), ClosedUnderRestriction G ↔ idRestrGroupoid ≤ G

A groupoid is closed under restriction if and only if it contains the trivial restriction-closed groupoid.

instance instClosedUnderRestrictionContinuousGroupoid E0 #

∀ {H : Type u_1} [inst : TopologicalSpace H], ClosedUnderRestriction (continuousGroupoid H)

The groupoid of all open partial homeomorphisms on a topological space H is closed under restriction.