The concept of profunctor is a generalization of the concept of functor in much the same way that the concept of bimodule generalizes that of algebra homomorphism (in fact, this may be understood as a special case of enriched profunctors).
If and are categories, then a profunctor from to is a functor of the form
Such a profunctor is usually written as ⇸. For and the set is also called the set of heteromorphisms from to .
Every functor induces two profunctors ⇸ and ⇸, defined by and . (Here denotes the hom functor of and denotes the identity functor on the respective category.) Since this construction may be thought of as the adjunct of the composition of with the Yoneda embedding , these profunctors are called representable (or sometimes one of them is called corepresentable) and this way profunctors subsume and generalize ordinary functors.
In particular the identity profunctor ⇸ is represented by the identity functor and hence is given by the hom-functor itself.
The notion generalizes to many other kinds of categories. For instance, if and are enriched over some symmetric closed monoidal category , then a profunctor from to is a -functor . If they are internal categories, then a profunctor ⇸ is an internal diagram on , and so on. There are also other equivalent definitions in each case; see below.
A profunctor is also sometimes called a (bi)module or a distributor or a relator or a correspondence, though the latter word is also used for a span. The term “module” tends to be common in Australia, especially in the enriched case; here the intuition is that for one-object -categories, i.e. monoids in , profunctors really are the same as bimodules between such monoids in the usual sense. “Profunctor” is perhaps more common in the Set-based and internal cases (but is also used in the enriched case); here the intuition is that a profunctor is a generalization of a functor, via the construction of “representable” profunctors. Jean Bénabou, who invented the term and originally used “profunctor,” now prefers “distributor”. One reason for this is that lax functors from a given category to the bicategory of distributors give a notion of “distribution on a category”, formally resembling distributions qua generalized functions - see Bénabou 95.
Note that the convention that a profunctor is a functor is not universal; some authors reverse and and/or put the “op” on the other one. See the discussion below.
Profunctors are composed by using a coend to “trace out” the middle variable. Specifically, for profunctors ⇸ and ⇸, their composite ⇸ is defined to be
This yields a bicategory in which
objects are small categories,
morphisms are profunctors with the above composition, and
This bicategory is variously denoted Prof, , or , according to one’s chosen name for profunctors. In the -enriched case, it is written or or .
The construction of the “representable” profunctors and from a functor yield two identity-on-objects functors and . Moreover, it is easy to check that in the bicategory ; thus is a proarrow equipment in the sense of Wood (in fact, the prototypical one). This same fact can also be expressed by defining a (pseudo) double category in which functors and profunctors are the two kinds of arrows; the construction of representable profunctors is then given by companions and conjoints in this double category, which make it a framed bicategory, hence an equivalent representation of a proarrow equipment.
The full sub-2-category on representable profunctors is equivalent to , the 2-category of anafunctors. See there for more details.
A basic fact (e.g. Kashiwara, Schapira, Categories and Sheaves, corollary 2.7.4, page 63) is that for a cocomplete category, colimit-preserving functors from presheaves on some small category to are canonically equivalent to functors from to : we have an equivalence of functor categories
This may be thought of as a consequence of the co-Yoneda lemma (and hence, of course, of the Yoneda lemma) which says that every presheaf is a colimit over representables, i.e. over objects in the image of the Yoneda embedding . This immediately implies that a colimit-preserving functor on is already determined by its restriction along to .
Now, profunctors are adjunct to functors . Hence by the above, profunctors are equivalent to colimit-preserving functors
Indeed, there is an equivalence of bicategories between and the 2-category of categories and colimit-preserving functors and natural transformations between their presheaf categories. Note that the latter is a strict 2-category which can thus serve as a “natural” strictification of (e.g. Cattani 1999, Prop. 4.2.4).
From this perspective, the representable profunctor induced by an ordinary -functor is the adjunct of the postcomposition
with the Yoneda embedding under the Hom-adjunction.
The formulation of profunctors as colimit-preserving functors on presheaf categories plays a big role also in the context of (∞,1)-categories. A presentable (∞,1)-category is one equivalent to a localization of some (∞,1)-category of (∞,1)-presheaves (i.e. some reflective (∞,1)-subcategory of the latter). The collection of all presentable (∞,1)-categories and colimit-preserving (∞,1)-functors betweem them forms the symmetric monoidal (∞,1)-category of presentable (∞,1)-categories, whose tensor product is the “bilinear” tensor product coming from interpreting colimit-preserving functors as “linear” (reading: colimit sum).
This -category therefore is an -analog of . In geometric ∞-function theory one finds (see section 4 there) that morphisms in encode the “correspondence operations” such as Fourier-Mukai and its generalizations. See in that context also the examples below.
Recall that a functor can equivalently be described as a discrete (Grothendieck) fibration, and similarly a functor can be described as a discrete opfibration. Thus, a profunctor could be described by a discrete opfibration over , or a discrete fibration over , but there is also a more directly “two-sided” fibrational description. A two-sided fibration from to is a functor which is a fibration over and an opfibration over in a compatible way. Such a fibration represents a pseudofunctor , and hence if it is discrete it represents a profunctor .
This definition/characterization of profunctors works for internal categories as well, but not for enriched ones. It is sometimes called the graph of a profunctor (although this is sometimes also used for the other fibrational representations mentioned above).
Yet another way of representing profunctors is via their collages, also called cographs. The collage of a profunctor ⇸ is, in particular, a category equipped with functors and which are fully faithful and jointly bijective on objects.
In fact, the objects of the undercategory which are collages of profunctors ⇸ can be characterized, up to equivalence, as the two-sided codiscrete cofibrations, i.e. the two-sided discrete fibrations in . In simpler and more explicit language, these are the categories which contain and as disjoint full subcategories which are jointly-wide (i.e. together contain all the objects), and such that there are no morphisms from an object of to an object of . Equivalently, they are the categories which admit a functor to the interval category such that is the fiber over and is the fiber over .
When viewing a profunctor ⇸ in this way, one may sometimes speak of elements of as heteromorphisms from to , since they are morphisms in the category and can be “composed” with morphisms of and (this corresponds to the “action” of and on in the other formulations), but they go between objects of two different categories (namely and ).
This characterization works just as well in both the internal and enriched case. Perhaps surprisingly, it also tends to give the “right” notion of profunctor starting with many other, even more exotic, 2-categories. However, it is trickier to figure out how to define the composite of profunctors viewed as codiscrete cofibrations; see codiscrete cofibration.
If is a codiscrete cofibration representing a profunctor from to , then the two-sided discrete fibration representing the same profunctor can be obtained as the comma category with its two projections to and .
Dually, if is a two-sided discrete fibration representing a profunctor from to , then the codiscrete cofibration representing the same profunctor can be obtained as the cocomma object? with the two inclusions of and .
In fact, in any 2-category with comma and cocomma objects, we have an adjunction
One can show that comma objects are always discrete fibrations, and dually cocomma objects are always codiscrete cofibrations. In and other similar 2-categories, this adjunction is idempotent and restricts to an equivalence between the categories of discrete fibrations and codiscrete cofibrations (both of which are of course equivalent to the category of profunctors from to ). This is a two-sided version of the Grothendieck construction.
A profunctor between and can also be viewed as a span that is compatible with composition in and in an appropriate way. This formulation falls out from the definition of a category as a monad in the bicategory (more generally double category) Span and defining a profunctor to be a bimodule. The formulation in terms of double categories can be used to produce the appropriate notion of both enriched and internal profunctors.
Recall that a one-object Vect-enriched category is just an algebra, while a general Vect-enriched category is an algebroid. The full sub-bicategory of on one-object -enriched categories is the familiar category of algebras, bimodules and bimodule homomorphisms. In this case, the “representable” profunctors correspond to the way in which every morphism of algebras induces the - bimodule which as a vector space is with obvious right action and left -action induced by first mapping to via and then using multiplication in .
The full sub-bicategory of on discrete categories is the bicategory of sets, spans of sets and morphisms of spans:
In particular a relation between sets is a special case of this. From this point of view the 2-category Prof of profunctors is a categorification of the category Rel of sets and relations.
Moreover, the representable profunctor between discrete category induced by a function of sets is the span
Similarly, the full sub-bicategory of internal profunctors in on “discrete categories” is the bicategory of cospans
for enrichment over a category of chain complexes an enriched category is a dg-category and a profunctor is now a dg-bimodule of dg-categories. This appears notably in the definition of noncommutative motives.
If a functor represents a given profunctor, then the action of the functor on morphisms is determined by the action of the profunctor and the representation isomorphism. For details see at representability determines functoriality
If is Cauchy complete, then the profunctors that correspond to functors (via Yoneda, which here looks like , with ) are exactly those that admit right adjoints. In general, right adjoint profunctors correspond to functors into the Cauchy completion of their codomain.
Original articles:
Maren Justesen, Bikategorien af Profunktorer, Aarhus 1968 (pdf)
Marta Bunge, Chapter 3 of: Categories of Set-Valued Functors, University of Pennsylvania, 1966
based on suggestions by Bill Lawvere
Michel André, Categories of Functors and Adjoint Functors, Batelle Institute at Geneva, 1964, see also Categories of Functors and Adjoint Functors,American Journal of Mathematics, Vol. 88, No. 3 (Jul., 1966), pp. 529-543
Jean Bénabou, Les distributeurs, Université Catholique de Louvain, Institut de Mathématique Pure et Appliquée, rapport 33 (1973) [pdf, pdf]
Some of these ideas were exposed at Oberwolfach in 1966. There are extant notes taken by Anders Kock of a talk by Bill Lawvere, but there is only a passing mention of ‘generalised functors’ (what are now called profunctors) and their ‘generalised matrix multiplication’.
Texbook account:
Lecture notes:
Exposition:
A nice example of profunctors between Lawvere metric spaces can be found in this comment.
The following classic paper is a good appetizer
See the Joyal's CatLab for the theory of Set-valued distributors:
Internal profunctors are considered in
Peter Johnstone, Topos Theory , Academic Press New York 1977. (Dover reprint Minneola 2014; sect. 2.4)
Peter Johnstone, Sketches of an Elephant I, Oxford UP 2002. (pp.359-367)
The relation to locally presentable categories is almost explicit in:
Profunctors play an important in categorical shape theory. The original source is
The material together with a general discussion of profunctors is also available in English in the reprinted monograph
Discussion of simplicial enriched profunctors in the context of strong shape theory in
Overview and application in computer science:
The common generalization of bimodules and spans in terms of profunctors has been discussed on the blog at
Distributions on a category as lax functors into the category of distributors are sketched in the abstract:
Profunctors are often notated with a slashed or barred arrow, as in ⇸, which is U+21F8 in Unicode. It is not always obvious how to draw this character, so here are some hints.
On the nLab (or anywhere that accepts SGML character entities, including raw HTML on the web), it can be found using a Unicode entity:
⇸
In LaTeX, one can use \nrightarrow
(producing ‘’) in a pinch, but a nice-looking extensible barred arrow command \xslashedrightarrow
can also be produced with the following preamble code (modified from amsmath’s \xrightarrow
). It requires the packages amsmath
and mathtools
to be loaded.
\makeatletter
\def\slashedarrowfill@#1#2#3#4#5{%
$\m@th\thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
\relax#5#1\mkern-7mu%
\cleaders\hbox{$#5\mkern-2mu#2\mkern-2mu$}\hfill
\mathclap{#3}\mathclap{#2}%
\cleaders\hbox{$#5\mkern-2mu#2\mkern-2mu$}\hfill
\mkern-7mu#4$%
}
\def\rightslashedarrowfill@{%
\slashedarrowfill@\relbar\relbar\mapstochar\rightarrow}
\newcommand\xslashedrightarrow[2][]{%
\ext@arrow 0055{\rightslashedarrowfill@}{#1}{#2}}
\makeatother
The command \xslashedrightarrow
can then be used with one required argument and one optional argument, just like \xrightarrow
. A version taking no arguments can of course be defined with
\def\slashedrightarrow{\xslashedrightarrow{}}
A simpler barred arrow taking no arguments can be created with
\def\slashedrightarrow{\relbar\joinrel\mapstochar\joinrel\rightarrow}
In Xypic, a barred arrow (to the right, in this example) can be produced with
\ar[r]|-@{|}
Last revised on November 12, 2024 at 14:45:50. See the history of this page for a list of all contributions to it.