Example. Revisiting reflexive-transitive closure [016Z]

Let R\colon X\mathbin {\nrightarrow } X be a binary relation on a set X. In Lecture 14 we saw that the reflexive-transitive closure of R can be defined in two equivalent ways:

  1. Concretely: it can be defined to be the smallest relation closed under all finite paths in R, viewed as a directed graph.
  2. Abstractly: it is the smallest preorder containing R as a subrelation.

There is a “middle ground” between the most concrete and abstract ways of looking at reflexive-transitive closure: we can present it by means of syntactic rules whose induced closure conditions isolate the “set of preorders containing R as a subrelation”.

We first add the following rules over X\times X that correspond to the laws of a preorder.

\displaystyle \frac {\displaystyle }{\displaystyle \quad (x,x)\quad } \quad \displaystyle \frac {\displaystyle (x,y)\quad (y,z)}{\displaystyle \quad (x,z)\quad }

Finally, we add the following rule for any x,y\in X such that x\mathrel {R}y:

\displaystyle \frac {\displaystyle }{\displaystyle \quad (x,y)\quad } \quad (x\mathrel {R}y)

To be very clear, this last rule only applies when x\mathrel {R}y. This is called a side condition.