In
algebra
Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
, a transformation semigroup (or composition semigroup) is a collection of
transformations (
functions from a set to itself) that is
closed under
function composition
In mathematics, the composition operator \circ takes two function (mathematics), functions, f and g, and returns a new function h(x) := (g \circ f) (x) = g(f(x)). Thus, the function is function application, applied after applying to . (g \c ...
. If it includes the
identity function
Graph of the identity function on the real numbers
In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
, it is a
monoid
In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being .
Monoids are semigroups with identity ...
, called a transformation (or composition) monoid. This is the
semigroup
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplicatively (just notation, not necessarily th ...
analogue of a
permutation group
In mathematics, a permutation group is a group ''G'' whose elements are permutations of a given set ''M'' and whose group operation is the composition of permutations in ''G'' (which are thought of as bijective functions from the set ''M'' to ...
.
A transformation semigroup of a set has a tautological
semigroup action on that set. Such actions are characterized by being faithful, i.e., if two elements of the semigroup have the same action, then they are equal.
An analogue of
Cayley's theorem
In the mathematical discipline of group theory, Cayley's theorem, named in honour of Arthur Cayley, states that every group is isomorphic to a subgroup of a symmetric group.
More specifically, is isomorphic to a subgroup of the symmetric gro ...
shows that any semigroup can be realized as a transformation semigroup of some set.
In
automata theory, some authors use the term ''transformation semigroup'' to refer to a semigroup
acting faithfully on a set of "states" different from the semigroup's base set.
There is
a correspondence between the two notions.
Transformation semigroups and monoids
A transformation semigroup is a pair (''X'',''S''), where ''X'' is a set and ''S'' is a semigroup of transformations of ''X''. Here a transformation of ''X'' is just a
function from a subset of ''X'' to ''X'', not necessarily invertible, and therefore ''S'' is simply a set of transformations of ''X'' which is
closed under
composition of functions. The set of all
partial function
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain ...
s on a given base set, ''X'', forms a
regular semigroup In mathematics, a regular semigroup is a semigroup ''S'' in which every element is regular, i.e., for each element ''a'' in ''S'' there exists an element ''x'' in ''S'' such that . Regular semigroups are one of the most-studied classes of semigroup ...
called the semigroup of all partial transformations (or the partial transformation semigroup on ''X''), typically denoted by
.
If ''S'' includes the identity transformation of ''X'', then it is called a transformation monoid. Any transformation semigroup ''S'' determines a transformation monoid ''M'' by taking the union of ''S'' with the identity transformation. A transformation monoid whose elements are invertible is a
permutation group
In mathematics, a permutation group is a group ''G'' whose elements are permutations of a given set ''M'' and whose group operation is the composition of permutations in ''G'' (which are thought of as bijective functions from the set ''M'' to ...
.
The set of all transformations of ''X'' is a transformation monoid called the full transformation monoid (or semigroup) of ''X''. It is also called the symmetric semigroup of ''X'' and is denoted by ''T''
''X''. Thus a transformation semigroup (or monoid) is just a
subsemigroup
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplicatively (just notation, not necessarily the ...
(or
submonoid
In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being .
Monoids are semigroups with identity ...
) of the full transformation monoid of ''X''.
If (''X'',''S'') is a transformation semigroup then ''X'' can be made into a
semigroup action of ''S'' by evaluation:
:
This is a monoid action if ''S'' is a transformation monoid.
The characteristic feature of transformation semigroups, as actions, is that they are ''faithful'', i.e., if
:
then ''s'' = ''t''. Conversely if a semigroup ''S'' acts on a set ''X'' by ''T''(''s'',''x'') = ''s'' • ''x'' then we can define, for ''s'' ∈ ''S'', a transformation ''T''
''s'' of ''X'' by
:
The map sending ''s'' to ''T''
''s'' is injective if and only if (''X'', ''T'') is faithful, in which case the image of this map is a transformation semigroup isomorphic to ''S''.
Cayley representation
In
group theory
In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups.
The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
,
Cayley's theorem
In the mathematical discipline of group theory, Cayley's theorem, named in honour of Arthur Cayley, states that every group is isomorphic to a subgroup of a symmetric group.
More specifically, is isomorphic to a subgroup of the symmetric gro ...
asserts that any group ''G'' is isomorphic to a subgroup of the
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
of ''G'' (regarded as a set), so that ''G'' is a
permutation group
In mathematics, a permutation group is a group ''G'' whose elements are permutations of a given set ''M'' and whose group operation is the composition of permutations in ''G'' (which are thought of as bijective functions from the set ''M'' to ...
. This theorem generalizes straightforwardly to monoids: any monoid ''M'' is a transformation monoid of its underlying set, via the action given by left (or right) multiplication. This action is faithful because if ''ax'' = ''bx'' for all ''x'' in ''M'', then by taking ''x'' equal to the identity element, we have ''a'' = ''b''.
For a semigroup ''S'' without a (left or right) identity element, we take ''X'' to be the underlying set of the
monoid corresponding to ''S'' to realise ''S'' as a transformation semigroup of ''X''. In particular any finite semigroup can be represented as a
subsemigroup
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplicatively (just notation, not necessarily the ...
of transformations of a set ''X'' with , ''X'', ≤ , ''S'', + 1, and if ''S'' is a monoid, we have the sharper bound , ''X'', ≤ , ''S'', , as in the case of
finite group
In abstract algebra, a finite group is a group whose underlying set is finite. Finite groups often arise when considering symmetry of mathematical or physical objects, when those objects admit just a finite number of structure-preserving tra ...
s.
In computer science
In
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, Cayley representations can be applied to improve the asymptotic efficiency of semigroups by reassociating multiple composed multiplications. The action given by left multiplication results in right-associated multiplication, and vice versa for the action given by right multiplication. Despite having the same results for any semigroup, the asymptotic efficiency will differ. Two examples of useful transformation monoids given by an action of left multiplication are the functional variation of the
difference list
In computer science, the term difference list refers to a data structure representing a list with an efficient O(1) concatenation operation and conversion to a linked list in time proportional to its length. Difference lists can be implemented usi ...
data structure, and the monadic Codensity transformation (a Cayley representation of a
monad, which is a monoid in a particular
monoidal functor category
In category theory, a branch of mathematics, a functor category D^C is a category where the objects are the functors F: C \to D and the morphisms are natural transformations \eta: F \to G between the functors (here, G: C \to D is another object i ...
).
Transformation monoid of an automaton
Let ''M'' be a deterministic
automaton
An automaton (; : automata or automatons) is a relatively self-operating machine, or control mechanism designed to automatically follow a sequence of operations, or respond to predetermined instructions. Some automata, such as bellstrikers i ...
with state space ''S'' and alphabet ''A''. The words in 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 ...
''A''
∗ induce transformations of ''S'' giving rise to a
monoid morphism
In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being .
Monoids are semigroups with identi ...
from ''A''
∗ to the full transformation monoid ''T''
''S''. The image of this morphism is the transformation semigroup of ''M''.
[
For a ]regular language
In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be defined by a regular expression, in the strict sense in theoretical computer science (as opposed to ...
, the syntactic monoid
In mathematics and computer science, the syntactic monoid M(L) of a formal language L is the minimal monoid that recognizes the language L. By the Myhill–Nerode theorem, the syntactic monoid is unique up to unique isomorphism.
Syntactic quot ...
is isomorphic to the transformation monoid of the minimal automaton of the language.[
]
See also
* Semiautomaton
* Krohn–Rhodes theory
In mathematics and computer science, the Krohn–Rhodes theory (or algebraic automata theory) is an approach to the study of finite semigroups and automata that seeks to decompose them in terms of elementary components. These components correspon ...
* Symmetric inverse semigroup
* Biordered set
* Special classes of semigroups
* Composition ring
References
*
*
* Mati Kilp, Ulrich Knauer, Alexander V. Mikhalev (2000), ''Monoids, Acts and Categories: with Applications to Wreath Products and Graphs'', Expositions in Mathematics 29, Walter de Gruyter, Berlin, {{isbn, 978-3-11-015248-7.
Semigroup theory