F-algebra

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 to F-coalgebras.

A homomorphism from F-algebra (A, alpha) to F-algebra (B, eta) is a morphism

:f:Alongrightarrow B

in mathbf{C} such that

: fcirc alpha = eta circ Ff.

Thus the F-algebras constitute a category.

Example

Consider the functor F: mathbf{Set} omathbf{Set} that sends a set X to 1+X. Here, Set denotes the category of sets, + denotes the usual coproduct given by disjoint union, and 1 is a terminal object (i.e. any singleton set). Then the set N of natural numbers together with the function [mathrm{zero},mathrm{succ}] : 1+N o N, which is the coproduct of the functions mathrm{zero} : 1 o N (whose image is "0") and mathrm{succ} : N o N (which sends an integer "n" to "n+1"), is an F-algebra.

Initial F-algebra

If the category of F-algebras for a given endofunctor "F" has an initial object, it is called an initial algebra. The algebra (N, [mathrm{zero},mathrm{succ}] ) in the above example is an initial algebra. Various finite data structures used in programming, such as lists and trees, can be obtained as initial algebras of specific endofunctors.

Types defined by using least fixed point construct with functor F can be regarded as an initial F-algebra, provided that parametricity holds for the type.Philip Wadler: [http://homepages.inf.ed.ac.uk/wadler/papers/free-rectypes/free-rectypes.txt Recursive types for free!] University of Glasgow, July 1998. Draft.]

See also Universal algebra.

Terminal F-coalgebra

In a dual way, similar relationship exists between notions of greatest fixed point and terminal F-coalgebra, these can be used for allowing potentially infinite objects while maintaining strong normalization property. In the strongly normalizing Charity programming language (i.e. each program terminates in it), coinductive data types can be used achieving surprising results, e.g. defining lookup constructs to implement such “strong” functions like the Ackermann function. [Robin Cockett: Charitable Thoughts ( [ftp://ftp.cpsc.ucalgary.ca/pub/projects/charity/literature/papers_and_reports/charitable.ps ps] and [ftp://ftp.cpsc.ucalgary.ca/pub/projects/charity/literature/papers_and_reports/charitable.ps.gz ps.gz] )]

See also

* Algebraic data type
* Catamorphism

Notes

External links

* [http://www.cs.ut.ee/~varmo/papers/thesis.pdf Categorical programming with inductive and coinductive types] by Varmo Vene
* Philip Wadler: [http://homepages.inf.ed.ac.uk/wadler/papers/free-rectypes/free-rectypes.txt Recursive types for free!] University of Glasgow, July 1998. Draft.
* [http://tunes.org/wiki/algebra_20and_20coalgebra.html Algebra and coalgebra] from CLiki


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Algebra tiles — Algebra tiles are known as mathematical manipulatives that allow students to better understand ways of algebraic thinking and the concepts of algebra. These tiles have proven to provide concrete models for elementary school, middle school, high …   Wikipedia

  • Algebra (Struktur) — Algebra über einem Körper berührt die Spezialgebiete Mathematik Abstrakte Algebra Lineare Algebra Kommutative Algebra ist Spezialfall von Algebraische Struktur Vektorraum …   Deutsch Wikipedia

  • Álgebra de Boole — (también llamada Retículas booleanas) en informática y matemática, es una estructura algebraica que esquematiza las operaciones lógicas Y, O , NO y Si (AND,OR,NOT,IF), así como el conjunto de operaciones unión, intersección y complemento. Se… …   Wikipedia Español

  • Algebra (disambiguation) — Algebra is a branch of mathematics.Algebra may also mean: * elementary algebra * abstract algebra * linear algebra * universal algebra * computer algebraIn addition, many mathematical objects are known as algebras. * In logic: ** Boolean algebra… …   Wikipedia

  • Algebra (Begriffsklärung) — Algebra bezeichnet in der Mathematik: Algebra, ein Teilgebiet der Mathematik mit den weiteren Teilgebieten Elementare Algebra Abstrakte Algebra Lineare Algebra Kommutative Algebra Universelle Algebra Computeralgebra Außerdem bezeichnet man mit… …   Deutsch Wikipedia

  • Algebra Blessett — Algebra (chanteuse) Algebra Nom Algebra Felicia Blessett Naissance 1976 à Atlanta, Géorgie (États Unis) Pays d’origine …   Wikipédia en Français

  • Álgebra de Baldor — Álgebra Portada del libro Álgebra, de Aurelio Baldor Autor Aurelio Baldor …   Wikipedia Español

  • algebră — ALGÉBRĂ s.f. 1. Teorie a operaţiilor privind numerele reale (pozitive ori negative) sau complexe şi rezolvarea ecuaţiilor prin substituirea prin litere a valorilor numerice şi a formulei generale de calcul numeric particular. ♦ Manual şcolar care …   Dicționar Român

  • Algebra (chanteuse) — Algebra Nom Algebra Felicia Blessett Naissance 1976 à Atlanta, Géorgie (États Unis) Pays d’origine Etats Unis Activ …   Wikipédia en Français

  • Algebra — (fra Arabisk al djebr ) er en gren af matematikken der kan beskrives som en genralisering og udvidelse af aritmetikken. Man kan lave en grov inddeling af algebra i disse felter: 10 Elementær algebra hvor man ser på egenskaberne ved de reelle tal …   Danske encyklopædi

  • Algebra — Sf Lehre von den mathematischen Gleichungen (usw.) erw. fach. (15. Jh.) Entlehnung. Entlehnt aus ml. algebra, das seinerseits auf arab. al ǧabr zurückgeht. Dieses ist Teil des Titels eines Lehrbuchs des arabischen Mathematikers Al Ḫwārizmī (9. Jh …   Etymologisches Wörterbuch der deutschen sprache

Share the article and excerpts

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