60
Presentations of semigroups, groups and other algebraic structures Robert D. Gray LMS Summer Graduate Student Meeting London, June 2019

Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Presentations of semigroups, groups andother algebraic structures

Robert D. Gray

LMS Summer Graduate Student MeetingLondon, June 2019

Page 2: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Presentations in generators and relations

Presentations are a fundamental tool for describing algebraic objects ashomomorphic images of free objects.

Good news: Presentations allow us to define certain infinite structures with afinite amount of data.

▸ Finitely presented groups, semigroups, rings etc.

Bad news: In general it is difficult (sometimes impossible) to say muchabout an algebraic structure defined by a finite presentation.

▸ The word problem, and other decision problems

Page 3: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Classical versus non-classical algebra

Classical Non classicalGroups, rings, k-algebras Semigroups, monoids, lattices,

(with k a field) universal algebras

homomorphisms and homomorphisms andsubstructures substructures

normal subgroups, ideals congruences

Quotient G/N, R/I Quotients S/ρwith ρ a congruence

▸ I will mainly focus on the theory of presentations for semigroups,monoids and groups, with some indication of how ideas extend toarbitrary algebraic structures.

▸ The theory for semigroups & monoids will give a flavour of conceptsthat arise in the general theory of presentations of universal algebras.

Page 4: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Words

A – a non-empty set called an alphabet (e.g. A = {a,b})

A∗ = {all words written in the letters from A}(A∗ also contains the empty word ε, which is the word with no letters.)

If u, v ∈ A∗ we can multiply them together by concatenating them to obtain anew word uv ∈ A∗.

Exampleabbab,baa ∈ A∗ and their product is the word abbabbaa.

DefinitionLet A be a non-empty set. The set A∗ together with the operation ofconcatenation of words is called the free monoid on the alphabet A.

A+ = {all non-empty words over the alphabet}This is the free semigroup on the alphabet A.

Page 5: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Semigroups, monoids and groups

DefinitionA semigroup is a pair (S, ⋅) where S is a non-empty set and ⋅ is a binaryoperation defined on S that satisfies the associative law

(x ⋅ y) ⋅ z = x ⋅ (y ⋅ z)

for all x, y, z ∈ S. The product of two elements x and y is usually written justas xy rather than x ⋅ y.

If a semigroup contains an element 1 with the property that x1 = 1x = x forall x ∈ S then we call 1 the identity element of the S and we call S a monoid.

Clearly we have the containment of classes:

Groups ⊆ Monoids ⊆ Semigroups

Page 6: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Presentations

⟨A ∣ R⟩ = ⟨ a1, . . . , an´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶

letters / generators

∣ u1 = v1, . . . , um = vm´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶

words / defining relations

▸ Defines the monoid S = A∗/ρ where ρ is the smallest congruence on thefree monoid A∗ containing R.

▸ S is the free-est / largest (in terms of homomorphic images) monoidgenerated by A in which the generators satisfy all the relations R.

How to think about S▸ Elements of S are equivalence classes of words over A.▸ Two words are in the same equivalence class (i.e. they represent the

same element of S) if one can be transformed into the other by applyingthe relations R.

Definition: S is finitely presented if both A and R finite.

Page 7: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Presentations

Example: S ≅ ⟨A ∣ R⟩ = ⟨a,b ∣ ab = ba⟩Words u, v ∈ A∗ represent the same element of S if u can be transformed intov by a finite number of applications of the relations.

e.g. abaa = aaba = aaab, abb ≠ aab.

Fact: Every word u ∈ A∗ is equal in S to a unique word of the form aibj, andthese normal forms multiply as

(ai1 bj1)(ai2 bj2) = ai1+i2 bj1+j2 .

The word problem: For any u, v ∈ {a,b}∗ we have

u = v⇐⇒ u and v have the same number occurrences of the letter a

& u and v have the same number occurrences of the letter b.

Page 8: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Presentations

Example: S ≅ ⟨A ∣ R⟩ = ⟨a,b ∣ ab = ba⟩Words u, v ∈ A∗ represent the same element of S if u can be transformed intov by a finite number of applications of the relations.

e.g. abaa = aaba = aaab, abb ≠ aab.

Fact: Every word u ∈ A∗ is equal in S to a unique word of the form aibj, andthese normal forms multiply as

(ai1 bj1)(ai2 bj2) = ai1+i2 bj1+j2 .

The word problem: For any u, v ∈ {a,b}∗ we have

u = v⇐⇒ u and v have the same number occurrences of the letter a

