New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - refactor(order/filter,topology): review API #6347
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
blocked-by-other-PR
This PR depends on another PR which is still in the queue. A bot manages this label via PR comment.
and removed
blocked-by-other-PR
This PR depends on another PR which is still in the queue. A bot manages this label via PR comment.
labels
Feb 21, 2021
🎉 Great news! Looks like all the dependencies have been resolved: 💡 To add or remove a dependency please update this issue/PR description. Brought to you by Dependent Issues (:robot: ). Happy coding! |
jcommelin
approved these changes
Feb 22, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🎉
bors merge
github-actions
bot
added
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
and removed
awaiting-review
The author would like community review of the PR
labels
Feb 22, 2021
bors bot
pushed a commit
that referenced
this pull request
Feb 22, 2021
### Filters * move old `filter.map_comap` to `filter.map_comap_of_mem`; * add a new `filter.map_comap` that doesn't assume `range m ∈ f` but gives `map m (comap m f) = f ⊓ 𝓟 (range m)` instead of `map 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'`, and `filter.le_map_comap_of_surjective`: the inequalities easily follow from equalities, and `filter.map_comap_of_surjective'` is just `filter.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`, and `embedding_is_closed` replace them with `inducing.is_open_map` and `inducing.is_closed_map`; * move old `inducing.map_nhds_eq` to `inducing.map_nhds_of_mem`, the new `inducing.map_nhds_eq` says `map f (𝓝 a) = 𝓝[range f] (f a)`; * add `inducing.is_closed_iff`; * move old `embedding.map_nhds_eq` to `embedding.map_nhds_of_mem`, the new `embedding.map_nhds_eq` says `map 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` to `map_nhds_induced_of_mem`, the new `map_nhds_induced_eq` give `𝓝[range f] (f a)` instead of `𝓝 (f a)`.
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
refactor(order/filter,topology): review API
[Merged by Bors] - refactor(order/filter,topology): review API
Feb 22, 2021
b-mehta
pushed a commit
that referenced
this pull request
Apr 2, 2021
### Filters * move old `filter.map_comap` to `filter.map_comap_of_mem`; * add a new `filter.map_comap` that doesn't assume `range m ∈ f` but gives `map m (comap m f) = f ⊓ 𝓟 (range m)` instead of `map 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'`, and `filter.le_map_comap_of_surjective`: the inequalities easily follow from equalities, and `filter.map_comap_of_surjective'` is just `filter.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`, and `embedding_is_closed` replace them with `inducing.is_open_map` and `inducing.is_closed_map`; * move old `inducing.map_nhds_eq` to `inducing.map_nhds_of_mem`, the new `inducing.map_nhds_eq` says `map f (𝓝 a) = 𝓝[range f] (f a)`; * add `inducing.is_closed_iff`; * move old `embedding.map_nhds_eq` to `embedding.map_nhds_of_mem`, the new `embedding.map_nhds_eq` says `map 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` to `map_nhds_induced_of_mem`, the new `map_nhds_induced_eq` give `𝓝[range f] (f a)` instead of `𝓝 (f a)`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Filters
filter.map_comap
tofilter.map_comap_of_mem
;filter.map_comap
that doesn't assumerange m ∈ f
butgives
map m (comap m f) = f ⊓ 𝓟 (range m)
instead ofmap m (comap m f) = f
;filter.comap_le_comap_iff
, use it to golf a couple of proofs;filter.map_comap
/filter.map_comap_of_mem
closure to these lemmas;
function.injective m
instead of∀ x y, m x = m y → x = y
insome lemmas;
filter.le_map_comap_of_surjective'
,filter.map_comap_of_surjective'
, andfilter.le_map_comap_of_surjective
: the inequalities easily followfrom equalities, and
filter.map_comap_of_surjective'
is justfilter.map_comap_of_mem
+filter.mem_sets_of_superset
;Topology
closed_embedding_subtype_coe
,ennreal.open_embedding_coe
;inducing_open
,inducing_is_closed
,embedding_open
, andembedding_is_closed
replace them withinducing.is_open_map
andinducing.is_closed_map
;inducing.map_nhds_eq
toinducing.map_nhds_of_mem
, thenew
inducing.map_nhds_eq
saysmap f (𝓝 a) = 𝓝[range f] (f a)
;inducing.is_closed_iff
;embedding.map_nhds_eq
toembedding.map_nhds_of_mem
, thenew
embedding.map_nhds_eq
saysmap f (𝓝 a) = 𝓝[range f] (f a)
;open_embedding.map_nhds_eq
;is_closed_induced_iff
to match other similarlemmas;
map_nhds_induced_eq
tomap_nhds_induced_of_mem
, the newmap_nhds_induced_eq
give𝓝[range f] (f a)
instead of𝓝 (f a)
.