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] - refactor(algebra/module): rename smul_injective hx to smul_left_injective M hx #7577

Closed
wants to merge 2 commits into from

Conversation

Vierkantor
Copy link
Collaborator

This is a follow-up PR to #7548.

  • Now that there is also a smul_right_injective, we should disambiguate the previous smul_injective to smul_left_injective.
  • The M parameter can't be inferred from arguments before the colon, so we make it explicit in smul_left_injective and smul_right_injective.

Open in Gitpod

…jective M hx`

This is a follow-up PR to #7548.

 * Now that there is also a `smul_right_injective`, we should disambiguate the previous `smul_injective` to `smul_left_injective`.
 * The `M` parameter can't be inferred from arguments before the colon, so we make it explicit.
@Vierkantor Vierkantor added the awaiting-review The author would like community review of the PR label May 11, 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.

Looks good to me, thanks! Note we also have smul_left_cancel which has different typeclass assumptions.

@Vierkantor
Copy link
Collaborator Author

Looks good to me, thanks! Note we also have smul_left_cancel which has different typeclass assumptions.

Good point. The assumptions are orthogonal enough though, that there is no easy way to unify them.

@eric-wieser
Copy link
Member

bors d+

@bors
Copy link

bors bot commented May 11, 2021

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

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels May 11, 2021
@Vierkantor
Copy link
Collaborator Author

Whoops, forgot to commit the fix before pushing this branch and creating the PR :P

Copy link
Collaborator Author

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot pushed a commit that referenced this pull request May 12, 2021
…jective M hx` (#7577)

This is a follow-up PR to #7548.

 * Now that there is also a `smul_right_injective`, we should disambiguate the previous `smul_injective` to `smul_left_injective`.
 * The `M` parameter can't be inferred from arguments before the colon, so we make it explicit in `smul_left_injective` and `smul_right_injective`.
@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label May 12, 2021
@bors
Copy link

bors bot commented May 12, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(algebra/module): rename smul_injective hx to smul_left_injective M hx [Merged by Bors] - refactor(algebra/module): rename smul_injective hx to smul_left_injective M hx May 12, 2021
@bors bors bot closed this May 12, 2021
@bors bors bot deleted the smul_injective-explicit branch May 12, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. 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

2 participants