is the 2-category of categories, profunctors, and natural transformations. If profunctors are categorified binary relations, then is a categorification of Rel.
Recall that a profunctor from to is a functor . Composition of profunctors in is by the “tensor product of functors” coend construction: if and , their composite is given as a functor by
The identity on a category is its hom-functor .
Note that as defined here, is a weak -category or bicategory. A naturally defined equivalent strict 2-category has the same objects, but the morphisms are cocontinuous functors , where is the presheaf category of . This is equivalent because a profunctor can equivalently be regarded as a functor , and is the free cocompletion of .
Note that every functor gives two representable profunctors and . This defines two 2-functors that are the identity on objects. The relationship between Cat and encoded in this way makes them into an equipment.