Semigroup action

Action of a semigroup on a set

"S-set" redirects here. For the suburban train fleet, see Sydney Trains S set.

In algebra and theoretical computer science, an action or act of a semigroup on a set is a rule which associates to each element of the semigroup a transformation of the set in such a way that the product of two elements of the semigroup (using the semigroup operation) is associated with the composite of the two corresponding transformations. The terminology conveys the idea that the elements of the semigroup are acting as transformations of the set. From an algebraic perspective, a semigroup action is a generalization of the notion of a group action in group theory. From the computer science point of view, semigroup actions are closely related to automata: the set models the state of the automaton and the action models transformations of that state in response to inputs.

An important special case is a monoid action or act, in which the semigroup is a monoid and the identity element of the monoid acts as the identity transformation of a set. From a category theoretic point of view, a monoid is a category with one object, and an act is a functor from that category to the category of sets. This immediately provides a generalization to monoid acts on objects in categories other than the category of sets.

Another important special case is a transformation semigroup. This is a semigroup of transformations of a set, and hence it has a tautological action on that set. This concept is linked to the more general notion of a semigroup by an analogue of Cayley's theorem.

(A note on terminology: the terminology used in this area varies, sometimes significantly, from one author to another. See the article for details.)

## Formal definitions

[edit]

Let S be a semigroup. Then a (left) semigroup action (or act) of S is a set X together with an operation • : S × X → X which is compatible with the semigroup operation ∗ as follows:

* for all s, t in S and x in X, s • (t • x) = (s ∗ t) • x.

This is the analogue in semigroup theory of a (left) group action, and is equivalent to a semigroup homomorphism into the set of functions on X. Right semigroup actions are defined in a similar way using an operation • : X × S → X satisfying (x • a) • b = x • (a ∗ b).

If M is a monoid, then a (left) monoid action (or act) of M is a (left) semigroup action of M with the additional property that

* for all x in X: e • x = x

where e is the identity element of M. This correspondingly gives a monoid homomorphism. Right monoid actions are defined in a similar way. A monoid M with an action on a set is also called an operator monoid.

A semigroup action of S on X can be made into monoid act by adjoining an identity to the semigroup and requiring that it acts as the identity transformation on X.

### Terminology and notation

[edit]

If S is a semigroup or monoid, then a set X on which S acts as above (on the left, say) is also known as a (left) S-act, S-set, S-action, S-operand, or left act over S. Some authors do not distinguish between semigroup and monoid actions, by regarding the identity axiom (e • x = x) as empty when there is no identity element, or by using the term unitary S-act for an S-act with an identity.[1]

The defining property of an act is analogous to the associativity of the semigroup operation, and means that all parentheses can be omitted. It is common practice, especially in computer science, to omit the operations as well so that both the semigroup operation and the action are indicated by juxtaposition. In this way strings of letters from S act on X, as in the expression stx for s, t in S and x in X.

It is also quite common to work with right acts rather than left acts.[2] However, every right S-act can be interpreted as a left act over the opposite semigroup, which has the same elements as S, but where multiplication is defined by reversing the factors, s • t = t • s, so the two notions are essentially equivalent. Here we primarily adopt the point of view of left acts.

### Acts and transformations

[edit]

It is often convenient (for instance if there is more than one act under consideration) to use a letter, such as  T {\displaystyle T} , to denote the function

T : S × X -> X {\displaystyle T\colon S\times X\to X}

defining the  S {\displaystyle S} -action and hence write  T ( s , x ) {\displaystyle T(s,x)} in place of  s ⋅ x {\displaystyle s\cdot x} . Then for any  s {\displaystyle s} in  S {\displaystyle S} , we denote by

T s : X -> X {\displaystyle T_{s}\colon X\to X}

the transformation of  X {\displaystyle X} defined by

T s ( x ) = T ( s , x ) . {\displaystyle T_{s}(x)=T(s,x).}

By the defining property of an  S {\displaystyle S} -act,  T {\displaystyle T} satisfies

T s ∗ t = T s ∘ T t . {\displaystyle T_{s*t}=T_{s}\circ T_{t}.}

