Top Banner
GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES Samuel Mimram École Polytechnique Sémin’ouvert April 20th, 2017
139

GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Apr 14, 2019

Download

Documents

vanbao
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

GEOMETRICINVARIANTSOFALGEBRAICSTRUCTURES

Samuel MimramÉcole Polytechnique

Sémin’ouvert

April 20th, 2017

Page 2: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Geometric invariants of concurrentcomputations

▶ We consider a very simple “concurrent programminglanguage”: string rewriting systems

abc

x� zzzzzzzz

zzzzzzzz

�&DD

DDDD

DD

DDDD

DDDD

a′c ac′

▶ We are interested in the geometry of the space of possiblecomputations (and not in computing geometric invariants)

▶ We will explain Squier’s theorem:an impossibility result based on geometric invariants

▶ This generalizes to term rewriting systems

2 / 58

Page 3: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Geometric invariants of concurrentcomputations

▶ We consider a very simple “concurrent programminglanguage”: string rewriting systems

abc

x� zzzzzzzz

zzzzzzzz

�&DD

DDDD

DD

DDDD

DDDD

a′c ac′

▶ We are interested in the geometry of the space of possiblecomputations (and not in computing geometric invariants)

▶ We will explain Squier’s theorem:an impossibility result based on geometric invariants

▶ This generalizes to term rewriting systems

2 / 58

Page 4: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Geometric invariants of concurrentcomputations

▶ We consider a very simple “concurrent programminglanguage”: string rewriting systems

abc

x� zzzzzzzz

zzzzzzzz

�&DD

DDDD

DD

DDDD

DDDD

a′c ac′

▶ We are interested in the geometry of the space of possiblecomputations (and not in computing geometric invariants)

▶ We will explain Squier’s theorem:an impossibility result based on geometric invariants

▶ This generalizes to term rewriting systems

2 / 58

Page 5: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Geometric invariants of concurrentcomputations

▶ We consider a very simple “concurrent programminglanguage”: string rewriting systems

abc

x� zzzzzzzz

zzzzzzzz

�&DD

DDDD

DD

DDDD

DDDD

a′c ac′

▶ We are interested in the geometry of the space of possiblecomputations (and not in computing geometric invariants)

▶ We will explain Squier’s theorem:an impossibility result based on geometric invariants

▶ This generalizes to term rewriting systems2 / 58

Page 6: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Squier’s result in a nutshellWhen a rewriting system satisfies good properties (confluence)the computation will always give rise to the same result in the end.

Can we always transform a finite rewriting system into an“equivalent” one which is confluent?

Squier: NO

3 / 58

Page 7: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Squier’s result in a nutshellWhen a rewriting system satisfies good properties (confluence)the computation will always give rise to the same result in the end.

Can we always transform a finite rewriting system into an“equivalent” one which is confluent?

Squier: NO

3 / 58

Page 8: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Squier’s result in a nutshellWhen a rewriting system satisfies good properties (confluence)the computation will always give rise to the same result in the end.

Can we always transform a finite rewriting system into an“equivalent” one which is confluent?

Squier: NO3 / 58

Page 9: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Let's go.

4 / 58

Page 10: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

A monoid (M, ·, 1) consists of▶ a set M▶ a multiplication · : M×M→ M▶ a unit 1 ∈ M

such that▶ multiplication is associative

(a · b) · c = a · (b · c)

▶ unit is a neutral element

1 · a = a = a · 1

5 / 58

Page 11: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:

▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 12: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:

▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 13: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:

▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 14: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:

▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 15: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:▶ Z, Z/nZ

▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 16: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:▶ Z, Z/nZ▶ Sn: group of permutations of n elements

▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 17: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 18: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Monoids

Example

▶ (N,+, 0)

▶ (N,×, 1)

▶ given a set G, we have a free monoid (G∗, ·, 1) of words(· is concatenation and 1 the empty word)

▶ every group is a monoid:▶ Z, Z/nZ▶ Sn: group of permutations of n elements▶ Bn: group of braids with n strands

▶ etc.

6 / 58

Page 19: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Congruence on a monoid

A congruence ≈ on a monoid (M, ·, 1) is an equivalence relationon M such that

b ≈ b′ implies a · b · c ≈ a · b′ · c

In this case, one can define a quotient monoid

M/≈

as expected.

7 / 58

Page 20: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Congruence on a monoid

A congruence ≈ on a monoid (M, ·, 1) is an equivalence relationon M such that

b ≈ b′ implies a · b · c ≈ a · b′ · c

In this case, one can define a quotient monoid

M/≈

as expected.

7 / 58

Page 21: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

We can come upwith small descriptions

of monoids.

8 / 58

Page 22: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsIn order to manipulate a monoid one would like to come up with asmall description of it.

A presentation of a monoid M is a pair

⟨G | R⟩

where▶ G is a set of generators▶ R ⊆ G∗ ×G∗ is a set of relations

such thatM ∼= G∗/≈R

where ≈R is the smallest congruence such that

(u, v) ∈ R implies u ≈R v

9 / 58

Page 23: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsIn order to manipulate a monoid one would like to come up with asmall description of it.

A presentation of a monoid M is a pair

⟨G | R⟩

where▶ G is a set of generators▶ R ⊆ G∗ ×G∗ is a set of relations

such thatM ∼= G∗/≈R

where ≈R is the smallest congruence such that

(u, v) ∈ R implies u ≈R v

9 / 58

Page 24: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsExample

▶ N (additive) is presented by

⟨a | ⟩

▶ N/3N (additive) is presented by