& u and v have the same number occurrences of the letter b.

Page 9: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

The word problem

DefinitionA monoid S with a finite generating set A has decidable word problem ifthere is an algorithm which for any two words w1,w2 ∈ A∗ decides whetheror not they represent the same element of S.

Example. S ≅ ⟨a,b ∣ ab = ba⟩ has decidable word problem.

ExampleLet M be the monoid defined by the presentation:

P = ⟨A ∣ R⟩ = ⟨x, y ∣ y2 = y, xy = y⟩ .

▸ Do we have xy3xyx = x2yxy2x in the monoid M?

▸ Do we have yx2y = xy2x2 in the monoid M?▸ If we suspect yx2y ≠ xy2x2 how do we prove it?

Page 10: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

The word problem

DefinitionA monoid S with a finite generating set A has decidable word problem ifthere is an algorithm which for any two words w1,w2 ∈ A∗ decides whetheror not they represent the same element of S.

Example. S ≅ ⟨a,b ∣ ab = ba⟩ has decidable word problem.

ExampleLet M be the monoid defined by the presentation:

P = ⟨A ∣ R⟩ = ⟨x, y ∣ y2 = y, xy = y⟩ .

▸ Do we have xy3xyx = x2yxy2x in the monoid M?▸ Do we have yx2y = xy2x2 in the monoid M?

▸ If we suspect yx2y ≠ xy2x2 how do we prove it?

Page 11: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

The word problem

DefinitionA monoid S with a finite generating set A has decidable word problem ifthere is an algorithm which for any two words w1,w2 ∈ A∗ decides whetheror not they represent the same element of S.

Example. S ≅ ⟨a,b ∣ ab = ba⟩ has decidable word problem.

ExampleLet M be the monoid defined by the presentation:

P = ⟨A ∣ R⟩ = ⟨x, y ∣ y2 = y, xy = y⟩ .

▸ Do we have xy3xyx = x2yxy2x in the monoid M?▸ Do we have yx2y = xy2x2 in the monoid M?▸ If we suspect yx2y ≠ xy2x2 how do we prove it?

Page 12: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Monoid defined by a presentation is a quotient of the free monoid

SI La b ab ba S smallest congruence containing ab.ba

S a b3 15

s i7

bba ab babba abbb

bby aby bbc.at s babbaeg babg baes

fails ahhh ai th b tyg

Page 13: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Congruences and quotient semigroupsDefinition: ⟨A ∣ R⟩ ≅ A∗/ρ where ρ is the smallest congruence on A∗

containing R.

DefinitionAn equivalence relation ρ on a semigroup S is a congruence if it iscompatible with multiplication, i.e.

(x, y), (z, t) ∈ ρ⇒ (xz, yt) ∈ ρ for all x, y, z, t ∈ S.

TheoremLet ρ be a congruence on a semigroup S. The quotient semigroup S/ρ haselements the set of equivalence classes and multiplication defined by

(x/ρ)(y/ρ) = (xy)/ρ.

▸ Groups: congruences determined by normal subgroups giving G/N.▸ Rings: congruences are determined by ideals giving R/I.

First isomorphism theorem: There is a correspondence between:

Quotients ←→ Homomorphic images

Page 14: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

First isomorphism theorem

M f s Shomomorphism

mf

5 her f x y e M XM floc flyis a congruence and

Ms Mterf I im f

Page 15: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Universal property of free monoids

Definition: ⟨A ∣ R⟩ ≅ A∗/ρ where ρ is the smallest congruence on A∗

containing R.

TheoremLet S be a monoid and let let A be an alphabet. Then any mapping f ∶ A→ Sextends uniquely to a homomorphism φ ∶ A∗ Ð→ S.

Therefore, every monoid is a homomorphic image of a free monoid.

Equivalently, every monoid is a quotient of some free monoid.

This implies that every monoid is defined by some (not necessarily finite)presentation.

Page 16: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Every monoid is homeomorphic image of free

A a a atS X

a a Dhoon

Aa Gz x Xza ate xj

Aza Asa 27

The mapping ai sci extends to the homomorphism

Ai Ai Aim Xi Xie Kim

Page 17: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

The free group

DefinitionThe free group on A is defined as

FG(A) = ⟨A ∪ A−1 ∣ aa−1 = 1, a−1a = 1 (a ∈ A)⟩

▸ Elements of FG(A) ←→ Reduced words

wherew is reduced⇐⇒ w does not contain aa−1 or a−1a.

