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(data/nat/basic): review API of nat.find_greatest #4274

Closed
wants to merge 14 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Sep 26, 2020

Other changes:

  • add nat.find_eq_iff;
  • use weaker assumptions in measurable_to_encodable and measurable_to_nat;
  • add measurable_find.

After #4199 nat.find_greatest is no longer used by any "real"
theorem. This API review was done as a part of an earlier version
of #4199. Another option is to remove nat.find_greatest.

@urkud urkud added the awaiting-review The author would like community review of the PR label Sep 26, 2020
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.

lgtm

I wouldn't mind keeping nat.find_greatest around.

@robertylewis
Copy link
Member

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 Sep 28, 2020
bors bot pushed a commit that referenced this pull request Sep 28, 2020
Other changes:

* add `nat.find_eq_iff`;
* use weaker assumptions in `measurable_to_encodable` and `measurable_to_nat`;
* add `measurable_find`.
@bors
Copy link

bors bot commented Sep 28, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(data/nat/basic): review API of nat.find_greatest [Merged by Bors] - refactor(data/nat/basic): review API of nat.find_greatest Sep 28, 2020
@bors bors bot closed this Sep 28, 2020
@bors bors bot deleted the find-greatest branch September 28, 2020 19:24
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

3 participants