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.
@[implicit_reducible]
@[simp]
Note that star_one is already a global simp lemma, but this one works with dsimp too
@[implicit_reducible]
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
@[simp]
@[simp]
theorem
FreeAlgebra.star_algebraMap
{R : Type u_1}
[CommSemiring R]
{X : Type u_2}
(r : R)
:
star ((algebraMap R (FreeAlgebra R X)) r) = (algebraMap R (FreeAlgebra R X)) r
star as an AlgEquiv