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.OpenPartialHomeomorph.Defs

59 declarations and 8 deprecated aliases. Mathlib docs · Source

Partial homeomorphisms: definitions

This file defines homeomorphisms between open subsets of topological spaces. An element e of OpenPartialHomeomorph 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 these sets are open, and 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.toOpenPartialHomeomorph: associating an open partial homeomorphism to a homeomorphism, with source = target = Set.univ;
  • OpenPartialHomeomorph.symm: the inverse of an open partial homeomorphism

Implementation notes

Most statements are copied from their PartialEquiv versions, although some care is required especially when restricting to subsets, as these should be open subsets.

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 OpenPartialHomeomorph.ctorIdx E1 #

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

theorem Homeomorph.toPartialHomeomorphOfImageEq.congr_simp E1 #

∀ {X : Type u_1} {Y : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (e e_1 : X ≃ₜ Y)
  (e_e : e = e_1) (s s_1 : Set X) (e_s : s = s_1) (t t_1 : Set Y) (e_t : t = t_1) (h : ⇑e '' s = t),
  e.toPartialHomeomorphOfImageEq s t h = e_1.toPartialHomeomorphOfImageEq s_1 t_1 ⋯

theorem OpenPartialHomeomorph.mk.inj E1 #

∀ {X : Type u_5} {Y : Type u_6} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y}
  {toPartialHomeomorph : PartialHomeomorph X Y} {open_source : IsOpen toPartialHomeomorph.source}
  {open_target : IsOpen toPartialHomeomorph.target} {toPartialHomeomorph_1 : PartialHomeomorph X Y}
  {open_source_1 : IsOpen toPartialHomeomorph_1.source} {open_target_1 : IsOpen toPartialHomeomorph_1.target},
  { toPartialHomeomorph := toPartialHomeomorph, open_source := open_source, open_target := open_target } =
      { toPartialHomeomorph := toPartialHomeomorph_1, open_source := open_source_1, open_target := open_target_1 } →
    toPartialHomeomorph = toPartialHomeomorph_1

theorem OpenPartialHomeomorph.mk.injEq E0 #

∀ {X : Type u_5} {Y : Type u_6} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (toPartialHomeomorph : PartialHomeomorph X Y) (open_source : IsOpen toPartialHomeomorph.source)
  (open_target : IsOpen toPartialHomeomorph.target) (toPartialHomeomorph_1 : PartialHomeomorph X Y)
  (open_source_1 : IsOpen toPartialHomeomorph_1.source) (open_target_1 : IsOpen toPartialHomeomorph_1.target),
  ({ toPartialHomeomorph := toPartialHomeomorph, open_source := open_source, open_target := open_target } =
      { toPartialHomeomorph := toPartialHomeomorph_1, open_source := open_source_1, open_target := open_target_1 }) =
    (toPartialHomeomorph = toPartialHomeomorph_1)

structure OpenPartialHomeomorph E3 #

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

Partial homeomorphisms, defined on open subsets of the space

ctor OpenPartialHomeomorph.mk E0 #

{X : Type u_5} →
  {Y : Type u_6} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        (toPartialHomeomorph : PartialHomeomorph X Y) →
          IsOpen toPartialHomeomorph.source → IsOpen toPartialHomeomorph.target → OpenPartialHomeomorph X Y

abbrev OpenPartialHomeomorph.toPartialHomeomorph E1 #

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

theorem OpenPartialHomeomorph.open_source E2 #

∀ {X : Type u_5} {Y : Type u_6} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  (self : OpenPartialHomeomorph X Y), IsOpen self.source

theorem OpenPartialHomeomorph.open_target E2 #

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

def OpenPartialHomeomorph.toFun' E1 #

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

Coercion of an open 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 OpenPartialHomeomorph.instCoeFunForall E0 #

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

Coercion of an OpenPartialHomeomorph to function. Note that an OpenPartialHomeomorph is not DFunLike.

def OpenPartialHomeomorph.symm E3 #

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

The inverse of an open partial homeomorphism

def OpenPartialHomeomorph.Simps.apply E1 #

{X : Type u_1} →
  {Y : Type u_3} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → OpenPartialHomeomorph 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 OpenPartialHomeomorph.Simps.symm_apply E0 #

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

See Note [custom simps projection]

theorem OpenPartialHomeomorph.continuousOn E1 #

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

theorem OpenPartialHomeomorph.continuousOn_symm E1 #

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

theorem OpenPartialHomeomorph.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)
  (h₃ : IsOpen { toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ }.source)
  (h₄ : IsOpen { toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ }.target),
  ↑{ toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂, open_source := h₃, open_target := h₄ } =
    ↑e

