Safekipedia

Semigroup action

Discoverer · ages 10+Adapted from Wikipedia

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

In algebra and theoretical computer science, an action of a semigroup on a set is a rule that links each element of the semigroup to a change, or transformation, of that set. The rule works so that combining two elements of the semigroup, using its operation, matches the composite of their two transformations. The name fits the idea that the semigroup's elements are "acting" on the set. From an algebraic point of view, a semigroup action is a broader version of a group action, which is studied in group theory. In computer science, semigroup actions are closely connected to automata. Here the set stands for the state of the automaton, and the action stands for how that state changes in response to inputs.

A special case is a monoid action, or act, where the semigroup is a monoid. The monoid's identity element then acts as the identity transformation on the set, meaning it changes nothing. From a category theoretic view, a monoid is a category with one object, and an act is a functor from that category to the category of sets. This makes it possible to extend monoid acts to objects in categories other than the category of sets.

Another important special case is a transformation semigroup. This is a semigroup made up of transformations of a set, so it naturally acts on that same set. This idea is connected to the more general notion of a semigroup through an analogue of Cayley's theorem.

The terminology in this area differs from one author to another, sometimes by a lot.

Formal definitions

Let S be a semigroup. A (left) semigroup action of S is a set X together with a way of combining elements of S with elements of X, written •. This combining must follow the operation of the semigroup: doing t and then s to a point x gives the same result as using the combined element s ∗ t on x. This is the semigroup version of a (left) group action, and it is the same as a semigroup homomorphism into the set of functions on X. Right actions work in a similar way. If M is a monoid, a monoid action also requires that the identity element leaves every x unchanged. A monoid with an action on a set is called an operator monoid.

A set X with such an action is called a left S-act, S-set, or similar name. The rule works like associativity, so brackets can be left out, and in computer science letters from S can be written side by side, like strings of letters, to act on X. Right acts can always be viewed as left acts over the opposite semigroup, so the two ideas are essentially the same. Each element of S gives a transformation of X, and this matches Currying and a semigroup homomorphism into the full transformation monoid of X. Maps between acts that respect the action are called S-homomorphisms, and acts form a category similar to the categories R-Mod and Mod-R of left and right modules.

Examples

Every semigroup can act on itself, using its own operation as the action. This works because the operation follows the rule of associativity. The same idea works when a semigroup is linked to another semigroup by a homomorphism: the first semigroup then acts on the second. For any set X, the natural numbers under multiplication act on the sequences of elements of X by repeating a sequence n times. The natural numbers under multiplication also have a right action on themselves, where x acts on y by multiplying them.

Transformation semigroups

Main article: Transformation semigroup

Any transformation semigroup can be turned into a semigroup action. Each element of the semigroup acts on the set by changing its points, and this action is faithful. This means the action is equivalent to a map that is injective.

It also works the other way. Any semigroup action can be turned into a transformation semigroup by setting aside the original set of elements and keeping only the image of the map. If the map is injective, it is a semigroup isomorphism. This means that if the action is faithful, nothing important is lost. Because of this, some authors see no difference between faithful semigroup actions and transformation semigroups.

Applications to computer science

Semiautomata

Main article: Semiautomaton

Transformation semigroups are very important for understanding finite-state machines in automata theory. A semiautomaton has an input alphabet, a set of states, and a transition function that shows how inputs move the machine from one state to another. Semiautomata come from deterministic automata when the starting state and the accept states are ignored. The set of transformations made by the inputs forms a characteristic semigroup, which is also a transition monoid. The inputs can also be seen as strings built from the alphabet, which are part of a free monoid.

Krohn–Rhodes theory

Main article: Krohn–Rhodes theory

Krohn–Rhodes theory, sometimes also called algebraic automata theory, shows how finite transformation semigroups can be broken into simpler parts that are linked together in a chain.

Quiz time!

5 questions about Semigroup action

Question 1 of 5

What does an action of a semigroup on a set link each element of the semigroup to?

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Semigroup action, available under CC BY-SA 4.0.