Heterogeneous relation

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In mathematics, a heterogeneous relation is the same thing as a binary relation; i.e., a subset of a Cartesian product A × B, where A and B are sets, possibly distinct.[1] The prefix hetero is from the Greek ἕτερος (heteros, "other, another, different").

A heterogeneous relation has been called a rectangular relation,[2] suggesting that it does not have the square-symmetry of a homogeneous relation on a set where A = B.

Developments in algebraic logic have facilitated usage of binary relations. The calculus of relations includes the algebra of sets, extended by composition of relations and the use of converse relations. The inclusion RS, meaning that aRb implies aSb, sets the scene in a lattice of relations. But since the inclusion symbol is superfluous. Nevertheless, composition of relations and manipulation of the operators according to Schröder rules, provides a calculus to work in the power set of A × B.

Examples[edit]

Oceans and continents
Ocean borders continent
NA SA AF EU AS OC AA
Indian 0 0 1 0 1 1 1
Arctic 1 0 0 1 1 0 0
Atlantic 1 1 1 1 0 0 1
Pacific 1 1 0 0 1 1 1

1) Let A = {Indian, Arctic, Atlantic, Pacific}, the oceans of the globe, and B = { NA, SA, AF, EU, AS, OC, AA }, the continents. Let aRb represent that ocean a borders continent b. Then the logical matrix for this relation is:

The connectivity of the planet Earth can be viewed through R RT and RT R, the former being a 4 × 4 relation on A, which is the universal relation (A × A or a logical matrix of all ones). This universal relation reflects the fact that every ocean is separated from the others by at most one continent. On the other hand, RT R is a relation on B × B which fails to be universal because at least two oceans must be traversed to voyage from Europe to Oceania.

2) An incidence structure (P, L, I) is a heterogeneous relation where P is a set of points and L a set of lines and the relation I expresses incidence (point on line, line through point). The logical matrix of an incidence structure is called an incidence matrix. The general study of incidence structures is called incidence geometry.

3) Visualization of heterogeneous relations leans on graph theory: For relations on a set (homogeneous relations), a graph illustrates a corresponding relation. A bipartite graph is used to illustrate a heterogeneous relation. Just as the clique is integral to relations on a set, so bicliques are used to describe heterogeneous relations; indeed, the rectangles in a heterogeneous relation are illustrated through bicliques in the corresponding bipartite graph.

Induced concept lattice[edit]

Heterogeneous relations have been described through their induced concept lattices: A concept CR satisfies two properties: (1) The logical matrix of C is the outer product of logical vectors

logical vectors. (2) C is maximal, not contained in any other outer product. Thus C is described as a non-enlargeable rectangle.

For a given relation R: XY, the set of concepts, enlarged by their joins and meets, forms an "induced lattice of concepts", with inclusion forming a preorder.

The MacNeille completion theorem (1937) (that any partial order may be embedded in a complete lattice) is cited in a 2013 survey article "Decomposition of relations on concept lattices".[3] The decomposition is

where f and g are functions, called mappings or left-total, univalent relations in this context. The "induced concept lattice is isomorphic to the cut completion of the partial order E that belongs to the minimal decomposition (f, g, E) of the relation R."

Particular cases are considered below: E total order corresponds to Ferrers type, and E identity corresponds to difunctional, a generalization of equivalence relation on a set.

Relations may be ranked by the Schein rank which counts the number of concepts necessary to cover a relation.[4] Structural analysis of relations with concepts provides an approach for data mining.[5]

Particular relations[edit]

  • Proposition: If R is a total relation and RT is its transpose, then where I is the m × m identity relation.
  • Proposition: If R is a surjective relation, then where I is the n × n identity relation.

Difunctional[edit]

Among the homogeneous relations on a set, the equivalence relations are distinguished for their ability to partition the set. With heterogeneous relations the idea is to partition objects by distinguishing attributes. One way this can be done is with an intervening set Z = {x, y, z, ...} of indicators. The partitioning relation R = F GT is a composition of relations using univalent relations FA × Z and GB × Z.

The logical matrix of such a relation R can be re-arranged as a block matrix with blocks of ones along the diagonal. In terms of the calculus of relations, in 1950 Jacques Riguet showed that such relations satisfy the inclusion

[6]

He named these relations difunctional since the composition F GT involves univalent relations, commonly called functions.

Using the notation {y: xRy} = xR, a difunctional relation can also be characterized as a relation R such that wherever x1R and x2R have a non-empty intersection, then these two sets coincide; formally x1Rx2R ≠ ∅ implies x1R = x2R.[7]

In 1997 researchers found "utility of binary decomposition based on difunctional dependencies in database management."[8] Furthermore, bifunctional relations are fundamental in the study of bisimulations.[9]

In the context of homogeneous relations, a partial equivalence relation is bifunctional.

In automata theory, the term rectangular relation has also been used to denote a difunctional relation. This terminology recalls the fact that, when represented as a logical matrix, the columns and rows of a difunctional relation can be arranged as a block diagonal matrix with rectangular blocks of true on the (asymmetric) main diagonal.[10]

