Commit 2021-02-22 14:12 120feb11
View on Github →refactor(order/filter,topology): review API (#6347)
Filters
- move old
filter.map_comap
tofilter.map_comap_of_mem
; - add a new
filter.map_comap
that doesn't assumerange m ∈ f
but givesmap m (comap m f) = f ⊓ 𝓟 (range m)
instead ofmap m (comap m f) = f
; - add
filter.comap_le_comap_iff
, use it to golf a couple of proofs; - move some lemmas using
filter.map_comap
/filter.map_comap_of_mem
closure to these lemmas; - use
function.injective m
instead of∀ x y, m x = m y → x = y
in some lemmas; - drop
filter.le_map_comap_of_surjective'
,filter.map_comap_of_surjective'
, andfilter.le_map_comap_of_surjective
: the inequalities easily follow from equalities, andfilter.map_comap_of_surjective'
is justfilter.map_comap_of_mem
+filter.mem_sets_of_superset
;
Topology
- add
closed_embedding_subtype_coe
,ennreal.open_embedding_coe
; - drop
inducing_open
,inducing_is_closed
,embedding_open
, andembedding_is_closed
replace them withinducing.is_open_map
andinducing.is_closed_map
; - move old
inducing.map_nhds_eq
toinducing.map_nhds_of_mem
, the newinducing.map_nhds_eq
saysmap f (𝓝 a) = 𝓝[range f] (f a)
; - add
inducing.is_closed_iff
; - move old
embedding.map_nhds_eq
toembedding.map_nhds_of_mem
, the newembedding.map_nhds_eq
saysmap f (𝓝 a) = 𝓝[range f] (f a)
; - add
open_embedding.map_nhds_eq
; - change signature of
is_closed_induced_iff
to match other similar lemmas; - move old
map_nhds_induced_eq
tomap_nhds_induced_of_mem
, the newmap_nhds_induced_eq
give𝓝[range f] (f a)
instead of𝓝 (f a)
.