Skip to content

Commit

Permalink
feat: port Topology.SubsetProperties (#1913)
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Commelin <johan@commelin.net>
  • Loading branch information
urkud and jcommelin committed Feb 1, 2023
1 parent ef53c7b commit da33096
Show file tree
Hide file tree
Showing 3 changed files with 1,939 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -943,6 +943,7 @@ import Mathlib.Topology.LocallyFinite
import Mathlib.Topology.Maps
import Mathlib.Topology.NhdsSet
import Mathlib.Topology.Order
import Mathlib.Topology.SubsetProperties
import Mathlib.Util.AtomM
import Mathlib.Util.Export
import Mathlib.Util.IncludeStr
Expand Down
6 changes: 6 additions & 0 deletions Mathlib/Topology/Maps.lean
Expand Up @@ -110,6 +110,12 @@ theorem Inducing.map_nhds_of_mem {f : α → β} (hf : Inducing f) (a : α) (h :
hf.induced.symm ▸ map_nhds_induced_of_mem h
#align inducing.map_nhds_of_mem Inducing.map_nhds_of_mem

-- porting note: new lemma
theorem Inducing.mapClusterPt_iff {f : α → β} (hf : Inducing f) {a : α} {l : Filter α} :
MapClusterPt (f a) l f ↔ ClusterPt a l := by
delta MapClusterPt ClusterPt
rw [← Filter.push_pull', ← hf.nhds_eq_comap, map_neBot_iff]

theorem Inducing.image_mem_nhdsWithin {f : α → β} (hf : Inducing f) {a : α} {s : Set α}
(hs : s ∈ 𝓝 a) : f '' s ∈ 𝓝[range f] f a :=
hf.map_nhds_eq a ▸ image_mem_map hs
Expand Down

0 comments on commit da33096

Please sign in to comment.