A *-algebra structure on the free algebra. #
Reversing words gives a *-structure on the free monoid or on the free algebra on a type.
Implementation note #
We have this in a separate file, rather than in Algebra.FreeMonoid
and Algebra.FreeAlgebra
,
to avoid importing Algebra.Star.Basic
into the entire hierarchy.
Equations
instance
FreeAlgebra.instStarRing
{R : Type u_1}
[CommSemiring R]
{X : Type u_2}
:
StarRing (FreeAlgebra R X)
The star ring formed by reversing the elements of products
Equations
@[simp]
@[simp]
star
as an AlgEquiv
Equations
- FreeAlgebra.starHom = { toEquiv := starRingEquiv.toEquiv, map_mul' := ⋯, map_add' := ⋯, commutes' := ⋯ }