202410171810

Tags : Monoid Theory

Free Monoid


Given a set , a free monoid generated by is the set of elements that can be constructed by taking arbitrary finite sequences of terms in . In some sense the free monoid on is the set of words over the alphabet .

The identity element of the free monoid is generally considered to be the empty string and the monoid operator is concatenation.

Universal Property of Free Structures

In the category of monoids, let be a faithful functor (forgetful functor) to the category of sets, and let be a set.

A free monoid on is an object in the category of monoids along with the inclusion map such that for any object in the category of monoids and , there exists a unique such that the following triangle commutes.

\usepackage{tikz-cd} 
\begin{document} 
\begin{tikzcd} 
A \arrow[dashed]{d}{f} & X \arrow{r}{i} \arrow{dr}[swap]{!g} & U(A) \arrow[dashed]{d}{U(f)} \\ B & & U(B) 
\end{tikzcd} 
\end{document}

References

Monoids Quotients of Syntactic Monoid of a language