Heterogeneous algebra

from Wikipedia, the free encyclopedia

Heterogeneous algebras are algebraic structures investigated in the mathematical sub-area of universal algebra and represent in a certain sense a generalization of universal algebras (to be distinguished from the discipline). While universal algebras are based on a single set as the basic set, the basic set is a heterogeneous algebra a set system.

They are used in the algebraic specification , a form of specification of a data type.

definition

A heterogeneous algebra consists of a system (a family ) of non-empty basic sets and a system (a family) of operations .

The operations are mappings of a (possibly empty) Cartesian product of the basic sets into one of the basic sets

.

Note that and all are specific to the particular operation. The operation at any part of tuples is called the type of the operation. An operation of the type corresponds to a constant (from the basic set ).

The heterogeneous algebra can be specified as follows:

In the given context, the spelling is also equivalent

common.

The family of types of the individual operations with an index set is called the (multi-faceted) signature (sometimes also type ) of heterogeneous algebra. If two algebras have the same signature, their operations can be assigned bijectively.

If there is only one basic set ( i.e. if there is a unit), then we have an ordinary ( universal ) algebra .

Remarks

  1. Sometimes it is also useful to allow empty sets as carrier sets , for example to ensure that the set of all sub-algebras (see below) of a heterogeneous algebra forms an algebraic lattice .
  2. If the term linkage is replaced by partial linkage in the above definition , then one speaks of a partial heterogeneous algebra. Link values ​​do not have to be defined here for all parameters ( tuple combinations).

Generalizations of terms known from universal algebras

Since heterogeneous algebra is a generalization of universal algebra, it is of interest how the known concepts and sentences can be translated.

Sub-algebras

A set system in which the subset relation applies to every index is a subalgebra of heterogeneous algebra if and only if all operations from are closed (especially also the zero-digit operations), so if:

for everyone with type and for everyone

Null digit operations (with type , that is ), d. H. Constants, this means that they must all be in:

As with universal algebras, the following applies: The set theoretic average of subalgebras is always a subalgebra (provided it is not empty). The average must be carried out separately for each and none of the averages may be empty.

Homomorphisms

Let and heterogeneous algebras have the same signature, i.e. h., each are and of the same type, for example .

Let there be a system (family) of mappings with for each .

Let the functions be interchangeable with the operations in the following sense :

The following applies to everyone with a common type and for everyone :

Especially in the case of constants, i. H. for those with type , the following must apply: with and .

Then one speaks of a homomorphism of in . If all functions are also bijective, one speaks of an isomorphism .

Homomorphism theorem

For every homomorphism on a heterogeneous algebra, the homomorphic image is isomorphic to its factor algebra according to the congruence relation .

Examples of heterogeneous algebras

Vector spaces

A vector space over a field is a heterogeneous algebra with the two basic sets and . The following applies to the two-digit operations:

  • has type .
  • has type .
  • has type .
  • has type .

In the quantifier-free notation of the axioms (without existential quantifier ), the formation of the additive inverse (negative) in and the additive and multiplicative inverse in , as well as constants (zero-digit operations) the zero vector in and zero and one element in :

  • has type .
  • has type .
  • has type (as a partial operation).
  • has type (as a constant , see empty product ).
  • and both have type .

Strictly speaking, the vector space is therefore a partially heterogeneous structure.
Generalizations are left and right vector spaces over skew fields (omission of the multiplicative commutativity of the scalars). Special vector spaces are the algebras over a field (K-algebras, also obsolete: linear algebras) and Lie algebras .

Modules

A module over a commutative ring with one element is a heterogeneous algebra with the two basic sets and . Modules are generalized vector spaces, for the operations analogous rules apply as above. Further generalizations exist in the absence of the multiplicative commutativity of the scalars (in which case a distinction must then be made between left and right modules) or of the one element.

Peirce algebras

A Peirce algebra is an abstract relational algebra together with left and right links with elements of other carrier sets. An example are two-digit relations between elements of two sets and (pre- and post-area) together with pre- and post-restriction to subsets of or .

quiver

A quiver in graph theory is a heterogeneous algebra with two basic sets (called points or nodes) and (called arrows or directed edges). The one-digit operations and are both of the type and assign each arrow its start and end point.

Small categories

A small category in category theory is a (partial) heterogeneous algebra with two basic sets (called objects) and (called morphisms or arrows). The one-digit operations and are both of the type and assign each morphism (arrow) its source and target object. is a two-digit partial link of the type and assigns two morphisms to the link . The identity mapping is a unary operation type associated with each object its Identitätsmorphismus with associates. The first four components of a small category define a quiver .

Finite automatons

A finite automaton in automaton theory is a heterogeneous algebra with the two basic sets (the input alphabet) and (the set of states). The following applies to the operations:

  • The initial state has type .
  • The state transition function has type .

Notes and individual references

  1. The index set can be understood as an alphabet of identifiers (types) of the basic sets and the index set as a set of function symbols (or identifiers).
  2. The restriction on basic quantities means that there is a small category. In category theory, however, the objects and morphisms of the categories under consideration usually form actual classes instead of sets.
  3. Opolka 2010, p. 141.

literature

  • Hans Kaiser, Rainer Mlitz, Gisela Zeilinger: Algebra for computer scientists . 2nd Edition. Springer-Verlag, Vienna 1985, ISBN 978-3-7091-8820-0 , doi : 10.1007 / 978-3-7091-8820-0 .
  • Miroslav Novotný: Homomorphisms of heterogeneous algebras. In: Czechoslovak Mathematical Journal. 52 (127), 2002, pp. 415-428.
  • G. Birkhoff, JD Lipson: Heterogeneous algebras. In: Journal of Combinatorial Theory. 8, 1970, pp. 115-133.
  • JA Goguen, JW Thatcher, EG Wagner, JB Wright: Initial algebra semantics and continuous algebras. In: Journal of the Association for Computing Machinery. 24, 1977, pp. 68-95.
  • PJ Higgins: Algebras with a schema of operators. In: Mathematical News. 27, 1963, pp. 115-132.
  • Hans Opolka: Algebra for Computer Science. At: TU-Braunschweig.de. Institute for Analysis and Algebra. PDF, 2010, no access without authorization.