The internal Hom of $\mathsf{Rel}$ is the functor
defined
-
•
On objects by sending $A,B\in \operatorname {\mathrm{Obj}}\webleft (\mathsf{Rel}\webright )$ to the set $\mathrm{Rel}\webleft (A,B\webright )$ of
of
.
-
•
On morphisms by pre/post-composition defined as in Chapter 9: Constructions With Relations,
.