Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 2179 2022-11-21 01:33:05

Do you have a full video?

# Confirm

Are you sure to Delete?
Cite
HandWiki. Heterogeneous Relation. Encyclopedia. Available online: https://encyclopedia.pub/entry/35542 (accessed on 18 June 2024).
HandWiki. Heterogeneous Relation. Encyclopedia. Available at: https://encyclopedia.pub/entry/35542. Accessed June 18, 2024.
HandWiki. "Heterogeneous Relation" Encyclopedia, https://encyclopedia.pub/entry/35542 (accessed June 18, 2024).
HandWiki. (2022, November 21). Heterogeneous Relation. In Encyclopedia. https://encyclopedia.pub/entry/35542
HandWiki. "Heterogeneous Relation." Encyclopedia. Web. 21 November, 2022.
Heterogeneous Relation

In mathematics, a heterogeneous relation is a binary relation, a subset of a Cartesian product A × B, where A and B are distinct sets. The prefix hetero is from the Greek ἕτερος (heteros, "other, another, different"). A heterogeneous relation has been called a rectangular relation, suggesting that it does not have the square-symmetry of a homogeneous relation on a set where A = B. Commenting on the development of binary relations beyond homogeneous relations, researchers wrote, "...a variant of the theory has evolved that treats relations from the very beginning as heterogeneous or rectangular, i.e. as relations where the normal case is that they are relations between different sets." 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 R ⊆ S, meaning that aRb implies aSb, sets the scene in a lattice of relations. But since $\displaystyle{ P \subseteq Q \equiv (P \cap \bar{Q} = \varnothing ) \equiv (P \cap Q = P), }$ 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. In contrast to homogeneous relations, the composition of relations operation is only a partial function. The necessity of matching range to domain of composed relations has led to the suggestion that the study of heterogeneous relations is a chapter of category theory as in the category of sets, except that the morphisms of this category are relations. The objects of the category Rel are sets, and the relation-morphisms compose as required in a category.

category theory binary relations composition of relations

## 1. Examples

Oceans and continents. https://handwiki.org/wiki/index.php?curid=1878429
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:

$\displaystyle{ R = \begin{pmatrix} 0 & 0 & 1 & 0 & 1 & 1 & 1 \\ 1 & 0 & 0 & 1 & 1 & 0 & 0 \\ 1 & 1 & 1 & 1 & 0 & 0 & 1 \\ 1 & 1 & 0 & 0 & 1 & 1 & 1 \end{pmatrix} . }$

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) Visualization of relations leans on graph theory: For relations on a set (homogeneous relations), a directed graph illustrates a relation and a graph a symmetric relation. For heterogeneous relations a hypergraph has edges possibly with more than two nodes, and can be illustrated by a bipartite graph.

Just as the clique is integral to relations on a set, so bicliques are used to describe heterogeneous relations; indeed, they are the "concepts" that generate a lattice associated with a relation.

The various t axes represent time for observers in motion, the corresponding x axes are their lines of simultaneity. https://handwiki.org/wiki/index.php?curid=1996999

3) Hyperbolic orthogonality: Time and space are different categories, and temporal properties are separate from spatial properties. The idea of simultaneous events is simple in absolute time and space since each time t determines a simultaneous hyperplane in that cosmology. Herman Minkowski changed that when he articulated the notion of relative simultaneity, which exists when spatial events are "normal" to a time characterized by a velocity. He used an indefinite inner product, and specified that a time vector is normal to a space vector when that product is zero. The indefinite inner product in a composition algebra is given by

$\displaystyle{ \lt x, z\gt \ =\ x \bar{z} + \bar{x}z }$  where the overbar denotes conjugation.

As a relation between some temporal events and some spatial events, hyperbolic orthogonality (as found in split-complex numbers) is a heterogeneous relation.[1]

4) A geometric configuration can be considered a relation between its points and its lines. The relation is expressed as incidence. Finite and infinite projective and affine planes are included. Jakob Steiner pioneered the cataloguing of configurations with the Steiner systems S(t,k,n) which have an n-element set S and a set of k-element subsets called blocks, such that a subset with t elements lies in just one block. These incidence structures have been generalized with block designs. The incidence matrix used in these geometrical contexts corresponds to the logical matrix used generally with binary relations.

An incidence structure is a triple D = (V, B, I) where V and B are any two disjoint sets and I is a binary relation between V and B, i.e. IV × B. The elements of V will be called points, those of B blocks and those of I flags.[2]

## 2. Induced Concept Lattice

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

$\displaystyle{ C_{i j} \ = \ u_i v_j , \quad u, v }$ 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 $\displaystyle{ \sqsubseteq }$ 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

$\displaystyle{ R \ = \ f \ E \ g^T , }$ 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]

## 3. Particular Relations

• Proposition: If R is a serial relation and RT is its transpose, then $\displaystyle{ I \subseteq R^T R }$ where $\displaystyle{ I }$ is the m × m identity relation.
• Proposition: If R is a surjective relation, then $\displaystyle{ I \subseteq R R^T }$ where $\displaystyle{ I }$ is the n × n identity relation.

### 3.1. Difunctional

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

$\displaystyle{ R \ R^T \ R \ \subseteq \ R . }$[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, difunctional relations are fundamental in the study of bisimulations.[9]

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

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]

### 3.2. Ferrers Type

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

$\displaystyle{ R \bar{R}^T R \subseteq R . }$

