Definition:Complement of Relation

Definition
Let $\mathcal R \subseteq S \times T$ be a relation.

The complement of $\mathcal R$ is the relative complement of $\mathcal R$ with respect to $S \times T$:
 * $\complement_{S \times T} \left({\mathcal R}\right) := \left\{{\left({s, t}\right) \in S \times T: \left({s, t}\right) \notin \mathcal R}\right\}$

If the sets $S$ and $T$ are implicit, then $\complement \left({\mathcal R}\right)$ can be used.

Also denoted as
An alternative to $\complement_{S \times T} \left({\mathcal R}\right)$ is $\overline{\mathcal R}$ which is more compact and convenient, but the context needs to be established so that it does not get confused with other usages of the overline notation.

Specific conventional symbols used to denote certain frequently-encountered relations often consist of lines in various configurations, for example $=$, $\le$, $\equiv$, and adding an overline to these can only make for confusion.

In these cases, it is conventional to draw a line through the symbol, e.g.:
 * $\ne$ for $\complement \left({=}\right)$
 * $\not \le$ for $\complement \left({\le}\right)$
 * $\not \equiv$ for $\complement \left({\equiv}\right)$

and so on.

Some authors use $\mathcal R'$ to denote the complement of $\mathcal R$, but $'$ is already heavily overused.