⟨a | aaa = 1⟩

▶ N× N (additive) is presented by

⟨a,b | ba = ab⟩

▶ S3 is presented by

⟨a,b | bab = aba, aa = 1,bb = 1⟩

10 / 58

Page 25: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsExample

▶ N (additive) is presented by

⟨a | ⟩

▶ N/3N (additive) is presented by

⟨a | aaa = 1⟩

▶ N× N (additive) is presented by

⟨a,b | ba = ab⟩

▶ S3 is presented by

⟨a,b | bab = aba, aa = 1,bb = 1⟩

10 / 58

Page 26: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsExample

▶ N (additive) is presented by

⟨a | ⟩

▶ N/3N (additive) is presented by

⟨a | aaa = 1⟩

▶ N× N (additive) is presented by

⟨a,b | ba = ab⟩

▶ S3 is presented by

⟨a,b | bab = aba, aa = 1,bb = 1⟩

10 / 58

Page 27: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsExample

▶ N (additive) is presented by

⟨a | ⟩

▶ N/3N (additive) is presented by

⟨a | aaa = 1⟩

▶ N× N (additive) is presented by

⟨a,b | ba = ab⟩

▶ S3 is presented by

⟨a,b | bab = aba, aa = 1,bb = 1⟩

10 / 58

Page 28: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsA monoid M admits a presentation ⟨G | R⟩ means that▶ the elements of G generate the monoid:any element of M can be obtained as a product of those

▶ R generate equality: given u, v ∈ G∗ whose evaluation in M isthe same, we have u ≈ v

For N× N presented by ⟨a,b | ba = ab⟩, we have

▶ any element can be obtained as a sum of

a = (1, 0) and b = (0, 1)

▶ equality is generated by ab:

baa = (0, 1)+(1, 0)+(1, 0) = (2, 1) = (1, 0)+(1, 0)+(0, 1) = aab

andbaa ≈ aba ≈ aab

11 / 58

Page 29: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsA monoid M admits a presentation ⟨G | R⟩ means that▶ the elements of G generate the monoid:any element of M can be obtained as a product of those

▶ R generate equality: given u, v ∈ G∗ whose evaluation in M isthe same, we have u ≈ v

For N× N presented by ⟨a,b | ba = ab⟩, we have

▶ any element can be obtained as a sum of

a = (1, 0) and b = (0, 1)

▶ equality is generated by ab:

baa = (0, 1)+(1, 0)+(1, 0) = (2, 1) = (1, 0)+(1, 0)+(0, 1) = aab

andbaa ≈ aba ≈ aab

11 / 58

Page 30: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsA monoid M admits a presentation ⟨G | R⟩ means that▶ the elements of G generate the monoid:any element of M can be obtained as a product of those

▶ R generate equality: given u, v ∈ G∗ whose evaluation in M isthe same, we have u ≈ v

For N× N presented by ⟨a,b | ba = ab⟩, we have

▶ any element can be obtained as a sum of

a = (1, 0) and b = (0, 1)

▶ equality is generated by ab:

baa = (0, 1)+(1, 0)+(1, 0) = (2, 1) = (1, 0)+(1, 0)+(0, 1) = aab

andbaa ≈ aba ≈ aab

11 / 58

Page 31: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsA monoid M admits a presentation ⟨G | R⟩ means that▶ the elements of G generate the monoid:any element of M can be obtained as a product of those

▶ R generate equality: given u, v ∈ G∗ whose evaluation in M isthe same, we have u ≈ v

For N× N presented by ⟨a,b | ba = ab⟩, we have▶ any element can be obtained as a sum of

a = (1, 0) and b = (0, 1)

▶ equality is generated by ab:

baa = (0, 1)+(1, 0)+(1, 0) = (2, 1) = (1, 0)+(1, 0)+(0, 1) = aab

andbaa ≈ aba ≈ aab

11 / 58

Page 32: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoidsA monoid M admits a presentation ⟨G | R⟩ means that▶ the elements of G generate the monoid:any element of M can be obtained as a product of those

▶ R generate equality: given u, v ∈ G∗ whose evaluation in M isthe same, we have u ≈ v

For N× N presented by ⟨a,b | ba = ab⟩, we have▶ any element can be obtained as a sum of

a = (1, 0) and b = (0, 1)

▶ equality is generated by ab:

baa = (0, 1)+(1, 0)+(1, 0) = (2, 1) = (1, 0)+(1, 0)+(0, 1) = aab

andbaa ≈ aba ≈ aab

11 / 58

Page 33: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Presentations of monoids

Note that every monoid M admits a presentation:▶ generators: take G = M▶ relations: all pairs (u, v) ∈ G∗ ×G∗ such that u = v in M, i.e.

u1 × . . .× um = v1 × . . .× vn

We are mostly interested in small (at least finite) ones.

12 / 58

Page 34: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

How do we showthat we actually have

a presentation?

13 / 58

Page 35: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Constructing presentations of monoids

For instance,N× N ∼= {a,b}∗ /≈

where ≈ is the congruence generated by ba ≈ ab.

In each equivalence class (w.r.t. ≈) there is a unique word of theform

ambn

with (m, n) ∈ N× N, called a canonical form, thus the bijection!

For instance,

abaa ≈ aaba ≈ aaab

14 / 58

Page 36: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Constructing presentations of monoids

For instance,N× N ∼= {a,b}∗ /≈

where ≈ is the congruence generated by ba ≈ ab.

In each equivalence class (w.r.t. ≈) there is a unique word of theform

ambn

