-
Notifications
You must be signed in to change notification settings - Fork 297
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(group/ring_hom): fix a nat nsmul diamond #7201
Conversation
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.
bors d+
✌️ sgouezel can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
bors merge |
The space of additive monoid should be given a proper `nat`-action, by the pointwise action, to avoid diamonds. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Build failed: |
I removed |
bors r+ |
The space of additive monoid should be given a proper `nat`-action, by the pointwise action, to avoid diamonds. Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Build failed (retrying...): |
The space of additive monoid should be given a proper `nat`-action, by the pointwise action, to avoid diamonds. Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Pull request successfully merged into master. Build succeeded: |
The space of additive monoid should be given a proper
nat
-action, by the pointwise action, to avoid diamonds.The only difficulty in the PR is that the file
algebra/group/hom.lean
containing the additive monoid instance on the space of morphisms comes before the filealgebra/group_power/basic
, which contains all the useful properties ofnsmul
. So, we split the filealgebra/group/hom.lean
into two, where the second part can come later in the import hierarchy (belowalgebra/group_power/basic
), and we declare the instances in this second part.