Transitive envelope (relation)

from Wikipedia, the free encyclopedia

The transitive envelope or the transitive closure of a (two-digit) relation is an extension of this relation which - to put it simply - additionally contains all indirectly reachable pairs (and is thus transitive ). The transitive hull can be calculated with the Floyd-Warshall algorithm .

The reflexive-transitive envelope or the reflexive-transitive closure of the relation is obtained by adding the pairs on the diagonal that are still missing for reflexivity to the transitive envelope .

Illustrative example

Illustration of the example: solid arrows indicate direct relationships, dashed arrows the relationships in the transitive envelope

Let there be a relation "direct superior" with the following relationships:

  • C is the direct superior of D and E.
  • B is C's direct superior
  • A is B's direct superior

The transitive envelope of this relation now also contains the indirect superiors:

  • A is the superior of B, C, D, E
  • B is the superior of C, D, E
  • C is the superior of D and E.

Mathematical definition

The transitive envelope of a two-digit relation on a set is given by:

The reflexive envelope is simply the union with the diagonal (identity), which is how reflexivity is achieved:

, d. H. (see identity relation ).

The reflexive-transitive envelope then results from

Supplement: Another shell formation of this type is the symmetrical shell:

, equivalent to the definition (see inverse relation ).

For the equivalence envelope see: Equivalence relation §equivalence envelope .

Examples

  • Is given by the two pairs and , then additionally contains the pair . For the other couples , and in addition .
  • If the successor relation is on the set of natural numbers (i.e. ), then the greater than relation results as the transitive envelope of . The reflexive-transitive envelope is the greater than or equal to relation .
  • The relation on the set of the 26 letters of the Latin alphabet is given by and (in the usual arrangement of the alphabet) are directly adjacent. The transitive envelope of results in the all relation , i.e. the relation that contains all pairs above the basic set (because by multiple transition to a neighbor one can reach any other letter from a letter). Since is already reflexive, applies here .

properties

  • is the smallest transitive relation that contains.
  • is the smallest reflexive and transitive relation that contains.
  • The transition to the transitive envelope is an envelope operator in the abstract sense (which the name already suggests). The same applies to the reflexive-transitive envelope.
  • The transitive envelope of a relation on a set is the intersection of all transitive supersets of , that is
    .
The set over which the average is formed here is not empty, since it always contains the all relation (i.e. ).
  • The analogous statement applies to the reflexive-transitive envelope.
  • With the help of the powers regarding the concatenation of relations, the two envelopes of a relation can also be written as an (infinite) union :
  • In connection with a relation on a set , a path is understood to be a finite sequence of elements from with for all with . The length of the sequence reduced by 1 is the length of the path. The path leads from the starting point to the end point . The reflexive-transitive envelope generated by it can be described as a relation by the fact that it applies exactly when there is a path from to . The same applies for the transitive closure , that if and only if there is a way of to is of a length greater than the 0th

  • There are a finite number of elements with , and for each or .
  • The following applies to reflexive relations . However, it can also happen for non- reflexive relations that the transitive closure is already reflexive.
  • There is a quasi-order for any relations .
  • Idempotency the Hülloperatoren: .

Applications

In theoretical computer science , derivations are defined in a formal grammar as a series of derivation steps. The derivability is the reflexive-transitive conclusion of the transition relation .

Transitive reduction

The counterpart to the transitive envelope is the transitive reduction. A transitive reduction of a relation is a minimal relation , so that , thus a minimal relation with the same transitive envelope.

There are relations for which no transitive reduction exists, as well as those for which several different transitive reductions exist. For directed finite acyclic graph , however, the transitive reduction exists and is unique: . In this case, the following figure shows graphs that correspond to a non-transitory binary relation (left) and its transitive reduction (right):

Tred-G.svg Tred-Gprime.svg


Related terms:

  • Reflexive reduction: The reflexive reduction of a relation to a set is the minimal relation , with the same reflexive envelope. That means that is equivalent to or .
  • There is no comparable concept of a symmetrical reduction of relations, such as the (symmetrical) relation . 

See also

Web links

Individual evidence

  1. a b c Kenneth H. Rosen: Closure of binary relation , in: CS381 Discrete Structures, Old Dominion University , Norfolk, Virginia, in 1999. The author uses the notations , , .
  2. HW Lang: Mathematical Basics: Quantity, Relation, Figure , Hochschule Flensburg, 1997-2016, §Relation
  3. Notation as in Symmetric Closure , on: ProofWiki from September 12, 2016
  4. Kenneth Rosen: Closures of Relations , Rutgers School of Arts and Sciences, Department of Computer Sciences (CS), Discrete Mathematics and Its Applications: Section 6.4, p. TP 2f. That of the author is .
  5. See Metz 2010, p. 1. In the graph-theoretical sense, it is a directed path (without edge weights) of the given length.
  6. Eric Weisstein: Transitive Reduction , Wolfram Research: Wofram MathWorld 1999-2018
  7. See Transitive reduction (English)
  8. Eric Weisstein: Reflexive Reduction , Wolfram Research: Wofram MathWorld 1999-2018
  9. Notation follows [1] , based on: ProofWiki of February 21, 2018
  10. Symmetric Closure §Notes , on: ProofWiki from September 12, 2016