with (m, n) ∈ N× N, called a canonical form, thus the bijection!

For instance,

abaa ≈ aaba ≈ aaab

14 / 58

Page 37: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Inventing canonical formscan be difficult

let's see a generic method.

15 / 58

Page 38: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systemsA string rewriting systems ⟨G | R⟩ consists of▶ an alphabet G▶ a set of rules R ⊆ G∗ ×G∗

A rule (v, v′) is interpreted as v′ being “more canonical” than v.

A rewriting step is a pair of the form

uvw ⇒ uv′w

from some rule (v, v′) ∈ R and words u,w ∈ G∗.

A rewriting path u ∗⇒ v is a sequence of rewriting steps,and we say that u rewrites to v.

Lemmau ∗⇒ v implies u ≈ v.≈R is the symmetric and transitive closure of

∗⇒.

16 / 58

Page 39: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systemsA string rewriting systems ⟨G | R⟩ consists of▶ an alphabet G▶ a set of rules R ⊆ G∗ ×G∗

A rule (v, v′) is interpreted as v′ being “more canonical” than v.

A rewriting step is a pair of the form

uvw ⇒ uv′w

from some rule (v, v′) ∈ R and words u,w ∈ G∗.

A rewriting path u ∗⇒ v is a sequence of rewriting steps,and we say that u rewrites to v.

Lemmau ∗⇒ v implies u ≈ v.≈R is the symmetric and transitive closure of

∗⇒.

16 / 58

Page 40: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systemsA string rewriting systems ⟨G | R⟩ consists of▶ an alphabet G▶ a set of rules R ⊆ G∗ ×G∗

A rule (v, v′) is interpreted as v′ being “more canonical” than v.

A rewriting step is a pair of the form

uvw ⇒ uv′w

from some rule (v, v′) ∈ R and words u,w ∈ G∗.

A rewriting path u ∗⇒ v is a sequence of rewriting steps,and we say that u rewrites to v.

Lemmau ∗⇒ v implies u ≈ v.≈R is the symmetric and transitive closure of

∗⇒.

16 / 58

Page 41: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systemsA string rewriting systems ⟨G | R⟩ consists of▶ an alphabet G▶ a set of rules R ⊆ G∗ ×G∗

A rule (v, v′) is interpreted as v′ being “more canonical” than v.

A rewriting step is a pair of the form

uvw ⇒ uv′w

from some rule (v, v′) ∈ R and words u,w ∈ G∗.

A rewriting path u ∗⇒ v is a sequence of rewriting steps,and we say that u rewrites to v.

Lemmau ∗⇒ v implies u ≈ v.≈R is the symmetric and transitive closure of

∗⇒.

16 / 58

Page 42: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systemsA string rewriting systems ⟨G | R⟩ consists of▶ an alphabet G▶ a set of rules R ⊆ G∗ ×G∗

A rule (v, v′) is interpreted as v′ being “more canonical” than v.

A rewriting step is a pair of the form

uvw ⇒ uv′w

from some rule (v, v′) ∈ R and words u,w ∈ G∗.

A rewriting path u ∗⇒ v is a sequence of rewriting steps,and we say that u rewrites to v.

Lemmau ∗⇒ v implies u ≈ v.≈R is the symmetric and transitive closure of

∗⇒.16 / 58

Page 43: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

String rewriting systems

ExampleIn the rewriting system

⟨a,b | ba⇒ ab⟩

we have the rewriting path

abaa ⇒ aaba ⇒ aaab

17 / 58

Page 44: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Normal forms

A normal form u is a word which rewrites only to itself:there is no v such that

u ⇒ v

These are “maximally canonical” words.

Can we ensure that every equivalence class contains exactly onenormal form?

18 / 58

Page 45: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Normal forms

A normal form u is a word which rewrites only to itself:there is no v such that

u ⇒ v

These are “maximally canonical” words.

Can we ensure that every equivalence class contains exactly onenormal form?

18 / 58

Page 46: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Termination

A rewriting system is terminating if there is no infinite sequence

u ⇒ u1 ⇒ u2 ⇒ . . .

of rewriting steps.

LemmaIn this case, every equivalence class contains at least one normalform.

Proof.Given an element u of an equivalence class, rewrite it as much aspossible.

19 / 58

Page 47: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Termination

A rewriting system is terminating if there is no infinite sequence

u ⇒ u1 ⇒ u2 ⇒ . . .

of rewriting steps.

LemmaIn this case, every equivalence class contains at least one normalform.

Proof.Given an element u of an equivalence class, rewrite it as much aspossible.

19 / 58

Page 48: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Termination

ExampleThe rewriting system

⟨a,b | ba⇒ ab⟩

is terminating (because rules put bs on the right).

A normal form for abaa is aaab:

abaa ⇒ aaba ⇒ aaab

20 / 58

Page 49: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Termination

ExampleThe rewriting system

⟨a,b | ba⇒ ab⟩

is terminating (because rules put bs on the right).

A normal form for abaa is aaab:

abaa ⇒ aaba ⇒ aaab

20 / 58

Page 50: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Confluence

A rewriting system is confluent if

u∗

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�$

v2

∗z�

w

Lemma (Church-Rosser’36)In a confluent rewriting system any equivalence class contains atmost one normal form.

21 / 58

Page 51: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Confluence

A rewriting system is confluent if

u∗

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�$

v2

∗z�

w

Lemma (Church-Rosser’36)In a confluent rewriting system any equivalence class contains atmost one normal form.

21 / 58

Page 52: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Convergent rewriting systems

