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 / V13. General topology

Mathlib.Topology.PartialHomeomorph.Defs

55 declarations. Mathlib docs · Source

Partial homeomorphisms: definitions

This file defines homeomorphisms between subsets of topological spaces. An element e of PartialHomeomorph X Y is an extension of PartialEquiv X Y, i.e., it is a pair of functions e.toFun and e.invFun, inverse of each other on the sets e.source and e.target. Additionally, we require that the functions are continuous on them. Equivalently, they are homeomorphisms there.

As for Equivs, we register a coercion to functions, and we use e x and e.symm x throughout instead of e.toFun x and e.invFun x.

Main definitions

This file is intentionally kept small; many other constructions of, and lemmas about, partial homeomorphisms can be found in other files under Mathlib/Topology/PartialHomeomorph/.

  • Homeomorph.toPartialHomeomorph: associating a partial homeomorphism to a homeomorphism, with source = target = Set.univ;
  • PartialHomeomorph.symm: the inverse of a partial homeomorphism

Implementation notes

Most statements are copied from their PartialEquiv versions, although some care is required.

For design notes, see PartialEquiv.lean.

Local coding conventions

If a lemma deals with the intersection of a set with either source or target of a PartialEquiv, then it should use e.source ∩ s or e.target ∩ t, not s ∩ e.source or t ∩ e.target.

Basic properties; inverse (symm instance)

def PartialHomeomorph.ctorIdx E1 #

{X : Type u_5} →
  {Y : Type u_6} → {inst : TopologicalSpace X} → {inst_1 : TopologicalSpace Y} → PartialHomeomorph X Y → ℕ

theorem PartialHomeomorph.mk.injEq E0 #

∀ {X : Type u_5} {Y : Type u_6} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (toPartialEquiv : PartialEquiv X Y) (continuousOn_toFun : ContinuousOn (↑toPartialEquiv) toPartialEquiv.source)
  (continuousOn_invFun : ContinuousOn toPartialEquiv.invFun toPartialEquiv.target) (toPartialEquiv_1 : PartialEquiv X Y)
  (continuousOn_toFun_1 : ContinuousOn (↑toPartialEquiv_1) toPartialEquiv_1.source)
  (continuousOn_invFun_1 : ContinuousOn toPartialEquiv_1.invFun toPartialEquiv_1.target),
  ({ toPartialEquiv := toPartialEquiv, continuousOn_toFun := continuousOn_toFun,
        continuousOn_invFun := continuousOn_invFun } =
      { toPartialEquiv := toPartialEquiv_1, continuousOn_toFun := continuousOn_toFun_1,
        continuousOn_invFun := continuousOn_invFun_1 }) =
    (toPartialEquiv = toPartialEquiv_1)

theorem PartialHomeomorph.mk.inj E1 #

∀ {X : Type u_5} {Y : Type u_6} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y}
  {toPartialEquiv : PartialEquiv X Y} {continuousOn_toFun : ContinuousOn (↑toPartialEquiv) toPartialEquiv.source}
  {continuousOn_invFun : ContinuousOn toPartialEquiv.invFun toPartialEquiv.target} {toPartialEquiv_1 : PartialEquiv X Y}
  {continuousOn_toFun_1 : ContinuousOn (↑toPartialEquiv_1) toPartialEquiv_1.source}
  {continuousOn_invFun_1 : ContinuousOn toPartialEquiv_1.invFun toPartialEquiv_1.target},
  { toPartialEquiv := toPartialEquiv, continuousOn_toFun := continuousOn_toFun,
        continuousOn_invFun := continuousOn_invFun } =
      { toPartialEquiv := toPartialEquiv_1, continuousOn_toFun := continuousOn_toFun_1,
        continuousOn_invFun := continuousOn_invFun_1 } →
    toPartialEquiv = toPartialEquiv_1

structure PartialHomeomorph E1 #

(X : Type u_5) → (Y : Type u_6) → [TopologicalSpace X] → [TopologicalSpace Y] → Type (max u_5 u_6)

Partial homeomorphisms, defined on subsets of the space

abbrev PartialHomeomorph.toPartialEquiv E1 #

{X : Type u_5} →
  {Y : Type u_6} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → PartialHomeomorph X Y → PartialEquiv X Y

ctor PartialHomeomorph.mk E0 #

