Characteristics of algebras #
In this file we describe the characteristic of R
-algebras.
In particular we are interested in the characteristic of free algebras over R
and the fraction field FractionRing R
.
Main results #
charP_of_injective_algebraMap
IfR →+* A
is an injective algebra map thenA
has the same characteristic asR
.
Instances constructed from this result:
- Any
FreeAlgebra R X
has the same characteristic asR
. - The
FractionRing R
of an integral domainR
has the same characteristic asR
.
If the algebra map R →+* A
is injective then A
has the same characteristic as R
.
If the algebra map R →+* A
is injective and R
has characteristic zero then so does A
.
As an application, a ℚ
-algebra has characteristic zero.
A nontrivial ℚ
-algebra has CharP
equal to zero.
This cannot be a (local) instance because it would immediately form a loop with the
instance algebraRat
. It's probably easier to go the other way: prove CharZero R
and
automatically receive an Algebra ℚ R
instance.
A nontrivial ℚ
-algebra has characteristic zero.
This cannot be a (local) instance because it would immediately form a loop with the
instance algebraRat
. It's probably easier to go the other way: prove CharZero R
and
automatically receive an Algebra ℚ R
instance.
An algebra over a field has the same characteristic as the field.
If R
has characteristic p
, then so does FreeAlgebra R X
.
If R
has characteristic 0
, then so does FreeAlgebra R X
.
If R
has characteristic 0
, then so does Frac(R).
If R
has characteristic p
, then so does FractionRing R
.
If R
has characteristic 0
, then so does FractionRing R
.