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.IsLocalHomeomorph

43 declarations and 1 deprecated aliases. Mathlib docs · Source

Local homeomorphisms

This file defines local homeomorphisms.

Main definitions

For a function f : X → Y between topological spaces, we say

  • IsLocalHomeomorphOn f s if f is a local homeomorphism around each point of s: for each x : X, the restriction of f to some open neighborhood U of x gives a homeomorphism between U and an open subset of Y.
  • IsLocalHomeomorph f: f is a local homeomorphism, i.e. it's a local homeomorphism on univ.

Note that IsLocalHomeomorph is a global condition. This is in contrast to OpenPartialHomeomorph, which is a homeomorphism between specific open subsets.

Main results

  • local homeomorphisms are locally injective open maps
  • more!

theorem IsLocalHomeomorph.localInverseAt.congr_simp E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f f_1 : X → Y}
  (e_f : f = f_1) (hf : IsLocalHomeomorph f) (x x_1 : X), x = x_1 → hf.localInverseAt x = ⋯.localInverseAt x_1

def IsLocalHomeomorphOn E1 #

{X : Type u_1} → {Y : Type u_2} → [TopologicalSpace X] → [TopologicalSpace Y] → (X → Y) → Set X → Prop

A function f : X → Y satisfies IsLocalHomeomorphOn f s if each x ∈ s is contained in the source of some e : OpenPartialHomeomorph X Y with f = e.

theorem isLocalHomeomorphOn_iff_isOpenEmbedding_restrict E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (s : Set X) {f : X → Y},
  IsLocalHomeomorphOn f s ↔ ∀ x ∈ s, ∃ U ∈ nhds x, Topology.IsOpenEmbedding (U.domRestrict f)

theorem IsLocalHomeomorphOn.discreteTopology_of_image E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → ∀ [DiscreteTopology ↑(f '' s)], DiscreteTopology ↑s

theorem IsLocalHomeomorphOn.isDiscrete_of_image E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → IsDiscrete (f '' s) → IsDiscrete s

theorem IsLocalHomeomorphOn.discreteTopology_image_iff E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → IsOpen s → (DiscreteTopology ↑(f '' s) ↔ DiscreteTopology ↑s)

theorem IsLocalHomeomorphOn.isDiscrete_image_iff E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → IsOpen s → (IsDiscrete (f '' s) ↔ IsDiscrete s)

theorem IsLocalHomeomorphOn.mk E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : X → Y) (s : Set X),
  (∀ x ∈ s, ∃ e, x ∈ e.source ∧ Set.EqOn f (↑e) e.source) → IsLocalHomeomorphOn f s

Proves that f satisfies IsLocalHomeomorphOn f s. The condition h is weaker than the definition of IsLocalHomeomorphOn f s, since it only requires e : OpenPartialHomeomorph X Y to agree with f on its source e.source, as opposed to on the whole space X.

theorem IsLocalHomeomorphOn.OpenPartialHomeomorph.isLocalHomeomorphOn E1 #

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

A OpenPartialHomeomorph is a local homeomorphism on its source.

theorem IsLocalHomeomorphOn.mono E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s t : Set X},
  IsLocalHomeomorphOn f t → s ⊆ t → IsLocalHomeomorphOn f s

theorem IsLocalHomeomorphOn.of_comp_left E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn (g ∘ f) s → IsLocalHomeomorphOn g (f '' s) → (∀ x ∈ s, ContinuousAt f x) → IsLocalHomeomorphOn f s

theorem IsLocalHomeomorphOn.of_comp_right E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn (g ∘ f) s → IsLocalHomeomorphOn f s → IsLocalHomeomorphOn g (f '' s)

theorem IsLocalHomeomorphOn.map_nhds_eq E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → ∀ {x : X}, x ∈ s → Filter.map f (nhds x) = nhds (f x)

theorem IsLocalHomeomorphOn.continuousAt E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → ∀ {x : X}, x ∈ s → ContinuousAt f x

theorem IsLocalHomeomorphOn.continuousOn E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorphOn f s → ContinuousOn f s

theorem IsLocalHomeomorphOn.comp E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y} {s : Set X} {t : Set Y},
  IsLocalHomeomorphOn g t → IsLocalHomeomorphOn f s → Set.MapsTo f s t → IsLocalHomeomorphOn (g ∘ f) s

def IsLocalHomeomorph E3 #

{X : Type u_1} → {Y : Type u_2} → [TopologicalSpace X] → [TopologicalSpace Y] → (X → Y) → Prop

A function f : X → Y satisfies IsLocalHomeomorph f if each x : x is contained in the source of some e : OpenPartialHomeomorph X Y with f = e.

theorem Homeomorph.isLocalHomeomorph E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : X ≃ₜ Y),
  IsLocalHomeomorph ⇑f

A homeomorphism is a local homeomorphism.

theorem isLocalHomeomorph_iff_isLocalHomeomorphOn_univ E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f ↔ IsLocalHomeomorphOn f Set.univ

theorem IsLocalHomeomorph.isLocalHomeomorphOn E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set X},
  IsLocalHomeomorph f → IsLocalHomeomorphOn f s

