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/TrivSqZeroExt): use open scoped RightActions
#10546
Conversation
One lemma statement has changed (up to associativity)
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.
This is indeed much nicer. I went through the file and saw a few places where I would prefer to change •
to •>
to aid the eye. I'm only interested in it in places where there is an op smul. Personally, I would like to prefer that as the default style (i.e., if a SMul Rᵐᵒᵖ M
instance is in context, we write •>
instead of •
).
Because GitHub doesn't allow me to easily reference things not in the diff, I'll just list the line numbers: 526, 578, 624, 636, 646, 769.
|
It would be neat if we could teach the pretty-printer this rule. |
I've addressed 1 and 2 above, and made 5 moot by renaming. I've solved my objection to 3 by adding a second lemma stated with right actions, and I claim 4 needs no change. |
….com/leanprover-community/mathlib4 into eric-wieser/use-rightaction-notation
bors merge |
One lemma statement has changed (up to associativity). This is one of the more compelling justifications for #8909.
Pull request successfully merged into master. Build succeeded: |
open scoped RightActions
open scoped RightActions
One lemma statement has changed (up to associativity). This is one of the more compelling justifications for #8909.
One lemma statement has changed (up to associativity). This is one of the more compelling justifications for #8909.
One lemma statement has changed (up to associativity).
This is one of the more compelling justifications for #8909.