ArticleslgStudy

computer science

Semigroup action

Semigroup action is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Semigroup action rather than just read about it. In short: 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 ac…

Key takeaways

  • Semigroup action belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Semigroup action to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Semigroup action from memory before moving on to harder problems.

Reference excerpt

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 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 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. 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. 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 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

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Semigroup action

Start with the simplest possible case. Write down what Semigroup action claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Semigroup action before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Semigroup action ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Semigroup action

In research
Semigroup action appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Semigroup action in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Semigroup action is common in secondary-school and first-year university syllabi. It links to neighbouring topics Semigroup theory, Theoretical computer science, so understanding it makes those chapters shorter.
In everyday life
Look for Semigroup action outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Semigroup action” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Semigroup action in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Semigroup action means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Semigroup action out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Semigroup action in simple terms?

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 compos…

Why does Semigroup action matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Semigroup action?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Semigroup action.

Tags

  • Semigroup theory
  • Theoretical computer science

Keep exploring