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] - chore(data/real/ennreal): style and golfing #14055

Closed
wants to merge 1 commit into from

Conversation

kbuzzard
Copy link
Member


Open in Gitpod

I've been using ennreal so I thought I'd read through the file. This rather trivial PR golfs some proofs and makes the style conform a bit more to the mathlib conventions. No lemmas are added or deleted.

@kbuzzard kbuzzard added the awaiting-review The author would like community review of the PR label May 10, 2022
Copy link
Collaborator

@dupuisf dupuisf left a comment

Choose a reason for hiding this comment

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

Looks good!

bors r+

Comment on lines +1221 to 1222
-- *TODO* this should surely be called div_mul_cancel?
lemma mul_div_cancel (h0 : a ≠ 0) (hI : a ≠ ∞) : (b / a) * a = b :=
Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree! However I get 295 hits for "mul_div_cancel" in a quick search in VSCode, so let's leave that for another PR :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think most of them are not ennreal though :-)

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 May 10, 2022
bors bot pushed a commit that referenced this pull request May 10, 2022
@vihdzp vihdzp changed the title fix(data/real/ennreal): style and golfing chore(data/real/ennreal): style and golfing May 10, 2022
@bors
Copy link

bors bot commented May 10, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/real/ennreal): style and golfing [Merged by Bors] - chore(data/real/ennreal): style and golfing May 10, 2022
@bors bors bot closed this May 10, 2022
@bors bors bot deleted the ennreal-golfing branch May 10, 2022 06:29
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