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 α →+* Rinduced 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 ring homomorphism FreeRing α →+* R induced from a map α → R.
Instances For
The canonical ring homomorphism FreeRing α →+* FreeRing β generated by a map α → β.
Equations
- FreeRing.map f = FreeRing.lift (FreeRing.of ∘ f)