Composition and closure 閉包 へいほう of relations 関係 かんけい
1Introduction
Sometimes we do not want to check a
A
Composition distinguishes what is reachable in one use of a relation from what is reachable after finitely many uses. A closure retains every pair in the original relation while adding what is needed, so no existing pair is lost.
2Terms and definition: composition 合成 ごうせい
Let and be
This says that we can move from to by and then from to by .
3Terms and definitions: identity relation 恒等関係 こうとうかんけい and inverse relation 逆関係 ぎゃくかんけい
The
For , the
4What is closure 閉包 へいほう ?
In this section, let be a
The
The
The
5Strategy
When constructing a
Here a
The
Being a
6Intuitive explanation
If a
In this view, the transitive closure is the
In terms of path length, the
7Worked example: construct a transitive closure 推移閉包 すいいへいほう
7.1Problem
Find the
7.2Explanation
Because and ,
The resulting
No further
8Proof supplement: minimality of the transitive closure 推移閉包 すいいへいほう
For a
The statement means that a
The relation contains . Also, if and , then for some , and . Concatenating the paths gives , so .
Finally, let be any transitive relation on with . We prove for every by
9How to identify it and related links
- If a relation is used repeatedly, think of
composition .合成 ごうせい - If missing self-loops are added, it is the
reflexive closure .反射閉包 はんしゃへいほう - If reverse arrows are added, it is the
symmetric closure .対称閉包 たいしょうへいほう - If reachability is recorded as a direct
relation , it is the関係 かんけい transitive closure .推移閉包 すいいへいほう