nLab
transitive closure

The transitive closure of a binary relation on a set S is the smallest transitive relation that contains .

Often one wants the reflexive-transitive closure * of , which is the smallest transitive relation that contains and is also reflexive.

These can be defined explicitly as follows: x *y if and only if, for some natural number n, there exists a sequence (r 0,,r n) such that

x=r 0r n=y.x = r_0 \sim \cdots \sim r_n = y .

If you accept 0 as a natural number, then this defines the reflexive-transitive closure; if not, then this defines the transitive closure.

For the transitive closure, it's also possible to rephrase the above slightly (using only r 1 through r n1) to avoid any reference to equality.

In material set theory, the transitive closure of a pure set X is the transitive set X * whose members are the elements of the downset of X under the transitive closure (in the previous sense) of . That is, it consists of the members of X, their members, their members, and so on.

Analogously, the reflexive-transitive closure of X may be defined as the transitive closure of the successor X +=X{X} of X, which is the same as X *{X}.