Characteristic of semirings #
This file collects some fundamental results on the characteristic of rings that don't need the extra
imports of CharP/Lemmas.lean
.
As such, we can probably reorganize and find a better home for most of these lemmas.
If a ring R
is of characteristic p
, then for any prime number q
different from p
,
it is not zero in R
.
We have 2 ≠ 0
in a nontrivial ring whose characteristic is not 2
.
Characteristic ≠ 2
and nontrivial implies that -1 ≠ 1
.
Characteristic ≠ 2
in a domain implies that -a = a
iff a = 0
.
The characteristic of the product of rings is the least common multiple of the characteristics of the two rings.
Equations
- ⋯ = ⋯
The characteristic of the product of two rings of the same characteristic is the same as the characteristic of the rings
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
If two integers from {0, 1, -1}
result in equal elements in a ring R
that is nontrivial and of characteristic not 2
, then they are equal.