Relation Closures
Goal
What is the minimal number of steps to take in order to reach a certain property in a given relation?
Problem Statement
What happens when we have a relation, and this relation may not be transitive/reflective/symmetric? How can we make it so that it is? Furthermore, how can we make it so that it is the smallest possible relation that is transitive/reflective/symmetric?
- How many edges do we add to the graph to close a relation on a certain property?
- How many 1s do we add to the matrix to close a relation on a certain property?
- How many tuples do we add to the set to close a relation on a certain property?
Types of closures
Let us assume the relation is defined on a set such that it contains 2-tuples where and .
We can define the following types of closures:
- Reflexive Closure: A relation is reflexive if it contains all the pairs for all .
- Symmetric Closure: A relation is symmetric if it contains all the pairs for all .
- Transitive Closure: A relation is transitive if it contains all the pairs for all and .
- Equivalence Closure: A relation is an equivalence relation if it is reflexive, symmetric, and transitive.