theorem OpenPartialHomeomorph.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)
  (h₃ : IsOpen { toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ }.source)
  (h₄ : IsOpen { toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂ }.target),
  ↑{ toPartialEquiv := e, continuousOn_toFun := h₁, continuousOn_invFun := h₂, open_source := h₃,
          open_target := h₄ }.symm =
    ↑e.symm

theorem OpenPartialHomeomorph.toPartialHomeomorph_injective E1 #

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

theorem OpenPartialHomeomorph.toPartialEquiv_injective E1 #

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

theorem OpenPartialHomeomorph.toFun_eq_coe E0 #

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

theorem OpenPartialHomeomorph.invFun_eq_coe E0 #

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

theorem OpenPartialHomeomorph.coe_toPartialEquiv E0 #

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

theorem OpenPartialHomeomorph.coe_toPartialEquiv_symm E0 #

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

theorem OpenPartialHomeomorph.map_source E0 #

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

theorem OpenPartialHomeomorph.coe_toPartialHomeomorph E0 #

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

theorem OpenPartialHomeomorph.coe_toPartialHomeomorph_symm E0 #

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

theorem OpenPartialHomeomorph.image_source_subset E1 #

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

Variant of map_source, stated for images of subsets of source.

theorem OpenPartialHomeomorph.map_target E0 #

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

theorem OpenPartialHomeomorph.left_inv E0 #

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

theorem OpenPartialHomeomorph.right_inv E0 #

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

theorem OpenPartialHomeomorph.mapsTo E1 #

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

theorem OpenPartialHomeomorph.mapsTo_symm E1 #

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

theorem OpenPartialHomeomorph.leftInvOn E1 #

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

theorem OpenPartialHomeomorph.rightInvOn E1 #

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

theorem OpenPartialHomeomorph.invOn E1 #

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

theorem OpenPartialHomeomorph.injOn E1 #

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

theorem OpenPartialHomeomorph.bijOn E1 #

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

theorem OpenPartialHomeomorph.surjOn E1 #

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

def Homeomorph.toOpenPartialHomeomorphOfImageEq E1 #

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

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

theorem Homeomorph.toOpenPartialHomeomorphOfImageEq_apply E0 #

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

theorem Homeomorph.toOpenPartialHomeomorphOfImageEq_symm_apply E0 #

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

theorem Homeomorph.toOpenPartialHomeomorphOfImageEq_toPartialHomeomorph E0 #

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

theorem Homeomorph.toOpenPartialHomeomorphOfImageEq_target E1 #

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

theorem Homeomorph.toOpenPartialHomeomorphOfImageEq_source E1 #

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

def Homeomorph.toOpenPartialHomeomorph E3 #

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

A homeomorphism induces an open partial homeomorphism on the whole space

theorem Homeomorph.toOpenPartialHomeomorph_target E0 #

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

theorem Homeomorph.toOpenPartialHomeomorph_apply E0 #

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

theorem Homeomorph.toOpenPartialHomeomorph_symm_apply E0 #

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

theorem Homeomorph.toOpenPartialHomeomorph_source E0 #

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

def OpenPartialHomeomorph.replacePartialEquiv E1 #

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

Replace toPartialEquiv field to provide better definitional equalities.

theorem OpenPartialHomeomorph.replacePartialEquiv_eq_self E1 #

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

theorem OpenPartialHomeomorph.ext E1 #

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

Two open 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 OpenPartialHomeomorph.ext_iff E0 #

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

theorem OpenPartialHomeomorph.symm_toPartialEquiv E0 #

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

theorem OpenPartialHomeomorph.symm_source E1 #

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

theorem OpenPartialHomeomorph.symm_target E1 #

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

theorem OpenPartialHomeomorph.symm_symm E0 #

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

theorem OpenPartialHomeomorph.symm_bijective E1 #

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

Deprecated aliases

NameNew nameSince
OpenPartialHomeomorph.coe_coeOpenPartialHomeomorph.coe_toPartialEquiv2026-05-18
OpenPartialHomeomorph.coe_coe_symmOpenPartialHomeomorph.coe_toPartialEquiv_symm2026-05-18
OpenPartialHomeomorph.map_source''OpenPartialHomeomorph.image_source_subset2026-06-17
OpenPartialHomeomorph.mk_coeOpenPartialHomeomorph.coe_mk2026-05-20
OpenPartialHomeomorph.mk_coe_symmOpenPartialHomeomorph.coe_mk_symm2026-05-20
OpenPartialHomeomorph.replaceEquivOpenPartialHomeomorph.replacePartialEquiv2026-05-19
OpenPartialHomeomorph.replaceEquiv_eq_selfOpenPartialHomeomorph.replacePartialEquiv_eq_self2026-05-20
OpenPartialHomeomorph.symm_mapsToOpenPartialHomeomorph.mapsTo_symm2026-05-28