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.[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. 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."[3]
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 [math]\displaystyle{ P \subseteq Q \equiv (P \cap \bar{Q} = \varnothing ) \equiv (P \cap Q = P), }[/math] 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.
Examples
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:
- [math]\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} . }[/math]
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.
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
- [math]\displaystyle{ \lt x, z\gt \ =\ x \bar{z} + \bar{x}z }[/math] 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.[4]
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. I ⊆ V × B. The elements of V will be called points, those of B blocks and those of I flags.[5]
Induced concept lattice
Heterogeneous relations have been described through their induced concept lattices: A concept C ⊂ R satisfies two properties: (1) The logical matrix of C is the outer product of logical vectors
- [math]\displaystyle{ C_{i j} \ = \ u_i v_j , \quad u, v }[/math] 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: X → Y, the set of concepts, enlarged by their joins and meets, forms an "induced lattice of concepts", with inclusion [math]\displaystyle{ \sqsubseteq }[/math] 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".[6] The decomposition is
- [math]\displaystyle{ R \ = \ f \ E \ g^T , }[/math] 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.[7] Structural analysis of relations with concepts provides an approach for data mining.[8]
Particular relations
- Proposition: If R is a serial relation and RT is its transpose, then [math]\displaystyle{ I \subseteq R^T R }[/math] where [math]\displaystyle{ I }[/math] is the m × m identity relation.
- Proposition: If R is a surjective relation, then [math]\displaystyle{ I \subseteq R R^T }[/math] where [math]\displaystyle{ I }[/math] is the n × n identity relation.
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 F ⊆ A × Z and G ⊆ B × 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
- [math]\displaystyle{ R \ R^T \ R \ \subseteq \ R . }[/math][9]
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 x1R ∩ x2R ≠ ∅ implies x1R = x2R.[10]
In 1997 researchers found "utility of binary decomposition based on difunctional dependencies in database management."[11] Furthermore, difunctional relations are fundamental in the study of bisimulations.[12]
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.[13]
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.[14]
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
- [math]\displaystyle{ R \bar{R}^T R \subseteq R . }[/math]
If any one of the relations [math]\displaystyle{ R, \ \bar{R}, \ R^T }[/math] is of Ferrers type, then all of them are. [1]
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:
- ∀ x in A, Y = {x} implies x g Y.
- Y ⊆ Z and x g Y implies x g Z.
- ∀ 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.[15][16]
In terms of the calculus of relations, sufficient conditions for a contact relation include
- [math]\displaystyle{ C^T \bar{C} \ \subseteq \ \ni \bar{C} \ \ \equiv \ C \ \overline{\ni \bar{C}} \ \subseteq \ C , }[/math] where [math]\displaystyle{ \ni }[/math] is the converse of set membership (∈).[17]:280
Preorder R\R
Every relation R generates a preorder R\R which is the left residual.[18] In terms of converse and complements, [math]\displaystyle{ R \backslash R \ \equiv \ \overline{R^T \bar{R}} . }[/math] Forming the diagonal of [math]\displaystyle{ R^T \bar{R} }[/math], the corresponding row of RT and column of [math]\displaystyle{ \bar{R} }[/math] will be of opposite logical values, so the diagonal is all zeros. Then
- [math]\displaystyle{ R^T \bar{R} \subseteq \bar{I} \ \implies \ I \subseteq \overline{R^T \bar{R}} \ = \ R \backslash R , }[/math] 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 X ⊂ R. Then
- [math]\displaystyle{ R(R\backslash R) \subseteq R }[/math]
- [math]\displaystyle{ R(R\backslash R) (R\backslash R )\subseteq R }[/math] (repeat)
- [math]\displaystyle{ \equiv R^T \bar{R} \subseteq \overline{(R \backslash R)(R \backslash R)} }[/math] (Schröder's rule)
- [math]\displaystyle{ \equiv (R \backslash R)(R \backslash R) \subseteq \overline{R^T \bar{R}} }[/math] (complementation)
- [math]\displaystyle{ \equiv (R \backslash R)(R \backslash R) \subseteq R \backslash R. }[/math] (definition)
The inclusion relation Ω on the power set of U can be obtained in this way from the membership relation ∈ on subsets of U:
- [math]\displaystyle{ \Omega \ = \ \overline{\ni \bar{\in}} \ = \ \in \backslash \in . }[/math][17]:283
Fringe of a relation
Given a relation R, a sub-relation called its fringe is defined as
- [math]\displaystyle{ \operatorname{fringe}(R) = R \cap \overline{R \bar{R}^T R} . }[/math]
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 ([math]\displaystyle{ R \subseteq \bar{I} }[/math]) 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.[17]
Mathematical heaps
Given two sets A and B, the set of binary relations between them [math]\displaystyle{ \mathcal{B}(A,B) }[/math] can be equipped with a ternary operation [math]\displaystyle{ [a, \ b,\ c] \ = \ a b^T c }[/math] 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.[19][20] 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.
See also
References
- ↑ 1.0 1.1 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.
- ↑ Michael Winter (2007). Goguen Categories: A Categorical Approach to L-fuzzy Relations. Springer. pp. x-xi. ISBN 978-1-4020-6164-6.
- ↑ G. Schmidt, Claudia Haltensperger, and Michael Winter (1997) "Heterogeneous relation algebra", chapter 3 (pages 37 to 53) in Relational Methods in Computer Science, Advances in Computer Science, Springer books ISBN:3-211-82971-7
- ↑ Relative simultaneity at Wikibooks
- ↑ Beth, Thomas; Jungnickel, Dieter; Lenz, Hanfried (1986). Design Theory. Cambridge University Press. p. 15.. 2nd ed. (1999) ISBN:978-0-521-44432-3
- ↑ R. Berghammer & M. Winter (2013) "Decomposition of relations on concept lattices", Fundamenta Informaticae 126(1): 37–82 doi:10.3233/FI-2013-871
- ↑ Ki Hang Kim (1982) Boolean Matrix Theory and Applications, page 37, Marcel Dekker ISBN:0-8247-1788-0
- ↑ 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
- ↑ Jacques Riguet (1950) "Quelques proprietes des relations difonctionelles", Comptes Rendus 230: 1999–2000
- ↑ Chris Brink; Wolfram Kahl; Gunther Schmidt (1997). Relational Methods in Computer Science. Springer Science & Business Media. p. 200. ISBN 978-3-211-82971-4.
- ↑ 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
- ↑ 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.
- ↑ 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.
- ↑ J. Riguet (1951) "Les relations de Ferrers", Comptes Rendus 232: 1729,30
- ↑ 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.
- ↑ Anne K. Steiner (1970) Review:Kontakt-Relationen from Mathematical Reviews
- ↑ 17.0 17.1 17.2 Gunther Schmidt (2011) Relational Mathematics, pages 211−15, Cambridge University Press ISBN:978-0-521-76268-7
- ↑ In this context, the symbol "[math]\displaystyle{ \backslash }[/math]" does not mean "set difference".
- ↑ Viktor Wagner (1953) "The theory of generalised heaps and generalised groups", Matematicheskii Sbornik 32(74): 545 to 632 MR0059267
- ↑ C.D. Hollings & M.V. Lawson (2017) Wagner’s Theory of Generalised Heaps, Springer books ISBN:978-3-319-63620-7 MR3729305
- Schmidt, Gunther; Ströhlein, Thomas (2012). "Chapter 3: Heterogeneous relations". 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.
- Ernst Schröder (1895) Algebra der Logik, Band III, via Internet Archive