A rewriting system is convergent when it is▶ terminating▶ confluent

LemmaIn such a system, every equivalence class of a word u admitsexactly one representative in normal form u.

22 / 58

Page 53: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The word problem

In a convergent rewriting system is easy to decidethe word problem for a presentation:▶ input: u, v ∈ G∗,▶ output: do we have u ≈ v?

Namely:

1. rewrite u to its normal form u

2. rewrite v to its normal form v

3. return u = v

23 / 58

Page 54: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

How do we showconfluence

in practice?

24 / 58

Page 55: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Local confluence

A rewriting system is

locally

confluent if

u∗

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�$

v2

∗z�

w

Lemma (Newman’42)For terminating rewriting systems, confluence is equivalent tolocal confluence.

25 / 58

Page 56: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Local confluence

A rewriting system is locally confluent if

u

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�$

v2

∗z�

w

Lemma (Newman’42)For terminating rewriting systems, confluence is equivalent tolocal confluence.

25 / 58

Page 57: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Local confluence

A rewriting system is locally confluent if

u

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�$

v2

∗z�

w

Lemma (Newman’42)For terminating rewriting systems, confluence is equivalent tolocal confluence.

25 / 58

Page 58: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

We can further reduce the number of local branchings to check.

26 / 58

Page 59: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

We can further reduce the number of local branchings to check.

Independent branchings.Consider the rule ba⇒ ab, then we have

ubavbaw

s{ pppppp

pppp

pppppp

pppp

#+NNNN

NNNNNN

NNNNNN

NNNN

ubavabw

#+

ubavabw

s{uabvabw

26 / 58

Page 60: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

We can further reduce the number of local branchings to check.

Non-minimal branchings.

v

z� }}}}}}}

}}}}}}}

�$AA

AAAA

A

AAAA

AAA

v1

∗�#@@

@@@@

@

@@@@

@@@

v2

