dependency relation
   HOME

TheInfoList



OR:

In
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (includi ...
, in particular in concurrency theory, a dependency relation is a binary relation on a finite domain \Sigma,
symmetric Symmetry (from grc, συμμετρία "agreement in dimensions, due proportion, arrangement") in everyday language refers to a sense of harmonious and beautiful proportion and balance. In mathematics, "symmetry" has a more precise definiti ...
, and reflexive; i.e. a finite
tolerance relation In universal algebra and lattice theory, a tolerance relation on an algebraic structure is a reflexive symmetric relation that is compatible with all operations of the structure. Thus a tolerance is like a congruence, except that the assumption ...
. That is, it is a finite set of ordered pairs D, such that * If (a,b)\in D then (b,a) \in D (symmetric) * If a \in \Sigma, then (a,a) \in D (reflexive) In general, dependency relations are not transitive; thus, they generalize the notion of an equivalence relation by discarding transitivity. \Sigma is also called the
alphabet An alphabet is a standardized set of basic written graphemes (called letters) that represent the phonemes of certain spoken languages. Not all writing systems represent language in this way; in a syllabary, each character represents a syllab ...
on which D is defined. The independency induced by D is the binary relation I :I = (\Sigma \times \Sigma) \setminus D That is, the independency is the set of all ordered pairs that are not in D. The independency relation is symmetric and irreflexive. Conversely, given any symmetric and irreflexive relation I on a finite alphabet, the relation :D = (\Sigma \times \Sigma) \setminus I is a dependency relation. The pair (\Sigma, D) is called the concurrent alphabet. The pair (\Sigma, I) is called the independency alphabet or reliance alphabet, but this term may also refer to the triple (\Sigma, D, I) (with I induced by D). Elements x,y \in \Sigma are called dependent if xDy holds, and independent, else (i.e. if xIy holds). Given a reliance alphabet (\Sigma, D, I), a symmetric and irreflexive relation \doteq can be defined on the
free monoid In abstract algebra, the free monoid on a set is the monoid whose elements are all the finite sequences (or strings) of zero or more elements from that set, with string concatenation as the monoid operation and with the unique sequence of zero ele ...
\Sigma^* of all possible strings of finite length by: x a b y \doteq x b a y for all strings x, y \in \Sigma^* and all independent symbols a, b \in I. The equivalence closure of \doteq is denoted \equiv or \equiv_ and called (\Sigma, D, I)-equivalence. Informally, p \equiv q holds if the string p can be transformed into q by a finite sequence of swaps of adjacent independent symbols. The equivalence classes of \equiv are called
traces Traces may refer to: Literature * ''Traces'' (book), a 1998 short-story collection by Stephen Baxter * ''Traces'' series, a series of novels by Malcolm Rose Music Albums * ''Traces'' (Classics IV album) or the title song (see below), 1969 * ''Tra ...
, and are studied in trace theory.


Examples

200px, right Given the alphabet \Sigma=\, a possible dependency relation is D = \, see picture. The corresponding independency is I=\. Then e.g. the symbols b,c are independent of one another, and e.g. a,b are dependent. The string a c b b a is equivalent to a b c b a and to a b b c a, but to no other string.


References

{{reflist Binary relations