The following conditions are equivalent:
Let $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ be a relation.
The following conditions are equivalent:
The relation $R$ is a retraction in $\mathsf{Rel}$.
We have $R=\operatorname {\mathrm{Gr}}(f)$ for some injective function $f\colon A\to B$.
Omitted.