Exampleaba−1b−1 and baab are reduced words, and their product is

(aba−1b−1)(baab) = abab.

Page 18: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Elements of the free group FG(a,b)

Page 19: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Group presentationsG - a group generated by A, for any u, v ∈ (A ∪ A−1)∗

u = v in G⇔ uv−1 = 1 in G.

Therefore, any relation can be written in the form r = 1.

DefinitionLet R be a subset of FG(A), so R ⊆ (A ∪ A−1)∗ is a set of reduced words.Then we define

Gp⟨A ∣ R⟩ = ⟨A ∪ A−1 ∣ aa−1 = 1, a−1a = 1 (a ∈ A), r = 1 (r ∈ R)⟩

and call this the group defined by the presentation Gp⟨A ∣ R⟩ with generatorsA and defining relations R.

ExampleGp⟨a ∣ a3 = 1⟩ defines the cyclic group of order three.

PropositionGp⟨A ∣ R⟩ ≅ FG(A)/⟪R⟫ where ⟪R⟫ is the normal closure of R in FG(A).

Page 20: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Word problem as sets of words▸ The word problem for the monoid M defined by the presentation ⟨A ∣ R⟩

can be viewed as the set

{(w1,w2) ∈ A∗ × A∗ ∶ w1 = w2 in the monoid M}.

▸ The word problem for the group G ≅ Gp⟨A ∣ R⟩ is the set

{w ∈ FG(A) ∶ w = 1 in the group G}.

Computing subsets of A∗

▸ A set W of words is computably enumerable if there is an algorithmwhich takes any word u as input and, if u is a member of W, then thealgorithm eventually halts and says YES; otherwise it runs forever.

▸ A set W of words is computable if there is an algorithm which takes anyword u as input, terminates after a finite amount of time and decideswhether or not the word u belongs to W, returning either YES or NO.

Important fact: The word problem for any finitely presented semigroup,monoid, or group, is a computably enumerable set.

Page 21: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

M x y l y y say y To discover that

xy3xyx x'yxy.sc in M for each i compute the set

Bi we x y3 w can be obtained from

y'xyx by applying Ei defining relations

path i differedwordsare equalxyx

iIT

1 txyqyT lxyyyxyy.TLi xyyyy.chayyyT

Page 22: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

A free monoid over finite alphabet AP A subsets of A Power set

non computably enumerable IF uncountably many setssets L here since P A is

uncountable and there areComputably enumerable sets only countably many

algorithms so onlycountablymany computablyenumerable sets

computable sets It is obvious thatthereare non c e hence noncomputable setsTo construct finitelypresented groups semigroups

µ are we c e qq.ymu.gg gqgqqqsets that are not computablethere are sets here

Page 23: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Finite state automata

▸ Alphabet: A = {a,b}.▸ L(A) ⊆ A∗ - language of words recognised by the automaton A

▸ e.g. here aba ∈ L(A) while abba /∈ L(A)▸ Languages recognised by finite state automata are the regular

languages.▸ Every regular language is computable, but there are computable

languages that are not regular.

Page 24: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯00## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0

1

01

01

#

#

0

1

01

#

#

#

#

1

0

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 25: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ ⋯

▷ 0 1 0 1 0 0 # ⋯00## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0

1

01

01

#

#

0

1

01

#

#

#

#

1

0

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 26: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯0

0## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0

1

01

01

#

#

0

1

01

#

#

#

#

1

0

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 27: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯0

0## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0

1

01

01

#

#

0

1

01

#

#

#

#

1

0

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 28: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯0

0## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 29: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯00

## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 30: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯00

## 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 31: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00

#

# 0 1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 32: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

# 0

1 0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 33: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0

1

0 1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 34: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1

0

1 0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 35: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0

1

0 0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 36: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0 1

0

0 #00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 37: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0 1 0

0

#00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 38: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0 1 0 0

#

00 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 39: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0 1 0 0 #

0

0 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q

r

s

to read to write

move on

the tape

Page 40: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Turing machines, alphabet A = {0,1}

▷ 0 1 0 1 0 0 # ⋯

00#

#

0 1 0 1 0 0 #0

0 #

p

q r

s

t z

NOYES

0 ∶#→

1∶#→

0 ∶ 0→1 ∶ 1→

0 ∶ 0→1 ∶ 1→

# ∶#←

# ∶#←

0∶#←

1 ∶#←

0 ∶ 0←1 ∶ 1←

# ∶#→

#∶#→

#∶#→

# ∶#→

