-
Notifications
You must be signed in to change notification settings - Fork 239
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
AlmostCancellative in Nat.Properties ? #1562
Comments
I think this is a good idea. It should probably also be done for Integers and Rationals, if it hasn't already. |
The matter is also in that |
I think a useful reconciliation of this proposal with the instances arising for the concrete numerical types might be to systematically add ... UPDATED or proceed as @JacquesCarette suggested on #1436 by generalising |
lib-1.7 has a general notion AlmostLeft(Right)Cancellative,
and it is used in
*-cancelˡ-nonZero
inIsCancellativeCommutativeSemiring
.On the other hand
Nat.Properties
has the definitions of kind.It has sense to add there
*-cancelˡ-nonZero, *-cancelʳ-nonZero
having types AlmostLeft(Right)Cancellative,
and to add the instances of
CancellativeCommutativeSemiring
for Nat and Integer.?
The text was updated successfully, but these errors were encountered: