A relation $R\colon A\mathrel {\rightarrow \kern -9.5pt\mathrlap {|}\kern 6pt}B$ from $A$ to $B$1,2 is equivalently:
-
1.
A subset $R$ of $A\times B$.
-
2.
A function from $A\times B$ to $\{ \mathsf{true},\mathsf{false}\} $.
-
3.
A function from $A$ to $\mathcal{P}(B)$.
-
4.
A function from $B$ to $\mathcal{P}(A)$.
-
5.
A cocontinuous morphism of posets from $(\mathcal{P}(A),\subset )$ to $(\mathcal{P}(B),\subset )$.
-
6.
A continuous morphism of posets from $(\mathcal{P}(B),\supset )$ to $(\mathcal{P}(A),\supset )$.
- 1Further Terminology: Also called a multivalued function from $A$ to $B$.
- 2Further Terminology: When $A=B$, we also call $R\subset A\times A$ a relation on $A$.