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] - fix(algebra/group/units): add missing coe lemmas to units #3472

Closed
wants to merge 2 commits into from

Conversation

alexpeattie
Copy link
Collaborator

Per @kbuzzard's suggestions here:

  • Add a new lemma coe_eq_one to units API
  • Tag eq_iff with norm_cast

@alexpeattie alexpeattie changed the title fix(algebra/group/units): add missing coe lemmas fix(algebra/group/units): add missing coe lemmas to units Jul 20, 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.

Thanks 🎉

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jul 20, 2020
bors bot pushed a commit that referenced this pull request Jul 20, 2020
@alexpeattie alexpeattie removed the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jul 20, 2020
@bors
Copy link

bors bot commented Jul 20, 2020

Canceled.

@jcommelin
Copy link
Member

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jul 20, 2020
bors bot pushed a commit that referenced this pull request Jul 20, 2020
Per @kbuzzard's suggestions [here](https://leanprover-community.github.io/archive/stream/113489-new-members/topic/Shortening.20proof.20on.20product.20of.20units.20in.20Z.html#204406319):

- Add a new lemma `coe_eq_one` to `units` API
- Tag `eq_iff` with `norm_cast`


Co-authored-by: Johan Commelin <johan@commelin.net>
@bors
Copy link

bors bot commented Jul 20, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(algebra/group/units): add missing coe lemmas to units [Merged by Bors] - fix(algebra/group/units): add missing coe lemmas to units Jul 20, 2020
@bors bors bot closed this Jul 20, 2020
@bors bors bot deleted the unit_coe_lemmas branch July 20, 2020 20:07
bors bot pushed a commit that referenced this pull request Jul 21, 2020
Follow up to #3472 - adds `coe_neg_one`, which allows `norm_cast` to handle hypotheses like `↑-1 = 1`
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