1 ∶ 1→

0 ∶ 0→

p

q r

s

to read to write

move on

the tape

Page 41: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Russell’s paradox

The village barber shaves exactly those men in the village who don’t shavethemselves.

Does the barber shave himself, or not?

Page 42: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Undecidable problems

P - some computer program. Try entering P into itself. Either:

The program will run forever... – immortal programIt terminates at some point – suicidal program

The halting problemDoes there exist a program P that can test whether a program is immortal orsuicidal?

If yes, modify P so that it– goes into a loop when given a suicidal program as input, and– terminates given an immortal program as input.

Q: Is P itself an immortal program or a suicidal program...?

Conclusion (Turing (1936)): The halting problem is undecidable.

Page 43: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Undecidable problems

P - some computer program. Try entering P into itself. Either:

The program will run forever... – immortal programIt terminates at some point – suicidal program

The halting problemDoes there exist a program P that can test whether a program is immortal orsuicidal?

If yes, modify P so that it– goes into a loop when given a suicidal program as input, and– terminates given an immortal program as input.

Q: Is P itself an immortal program or a suicidal program...?

Conclusion (Turing (1936)): The halting problem is undecidable.

Page 44: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Undecidable problems

P - some computer program. Try entering P into itself. Either:

The program will run forever... – immortal programIt terminates at some point – suicidal program

The halting problemDoes there exist a program P that can test whether a program is immortal orsuicidal?

If yes, modify P so that it– goes into a loop when given a suicidal program as input, and– terminates given an immortal program as input.

Q: Is P itself an immortal program or a suicidal program...?

Conclusion (Turing (1936)): The halting problem is undecidable.

Page 45: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Undecidable problems

P - some computer program. Try entering P into itself. Either:

The program will run forever... – immortal programIt terminates at some point – suicidal program

The halting problemDoes there exist a program P that can test whether a program is immortal orsuicidal?

If yes, modify P so that it– goes into a loop when given a suicidal program as input, and– terminates given an immortal program as input.

Q: Is P itself an immortal program or a suicidal program...?

Conclusion (Turing (1936)): The halting problem is undecidable.

Page 46: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Computably enumerable but not computable setsThe halting set

T = {(p, i) ∣ the program p halts when run on input i}

represents the halting problem. The halting set can be used to show theexistence of subsets of N (and of A∗, FG(A), etc...) that are computablyenumerable, but are not computable.

This underlies the following fundamental results:

▸ Markov (1947), Post (1947): There exist finitely presented semigroupswith undecidable word problem.

▸ Novikov (1955) and Boone (1958): There exist finitely presentedgroups with undecidable word problem.

Céjtin (1957): The monoid with presentation ⟨A ∣ R⟩ where A = {a,b, c,d, e}and defining relations

ac = ca, ad = da, bc = cb, bd = db, ce = eca, de = edb, cca = ccae

has undecidable word problem.

Page 47: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Residual finiteness and the word problem

DefinitionA semigroup S is residually finite if for any two distinct elements x, y ∈ Sthere is a homomorphism φ ∶ S → T onto a finite semigroup T such thatxφ ≠ yφ.

ExamplesThe infinite cyclic group (Z,+).The free semigroup A+ and free monoid A∗.

On the other hand the bicyclic monoid ⟨b, c ∣ bc = 1⟩ is not residually finite.

Page 48: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Residual finiteness and the word problem

Theorem (Malcev’s lemma)Let S be a finitely presented semigroup. If S is residually finite then S has adecidable word problem.

Note: The same results holds for finitely presented groups, monoids,semigroups, ... etc.

Page 49: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 50: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 51: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 52: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T .

If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 53: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 54: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.

u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 55: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Proof of Theorem (Malcev’s lemma)Let S ≅ ⟨A ∣ R⟩ finitely presented and residually finite. Let u, v ∈ A+. Set twoprograms Pyes and Pno running in parallel:

(Pyes) Begin with the set B0 = {u} and then at step i ∈ N compute

Bi = Bi−1 ∪ {w ∈ A+ ∶ ∃w′ ∈ Bi−1 such that w can be obtained from w′ by asingle application of a relation from R}.

Check if v ∈ Bi. If yes, stop and output YES, otherwise move to step i + 1.

(Pno) At step i, write down multiplication tables of all finite semigroups ofsize i. For each finite semigroup T of size i and for every mapping f ∶ A→ Tcheck whether f (l) = f (r) in T for each of the defining relations (l, r) ∈ R,where f is the unique extension of f to a homomorphism f ∶ A+ → T . If yes,then check whether or not f (u) = f (v) in T . If f (u) ≠ f (v) in T then stop andoutput NO, otherwise move to step i + 1.

