Math 2.0

definition

Transitive closure

Definition

Let RR be a binary relation on a set AA. The transitive closure of RR is the relation R+R^{+} on AA such that aR+ba \mathrel{R^{+}} b when there are n≥1n \ge 1 and x0,…,xn∈Ax_0, \dots, x_n \in A with a=x0Rx1Rx2⋯xn−1Rxn=b.a = x_0 \mathrel{R} x_1 \mathrel{R} x_2 \cdots x_{n-1} \mathrel{R} x_n = b.

Remarks

The relation R+R^{+} is transitive, it contains RR, and it is a subset of each transitive relation that contains RR. It is also the intersection of all transitive relations on AA that contain RR. Example: the transitive closure of "is a parent of" is "is an ancestor of".

Explanations

L1 human

The transitive closure adds all the shortcuts. In a graph, aR+ba \mathrel{R^{+}} b means that there is a path of one or more arrows from aa to bb.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

Sources

  1. Web https://en.wikipedia.org/wiki/Transitive_closure, lead section