Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Feb 21, 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).

@urkud urkud added the awaiting-review The author would like community review of the PR label Feb 21, 2021
@github-actions 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
@github-actions
Copy link

🎉 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!

Copy link
Member

@jcommelin jcommelin left a 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 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)`.
@bors
Copy link

bors bot commented Feb 22, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(order/filter,topology): review API [Merged by Bors] - refactor(order/filter,topology): review API Feb 22, 2021
@bors bors bot closed this Feb 22, 2021
@bors bors bot deleted the map-comap branch February 22, 2021 17:13
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+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants