closure of a relation R with respect to a property P: the relation S (if it exists) that contains R, has property P, and is contained within any relation that contains R and has property P.
reflexive closure: the smallest reflexive relation containing R, equal to R∪Δ, where Δ={(a,a)∣a∈A}.
symmetric closure: the smallest symmetric relation containing R, equal to R∪R−1.
path in a digraph: a sequence of edges (x0,x1),(x1,x2),…,(xn−1,xn) such that the terminal vertex of each edge is the initial vertex of the succeeding edge in the sequence.
circuit (or cycle) in a digraph: a path of length at least 1 that begins and ends at the same vertex.
R∗ (connectivity relation): the relation consisting of those ordered pairs (a,b) such that there is a path from a to b in R.
transitive closure: the smallest transitive relation containing R, equal to the connectivity relation R∗=⋃n=1∞Rn.
interior vertices: in a path a,x1,x2,…,xm−1,b, the vertices x1,x2,…,xm−1 other than the endpoints.
partial ordering (or partial order): a relation that is reflexive, antisymmetric, and transitive.
poset (S,R): a set S together with a partial ordering R on this set.
comparable: the elements a and b in the poset (S,⪯) are comparable if a⪯b or b⪯a.
incomparable: elements a and b in a poset that are not comparable.
total (or linear) ordering: a partial ordering for which every pair of elements is comparable.
totally (or linearly) ordered set (chain): a poset with a total (or linear) ordering.
well-ordered set: a poset (S,⪯), where ⪯ is a total order and every nonempty subset of S has a least element.
lexicographic order: a partial ordering defined on Cartesian products or strings based on the first element/character where they differ.
Hasse diagram: a graphical representation of a finite poset where loops and all edges resulting from the transitive property are removed, and the direction of edges is upward from initial to terminal vertex without arrows.
covering relation: the set of pairs (x,y) such that y covers x (i.e., x≺y and there is no z with x≺z≺y).
maximal element: an element of a poset that is not less than any other element of the poset.
minimal element: an element of a poset that is not greater than any other element of the poset.
greatest element: an element a of a poset greater than all other elements in the poset (b⪯a for all b∈S).
least element: an element a of a poset less than all other elements in the poset (a⪯b for all b∈S).
upper bound: an element u of a poset such that a⪯u for all elements a∈A.
lower bound: an element l of a poset such that l⪯a for all elements a∈A.
least upper bound (lub(A)): an upper bound of A that is less than every other upper bound of A.
greatest lower bound (glb(A)): a lower bound of A that is greater than every other lower bound of A.
lattice: a partially ordered set in which every pair of elements has both a least upper bound and a greatest lower bound.
compatible total ordering: a total ordering that contains the given partial ordering (a⪯b whenever aRb).
topological sort: the construction of a compatible total ordering from a given partial ordering.
Reflexive Closure: The reflexive closure of a relation R on the set A equals R∪Δ, where Δ={(a,a)∣a∈A}.
Symmetric Closure: The symmetric closure of a relation R on the set A equals R∪R−1, where R−1={(b,a)∣(a,b)∈R}.
Paths and Powers: There is a path of length n from a to b in R if and only if (a,b)∈Rn.
Transitive Closure Theorem: The transitive closure of a relation R equals the connectivity relation R∗=⋃n=1∞Rn.
Path Length Bound: If there is a path from a to b in a poset with n elements, there is such a path with length not exceeding n (and not exceeding n−1 if a=b).
Matrix Formulation of Transitive Closure:MR∗=MR∨MR[2]∨⋯∨MR[n].
Warshall's Algorithm: Computes the transitive closure MR∗ using 2n3 bit operations by constructing intermediate matrices Wk with update rule wij[k]=wij[k−1]∨(wik[k−1]∧wkj[k−1]).
Equivalence Class Properties: Let R be an equivalence relation on a set A. The following statements are equivalent for elements a,b∈A:
aRb
[a]=[b]
[a]∩[b]=∅
Equivalence Relations and Partitions Theorem: The equivalence classes of an equivalence relation on a set S form a partition of S. Conversely, given a partition {Ai∣i∈I} of S, there is an equivalence relation R having the sets Ai as its equivalence classes.
The Principle of Well-Ordered Induction: If S is a well-ordered set and for every y∈S, P(x) being true for all x≺y implies P(y) is true, then P(x) is true for all x∈S.
Existence of Minimal Elements: Every finite nonempty poset has at least one minimal element.
Topological Sorting Algorithm: Every finite nonempty poset can be linearized into a compatible total ordering by repeatedly selecting and removing a minimal element.