A relation $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ from $A$ to $B$1,2 is equivalently:
Let $A$ and $B$ be sets.
A relation $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ from $A$ to $B$1,2 is equivalently:
A function from $A$ to $\mathcal{P}\webleft (B\webright )$.
A function from $B$ to $\mathcal{P}\webleft (A\webright )$.
A cocontinuous morphism of posets from $\webleft (\mathcal{P}\webleft (A\webright ),\subset \webright )$ to $\webleft (\mathcal{P}\webleft (B\webright ),\subset \webright )$.
A continuous morphism of posets from $\webleft (\mathcal{P}\webleft (B\webright ),\supset \webright )$ to $\webleft (\mathcal{P}\webleft (A\webright ),\supset \webright )$.
(We will prove that Item 1, Item 2, Item 3, Item 4, Item 5, and Item 6 are indeed equivalent in a bit.)
We may think of a relation $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ as a function from $A$ to $B$ that is multivalued, assigning to each element $a$ in $A$ a set $R\webleft (a\webright )$ of elements of $B$, thought of as the set of values of $R$ at $a$.
Note that this includes also the possibility of $R$ having no value at all on a given $a\in A$ when $R\webleft (a\webright )=\text{Ø}$.
Another way of stating the equivalence between Item 1, Item 2, Item 3, Item 4, and Item 5 of Definition 8.1.1.1.1 is by saying that we have bijections of sets
natural in $A,B\in \operatorname {\mathrm{Obj}}\webleft (\mathsf{Sets}\webright )$, where $\mathcal{P}\webleft (A\webright )$ and $\mathcal{P}\webleft (B\webright )$ are endowed with the poset structure given by inclusion.
We claim that Item 1, Item 2, Item 3, Item 4, and Item 5 are indeed equivalent:
Item 1$\iff $Item 2: This is a special case of Chapter 4: Constructions With Sets, Item 2 and Item 3 of Proposition 4.5.1.1.4.
Item 2$\iff $Item 3: This follows from the bijections
where the last bijection is from Chapter 4: Constructions With Sets, Item 2 and Item 3 of Proposition 4.5.1.1.4.
Item 2$\iff $Item 4: This follows from the bijections
where again the last bijection is from Chapter 4: Constructions With Sets, Item 2 and Item 3 of Proposition 4.5.1.1.4.
Item 2$\iff $Item 5: This follows from the universal property of the powerset $\mathcal{P}\webleft (X\webright )$ of a set $X$ as the free cocompletion of $X$ via the characteristic embedding
of $X$ into $\mathcal{P}\webleft (X\webright )$, as in Chapter 4: Constructions With Sets, Proposition 4.4.5.1.1. In particular, the bijection
is given by extending each $f\colon A\to \mathcal{P}\webleft (B\webright )$ in $\mathsf{Sets}\webleft (A,\mathcal{P}\webleft (B\webright )\webright )$ from $A$ to all of $\mathcal{P}\webleft (A\webright )$ by taking its left Kan extension along $\chi _{X}$, recovering the direct image function $f_{!}\colon \mathcal{P}\webleft (A\webright )\to \mathcal{P}\webleft (B\webright )$ of $f$ of Chapter 4: Constructions With Sets, Definition 4.6.1.1.1.
This finishes the proof.
Let $A$ and $B$ be sets and let $R\colon \mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ be a relation from $A$ to $B$.
We write $\mathrm{Rel}\webleft (A,B\webright )$ for the set of relations from $A$ to $B$.
We write $\mathbf{Rel}\webleft (A,B\webright )$ for the sub-poset of $\webleft (\mathcal{P}\webleft (A\times B\webright ),\subset \webright )$ spanned by the relations from $A$ to $B$.
Given $a\in A$ and $b\in B$, we write $a\sim _{R}b$ to mean $\webleft (a,b\webright )\in R$.
When viewing $R$ as a function
we write $R^{b}_{a}$ for the value of $R$ at $\webleft (a,b\webright )$.1
The trivial relation on $A$ and $B$ is the relation $\mathord {\sim }_{\mathrm{triv}}$ defined equivalently as follows:
As a subset of $A\times B$, we have
As a function from $A\times B$ to $\{ \mathsf{true},\mathsf{false}\} $, the relation $\mathord {\sim }_{\mathrm{triv}}$ is the constant function
from $A\times B$ to $\{ \mathsf{true},\mathsf{false}\} $ taking the value $\mathsf{true}$.
As a function from $A$ to $\mathcal{P}\webleft (B\webright )$, the relation $\mathord {\sim }_{\mathrm{triv}}$ is the function
defined by
for each $a\in A$.
Lastly, it is the unique relation $R$ on $A$ and $B$ such that we have $a\sim _{R}b$ for each $a\in A$ and each $b\in B$.
The cotrivial relation on $A$ and $B$ is the relation $\mathord {\sim }_{\mathrm{cotriv}}$ defined equivalently as follows:
As a subset of $A\times B$, we have
As a function from $A\times B$ to $\{ \mathsf{true},\mathsf{false}\} $, the relation $\mathord {\sim }_{\mathrm{cotriv}}$ is the constant function
from $A\times B$ to $\{ \mathsf{true},\mathsf{false}\} $ taking the value $\mathsf{false}$.
As a function from $A$ to $\mathcal{P}\webleft (B\webright )$, the relation $\mathord {\sim }_{\mathrm{cotriv}}$ is the function
defined by
for each $a\in A$.
Lastly, it is the unique relation $R$ on $A$ and $B$ such that we have $a\nsim _{R}b$ for each $a\in A$ and each $b\in B$.
The characteristic relation
on $X$ of Chapter 4: Constructions With Sets, Definition 4.5.3.1.1, defined by
for each $x,y\in X$, is another example of a relation.
Let $A$ and $B$ be sets and let $R,S\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ be relations.
End Formula for the Set of Inclusions of Relations. We have
Since we have $\operatorname {\mathrm{Hom}}_{\{ \mathsf{t},\mathsf{f}\} }\webleft (R^{b}_{a},S^{b}_{a}\webright )=\left\{ \mathsf{true}\right\} \cong \mathrm{pt}$ exactly when $R^{b}_{a}=\mathsf{false}$ or $R^{b}_{a}=S^{b}_{a}=\mathsf{true}$, we get
On the left hand-side, we have
Since $\webleft (a\sim _{R}b\implies a\sim _{S}b\webright )$ iff $R\subset S$, the two sets above are isomorphic. This finishes the proof.