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
- FreeMonoid.instStarMul = StarMul.mk ⋯
@[simp]
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
- FreeAlgebra.instStarRing = StarRing.mk ⋯
@[simp]
theorem
FreeAlgebra.star_ι
{R : Type u_1}
[CommSemiring R]
{X : Type u_2}
(x : X)
:
star (FreeAlgebra.ι R x) = FreeAlgebra.ι R x
@[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
def
FreeAlgebra.starHom
{R : Type u_1}
[CommSemiring R]
{X : Type u_2}
:
FreeAlgebra R X ≃ₐ[R] (FreeAlgebra R X)ᵐᵒᵖ
star
as an AlgEquiv
Equations
- FreeAlgebra.starHom = { toEquiv := starRingEquiv.toEquiv, map_mul' := ⋯, map_add' := ⋯, commutes' := ⋯ }