u = v in S⇔ (Pyes) eventually terminates with output YES.u ≠ v in S⇔ (Pno) eventually terminates with output NO, since S isresidually finite.

Page 56: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Universal algebras and varieties

DefinitionA universal algebra A is a tuple (A; f1, . . . , fm, c1, . . . , ck), where A ≠ ∅ is thedoman of A, and

▸ Each fi is a functionfi ∶ Ani → A.

These are the basic operations of the algebra.▸ Each cj is a constant (formally the image of a nullary function).

The signature of A is (f1, . . . , fm, c1, . . . , ck). Sometimes an algebraicsignature is regarded as simply a list of arities.

DefinitionA variety of algebras is the class of all algebraic structures of a givensignature satisfying a given set of identities.

Page 57: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Semigroups, monoids and groups as varieties▸ Semigroups form a variety of algebras of signature (2) (a single binary

operation), defined by the identity

x(yz) = (xy)z.

▸ Monoids form a variety of algebras of signature (2,0) the twooperations being respectively multiplication (binary), and identity(nullary, a constant), defined by the set of identities

x(yz) = (xy)z1x = x1.

▸ Groups form a variety of algebras of signature (2,0,1) the twooperations being respectively multiplication (binary), identity (nullary,a constant), and inversion (unary), defined by the set of identities

x(yz) = (xy)z1x = x1

x−1x = xx−1 = 1.

▸ Rings form a variety of algebras with signature (2,2,0,0,1).

Page 58: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

Finite presentations and the word problem in general

▸ V: a variety of universal algebras▸ FX: the finitely generated free object in V with set X if free generators

(it exists, and is defined using the usual universal property).▸ ρ: congruence on FX generated by finitely many pairs

R = {(ui, vi) ∶ i ∈ I} of elements from FX .▸ The factor algebra FX/ρ is called finitely presented inside V , and is

denoted ⟨X ∣ R,V⟩.▸ The word problem is decidable in FX/ρ if there is an algorithm which

tells us for any pair of elements (x, y) both from FX whether (x, y) ∈ ρ.

ConclusionFor any fixed variety of universal algebras the notion of presentation bygenerators and relations may be defined and investigated, leading to thetheories of presentations of groups, monoids, semigroups, rings, inversesemigroups, ...

Page 59: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

One-relator presentationsMagnus (1932): The word problem is decidable for one relator groupsGp⟨A ∣w = 1⟩.

Adjan (1966): The word problem is decidable for one relator monoids of theform ⟨A ∣w = 1⟩.

Inverse monoids – variety of algebras of signature (2,1,0), operationsmultiplication, a↦ a−1, and identity, defined by the identities

a(bc) = (ab)c, (a−1)−1 = a, aa−1a = a, (ab)−1 = b−1a−1

(aa−1)(bb−1) = (bb−1)(aa−1), 1a = a1 = a

These are the algebraic model for the study of partial symmetries.

Conjecture (Margolis, Meakin, Stephen (1987))If M = Inv⟨A ∣w = 1⟩, then the word problem for M is decidable.

Theorem (RDG (2019))There is a one-relator inverse monoid Inv⟨A ∣w = 1⟩ with undecidable wordproblem.

Page 60: Presentations of semigroups, groups and other algebraic ...€¦ · Classical versus non-classical algebra Classical Non classical Groups, rings, k-algebras Semigroups, monoids, lattices,

One-relator presentationsMagnus (1932): The word problem is decidable for one relator groupsGp⟨A ∣w = 1⟩.

Adjan (1966): The word problem is decidable for one relator monoids of theform ⟨A ∣w = 1⟩.

Inverse monoids – variety of algebras of signature (2,1,0), operationsmultiplication, a↦ a−1, and identity, defined by the identities

a(bc) = (ab)c, (a−1)−1 = a, aa−1a = a, (ab)−1 = b−1a−1

(aa−1)(bb−1) = (bb−1)(aa−1), 1a = a1 = a

These are the algebraic model for the study of partial symmetries.

Conjecture (Margolis, Meakin, Stephen (1987))If M = Inv⟨A ∣w = 1⟩, then the word problem for M is decidable.

Theorem (RDG (2019))There is a one-relator inverse monoid Inv⟨A ∣w = 1⟩ with undecidable wordproblem.