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] - feat(algebra/group_ring_action) define group actions on rings #2566

Closed
wants to merge 3 commits into from

Conversation

kckennylau
Copy link
Collaborator

@kckennylau kckennylau commented Apr 29, 2020

Define group action on rings.

Related Zulip discussions:

TO CONTRIBUTORS:

Please include a summary of the changes made in this PR above "TO CONTRIBUTORS:", as that text will become the commit message. You are also encouraged to append the following co-authorship template if you'd like to acknowledge suggestions / commits made by other users:

Co-authored-by: name name@example.com

Make sure you have:

If this PR is related to a discussion on Zulip, please include a link in the discussion.

For reviewers: code review check list

If you're confused by comments on your PR like bors r+ or bors d+, please see our notes on bors for information on our merging workflow.

(smul_mul : ∀ (g : α) (x y : β), g • (x * y) = (g • x) * (g • y))

/-- Typeclass for multiplicative actions by monoids on additive monoids. -/
class mul_add_action [monoid α] [add_monoid β] extends mul_action α β :=
Copy link
Member

Choose a reason for hiding this comment

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

This already exists under the name distrib_mul_action

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should I keep the to_additive?

Copy link
Member

Choose a reason for hiding this comment

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

I guess we need a refactor 😭

Copy link
Member

@urkud urkud Apr 29, 2020

Choose a reason for hiding this comment

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

BTW, could you please use descriptive type variable names? E.g., M for a monoid and R for a ring. We should add this to naming.md. And there should be an instance for algebra being a mul_semiring_action.
Note that we have an incompatible idea of what is a good class for a ring action on a ring in ring_theory/algebra, and some lemmas (e.g., smul_one) make sense for both of them (and also for the left action of a non-commutative semiring on itself), so we should be careful about lemma names.

@jcommelin
Copy link
Member

@kckennylau If you can make the linter happy, feel free to make bors happy afterwards (-;

bors defer

@jcommelin
Copy link
Member

bors d+

@bors
Copy link

bors bot commented May 1, 2020

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

@kckennylau
Copy link
Collaborator Author

bors r+

@bors
Copy link

bors bot commented May 1, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/group_ring_action) define group actions on rings [Merged by Bors] - feat(algebra/group_ring_action) define group actions on rings May 1, 2020
@bors bors bot closed this May 1, 2020
@bors bors bot deleted the group-ring-action branch May 1, 2020 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants