F-coalgebra

F-coalgebra

In mathematics, specifically in category theory, an F-coalgebra is a structure defined according to a functor F. For both algebra and coalgebra, a functor is a convenient and general way of organizing a signature. This has applications in computer science: examples of coalgebras include lazy, infinite data structures, such as streams, and also transition systems.

F-coalgebras are dual to F-algebras. Just as the class of all algebras for a given signature and equational theory form a variety, so does the class of all F-coalgebras satisfying a given equational theory form a covariety, where the signature is given by F.

Contents

Definition

An F-coalgebra for an endofunctor

F : \mathcal{C}\longrightarrow \mathcal{C}

is an object A of \mathcal{C} together with a \mathcal{C}-morphism

\alpha : A \longrightarrow FA.

An F-coalgebra homomorphism from α to another F-coalgebra \beta : B \longrightarrow FB is a morphism

f:A\longrightarrow B

in \mathcal{C} such that

 Ff\circ \alpha = \beta \circ f.

Thus the F-coalgebras for a given functor F constitute a category.

Examples

Consider the functor F: \mathbf{Set} \longrightarrow \mathbf{Set} that sends X to X\times A+1, F-coalgebras \alpha : X \longrightarrow X\times A+1 = FX are then finite or infinite streams over the alphabet A, where X is the set of states and α is the state-transition function. Applying the state-transition function to a state may yield two possible results: either an element of A together with the next state of the stream, or the element of the singleton set 1 as a separate "final state" indicating that there are no more values in the stream.

In many practical applications, the state-transition function of such a coalgebraic object may be of the form X \rarr f_1 \times f_2 \times \ldots \times f_n, which readily factorizes into a collection of "selectors", "observers", "methods" X \rarr f_1, \, X \rarr f_2 \, \ldots \, X \rarr f_n. Special cases of practical interest include observers yielding attribute values, and mutator methods of the form X \rarr X^{A_1 \times \ldots \times A_n} taking additional parameters and yielding states. This decomposition is dual to the decomposition of initial F-algebras into sums of 'constructors'.

Let P be the power set construction on the category of sets, considered as a covariant functor. The P-coalgebras are in bijective correspondence with sets with a binary relation. Now fix another set, A: coalgebras for the endofunctor P(A×(-)) are in bijective correspondence with labelled transition systems. Homomorphisms between coalgebras correspond to functional bisimulations between labelled transition systems.

Applications

In computer science, coalgebra has emerged as a convenient and suitably general way of specifying the reactive behaviour of systems, including classes in object-oriented programming. While algebraic specification deals with functional behaviour, typically using inductive datatypes generated by constructors, coalgebraic specification is concerned with reactive behaviour modelled by coinductive process types that are observable by selectors, much in the spirit of automata theory. An important role is played here by final coalgebras, which are complete sets of possibly infinite behaviours, such as streams. The natural logic to express properties of such systems is coalgebraic modal logic.

References

External links

See also


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Coalgebra — In mathematics, coalgebras or cogebras are structures that are dual (in the sense of reversing arrows) to unital associative algebras. The axioms of unital associative algebras can be formulated in terms of commutative diagrams. Turning all… …   Wikipedia

  • coalgebra — noun a structure that is dual to unital associative algebras …   Wiktionary

  • Cofree coalgebra — In algebra, the cofree coalgebra of a vector space or module is a coalgebra analog of the free algebra of a vector space. The cofree coalgebra of any vector space over a field exists, though it is more complicated than one might expect by analogy …   Wikipedia

  • Lie coalgebra — In mathematics a Lie coalgebra is the dual structure to a Lie algebra.In finite dimensions, these are dual objects: the dual vector space to a Lie algebra naturally has the structure of a Lie coalgebra, and conversely.DefinitionLet E be a vector… …   Wikipedia

  • Comodule — In mathematics, a comodule or corepresentation is a concept dual to a module. The definition of a comodule over a coalgebra is formed by dualizing the definition of a module over an associative algebra. Formal definition Let K be a field, and C… …   Wikipedia

  • F-algebra — In mathematics, specifically in category theory, an F algebra for an endofunctor :F : mathbf{C}longrightarrow mathbf{C} is an object A of mathbf{C} together with a mathbf{C} morphism :alpha : FA longrightarrow A. In this sense F algebras are dual …   Wikipedia

  • Summenlose Sweedler Notation — Koalgebra berührt die Spezialgebiete Mathematik Abstrakte Algebra Lineare Algebra ist Spezialfall von Vektorraum ist dual zu …   Deutsch Wikipedia

  • Sweedler-Notation — Koalgebra berührt die Spezialgebiete Mathematik Abstrakte Algebra Lineare Algebra ist Spezialfall von Vektorraum ist dual zu …   Deutsch Wikipedia

  • Sweedler Notation — Koalgebra berührt die Spezialgebiete Mathematik Abstrakte Algebra Lineare Algebra ist Spezialfall von Vektorraum ist dual zu …   Deutsch Wikipedia

  • Associative algebra — In mathematics, an associative algebra is a vector space (or more generally, a module) which also allows the multiplication of vectors in a distributive and associative manner. They are thus special algebras. Definition An associative algebra A… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”