WWikiTTheoremsThe integers modulo n form a commutative ring with unity
Theorem·T59
The residue classes modulo n form a commutative ring with unity, the class of 1.
In words
The integers modulo n, with addition and multiplication of residue classes, form a ring in which multiplication is commutative and the class of 1 is a multiplicative identity.
Never needed: F10 · A03 · A04 · A05 · A07 · A09 (computed from the citation graph, not asserted).
Proof
- 1
- 2
- 3Associativity of (R1). by associativity of on (T23, (R1)).
- 4Distributivity (R2). by distributivity on (T23, (R2)); the other law follows the same way.
- 5Commutativity and unity. ; and (T23).
- 6All clauses of D061 hold with the additive identity, is commutative, and is a unity: is a commutative ring with unity.
∎
Remarks
The class map
is a surjective ring homomorphism
: every axiom of
is the image of the same axiom in
. Unlike
, this ring can have zero divisors: modulo
,
with neither factor zero. It is a field exactly when
is prime, since then every nonzero class is invertible (L78, T61); for
it degenerates to the trivial ring
. This is the library's first quotient ring, and the setting for all of modular arithmetic.
Used by
Propose an edit1 published revision