-
Notifications
You must be signed in to change notification settings - Fork 299
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(data/nat/cast): pi.coe_nat and pi.nat_apply #7492
Conversation
jcommelin
commented
May 4, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth adding the int and rat versions too while you're here?
|
||
variables {α β : Type*} | ||
|
||
lemma nat_apply [has_zero β] [has_one β] [has_add β] : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lemma nat_apply [has_zero β] [has_one β] [has_add β] : | |
@[simp] | |
lemma nat_apply [has_zero β] [has_one β] [has_add β] : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the coe
version already takes care of this.
I've added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bors r+
Pull request successfully merged into master. Build succeeded: |