theorem isLocalHomeomorph_iff_isOpenEmbedding_restrict E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f ↔ ∀ (x : X), ∃ U ∈ nhds x, Topology.IsOpenEmbedding (U.domRestrict f)

theorem Topology.IsOpenEmbedding.isLocalHomeomorph E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Topology.IsOpenEmbedding f → IsLocalHomeomorph f

theorem IsLocalHomeomorph.comap_discreteTopology E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → ∀ [DiscreteTopology Y], DiscreteTopology X

A space that admits a local homeomorphism to a discrete space is itself discrete.

theorem IsLocalHomeomorph.discreteTopology_range_iff E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → (DiscreteTopology ↑(Set.range f) ↔ DiscreteTopology X)

theorem IsLocalHomeomorph.discreteTopology_iff_of_surjective E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → Function.Surjective f → (DiscreteTopology X ↔ DiscreteTopology Y)

If there is a surjective local homeomorphism between two spaces and one of them is discrete, then both spaces are discrete.

theorem IsLocalHomeomorph.mk E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : X → Y),
  (∀ (x : X), ∃ e, x ∈ e.source ∧ Set.EqOn f (↑e) e.source) → IsLocalHomeomorph f

Proves that f satisfies IsLocalHomeomorph f. The condition h is weaker than the definition of IsLocalHomeomorph f, since it only requires e : OpenPartialHomeomorph X Y to agree with f on its source e.source, as opposed to on the whole space X.

theorem IsLocalHomeomorph.isLocallyInjective E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → IsLocallyInjective f

theorem IsLocalHomeomorph.of_comp E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y},
  IsLocalHomeomorph (g ∘ f) → IsLocalHomeomorph g → Continuous f → IsLocalHomeomorph f

theorem IsLocalHomeomorph.map_nhds_eq E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → ∀ (x : X), Filter.map f (nhds x) = nhds (f x)

theorem IsLocalHomeomorph.continuous E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → Continuous f

A local homeomorphism is continuous.

theorem IsLocalHomeomorph.isOpenMap E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → IsOpenMap f

A local homeomorphism is an open map.

theorem IsLocalHomeomorph.comp E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y},
  IsLocalHomeomorph g → IsLocalHomeomorph f → IsLocalHomeomorph (g ∘ f)

The composition of local homeomorphisms is a local homeomorphism.

theorem IsLocalHomeomorph.isOpenEmbedding_of_injective E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f → Function.Injective f → Topology.IsOpenEmbedding f

An injective local homeomorphism is an open embedding.

def IsLocalHomeomorph.toHomeomorphOfBijective E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f : X → Y} → IsLocalHomeomorph f → Function.Bijective f → X ≃ₜ Y

A bijective local homeomorphism is a homeomorphism.

theorem IsLocalHomeomorph.isOpenEmbedding_of_comp E1 #

∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g : Y → Z} {f : X → Y},
  IsLocalHomeomorph g → Topology.IsOpenEmbedding (g ∘ f) → Continuous f → Topology.IsOpenEmbedding f

Continuous local sections of a local homeomorphism are open embeddings.

theorem IsLocalHomeomorph.isTopologicalBasis E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsLocalHomeomorph f →
    TopologicalSpace.IsTopologicalBasis {U | ∃ V, IsOpen V ∧ ∃ s, f ∘ ⇑s = Subtype.val ∧ Set.range ⇑s = U}

Ranges of continuous local sections of a local homeomorphism form a basis of the source space.

def IsLocalHomeomorph.localInverseAt E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f : X → Y} → IsLocalHomeomorph f → X → OpenPartialHomeomorph Y X

A chosen local inverse for a local homeomorphism f at a point x.

theorem IsLocalHomeomorph.self_mem_localInverseAt_target E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) {x : X}, x ∈ (hf.localInverseAt x).target

The point x lies in the target of localInverseAt x.

theorem IsLocalHomeomorph.localInverseAt_symm E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) (x : X), ↑(hf.localInverseAt x).symm = f

The inverse function of localInverseAt x coincides with f.

theorem IsLocalHomeomorph.apply_self_mem_localInverseAt_source E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) {x : X}, f x ∈ (hf.localInverseAt x).source

The point f x lies in the source of localInverseAt x.

theorem IsLocalHomeomorph.injOn_localInverseAt_target E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) {x : X}, Set.InjOn f (hf.localInverseAt x).target

The function f is injective on the target of localInverseAt x.

theorem IsLocalHomeomorph.apply_localInverseAt_of_mem E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) {x : X} {y : Y}, y ∈ (hf.localInverseAt x).source → f (↑(hf.localInverseAt x) y) = y

If y lies in the source of localInverseAt x, then f (localInverseAt x y) = y.

theorem IsLocalHomeomorph.localInverseAt_apply_self E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  (hf : IsLocalHomeomorph f) {x : X}, ↑(hf.localInverseAt x) (f x) = x

The function localInverseAt x sends f x back to x.

Deprecated aliases

NameNew nameSince
IsLocalHomeomorph.Homeomorph.isLocalHomeomorphHomeomorph.isLocalHomeomorph2026-06-06