Ferrers type[edit]

A strict order on a set is a homogeneous relation arising in order theory. In 1951 Jacques Riguet adopted the ordering of a partition of an integer, called a Ferrers diagram, to extend ordering to heterogeneous relations.[11]

The corresponding logical matrix of a heterogeneous relation has rows which finish with a non-increasing sequence of ones. Thus the dots of a Ferrer's diagram are changed to ones and aligned on the right in the matrix.

An algebraic statement required for a Ferrers type relation R is

If any one of the relations is of Ferrers type, then all of them are. [1]

Contact[edit]

Suppose B is the power set of A, the set of all subsets of A. Then a contact relation g satisfies three properties: (1) ∀ x in A, Y = {x} implies x g Y. (2) YZ and x g Y implies x g Z. (3) ∀ y in Y, y g Z and x g Y implies x g Z. The set membership relation, ε = "is an element of", satisfies these properties so ε is a contact relation. The notion of a general contact relation was introduced by Georg Aumann in his book Kontakt-Relationen (1970).[12]

In terms of the calculus of relations, sufficient conditions for a contact relation include

where is the converse of set membership (∈).[13]:280

Preorder R\R[edit]

Every relation R generates a preorder R\R which is the left residual. In terms of converse and complements, Forming the diagonal of , the corresponding row of RT and column of will be of opposite logical values, so the diagonal is all zeros. Then

so that R\R is a reflexive relation.

To show transitivity, one requires that (R\R)(R\R) ⊂ R\R. Recall that X = R\R is the largest relation such that R XR. Then

(repeat)
(Schröder's rule)
(complementation)
(definition)

The inclusion relation Ω on the power set of U can be obtained in this way from the membership relation ∈ on subsets of U:

[13]:283

Fringe of a relation[edit]

Given a relation R, a sub-relation called its fringe is defined as

When R is a partial identity relation, difunctional, or a block diagonal relation, then fringe(R) = R. Otherwise the fringe operator selects a boundary sub-relation described in terms of its logical matrix: fringe(R) is the side diagonal if R is an upper right triangular linear order or strict order. Fringe(R) is the block fringe if R is irreflexive () or upper right block triangular. Fringe(R) is a sequence of boundary rectangles when R is of Ferrers type.

On the other hand, Fringe(R) = ∅ when R is a dense, linear, strict order.[13]

See also[edit]

References[edit]

  1. ^ a b Schmidt, Gunther; Ströhlein, Thomas (2012). Relations and Graphs: Discrete Mathematics for Computer Scientists. Springer Science & Business Media. p. 77. ISBN 978-3-642-77968-8.
  2. ^ Michael Winter (2007). Goguen Categories: A Categorical Approach to L-fuzzy Relations. Springer. pp. x–xi. ISBN 978-1-4020-6164-6.
  3. ^ R. Berghammer & M. Winter (2013) "Decomposition of relations on concept lattices", Fundamenta Informaticae 126(1): 37–82 doi:10.3233/FI-2013-871
  4. ^ Ki Hang Kim (1982) Boolean Matrix Theory and Applications, page 37, Marcel Dekker ISBN 0-8247-1788-0
  5. ^ Ali Jaoua, Rehab Duwairi, Samir Elloumi, and Sadok Ben Yahia (2009) "Data mining, reasoning and incremental information retrieval through non enlargeable rectangular relation coverage", pages 199 to 210 in Relations and Kleene algebras in computer science, Lecture Notes in Computer Science 5827, Springer MR2781235
  6. ^ Jacques Riguet (1950) "Quelques proprietes des relations difonctionelles", Comptes Rendus 230: 1999–2000
  7. ^ Chris Brink; Wolfram Kahl; Gunther Schmidt (1997). Relational Methods in Computer Science. Springer Science & Business Media. p. 200. ISBN 978-3-211-82971-4.
  8. ^ Ali Jaoua, Nadin Belkhiter, Habib Ounalli, and Theodore Moukam (1997) "Databases", pages 197–210 in Relational Methods in Computer Science, edited by Chris Brink, Wolfram Kahl, and Gunther Schmidt, Springer Science & Business Media ISBN 978-3-211-82971-4
  9. ^ Gumm, H. P.; Zarrad, M. (2014). "Coalgebraic Simulations and Congruences". Coalgebraic Methods in Computer Science. Lecture Notes in Computer Science. 8446. p. 118. doi:10.1007/978-3-662-44124-4_7. ISBN 978-3-662-44123-7.
  10. ^ Julius Richard Büchi (1989). Finite Automata, Their Algebras and Grammars: Towards a Theory of Formal Expressions. Springer Science & Business Media. pp. 35–37. ISBN 978-1-4613-8853-1.
  11. ^ J. Riguet (1951) "Les relations de Ferrers", Comptes Rendus 232: 1729,30
  12. ^ Anne K. Steiner (1970) Review:Kontakt=Relationen from Mathematical Reviews
  13. ^ a b c Gunther Schmidt (2011) Relational Mathematics, pages 211−15, Cambridge University Press ISBN 978-0-521-76268-7