Free rings #
The theory of the free ring over a type.
Main definitions #
FreeRing α
: the free (not commutative in general) ring over a type.lift (f : α → R)
: the ring homFreeRing α →+* R
induced byf
.map (f : α → β)
: the ring homFreeRing α →+* FreeRing β
induced byf
.
Implementation details #
FreeRing α
is implemented as the free abelian group over the free monoid on α
.
Tags #
free ring
Equations
Equations
The canonical ring homomorphism FreeRing α →+* FreeRing β
generated by a map α → β
.
Equations
- FreeRing.map f = FreeRing.lift (FreeRing.of ∘ f)