127. Closures

Given any relation $\alpha$ on $S$, and any property $P$ that a relation can have there may be a “smallest” relation with property $P$ containing $\alpha$ as a subset. It may not exist, but if it does, it is called the P-closure of $\alpha$. Here is the formal definition.

127.1 Definition: closure

A relation $\beta$ on $A$ is the $P$-closure of $\alpha$ if

C.1 $\beta$ has property $P$.

C.2 $\alpha\subseteq\beta$.

C.3 If $\gamma$ has property $P$ and $\alpha\subseteq\gamma$, then $\beta\subseteq\gamma$.

127.1.1 How to think of closures $\beta$ is the “smallest” (in the sense of inclusion) relation with property $P$ containing $\alpha$ as a subset.

127.1.2 Fact The reflexive, symmetric, and transitive closures of relations always exist. We will look at each of these in turn. The antisymmetric closure of a relation need not exist (Problem 128.2.5).

127.2 Theorem

The reflexive closure of a relation $\alpha$ is $\alpha\cup\Delta_S$. It is denoted by $\alpha^R$.

Proof To prove this formally you must show that it fits Definition 127.1; that is, that

RC.1 $\alpha\cup\Delta_S$ is reflexive,

RC.2 $\alpha\subseteq\alpha\cup\Delta_S$, and

RC.3 if $\gamma$ is a reflexive relation and $\alpha\subseteq\gamma$, then $\alpha\cup\Delta_S\subseteq\gamma$.

RC.1 and RC.2 are obvious. As for RC.3, suppose that $\alpha\subseteq\gamma$ and $\gamma$ is reflexive. If $x(\alpha\cup\Delta_S)z$ then either $x\,\alpha\, z$ or $x=z$ (that is, $x\,\Delta_S\, z$). In the first case $x\gamma z$ because $\alpha\subseteq\gamma$, and in the second case, $x\gamma z$ because $\gamma$ is reflexive. Thus

$$x(\alpha\cup\Delta_S)y\ \Rightarrow\ x\gamma y$$

so $\alpha\cup\Delta_S\subseteq\gamma$, as required.

127.2.1 Exercise What is the reflexive closure of the relation “$<$” on $\mathrm{R}$? (Answer on page 250.)

127.3 Theorem

The symmetric closure of a relation $\alpha$ is

$$\alpha^S=\alpha\cup\alpha^{\mathrm{op}}$$

127.3.1 Exercise What is the symmetric closure of “$<$” on $\mathrm{R}$? (Answer on page 250.)

127.3.2 Exercise What is the symmetric closure of “$\leq$” on $\mathrm{R}$?

127.3.3 Exercise Give an example of a relation whose symmetric closure has exactly three elements.

127.3.4 Exercise Show that the symmetric closure of a relation $\alpha$ is $\alpha\cup\alpha^{op}$. (Answer on page 250.)

The most important type of closure in practice is the transitive closure:

127.4 Theorem

Let $\alpha$ be a relation on a set $S$. The transitive closure $\alpha^T$ of $\alpha$ is $\bigcup_{k=1}^{\infty}\alpha^k$, where $\alpha^k=\alpha\circ\alpha\circ...\circ\alpha$ ($k$ times), the composition power.

Proof Let $\beta=\bigcup_{k=1}^{n}\alpha^k$. Any member of a family of sets is enclosed in the union of the family, so $\alpha\subseteq\beta$. This verifies C.2 of Definition 127.1. As for C.3, suppose $\gamma$ is transitive and $\alpha\subseteq\gamma$. Then $\alpha^k\subseteq\gamma$ (Exercise 127.4.2), so $\beta\subseteq\gamma$ because any ordered pair in $\beta$ is in at least one of the sets $\alpha^k$.

Finally, we must show that $\beta$ is transitive. Suppose $x\beta z$ and $z\beta y$. Then for some integers $k$ and $m$, $x\alpha^k z$ and $z\alpha^m y$. Then it is easy to see that $x\alpha^{k+m}y$, so $x\beta y$ as required.

127.4.1 Exercise What is the transitive closure of the relation $\alpha$ on $\mathrm{Z}$ defined by $x\alpha y$ if and only if $y=x+1$?

127.4.2 Exercise Suppose $\gamma$ is transitive and $\alpha\subseteq\gamma$. Show that $\alpha^k\subseteq\gamma$ for all positive integers $k$.

$\alpha\cup\Delta_S$ is the only reflexive closure of $\alpha$. That is why we could use the notation $\alpha^R$ — it means only one thing. It is always true that if a relation has a P-closure, it has only one:

127.5 Theorem

Let $P$ be a property of relations, and suppose $\beta$ and $\beta'$ are P-closures of a relation $\alpha$ on a set $S$. Then $\beta=\beta'$.

Proof By C.2 of Definition 127.1, $\alpha\subseteq\beta$ and $\alpha\subseteq\beta'$. Then by C.3, $\beta\subseteq\beta'$ and $\beta'\subseteq\beta$. Thus $\beta=\beta'$.

Pages 197–198 of the book (PDF).