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, logic): Pi instances for nontrivial and monoid_with_zero #4766
Conversation
eric-wieser
commented
Oct 24, 2020
This doesn't add `group_with_zero` for now, as that needs a pi instance for `nontrivial`
The proof of
|
Good point, I've updated to use those dependencies instead. |
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
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.
LGTM. @urkud, any suggestions?
Otherwise LGTM |
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
#4766) Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Build failed (retrying...): |
#4766) Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Pull request successfully merged into master. Build succeeded: |
leanprover-community#4766) Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Move everything that could not be additivised out of `Algebra.Group.Pi.Lemmas`: * `MulZeroClass`, `MulZeroOneClass`, etc... instances go to a new `Algebra.GroupWithZero.Pi` file. I credit Eric W. for leanprover-community/mathlib#4766. * `AddMonoidWithOne`, `AddGroupWithOne` instances go to `Algebra.Ring.Pi`. Also fix a bunch of `single` that should have been `mulSingle`.
Move everything that can't be additivised out of `Algebra.Group.Pi.Lemmas`: * `MulZeroClass`, `MulZeroOneClass`, etc... instances go to a new `Algebra.GroupWithZero.Pi` file. I credit Eric W. for leanprover-community/mathlib#4766. * `AddMonoidWithOne`, `AddGroupWithOne` instances go to `Algebra.Ring.Pi`.
Move everything that can't be additivised out of `Algebra.Group.Pi.Lemmas`: * `MulZeroClass`, `MulZeroOneClass`, etc... instances go to a new `Algebra.GroupWithZero.Pi` file. I credit Eric W. for leanprover-community/mathlib#4766. * `AddMonoidWithOne`, `AddGroupWithOne` instances go to `Algebra.Ring.Pi`.
Move everything that can't be additivised out of `Algebra.Group.Pi.Lemmas`: * `MulZeroClass`, `MulZeroOneClass`, etc... instances go to a new `Algebra.GroupWithZero.Pi` file. I credit Eric W. for leanprover-community/mathlib#4766. * `AddMonoidWithOne`, `AddGroupWithOne` instances go to `Algebra.Ring.Pi`.
Move everything that can't be additivised out of `Algebra.Group.Pi.Lemmas`: * `MulZeroClass`, `MulZeroOneClass`, etc... instances go to a new `Algebra.GroupWithZero.Pi` file. I credit Eric W. for leanprover-community/mathlib#4766. * `AddMonoidWithOne`, `AddGroupWithOne` instances go to `Algebra.Ring.Pi`.