A profunctor (also named distributor by the French school and module by the Sydney school) from a category to a category , written
is defined to be a functor
where denotes the category of presheaves over .
A correspondence from to is a profunctor .
Composition of profunctors
The composite of two profunctors
is given by
It can be shown that
where is the least equivalence relation such that whenever there exists a morphism in such that
- and .
The bicategory of profunctors
Composition of profunctors is associative only up to isomorphism (because the product is not strictly associative in Set). The best one can hope is therefore to build a bicategory Prof whose
- 0-cells are small categories,
- 1-cells between two small categories are the profunctors between those categories,
- 2-cells between two profunctors are the natural transformations between those profunctors.
Lifting functors to profunctors
A functor can be seen as a profunctor by postcomposing with the Yoneda functor:
It can be shown that such a profunctor has a right adjoint. Moreover, this is a characterization: a profunctor has a right adjoint if and only if factors through the Cauchy completion of , i.e. there exists a functor such that .
- Bénabou, Jean (2000). "Distributors at Work".
- Borceux, Francis (1994). Handbook of Categorical Algebra. CUP.
- Lurie, Jacob (2009). Higher Topos Theory. Princeton University Press.
- Profunctor in nLab