Further, consider a function  s ↦ T s {\displaystyle s\mapsto T_{s}} . It is the same as  curry ⁡ ( T ) : S -> ( X -> X ) {\displaystyle \operatorname {curry} (T):S\to (X\to X)} (see Currying). Because  curry {\displaystyle \operatorname {curry} } is a bijection, semigroup actions can be defined as functions  S -> ( X -> X ) {\displaystyle S\to (X\to X)} which satisfy

curry ⁡ ( T ) ( s ∗ t ) = curry ⁡ ( T ) ( s ) ∘ curry ⁡ ( T ) ( t ) . {\displaystyle \operatorname {curry} (T)(s*t)=\operatorname {curry} (T)(s)\circ \operatorname {curry} (T)(t).}

That is,  T {\displaystyle T} is a semigroup action of  S {\displaystyle S} on  X {\displaystyle X} if and only if  curry ⁡ ( T ) {\displaystyle \operatorname {curry} (T)} is a semigroup homomorphism from  S {\displaystyle S} to the full transformation monoid of  X {\displaystyle X} .

### S-homomorphisms

[edit]

Let X and X′ be S-acts. Then an S-homomorphism from X to X′ is a map

F : X -> X ′ {\displaystyle F\colon X\to X'}

such that

F ( s x ) = s F ( x ) {\displaystyle F(sx)=sF(x)} for all  s ∈ S {\displaystyle s\in S} and  x ∈ X {\displaystyle x\in X} .

The set of all such S-homomorphisms is commonly written as  H o m S ( X , X ′ ) {\displaystyle \mathrm {Hom} _{S}(X,X')} .

M-homomorphisms of M-acts, for M a monoid, are defined in exactly the same way.

### S-Act and M-Act

[edit]

For a fixed semigroup S, the left S-acts are the objects of a category, denoted S-Act, whose morphisms are the S-homomorphisms. The corresponding category of right S-acts is sometimes denoted by Act-S. (This is analogous to the categories R-Mod and Mod-R of left and right modules over a ring.)

For a monoid M, the categories M-Act and Act-M are defined in the same way.

## Examples

[edit]

* Any semigroup  ( S , ∗ ) {\displaystyle (S,*)} has an action on  S {\displaystyle S} , where  ⋅ = ∗ {\displaystyle \cdot =*} . The action property holds due to the associativity of  ∗ {\displaystyle *} .
* More generally, for any semigroup homomorphism  F : ( S , ∗ ) -> ( T , ⊕ ) {\displaystyle F\colon (S,*)\rightarrow (T,\oplus )} , the semigroup  ( S , ∗ ) {\displaystyle (S,*)} has an action on  T {\displaystyle T} given by  s ⋅ t = F ( s ) ⊕ t {\displaystyle s\cdot t=F(s)\oplus t} .
* For any set  X {\displaystyle X} , let  X ∗ {\displaystyle X^{*}} be the set of sequences of elements of  X {\displaystyle X} . The semigroup  ( N , × ) {\displaystyle (\mathbb {N} ,\times )} has an action on  X ∗ {\displaystyle X^{*}} given by  n ⋅ s = s n {\displaystyle n\cdot s=s^{n}} (where  s n {\displaystyle s^{n}} denotes  s {\displaystyle s} repeated  n {\displaystyle n} times).
* The semigroup  ( N , × ) {\displaystyle (\mathbb {N} ,\times )} has a right action  ( N , ⋅ ) {\displaystyle (\mathbb {N} ,\cdot )} , given by  x ⋅ y = x y {\displaystyle x\cdot y=x^{y}} .

## Transformation semigroups

[edit]

Main article: Transformation semigroup

A correspondence between transformation semigroups and semigroup actions is described below. If we restrict it to faithful semigroup actions, it has nice properties.

Any transformation semigroup can be turned into a semigroup action by the following construction. For any transformation semigroup  S {\displaystyle S} of  X {\displaystyle X} , define a semigroup action  T {\displaystyle T} of  S {\displaystyle S} on  X {\displaystyle X} as  T ( s , x ) = s ( x ) {\displaystyle T(s,x)=s(x)} for  s ∈ S , x ∈ X {\displaystyle s\in S,x\in X} . This action is faithful, which is equivalent to  c u r r y ( T ) {\displaystyle curry(T)} being injective.

Conversely, for any semigroup action  T {\displaystyle T} of  S {\displaystyle S} on  X {\displaystyle X} , define a transformation semigroup  S ′ = { T s ∣ s ∈ S } {\displaystyle S'=\\{T_{s}\mid s\in S\\}} . In this construction we "forget" the set  S {\displaystyle S} .  S ′ {\displaystyle S'} is equal to the image of  c u r r y ( T ) {\displaystyle curry(T)} . Let us denote  c u r r y ( T ) {\displaystyle curry(T)} as  f {\displaystyle f} for brevity. If  f {\displaystyle f} is injective, then it is a semigroup isomorphism from  S {\displaystyle S} to  S ′ {\displaystyle S'} . In other words, if  T {\displaystyle T} is faithful, then we forget nothing important. This claim is made precise by the following observation: if we turn  S ′ {\displaystyle S'} back into a semigroup action  T ′ {\displaystyle T'} of  S ′ {\displaystyle S'} on  X {\displaystyle X} , then  T ′ ( f ( s ) , x ) = T ( s , x ) {\displaystyle T'(f(s),x)=T(s,x)} for all  s ∈ S , x ∈ X {\displaystyle s\in S,x\in X} .  T {\displaystyle T} and  T ′ {\displaystyle T'} are "isomorphic" via  f {\displaystyle f} , i.e., we essentially recovered  T {\displaystyle T} . Thus, some authors[3] see no distinction between faithful semigroup actions and transformation semigroups.

## Applications to computer science

[edit]

### Semiautomata

[edit]

Main article: Semiautomaton

Transformation semigroups are of essential importance for the structure theory of finite-state machines in automata theory. In particular, a semiautomaton is a triple (Σ,X,T), where Σ is a non-empty set called the input alphabet, X is a non-empty set called the set of states and T is a function

T : Σ × X -> X {\displaystyle T\colon \Sigma \times X\to X}

called the transition function. Semiautomata arise from deterministic automata by ignoring the initial state and the set of accept states.

Given a semiautomaton, let Ta: X → X, for a ∈ Σ, denote the transformation of X defined by Ta(x) = T(a,x). Then the semigroup of transformations of X generated by {Ta : a ∈ Σ} is called the characteristic semigroup or transition system of (Σ,X,T). This semigroup is a monoid, so this monoid is called the characteristic or transition monoid. It is also sometimes viewed as a Σ∗-act on X, where Σ∗ is the free monoid of strings generated by the alphabet Σ,[note 1] and the action of strings extends the action of Σ via the property

T v w = T w ∘ T v . {\displaystyle T_{vw}=T_{w}\circ T_{v}.}

### Krohn–Rhodes theory

[edit]

Main article: Krohn–Rhodes theory

Krohn–Rhodes theory, sometimes also called algebraic automata theory, gives powerful decomposition results for finite transformation semigroups by cascading simpler components.

## Notes

[edit]

1. ^ The monoid operation is concatenation; the identity element is the empty string.

## References

[edit]

1. ^ Kilp, Knauer and Mikhalev, 2000, pages 43–44.
2. ^ Kilp, Knauer and Mikhalev, 2000.
3. ^ Arbib, Michael A., ed. (1968). Algebraic Theory of Machines, Languages, and Semigroups. New York and London: Academic Press. p. 83.

* A. H. Clifford and G. B. Preston (1961), The Algebraic Theory of Semigroups, volume 1. American Mathematical Society, ISBN 978-0-8218-0272-4.
* A. H. Clifford and G. B. Preston (1967), The Algebraic Theory of Semigroups, volume 2. American Mathematical Society, ISBN 978-0-8218-0272-4.
* 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.
* Rudolf Lidl and Günter Pilz, Applied Abstract Algebra (1998), Springer, ISBN 978-0-387-98290-8