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] - feat(order/filter/basic): add map_le_map and map_injective #15128

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Jul 5, 2022

  • Add filter.map_le_map, an iff version of filter.map_mono.
  • Add filter.map_injective, a function.injective version of filter.map_inj.

Open in Gitpod

@urkud urkud added the awaiting-review The author would like community review of the PR label Jul 5, 2022
Comment on lines 1819 to 1820
lemma map_le_map {f g : filter α} {m : α → β} (hm : injective m) : map m f ≤ map m g ↔ f ≤ g :=
by rw [map_le_iff_le_comap, comap_map hm]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this just a weaker version of the bizarrely-named le_of_map_le_map_inj_iff above?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(which should probably be named map_le_map_iff_of_inj_on and be stated using set.inj_on)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed, removed -> versions in favor of iffs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eric-wieser Could you please have another look?

@eric-wieser
Copy link
Member

bors merge

Thanks!

@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 Jul 7, 2022
bors bot pushed a commit that referenced this pull request Jul 7, 2022
* Add `filter.map_le_map`, an `iff` version of `filter.map_mono`.
* Add `filter.map_injective`, a `function.injective` version of `filter.map_inj`.
@bors
Copy link

bors bot commented Jul 8, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(order/filter/basic): add map_le_map and map_injective [Merged by Bors] - feat(order/filter/basic): add map_le_map and map_injective Jul 8, 2022
@bors bors bot closed this Jul 8, 2022
@bors bors bot deleted the YK-filter-map-le-map branch July 8, 2022 00:21
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