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(algebra/module/prod): add missing instances #6055

Closed
wants to merge 3 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Feb 5, 2021

This adds the following instances for prod:

  • is_scalar_tower
  • smul_comm_class
  • mul_action
  • distrib_mul_action

It also renames the type variables to match the usual convention for modules


@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Feb 5, 2021
This adds the following instances for `prod`:
* `is_scalar_tower`
* `smul_comm_class`
* `mul_action`
* `distrib_mul_action`

It also renames the type variables to match the usual convention for modules
@eric-wieser eric-wieser force-pushed the eric-wieser/prod.smul_comm_class branch from d4a54b8 to d595e92 Compare February 5, 2021 16:58
@eric-wieser eric-wieser changed the title chore(algebra/module/prod): add an smul_comm_class instance chore(algebra/module/prod): add missing instances Feb 5, 2021
[semimodule R M] [semimodule R N] [semimodule S M] [semimodule S N]
[smul_comm_class R S M] [smul_comm_class R S N] :
smul_comm_class R S (M × N) :=
{ smul_comm := λ r s x, mk.inj_iff.mpr ⟨smul_comm _ _ _, smul_comm _ _ _⟩ }
Copy link
Member

Choose a reason for hiding this comment

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

This instance doesn't need semimodules, only has_scalars. Otherwise LGTM
bors d+

@bors
Copy link

bors bot commented Feb 8, 2021

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

@eric-wieser
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Feb 8, 2021
This adds the following instances for `prod`:
* `is_scalar_tower`
* `smul_comm_class`
* `mul_action`
* `distrib_mul_action`

It also renames the type variables to match the usual convention for modules
@bors
Copy link

bors bot commented Feb 8, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/module/prod): add missing instances [Merged by Bors] - chore(algebra/module/prod): add missing instances Feb 8, 2021
@bors bors bot closed this Feb 8, 2021
@bors bors bot deleted the eric-wieser/prod.smul_comm_class branch February 8, 2021 14:15
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
This adds the following instances for `prod`:
* `is_scalar_tower`
* `smul_comm_class`
* `mul_action`
* `distrib_mul_action`

It also renames the type variables to match the usual convention for modules
@YaelDillies YaelDillies removed the awaiting-review The author would like community review of the PR label Nov 15, 2021
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

3 participants