
< previous page page_193 next page >
Page 193
(am)n
=
amn,
where
m
and
n
are any positive integers. Moreover powers of the same element
a
commute with one another:
aman
=
anam
as both products equal
am
+
n
. Indeed, for the case of
monoids we can extend these laws to cover exponents involving 0 using the convention that
a
0=1,
where 1 is the identity.
In order to show that a binary operation is associative we have in principle to check that all possible
products
(ab)c
and
a(bc)
are equal. However there are circumstances when showing that a binary
operation is associative is easy. Let (
S,
*) be a semigroup and let be any subset. If for
every
pair
of elements a, the product then * is also a binary operation on
T
and we say that
T
is
closed under
*. In addition, the pair (
T,
*) is a semigroup in its own right because the associative law
holds in
S
and so it must hold in
T
. We say that (
T,
*) is a
subsemigroup of
(
S,
*). Usually, we just say
that ‘
T
is a subsemigroup of
S
’ as long as the binary operation in question is clear. Now let (
S,
*) be a
monoid with identity
e
. Let
T
be a subsemigroup of
S
and suppose in addition that . Then
T
is a
monoid in its own right and we say that
T
is a
submonoid
of
S
. Observe that if
T
is a subset of a
semigroup
S,
it is a subsemigroup precisely when . Observe also that if
S
is a subsemigroup of
T,
and
T
is a subsemigroup of
U,
then
S
is a subsemigroup of
U
.
Example 9.1.3 Here are some examples of subsemigroups and submonoids.
(1) The set of even numbers in is a submonoid under addition. However the set of odd numbers is
not: it contains neither the identity 0 nor is it closed under addition.
(2) The set of even numbers is a subsemigroup of under multiplication because the product of two
even numbers is even. However, it is not a submonoid because the multiplicative identity of is 1,
which is not even. The set of odd numbers is a submonoid because 1 is odd and the product of two odd
numbers is odd.
(3) Let Rec
(A)
denote the set of recognisable languages over
A
. Then this is a submonoid of under
product of languages because if
L
and
M
are recognisable then so is
LM
. The identity is
ε,
which is
recognisable. The set Rec
(A)
is also a monoid under union because if
L
and
M
are recognisable then so
is
L
+
M
. The identity now is , which is recognisable.
(4) The transition monoid
T
(A) of an automaton A with state set
S
is a submonoid of the full
transformation monoid
T(S)
.
Submonoids of
A
* played an important role in formulating Kleene’s Theorem as we now show. Let
S
be
a semigroup and let
. Define
< previous page page_193 next page >