algebra

The category of R-algebras where R is a commutative ring is the under category R ↓ CRing. In the categorical setting we have a forgetful functor R-Alg ⥤ R-Mod. However here it extends module in order to preserve definitional equality in certain cases.

algebra.has_scalar

The codomain of an algebra.

algebra.of_ring_hom

Creating an algebra from a morphism in CRing.

algebra.polynomial

R[X] is the generator of the category R-Alg.

algebra.mv_polynomial

The algebra of multivariate polynomials.

algebra.of_subring

Creating an algebra from a subring. This is the dual of ring extension.

algebra.lmul

The multiplication in an algebra is a bilinear map.

alg_hom

Defining the homomorphism in the category R-Alg.

alg_hom.to_linear_map

R-Alg ⥤ R-Mod

algebra.comap

comap R S A is a type alias for A, and has an R-algebra structure defined on it when algebra R S and algebra S A.

algebra.comap.algebra

R ⟶ S induces S-Alg ⥤ R-Alg

alg_hom.comap

R ⟶ S induces S-Alg ⥤ R-Alg

polynomial.aeval

A → HomR-Alg

mv_polynomial.aeval

(ι → A) → HomR-Alg

alg_hom_int

CRing ⥤ ℤ-Alg

algebra_int

CRing ⥤ ℤ-Alg

subalgebra_of_subring

CRing ⥤ ℤ-Alg