The internal Hom of $\mathsf{Rel}$ is the functor
defined
-
•
On objects by sending $A,B\in \operatorname {\mathrm{Obj}}(\mathsf{Rel})$ to the set $\mathrm{Rel}(A,B)$ of
of
.
-
•
On morphisms by pre/post-composition defined as in Definition 8.1.3.1.1.