{X : Type u_5} →
  {Y : Type u_6} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        (toPartialEquiv : PartialEquiv X Y) →
          ContinuousOn (↑toPartialEquiv) toPartialEquiv.source →
            ContinuousOn toPartialEquiv.invFun toPartialEquiv.target → PartialHomeomorph X Y

theorem PartialHomeomorph.continuousOn_toFun E0 #

∀ {X : Type u_5} {Y : Type u_6} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (self : PartialHomeomorph X Y), ContinuousOn (↑self.toPartialEquiv) self.source

theorem PartialHomeomorph.continuousOn_invFun E1 #

∀ {X : Type u_5} {Y : Type u_6} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (self : PartialHomeomorph X Y), ContinuousOn self.invFun self.target

def PartialHomeomorph.toFun' E1 #

{X : Type u_1} →
  {Y : Type u_3} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → PartialHomeomorph X Y → X → Y

Coercion of a partial homeomorphisms to a function. We don't use e.toFun because it is actually e.toPartialEquiv.toFun, so simp will apply lemmas about toPartialEquiv.

instance PartialHomeomorph.instCoeFunForall E0 #

{X : Type u_1} →
  {Y : Type u_3} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → CoeFun (PartialHomeomorph X Y) fun x ↦ X → Y

Coercion of a PartialHomeomorph to function. Note that a PartialHomeomorph is not DFunLike.

def PartialHomeomorph.symm E3 #

{X : Type u_1} →
  {Y : Type u_3} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → PartialHomeomorph X Y → PartialHomeomorph Y X

The inverse of a partial homeomorphism

def PartialHomeomorph.Simps.apply E1 #

{X : Type u_1} →
  {Y : Type u_3} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → PartialHomeomorph X Y → X → Y

See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.

def PartialHomeomorph.Simps.symm_apply E0 #

{X : Type u_1} →
  {Y : Type u_3} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → PartialHomeomorph X Y → Y → X

See Note [custom simps projection]

theorem PartialHomeomorph.continuousOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ContinuousOn (↑e) e.source

theorem PartialHomeomorph.continuousOn_symm E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ContinuousOn (↑e.symm) e.target

theorem PartialHomeomorph.coe_mk E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialEquiv X Y)
  (h₁ : ContinuousOn (↑e) e.source) (h₂ : ContinuousOn e.invFun e.target),
  ↑{ toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ } = ↑e

theorem PartialHomeomorph.coe_mk_symm E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialEquiv X Y)
  (h₁ : ContinuousOn (↑e) e.source) (h₂ : ContinuousOn e.invFun e.target),
  ↑{ toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ }.symm = ↑e.symm

theorem PartialHomeomorph.toPartialEquiv_injective E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
  Function.Injective PartialHomeomorph.toPartialEquiv

theorem PartialHomeomorph.toFun_eq_coe E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ↑e.toPartialEquiv = ↑e

theorem PartialHomeomorph.invFun_eq_coe E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  e.invFun = ↑e.symm

theorem PartialHomeomorph.coe_toPartialEquiv E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ↑e.toPartialEquiv = ↑e

theorem PartialHomeomorph.coe_toPartialEquiv_symm E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ↑e.symm = ↑e.symm

theorem PartialHomeomorph.map_source E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y)
  {x : X}, x ∈ e.source → ↑e x ∈ e.target

theorem PartialHomeomorph.image_source_subset E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  ↑e '' e.source ⊆ e.target

Variant of map_source, stated in terms of subsets.

theorem PartialHomeomorph.map_target E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y)
  {x : Y}, x ∈ e.target → ↑e.symm x ∈ e.source

theorem PartialHomeomorph.left_inv E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y)
  {x : X}, x ∈ e.source → ↑e.symm (↑e x) = x

theorem PartialHomeomorph.right_inv E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y)
  {x : Y}, x ∈ e.target → ↑e (↑e.symm x) = x

theorem PartialHomeomorph.mapsTo E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.MapsTo (↑e) e.source e.target

theorem PartialHomeomorph.mapsTo_symm E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.MapsTo (↑e.symm) e.target e.source

theorem PartialHomeomorph.leftInvOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.LeftInvOn (↑e.symm) (↑e) e.source

theorem PartialHomeomorph.rightInvOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.RightInvOn (↑e.symm) (↑e) e.target

theorem PartialHomeomorph.invOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.InvOn (↑e.symm) (↑e) e.source e.target

theorem PartialHomeomorph.injOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.InjOn (↑e) e.source

