Fano resonance

From formulasearchengine
Revision as of 11:04, 1 February 2014 by en>Nanite (History)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In mathematics, specifically in category theory, an F-algebra is a structure defined according to a (endo-)functor F. F-algebras can be used to represent data structures used in programming, such as lists and trees. Initial F-algebras encapsulate an induction principle.

F-algebras are dual to F-coalgebras.

The commutative diagram, which defines a property required by morphisms of the original category, so that they can be morphism of the newly defined category of F-algebras.

Definition

If 𝒞 is a category, and

F:𝒞𝒞

is an endofunctor of 𝒞, then an F-algebra is an object A of 𝒞 together with a 𝒞-morphism

α:F(A)A.

In this sense F-algebras are dual to F-coalgebras.

A homomorphism from an F-algebra (A,α) to an F-algebra (B,β) is a 𝒞-morphism

f:AB

such that

fα=βF(f),

see picture.

Thus the F-algebras constitute a category.

Example

Consider the functor F:SetSet 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 [zero,succ]:1+, which is the coproduct of the functions zero:1 (whose image is 0) and succ: (which sends an integer n to n+1), is an F-algebra.

Initial F-algebra

Mining Engineer (Excluding Oil ) Truman from Alma, loves to spend time knotting, largest property developers in singapore developers in singapore and stamp collecting. Recently had a family visit to Urnes Stave Church.

If the category of F-algebras for a given endofunctor F has an initial object, it is called an initial algebra. The algebra (,[zero,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.[1]

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.[1] 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.[2]

See also

Notes

  1. 1.0 1.1 Philip Wadler: Recursive types for free! University of Glasgow, June 1990. Draft.
  2. Robin Cockett: Charitable Thoughts (ps and ps.gz)

Further reading

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534

External links