F-Algebra

Eine F-Algebra ist eine Struktur, welche allein auf Funktoreigenschaften beruht.

Dual zum Begriff der F-Algebra ist der der F-Koalgebra.

Definition

Es sei C {\displaystyle {\mathcal {C}}} eine Kategorie und F : C C {\displaystyle F\colon {\mathcal {C}}\to {\mathcal {C}}} ein Funktor. Jeder C {\displaystyle {\mathcal {C}}} -Morphismus α : F ( X ) X {\displaystyle \alpha \colon F(X)\to X} ist dann eine F {\displaystyle F} -Algebra. Das Objekt X {\displaystyle X} heißt Träger von α {\displaystyle \alpha } .

Homomorphismen

Sind α : F ( A ) A {\displaystyle \alpha \colon F(A)\to A} und β : F ( B ) B {\displaystyle \beta \colon F(B)\to B} F {\displaystyle F} -Algebren in C {\displaystyle {\mathcal {C}}} , so heißt ein Morphismus h : A B {\displaystyle h\colon A\to B} in C {\displaystyle {\mathcal {C}}} mit der Eigenschaft h α = β F ( h ) {\displaystyle h\circ \alpha =\beta \circ F(h)} Homomorphismus von α {\displaystyle \alpha } nach β {\displaystyle \beta } .

Initiale F-Algebren

Die Homomorphismen zwischen F {\displaystyle F} -Algebren zu einem festen Funktor F {\displaystyle F} bilden ihrerseits wieder eine Kategorie, in der die Objekte F {\displaystyle F} -Algebren sind. Ein initiales Objekt dieser Kategorie heißt initiale F {\displaystyle F} -Algebra. Ist α : F ( A ) A {\displaystyle \alpha \colon F(A)\to A} initial, so ist F ( α ) : F 2 ( A ) F ( A ) {\displaystyle F(\alpha )\colon F^{2}(A)\to F(A)} als F {\displaystyle F} -Algebra isomorph zu α {\displaystyle \alpha } , wie das Diagramm

F ( A )   F ( ? )   F 2 ( A )   F ( α )   F ( A ) α F ( α ) α A ? F ( A ) α A {\displaystyle {\begin{matrix}F(A)&{\xrightarrow {\ F(?)\ }}&F^{2}(A)&{\xrightarrow {\ F(\alpha )\ }}&F(A)\\\alpha {\Bigg \downarrow }&&{\Bigg \downarrow }F(\alpha )&&{\Bigg \downarrow }\alpha \\A&{\xrightarrow {\quad ?\quad }}&\!\!\!F(A)&{\xrightarrow {\quad \alpha \quad }}&\!\!\!A\end{matrix}}}

zeigt. Es sei ? : A F ( A ) {\displaystyle ?\colon A\to F(A)} der einzige Homomorphismus von α {\displaystyle \alpha } nach F ( α ) {\displaystyle F(\alpha )} . Deshalb kommutiert das linke Rechteck. Das rechte kommutiert trivialerweise. Somit kommutiert das äußere Rechteck und α ? {\displaystyle \alpha \circ {?}} ist ein F {\displaystyle F} -Algebra-Homomorphismus von α {\displaystyle \alpha } nach α {\displaystyle \alpha } . Da α {\displaystyle \alpha } aber initial ist, muss α ? = id A {\displaystyle \alpha \circ {?}=\operatorname {id} _{A}} sein. Andererseits ist aufgrund des linken Rechtecks und der soeben gefundenen Gleichung ? α = F ( α ) F ( ? ) = F ( α ? ) = F ( id A ) = id F ( A ) {\displaystyle {?}\circ \alpha =F(\alpha )\circ F(?)=F(\alpha \circ {?})=F(\operatorname {id} _{A})=\operatorname {id} _{F(A)}} .

Die Bedeutung initialer F {\displaystyle F} -Algebren liegt nun darin, dass gewisse rekursive Strukturen in geordneter Weise abgebildet werden können. Ist nämlich α : F ( A ) A {\displaystyle \alpha \colon F(A)\to A} eine initiale F {\displaystyle F} -Algebra, und β : F ( B ) B {\displaystyle \beta \colon F(B)\to B} eine beliebige andere F {\displaystyle F} -Algebra, so existiert α 1 {\displaystyle \alpha ^{-1}} und es gibt genau einen Morphismus h : A B {\displaystyle h\colon A\to B} , der Lösung der Gleichung h = β F ( h ) α 1 {\displaystyle h=\beta \circ F(h)\circ \alpha ^{-1}} ist. Dieser heißt Katamorphismus.

Existenzsätze für initiale Algebren

  • In SetC, der Kategorie abzählbarer Mengen und Funktionen, existiert zu jedem Endofunktor F {\displaystyle F} eine initiale Algebra.
  • In RelC, der Kategorie abzählbarer Mengen und Relationen, existiert zu jedem Endofunktor F {\displaystyle F} eine initiale Algebra.

Literatur

Adámek et al.: Initial algebras and terminal coalgebras: a survey

  • B. Jacobs, J. Rutten: A Tutorial on (Co) Algebras and (Co) Induction. In: Bulletin of the European Association for Theoretical Computer Science, Nr. 62, 1997.