The integers are a ring #
This file contains the commutative ring instance on ℤ
.
See note [foundational algebra order theory].
Equations
- Int.instCommRing = let __spread.0 := Int.instAddCommGroup; let __spread.1 := Int.instCommSemigroup; CommRing.mk ⋯
@[simp]
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.