The integers are a ring #
This file contains the commutative ring instance on ℤ
.
See note [foundational algebra order theory].
Equations
- Int.instCancelCommMonoidWithZero = CancelCommMonoidWithZero.mk
Extra instances to short-circuit type class resolution #
These also prevent non-computable instances like Int.normedCommRing
being used to construct
these instances non-computably.