Let $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ be a relation. The following conditions are equivalent:
In this section we characterise the epimorphisms in the category $\mathsf{Rel}$, following ,
.
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 monomorphism in $\mathsf{Rel}$.
The direct image function
associated to $R$ is injective.
The codirect image function
associated to $R$ is injective.
Moreover, if $R$ is a monomorphism, then it satisfies the following condition, and the converse holds if $R$ is total:
Firstly note that Item 2 and Item 3 are equivalent by Chapter 9: Constructions With Relations, of
. We then claim that Item 1 and Item 2 are also equivalent:
Item 1$\implies $Item 2: Let $U,V\in \mathcal{P}\webleft (A\webright )$ and consider the diagram
Now, if $R\mathbin {\diamond }U=R\mathbin {\diamond }V$, i.e. $R_{!}\webleft (U\webright )=R_{!}\webleft (V\webright )$, then $U=V$ since $R$ is assumed to be a monomorphism, showing $R_{!}$ to be injective.
Item 2$\implies $Item 1: Conversely, suppose that $R_{!}$ is injective, consider the diagram
for each $x\in X$, implying $S=T$, and thus $R$ is a monomorphism.
We can also prove this in a more abstract way, following [Yuan, Mono's and epi's in the category Rel?]:
Item 1$\implies $Item 2: Assume that $R$ is a monomorphism.
We first notice that the functor $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )\colon \mathrm{Rel}\to \mathsf{Sets}$ maps $R$ to $R_{!}$ by Chapter 9: Constructions With Relations, .
Since $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ preserves all limits by ,
of
, it follows by
,
of
that $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ also preserves monomorphisms.
Since $R$ is a monomorphism and $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ maps $R$ to $R_{!}$, it follows that $R_{!}$ is also a monomorphism.
Since the monomorphisms in $\mathsf{Sets}$ are precisely the injections (,
of
), it follows that $R_{!}$ is injective.
Item 2$\implies $Item 1: Assume that $R_{!}$ is injective.
We first notice that the functor $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )\colon \mathrm{Rel}\to \mathsf{Sets}$ maps $R$ to $R_{!}$ by Chapter 9: Constructions With Relations, .
Since the monomorphisms in $\mathsf{Sets}$ are precisely the injections (,
of
), it follows that $R_{!}$ is a monomorphism.
Since $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ is faithful, it follows by ,
of
that $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ reflects monomorphisms.
Since $R_{!}$ is a monomorphism and $\mathrm{Rel}\webleft (\mathrm{pt},-\webright )$ maps $R$ to $R_{!}$, it follows that $R$ is also a monomorphism.
Finally, we prove the second part of the statement. Assume that $R$ is a monomorphism, let $a,a'\in A$ such that $a\sim _{R}b$ and $a'\sim _{R}b$ for some $b\in B$, and consider the diagram
Conversely, assume the condition
consider the diagram
A similar argument shows that if $\webleft (x,a\webright )\in T$, then $\webleft (x,a\webright )\in S$, and thus $S=T$ and it follows that $R$ is a monomorphism.