If any one of the relations $\displaystyle{ R, \ \bar{R}, \ R^T }$ is of Ferrers type, then all of them are. [12]

### 3.3. Contact

Suppose B is the power set of A, the set of all subsets of A. Then a relation g is a contact relation if it 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 1970.[13][14]

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

$\displaystyle{ C^T \bar{C} \ \subseteq \ \ni \bar{C} \ \ \equiv \ C \ \overline{\ni \bar{C}} \ \subseteq \ C , }$ where $\displaystyle{ \ni }$ is the converse of set membership (∈).[15]:280

## 4. Preorder R\R

Every relation R generates a preorder R\R which is the left residual.[16] In terms of converse and complements, $\displaystyle{ R \backslash R \ \equiv \ \overline{R^T \bar{R}} . }$ Forming the diagonal of $\displaystyle{ R^T \bar{R} }$, the corresponding row of RT and column of $\displaystyle{ \bar{R} }$ will be of opposite logical values, so the diagonal is all zeros. Then

$\displaystyle{ R^T \bar{R} \subseteq \bar{I} \ \implies \ I \subseteq \overline{R^T \bar{R}} \ = \ R \backslash R , }$ 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

$\displaystyle{ R(R\backslash R) \subseteq R }$
$\displaystyle{ R(R\backslash R) (R\backslash R )\subseteq R }$ (repeat)
$\displaystyle{ \equiv R^T \bar{R} \subseteq \overline{(R \backslash R)(R \backslash R)} }$ (Schröder's rule)
$\displaystyle{ \equiv (R \backslash R)(R \backslash R) \subseteq \overline{R^T \bar{R}} }$ (complementation)
$\displaystyle{ \equiv (R \backslash R)(R \backslash R) \subseteq R \backslash R. }$ (definition)

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

$\displaystyle{ \Omega \ = \ \overline{\ni \bar{\in}} \ = \ \in \backslash \in . }$[15]:283

## 5. Fringe of a Relation

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

$\displaystyle{ \operatorname{fringe}(R) = R \cap \overline{R \bar{R}^T R} . }$

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 ($\displaystyle{ R \subseteq \bar{I} }$) 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.[15]

## 6. Mathematical Heaps

Given two sets A and B, the set of binary relations between them $\displaystyle{ \mathcal{B}(A,B) }$ can be equipped with a ternary operation $\displaystyle{ [a, \ b,\ c] \ = \ a b^T c }$ where bT denotes the converse relation of b. In 1953 Viktor Wagner used properties of this ternary operation to define semiheaps, heaps, and generalized heaps.[17][18] The contrast of heterogeneous and homogeneous relations is highlighted by these definitions:

There is a pleasant symmetry in Wagner's work between heaps, semiheaps, and generalised heaps on the one hand, and groups, semigroups, and generalised groups on the other. Essentially, the various types of semiheaps appear whenever we consider binary relations (and partial one-one mappings) between different sets A and B, while the various types of semigroups appear in the case where A = B.

### References

1. Relative simultaneity at Wikibooks
2. Beth, Thomas; Jungnickel, Dieter; Lenz, Hanfried (1986). Design Theory. Cambridge University Press. p. 15. . 2nd ed. (1999) ISBN:978-0-521-44432-3 https://www.wikipedia.org/wiki/Cambridge%20University%20Press
3. R. Berghammer & M. Winter (2013) "Decomposition of relations on concept lattices", Fundamenta Informaticae 126(1): 37–82 doi:10.3233/FI-2013-871 https://doi.org/10.3233%2FFI-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 https://mathscinet.ams.org/mathscinet-getitem?mr=2781235
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. pp. 118. doi:10.1007/978-3-662-44124-4_7. ISBN 978-3-662-44123-7.  https://dx.doi.org/10.1007%2F978-3-662-44124-4_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. Schmidt, Gunther; Ströhlein, Thomas (2012). Relations and Graphs: Discrete Mathematics for Computer Scientists. Springer Science & Business Media. ISBN 978-3-642-77968-8. https://books.google.com/books?id=ZgarCAAAQBAJ.
13. Georg Aumann (1971). "Kontakt-Relationen". Sitzungsberichte der mathematisch-physikalischen Klasse der Bayerischen Akademie der Wissenschaften München 1970 (II): 67–77. https://www.zobodat.at/publikation_volumes.php?id=56359.
14. Anne K. Steiner (1970) Review:Kontakt-Relationen from Mathematical Reviews https://mathscinet.ams.org/mathscinet-getitem?mr=0309040
15. Gunther Schmidt (2011) Relational Mathematics, pages 211−15, Cambridge University Press ISBN:978-0-521-76268-7 https://www.wikipedia.org/wiki/Cambridge%20University%20Press
16. In this context, the symbol "$\displaystyle{ \backslash }$" does not mean "set difference".
17. Viktor Wagner (1953) "The theory of generalised heaps and generalised groups", Matematicheskii Sbornik 32(74): 545 to 632 MR0059267 https://mathscinet.ams.org/mathscinet-getitem?mr=0059267
18. C.D. Hollings & M.V. Lawson (2017) Wagner’s Theory of Generalised Heaps, Springer books ISBN:978-3-319-63620-7 MR3729305 https://mathscinet.ams.org/mathscinet-getitem?mr=3729305
More
Information
Subjects:
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 669
Entry Collection:
Revision: 1 time (View History)
Update Date: 21 Nov 2022
1000/1000