nLab
algebra for a profunctor

Context

Category theory

Algebra

Contents

Idea

The notion of algebra over an endo-profunctor (C-C-bimodule) is a joint generalization of the notions algebra for an endofunctor and coalgebra for an endofunctor.

Definition

For a category C and a C-C bimodule H:C op×CSet, an algebra for H is given by a functor X:DC and an extranatural transformation *H(X,X), where *:1Set is constant at the point. X is called the carrier of the algebra. A morphism (X,α)(Y,β) of H-algebras is given by a natural transformation ϕ:XY such that H(X,ϕ)α=H(ϕ,Y)β.

If D is the one-object category, an algebra (X,α) is given by an object X in C and an element αH(X,X). A morphism between two algebras (X,α) and (Y,β) is then a morphism m:XY in C such that H(X,m)(α)=H(m,Y)(β), these both being elements of H(X,Y).

There is an an obvious forgetful functor into C from the category of algebras for H, which sends each algebra to its carrier and each algebra morphism to its underlying morphism in C; among other properties, this functor is always faithful and conservative.

In fact, the category Alg(H), together with its forgetful functor U:Alg(H)C, has the universal property of an Eilenberg-Moore object, namely that of being the universal H-algebra. Specifically, it is a terminal object in the category whose objects are functors G:DC equipped with an extranatural transformation *H(G,G?). For such an extranatural transformation consists of, for every dD, an element ξ dH(Gd,Gd), such that for every morphism v:de in D, we have H(id d,v)(ξ d)=H(v,id e)(ξ e). This is precisely the data of a functor DAlg(H) lying over C.

Coalgebras in Prof

One version of Yoneda's lemma says that for a profunctor K:CC there is a bijection between extranatural transformations *K and natural transformations hom CK. So there are bijections

*¨H(X,X) hom DH(X,X) C(1,X)HC(1,X)\array{ \ast \: {\ddot\to} \: H(X,X) \\ \hom_D \Rightarrow H(X,X) \\ C(1,X) \Rightarrow H \circ C(1,X) }

where the last holds by the usual properties of representable profunctors (see e.g. proarrow equipment). This exhibits each H-algebra on X in the above sense as a H-coalgebra in Prof with carrier C(1,X).

Examples

  • Algebras and coalgebras for endofunctors are special cases of algebras for bimodules; specifically, an algebra for an endofunctor F is an algebra for the bimodule Hom(F(),?), while a coalgebra for F is an algebra for the bimodule Hom(,F(?)).

  • A natural transformation between functors F and G from C to D is a section of the forgetful functor into C from the category of algebras for the CC bimodule Hom D(F(),G(?)). That is, it gives every object of C the structure of an algebra for Hom D(F(),G(?)) in such a way as that every morphism of C has the property of being an algebra morphism between the algebras on its domain and codomain.

  • A natural numbers object (in the weak, unparametrized sense) in a category C with terminal object 1 is an initial object in the category of algebras for the bimodule Hom C(1,?)×Hom C(,?). If C has binary coproducts, then this is of course the same as an initial algebra for the endofunctor 1+().

Revised on April 26, 2011 05:12:16 by Urs Schreiber (82.113.99.7)