∗{� ~~~~~~~

~~~~~~~

v′

implies

uvw

v~ uuuuu

uuuu

uuuuuu

uuu

(IIII

IIIII

IIIIII

III

uv1w

∗ (HHHH

HHHH

HHHHHH

HHuv2w

∗v~ vvvvv

vvv

vvvvvv

vv

uv′w

26 / 58

Page 61: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

For this reason, we can restrict to critical branchings,which are those being▶ overlapping (= not independent)▶ minimal (wrt to context)

LemmaA terminating rewriting system with confluent critical branchingsis convergent.

27 / 58

Page 62: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

For this reason, we can restrict to critical branchings,which are those being▶ overlapping (= not independent)▶ minimal (wrt to context)

LemmaA terminating rewriting system with confluent critical branchingsis convergent.

27 / 58

Page 63: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleIn the rewriting system

⟨a,b | ba⇒ ab⟩

all branchings are of the form

ubavbaw

s{ pppppp

pppp

pppppp

pppp

#+NNNN

NNNNNN

NNNNNN

NNNN

ubavabw

#+

ubavabw

s{uabvabw

i.e. there is no critical branching.

It is thus convergent and normal forms are words ambn.28 / 58

Page 64: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

29 / 58

Page 65: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The critical pairs are

aaa

y� {{{{{{{{

{{{{{{{{

�%CC

CCCC

CC

CCCC

CCCC

a a

a

bbb

y� ||||||||

||||||||

�%BB

BBBB

BB

BBBB

BBBB

b b

b

29 / 58

Page 66: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The critical pairs are

aaa

y� {{{{{{{{

{{{{{{{{

�%CC

CCCC

CC

CCCC

CCCC

a a

a

bbb

y� ||||||||

||||||||

�%BB

BBBB

BB

BBBB

BBBB

b b

b

29 / 58

Page 67: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The critical pairs are

bbab

x� xxxxxxxx

xxxxxxxx

(III

IIII

I

IIII

IIII

ab baba

abaa

ab

babb

v~ uuuuuuuu

uuuuuuuu

�&FFF

FFFF

F

FFFF

FFFF

abab ba

aaba

ba

29 / 58

Page 68: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The critical pairs are

bbab

x� xxxxxxxx

xxxxxxxx

(III

IIII

I

IIII

IIII

ab baba

��abaa

v~ab

babb

v~ uuuuuuuu

uuuuuuuu

�&FFF

FFFF

F

FFFF

FFFF

abab

��

ba

aaba

(ba

29 / 58

Page 69: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The rewriting system is terminating and thus convergent.

Normal forms are

1 a ab aba b ba

from which we can deduce that this is a presentation of S3

(you can already check that there are 6 = 3! elements).

29 / 58

Page 70: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The generators a and b respectively correspond to

a =

·==

=== ·

�����

·

· · ·b =

· ·==

=== ·

�����

· · ·

29 / 58

Page 71: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The generators a and b respectively correspond to

a =

·==

=== ·

�����

·

· · ·b =

· ·==

=== ·

�����

· · ·

The relation aa = 1 is

·==

=== ·

�����

·

·==

=== ·

�����

·

· · ·

=

· · ·

· · ·29 / 58

Page 72: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchingsExampleConsider the rewriting system

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩

The generators a and b respectively correspond to

a =

·==

=== ·

�����

·

· · ·b =

· ·==

=== ·

�����

· · ·

The relation bab = aba is· ·

====

= ·

�����

·==

=== ·

�����

·

· ·==

=== ·

�����

· · ·

=

·==

=== ·

�����

·

· ·==

=== ·

�����

·==

=== ·

�����

·

· · ·29 / 58

Page 73: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Critical branchings

LemmaGiven a finite rewriting system ⟨G | R⟩ (both G and R finite), thereis a finite number of critical branchings.

Proof.We have an algorithm for computing critical pairs:▶ for every pair of rules u1 ⇒ v1 and u2 ⇒ v2▶ compute all the ways u1 and u2 can overlap

30 / 58

Page 74: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Does this solveall the problems

in the world?

31 / 58

Page 75: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Universality of convergent rewriting

The word problem: do we have u ≈ v?

For convergent presentations, this is easy: u = v?

Universality of convergent rewriting: does every finitelypresented monoid with decidable word problem admit a finiteconvergent presentation?

32 / 58

Page 76: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Universality of convergent rewriting

The word problem: do we have u ≈ v?

For convergent presentations, this is easy: u = v?

Universality of convergent rewriting: does every finitelypresented monoid with decidable word problem admit a finiteconvergent presentation?

32 / 58

Page 77: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Universality of convergent rewriting

The word problem: do we have u ≈ v?

For convergent presentations, this is easy: u = v?

Universality of convergent rewriting: does every finitelypresented monoid with decidable word problem admit a finiteconvergent presentation?

32 / 58

Page 78: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

When do two presentationspresent the same monoid?

33 / 58

Page 79: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Tietze transformationsThe Tietze transformations preserve the presented monoid:1. add a definable generator:

⟨G | R⟩ ⇝ ⟨G, a | R, u = a⟩

with u ∈ G∗,

2. remove a definable generator:

⟨G, a | R, u = a⟩ ⇝ ⟨G | R⟩

where a does not occur in R,3. add a derivable relation:

⟨G | R⟩ ⇝ ⟨G | R, u = v⟩

when u ≈R v,4. remove a derivable relation:

⟨G | R, u = v⟩ ⇝ ⟨G | R⟩

when u ≈R v.

34 / 58

Page 80: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Tietze transformationsThe Tietze transformations preserve the presented monoid:1. add a definable generator:

⟨G | R⟩ ⇝ ⟨G, a | R, u = a⟩

with u ∈ G∗,2. remove a definable generator:

⟨G, a | R, u = a⟩ ⇝ ⟨G | R⟩

where a does not occur in R,

3. add a derivable relation:

⟨G | R⟩ ⇝ ⟨G | R, u = v⟩

when u ≈R v,4. remove a derivable relation:

⟨G | R, u = v⟩ ⇝ ⟨G | R⟩

when u ≈R v.

34 / 58

Page 81: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Tietze transformationsThe Tietze transformations preserve the presented monoid:1. add a definable generator:

⟨G | R⟩ ⇝ ⟨G, a | R, u = a⟩

with u ∈ G∗,2. remove a definable generator:

⟨G, a | R, u = a⟩ ⇝ ⟨G | R⟩

where a does not occur in R,3. add a derivable relation:

⟨G | R⟩ ⇝ ⟨G | R, u = v⟩

when u ≈R v,

4. remove a derivable relation:

⟨G | R, u = v⟩ ⇝ ⟨G | R⟩

when u ≈R v.

34 / 58

Page 82: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Tietze transformationsThe Tietze transformations preserve the presented monoid:1. add a definable generator:

⟨G | R⟩ ⇝ ⟨G, a | R, u = a⟩

with u ∈ G∗,2. remove a definable generator:

⟨G, a | R, u = a⟩ ⇝ ⟨G | R⟩

where a does not occur in R,3. add a derivable relation:

⟨G | R⟩ ⇝ ⟨G | R, u = v⟩

when u ≈R v,4. remove a derivable relation:

⟨G | R, u = v⟩ ⇝ ⟨G | R⟩

when u ≈R v.34 / 58

Page 83: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Tietze transformations

TheoremTwo presentations present the same monoid if and only if theyare related by a series of Tietze transformations.

35 / 58

Page 84: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Braids

For instance, consider the presentation

⟨a,b | bab = aba⟩

we can apply the following series of transformations:▶ ⟨a,b | bab = aba⟩

▶ ⟨a,b, c | bab = aba,ba = c⟩▶ ⟨a,b, c | bab = aba, ab = c, cb = ac⟩▶ ⟨a,b, c | ab = c, cb = ac⟩

And we obtain a convergent rewriting system:

⟨a,b, c | ab⇒ c, cb⇒ ac⟩

36 / 58

Page 85: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Braids

For instance, consider the presentation

⟨a,b | bab = aba⟩

we can apply the following series of transformations:▶ ⟨a,b | bab = aba⟩▶ ⟨a,b, c | bab = aba,ba = c⟩

▶ ⟨a,b, c | bab = aba, ab = c, cb = ac⟩▶ ⟨a,b, c | ab = c, cb = ac⟩

And we obtain a convergent rewriting system:

⟨a,b, c | ab⇒ c, cb⇒ ac⟩

36 / 58

Page 86: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Braids

For instance, consider the presentation

⟨a,b | bab = aba⟩

we can apply the following series of transformations:▶ ⟨a,b | bab = aba⟩▶ ⟨a,b, c | bab = aba,ba = c⟩▶ ⟨a,b, c | bab = aba, ab = c, cb = ac⟩

▶ ⟨a,b, c | ab = c, cb = ac⟩

And we obtain a convergent rewriting system:

⟨a,b, c | ab⇒ c, cb⇒ ac⟩

36 / 58

Page 87: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Braids

For instance, consider the presentation

⟨a,b | bab = aba⟩

we can apply the following series of transformations:▶ ⟨a,b | bab = aba⟩▶ ⟨a,b, c | bab = aba,ba = c⟩▶ ⟨a,b, c | bab = aba, ab = c, cb = ac⟩▶ ⟨a,b, c | ab = c, cb = ac⟩

And we obtain a convergent rewriting system:

⟨a,b, c | ab⇒ c, cb⇒ ac⟩

36 / 58

Page 88: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Braids

For instance, consider the presentation

⟨a,b | bab = aba⟩

we can apply the following series of transformations:▶ ⟨a,b | bab = aba⟩▶ ⟨a,b, c | bab = aba,ba = c⟩▶ ⟨a,b, c | bab = aba, ab = c, cb = ac⟩▶ ⟨a,b, c | ab = c, cb = ac⟩

And we obtain a convergent rewriting system:

⟨a,b, c | ab⇒ c, cb⇒ ac⟩

36 / 58

Page 89: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

BraidsWe can deduce that the presentation

⟨a,b | bab = aba⟩corresponds to B3, the monoid of braids on 3 strands:

a = b =

37 / 58

Page 90: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

BraidsWe can deduce that the presentation

⟨a,b | bab = aba⟩corresponds to B3, the monoid of braids on 3 strands:

a = b =

We have the relation bab = aba:

=

37 / 58

Page 91: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

BraidsWe can deduce that the presentation

⟨a,b | bab = aba⟩corresponds to B3, the monoid of braids on 3 strands:

a = b =

But not the relation aa = 1:

=

37 / 58

Page 92: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Studying all the presentationsof a given monoid

to determine whether there isa convergent one

is difficult!

38 / 58

Page 93: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Let's switch to something else...

39 / 58

Page 94: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Suppose that you have a space (e.g. a simplicial complex) andyou want to compute the number of “holes” in it. There is a veryefficient way of doing this:

homology

ab

c

−a

40 / 58

Page 95: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h

41 / 58

Page 96: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”

▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h

41 / 58

Page 97: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h

41 / 58

Page 98: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h

41 / 58

Page 99: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h41 / 58

Page 100: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologySuppose that our space looks like this:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

▶ we allow taking linear combinations of “building blocks”▶ we define the boundary of a block as target - source:

∂(f) = y− x ∂(α) = f+ g− h

▶ “potential holes” can be detected as those with emptyboundary:

∂(f+ g− h) = ∂(f) + ∂(g)− ∂(h)

= (y− x) + (z− y)− (z− x) = 0

▶ we have to remove those that are boundaries

∂(α) = f+ g− h

41 / 58

Page 101: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologyFormally, given our space X:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

we consider the chain complex

. . .∂2 // k {α} ∂1 // k {f,g, h, i} ∂0 // k {x, y, z, z′}

C2

=

C1

=C0

=

42 / 58

Page 102: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologyFormally, given our space X:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

we consider the chain complex

. . .∂2 // k {α} ∂1 // k {f,g, h, i} ∂0 // k {x, y, z, z′}

C2

=

C1

=C0

=

which means that▶ the Ci are k-vector spaces,▶ the ∂i : Ci+1 → Ci are linear maps,▶ we have ∂i−1 ◦ ∂i = 0 and thus im ∂i ⊆ ker ∂i−1.

42 / 58

Page 103: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

HomologyFormally, given our space X:

yg

��<<<

<<<<

<

⇑α

x

f@@��������

h// z i // z′

we consider the chain complex

. . .∂2 // k {α} ∂1 // k {f,g, h, i} ∂0 // k {x, y, z, z′}

C2

=

C1

=C0

=

and we can compute i-th homology groups:

Hi(X) = ker ∂i−1/ im ∂i

The intuition is that the rank of Hi(X) counts the number of holesin dimension i.

42 / 58

Page 104: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Homology

TheoremHomology is invariant under homotopy equivalences(= continuous deformations of the space).

43 / 58

Page 105: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •

1. one segment • a • for each generator a2. one surface for each relation, e.g.

•b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

•3. one volume for each critical pair4. one 4-volume for each critical triple5. etc.

44 / 58

Page 106: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •1. one segment • a • for each generator a

2. one surface for each relation, e.g.•

b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

•3. one volume for each critical pair4. one 4-volume for each critical triple5. etc.

44 / 58

Page 107: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •1. one segment • a • for each generator a2. one surface for each relation, e.g.

•b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

3. one volume for each critical pair4. one 4-volume for each critical triple5. etc.

44 / 58

Page 108: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •1. one segment • a • for each generator a2. one surface for each relation, e.g.

•b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

•3. one volume for each critical pair

4. one 4-volume for each critical triple5. etc.

44 / 58

Page 109: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •1. one segment • a • for each generator a2. one surface for each relation, e.g.

•b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

•3. one volume for each critical pair4. one 4-volume for each critical triple

5. etc.

44 / 58

Page 110: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying spaceGiven a convergent presentation

⟨a,b | aa⇒ 1,bb⇒ 1,bab⇒ aba⟩we can build a space with0. one point •1. one segment • a • for each generator a2. one surface for each relation, e.g.

•b

~~~~~ a

@@@@

@

•a =

•b

b @@@@

@ •a~~~~~

•3. one volume for each critical pair4. one 4-volume for each critical triple5. etc. 44 / 58

Page 111: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying space

Theorem (Squier’87)The homology of this space only depends on the presentedmonoid (not on the actual convergent presentation!).

Invariance under homotopy equivalence translates into thissetting into invariance under (convergent) presentation!

RemarkActually, all these computations can be performed purelyalgebraically, without ever using topological spaces...

45 / 58

Page 112: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The classifying space

Theorem (Squier’87)The homology of this space only depends on the presentedmonoid (not on the actual convergent presentation!).

Invariance under homotopy equivalence translates into thissetting into invariance under (convergent) presentation!

RemarkActually, all these computations can be performed purelyalgebraically, without ever using topological spaces...

45 / 58

Page 113: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs5. if there was a finite convergent presentation,

it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 114: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs5. if there was a finite convergent presentation,

it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 115: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs5. if there was a finite convergent presentation,

it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 116: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs

5. if there was a finite convergent presentation,it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 117: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs5. if there was a finite convergent presentation,

it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 118: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The counter-example

Example (Squier’87-Lafont-Prouté’91)Consider the monoid M presented by⟨

a,b, c,d,d′∣∣ ab = a,da = ac,d′a = ac

⟩1. has decidable word problem

2. admits an infinite convergent presentation

3. from which we can compute that H3(M) is infinite

4. H3(M) is a subquotient of kP where P are the critical pairs5. if there was a finite convergent presentation,

it would have a finite number of critical pairs

6. there is no finite convergent presentation of the monoid!

46 / 58

Page 119: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Now, something new:this can be extended toterm rewriting systems!

47 / 58

Page 120: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Algebraic theoriesAn algebraic theory

⟨G | R⟩consists of1. G: operations with given arities2. R: equations between terms generated by operations

Example

▶ the theory of groups is given by m : 2, e : 0, i : 1 and

m(m(x1, x2), x3) = m(x1,m(x2, x3))m(e, x1) = x1 m(x1, e) = x1

m(i(x1), x1) = e m(x1, i(x1)) = e

▶ rings, fields, etc.▶ (semi)lattices, booleans algebras, etc.

48 / 58

Page 121: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Models

A model of an algebraic theory consists of▶ a set X,▶ an interpretation JfK : Xn → Xfor each operation f of arity n,

▶ such that the axioms are satisfied.

ExampleModels of the theory of groups are groups.

49 / 58

Page 122: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Equivalence between theoriesTwo theories are equivalent when they have the same models.

ExampleConsider the theory of groups, given by m : 2, e : 0, i : 1 and

m(m(x1, x2), x3) = m(x1,m(x2, x3))m(e, x1) = x1 m(x1, e) = x1

m(i(x1), x1) = e m(x1, i(x1)) = e

The equations in red are derivable from the other.

xe = (ex)e = ((x−−x−)x)e = (x−−(x−x))e = (x−−e)e

= x−−(ee) = x−−e = x−−(x−x) = (x−−x−)x = ex = x

50 / 58

Page 123: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Equivalence between theoriesTwo theories are equivalent when they have the same models.

ExampleConsider the theory of groups, given by m : 2, e : 0, i : 1 and

m(m(x1, x2), x3) = m(x1,m(x2, x3))m(e, x1) = x1 m(x1, e) = x1

m(i(x1), x1) = e m(x1, i(x1)) = e

The equations in red are derivable from the other.

xe = (ex)e = ((x−−x−)x)e = (x−−(x−x))e = (x−−e)e

= x−−(ee) = x−−e = x−−(x−x) = (x−−x−)x = ex = x

50 / 58

Page 124: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Equivalence between theoriesTwo theories are equivalent when they have the same models.

ExampleConsider the theory of groups, given by m : 2, e : 0, i : 1 and

m(m(x1, x2), x3) = m(x1,m(x2, x3))m(e, x1) = x1

m(x1, e) = x1

m(i(x1), x1) = e

m(x1, i(x1)) = e

The equations in red are derivable from the other.

xe = (ex)e = ((x−−x−)x)e = (x−−(x−x))e = (x−−e)e

= x−−(ee) = x−−e = x−−(x−x) = (x−−x−)x = ex = x

50 / 58

Page 125: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Can we find minimal (or small)axiomatizations for theories?

51 / 58

Page 126: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

One relation for (abelian) groups

In 1938, Tarski observed that the theory of abelian groups can beaxiomatized with two operations d : 2, a : 0 and one relation

d(x1,d(x2,d(x3,d(x1, x2)))) = x3

where a ensure that the model is not empty.

A one-based theory is a theory which can be axiomatized withonly one axiom.

52 / 58

Page 127: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The quest for one-based theories

There is an interesting line of efforts to find one-based theories:▶ 1938: abelian groups is one-based▶ 1952: groups is one-based▶ 1965: semi-lattices is not one-based▶ 1970: distributive lattices is not one-based

lattices is one-based (300 000 sym. / 34 var.)▶ 1973: boolean algebras is one-based (≥ 40 000 000 symb.)▶ 2002: boolean algebras is one-based (12 symb.)▶ 2003: lattices is one-based (29 symb. / 8 var.)▶ …

53 / 58

Page 128: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

AXIOMS FOR SEMI-JLATTICES

D. H. Potts

-A semi- la t t ice (Birkhoff, JLattice Theory, p. 18, Ex. 1) is an algebra <A, .> with a single binary operation satisfying: (1) x = xx , (2) x y = y x , and (3) (xy)z = x(yz). In this note we show that the three identities may be reduced to two but cannot be reduced to one.

It is easy to see that (2), (3) imply (4) (uv)((wx)(yz)) = ((vu)(xw))(zy). Setting w = y = u and x = z = v in (4) and using (1) we get uv = vu. Setting v = u, x = w, and z =y in (4) and using (1) we get u(wy) = (uw)y. And so (1) and (4) imply (2) and (3).

If a single identity is sufficient to define the notion of semi- la t t ice it must be of form x = . . . . Any identity not of that form, is satisfied by, e. g. the algebra <{ 0, 1} , .> where 00 = 01 =10 = 1 1 = 0 , which is not a semi- la t t ice .

Now suppose we have a semi- la t t ice with two distinct elements a , b . Let c = ab. Either c # a or c ^ b. We suppose the la t te r . Then bb = b and be = cb = cc = c . Thus any identity holding in a semi- la t t ice with at leas t two elements must have the same var iables occurr ing on each side of the equality sign. For suppose Ifxff occurs on the left but not on the right. Setting x = c and al l other var iables equal to b yields the contradiction c = b.

Thus a single sufficing identity would have to be of form x = f(x). Clearly such an identity will not imply (2), for the algebra < { 0 , l } , . > where 0 0 = 0 1 = 0 and 1 0 = 1 1 = 1 satisfies x = f(x> for any f but is not commutative.

University of California, Berkeley

519

54 / 58

Page 129: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Axioms for semi-latticesA semi-lattice is a set equipped with a multiplication such that

(xy)z = x(yz) xy = yx xx = x

1. any axiom should be of the form x = t otherwise thenon-semi-lattice

· 0 1

0 0 01 0 0

would be a model

2. any axiom t = u should have FV(t) = FV(u)

3. the axiom cannot be of the form x = t(x)

4. we can also show that any other choice of generators suffersfrom the same problem!

55 / 58

Page 130: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Axioms for semi-latticesA semi-lattice is a set equipped with a multiplication such that

(xy)z = x(yz) xy = yx xx = x

1. any axiom should be of the form x = t

2. any axiom t = u should have FV(t) = FV(u) otherwise thesemi-lattice

· 0 1

0 0 11 1 1

would not be a model

3. the axiom cannot be of the form x = t(x)

4. we can also show that any other choice of generators suffersfrom the same problem!

55 / 58

Page 131: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Axioms for semi-latticesA semi-lattice is a set equipped with a multiplication such that

(xy)z = x(yz) xy = yx xx = x

1. any axiom should be of the form x = t

2. any axiom t = u should have FV(t) = FV(u)

3. the axiom cannot be of the form x = t(x) otherwise thenon-semi-lattice

· 0 1

0 0 01 1 1

would be a model

4. we can also show that any other choice of generators suffersfrom the same problem!

55 / 58

Page 132: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Axioms for semi-lattices

A semi-lattice is a set equipped with a multiplication such that

(xy)z = x(yz) xy = yx xx = x

1. any axiom should be of the form x = t

2. any axiom t = u should have FV(t) = FV(u)

3. the axiom cannot be of the form x = t(x)

4. we can also show that any other choice of generators suffersfrom the same problem!

55 / 58

Page 133: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Not one-based theories

We are interested in showing that theories are not one-based:▶ existing proofs are tricky and specific to particular theories▶ they rely on finding counter-examples using some models

Here, instead▶ we provide a method which is entirely automatic▶ but it does not provide an answer in every case

56 / 58

Page 134: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The general methodAlgorithm (Malbos-Mimram’16)

1. start from a theory T ,

2. orient it so that you get a terminating and confluent termrewriting system,

3. feed it to the computer and compute

H2(T ) ∈ N

4. we know that we need at least H2(T ) relations.

Note that:▶ the theory might not be orientable as a convergent rs,▶ we might compute H2(T ) = 0,▶ we have examples where it works though :)

57 / 58

Page 135: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The general methodAlgorithm (Malbos-Mimram’16)

1. start from a theory T ,2. orient it so that you get a terminating and confluent term

rewriting system,

3. feed it to the computer and compute

H2(T ) ∈ N

4. we know that we need at least H2(T ) relations.

Note that:▶ the theory might not be orientable as a convergent rs,▶ we might compute H2(T ) = 0,▶ we have examples where it works though :)

57 / 58

Page 136: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The general methodAlgorithm (Malbos-Mimram’16)

1. start from a theory T ,2. orient it so that you get a terminating and confluent term

rewriting system,

3. feed it to the computer and compute

H2(T ) ∈ N

4. we know that we need at least H2(T ) relations.

Note that:▶ the theory might not be orientable as a convergent rs,▶ we might compute H2(T ) = 0,▶ we have examples where it works though :)

57 / 58

Page 137: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The general methodAlgorithm (Malbos-Mimram’16)

1. start from a theory T ,2. orient it so that you get a terminating and confluent term

rewriting system,

3. feed it to the computer and compute

H2(T ) ∈ N

4. we know that we need at least H2(T ) relations.

Note that:▶ the theory might not be orientable as a convergent rs,▶ we might compute H2(T ) = 0,▶ we have examples where it works though :)

57 / 58

Page 138: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

The general methodAlgorithm (Malbos-Mimram’16)

1. start from a theory T ,2. orient it so that you get a terminating and confluent term

rewriting system,

3. feed it to the computer and compute

H2(T ) ∈ N

4. we know that we need at least H2(T ) relations.

Note that:▶ the theory might not be orientable as a convergent rs,▶ we might compute H2(T ) = 0,▶ we have examples where it works though :)

57 / 58

Page 139: GEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES fileGEOMETRIC INVARIANTS OF ALGEBRAIC STRUCTURES SamuelMimram ÉcolePolytechnique Sémin’ouvert April20th,2017. Geometricinvariantsofconcurrent

Thanks!

58 / 58