Let it be a category and a functor. Every morphism is then an algebra. The object is called carrier of .
Homomorphisms
If and -algebras are in , a morphism is called in with the property homomorphism from to .
Initial F-algebras
The homomorphisms between -algebras to a fixed functor again form a category in which the objects -algebras are. An initial object in this category is called initial algebra. Is initial, is as algebra isomorphic to how the chart
shows. It is the only homomorphism from to . Therefore the left rectangle commutes. The right commutates trivially. Thus the outer rectangle commutes and is an -algebra homomorphism from to . But since is initial, it must be. On the other hand, due to the left rectangle and the equation just found .
The meaning of initial algebras lies in the fact that certain recursive structures can be mapped in an orderly manner. If there is an initial -algebra and any other -algebra, then there exists and there is exactly one morphism that is the solution of the equation . This is called catamorphism .
Theorems of existence for initial algebras
In Set C , the category of countable sets and functions, there is an initial algebra for each endofunctioner .
In Rel C , the category of countable sets and relations, there is an initial algebra for every endo-functor .