Definition

Let be an endofunctor. An F-algebra is a pair where is an object and is a morphism. The object is the carrier and is the structure map.

Homomorphisms

Given -algebras and , an algebra homomorphism is a morphism in such that the following diagram commutes:

\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
FX \arrow[r, "F\theta"] \arrow[d, "\alpha"'] & FY \arrow[d, "\beta"] \\
X \arrow[r, "\theta"'] & Y
\end{tikzcd}
\end{document}

Initial Algebra

An initial F-algebra is an initial object in the category . It is typically denoted where . By Lambek’s Lemma, if an initial -algebra exists, the structure map is an isomorphism in , meaning . This identifies as a least fixed point of the functor .

Catamorphisms

For any -algebra , the unique homomorphism from the initial algebra is called a catamorphism. In functional programming and type theory, this corresponds to the principle of iteration or recursion over an inductive type.

See Also

References