theorem PartialHomeomorph.bijOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.BijOn (↑e) e.source e.target

theorem PartialHomeomorph.surjOn E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  Set.SurjOn (↑e) e.source e.target

def Homeomorph.toPartialHomeomorphOfImageEq E1 #

{X : Type u_1} →
  {Y : Type u_3} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → (e : X ≃ₜ Y) → (s : Set X) → (t : Set Y) → ⇑e '' s = t → PartialHomeomorph X Y

Interpret a Homeomorph as a PartialHomeomorph by restricting it to a set s in the domain and to t in the codomain.

theorem Homeomorph.toPartialHomeomorphOfImageEq_toPartialEquiv E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y) (s : Set X)
  (t : Set Y) (h : ⇑e '' s = t), (e.toPartialHomeomorphOfImageEq s t h).toPartialEquiv = e.toPartialEquivOfImageEq s t h

theorem Homeomorph.toPartialHomeomorphOfImageEq_apply E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y) (s : Set X)
  (t : Set Y) (h : ⇑e '' s = t), ↑(e.toPartialHomeomorphOfImageEq s t h) = ⇑e

theorem Homeomorph.toPartialHomeomorphOfImageEq_symm_apply E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y) (s : Set X)
  (t : Set Y) (h : ⇑e '' s = t), ↑(e.toPartialHomeomorphOfImageEq s t h).symm = ⇑e.symm

theorem Homeomorph.toPartialHomeomorphOfImageEq_source E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y) (s : Set X)
  (t : Set Y) (h : ⇑e '' s = t), (e.toPartialHomeomorphOfImageEq s t h).source = s

theorem Homeomorph.toPartialHomeomorphOfImageEq_target E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y) (s : Set X)
  (t : Set Y) (h : ⇑e '' s = t), (e.toPartialHomeomorphOfImageEq s t h).target = t

def Homeomorph.toPartialHomeomorph E3 #

{X : Type u_1} →
  {Y : Type u_3} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → X ≃ₜ Y → PartialHomeomorph X Y

A homeomorphism induces a partial homeomorphism on the whole space

theorem Homeomorph.toPartialHomeomorph_source E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y),
  e.toPartialHomeomorph.source = Set.univ

theorem Homeomorph.toPartialHomeomorph_target E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y),
  e.toPartialHomeomorph.target = Set.univ

theorem Homeomorph.toPartialHomeomorph_apply E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y),
  ↑e.toPartialHomeomorph = ⇑e

theorem Homeomorph.toPartialHomeomorph_symm_apply E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : X ≃ₜ Y),
  ↑e.toPartialHomeomorph.symm = ⇑e.symm

def PartialHomeomorph.replacePartialEquiv E1 #

{X : Type u_1} →
  {Y : Type u_3} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        (e : PartialHomeomorph X Y) → (e' : PartialEquiv X Y) → e.toPartialEquiv = e' → PartialHomeomorph X Y

Replace toPartialEquiv field to provide better definitional equalities.

theorem PartialHomeomorph.replacePartialEquiv_eq_self E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y)
  (e' : PartialEquiv X Y) (h : e.toPartialEquiv = e'), e.replacePartialEquiv e' h = e

theorem PartialHomeomorph.ext E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (e e' : PartialHomeomorph X Y),
  (∀ (x : X), ↑e x = ↑e' x) → (∀ (x : Y), ↑e.symm x = ↑e'.symm x) → e.source = e'.source → e = e'

Two partial homeomorphisms are equal when they have equal toFun, invFun and source. It is not sufficient to have equal toFun and source, as this only determines invFun on the target. This would only be true for a weaker notion of equality, arguably the right one, called EqOnSource.

theorem PartialHomeomorph.ext_iff E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  {e e' : PartialHomeomorph X Y},
  e = e' ↔ (∀ (x : X), ↑e x = ↑e' x) ∧ (∀ (x : Y), ↑e.symm x = ↑e'.symm x) ∧ e.source = e'.source

theorem PartialHomeomorph.symm_toPartialEquiv E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  e.symm.toPartialEquiv = e.symm

theorem PartialHomeomorph.symm_source E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  e.symm.source = e.target

theorem PartialHomeomorph.symm_target E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  e.symm.target = e.source

theorem PartialHomeomorph.symm_symm E0 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e : PartialHomeomorph X Y),
  e.symm.symm = e

theorem PartialHomeomorph.symm_bijective E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
  Function.Bijective PartialHomeomorph.symm