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(group/ring_hom): fix a nat nsmul diamond #7201

Closed
wants to merge 4 commits into from

Conversation

sgouezel
Copy link
Collaborator

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 file algebra/group_power/basic, which contains all the useful properties of nsmul. So, we split the file algebra/group/hom.lean into two, where the second part can come later in the import hierarchy (below algebra/group_power/basic), and we declare the instances in this second part.

@sgouezel sgouezel added the awaiting-review The author would like community review of the PR label Apr 15, 2021
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

@bors
Copy link

bors bot commented Apr 15, 2021

✌️ sgouezel can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@semorrison
Copy link
Collaborator

bors merge

bors bot pushed a commit that referenced this pull request Apr 15, 2021
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>
@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 Apr 15, 2021
@bors
Copy link

bors bot commented Apr 15, 2021

Build failed:

@eric-wieser
Copy link
Member

I removed add_monoid_hom.nat_smul_apply, since it's just a special case of add_monoid_hom.smul_apply now that the semimodule instance isn't a weird one.

@sgouezel
Copy link
Collaborator Author

bors r+

bors bot pushed a commit that referenced this pull request Apr 15, 2021
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>
@bors
Copy link

bors bot commented Apr 15, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Apr 15, 2021
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>
@bors
Copy link

bors bot commented Apr 16, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(group/ring_hom): fix a nat nsmul diamond [Merged by Bors] - chore(group/ring_hom): fix a nat nsmul diamond Apr 16, 2021
@bors bors bot closed this Apr 16, 2021
@bors bors bot deleted the another_nat_diamond branch April 16, 2021 01:12
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