Top Banner
Undecidability of the Domino Problem E. Jeandel and P. Vanier Loria (Nancy), LACL (Créteil), France November 20-24 E. Jeandel and P. Vanier, Undecidability of the Domino Problem 1/78
87

Undecidability of the Domino Problem - CIRM

Oct 18, 2021

Download

Documents

dariahiddleston
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: Undecidability of the Domino Problem - CIRM

Undecidability of the Domino Problem

E. Jeandel and P. Vanier

Loria (Nancy), LACL (Créteil), France

November 20-24

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 1/78

Page 2: Undecidability of the Domino Problem - CIRM

Main problem

Given a surface S, a set of tiles τ and a tiling rule, is there a tiling ofthe surface using the tiles of τ ?

A lot of different variations depending on the surface (the plane, thediscrete plane, the hyperbolic plane, a torus) and the tiling rules (whichisometry can we apply to the tiles)

Most of these problems are undecidable: No algorithm can solve them

As a consequence of Berger’s result.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 2/78

Page 3: Undecidability of the Domino Problem - CIRM

In this (series of) talk

What is the theorem of Berger ?What does it imply ?How to prove it ?

Four vastly different proofs, we will present at least 1 and at most 3 ofthem.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 3/78

Page 4: Undecidability of the Domino Problem - CIRM

Wang tiles

Each tile can be used as much as you want.The goal is to tile the entire plane, s.t. two adjacent tiles match on theircommon edge.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 4/78

Page 5: Undecidability of the Domino Problem - CIRM

Example

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 5/78

Page 6: Undecidability of the Domino Problem - CIRM

Tilings with Wang tiles

A set of tiles τ will be called a tileset.We will be interested in tilings of the plane, but also tilings of finiteregions, that respect the local constraints.Constraints: two adjacent tiles should match on their commonedge, tiles cannot be rotated or reflected.

Domino ProblemHow to know if there is a tiling of the plane by the tiles of τ ?

What could happen ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 6/78

Page 7: Undecidability of the Domino Problem - CIRM

Example 1

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 7/78

Page 8: Undecidability of the Domino Problem - CIRM

Example 1

A 1× 1 square:

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 8/78

Page 9: Undecidability of the Domino Problem - CIRM

Example 1

A 2× 2 square:

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 9/78

Page 10: Undecidability of the Domino Problem - CIRM

Example 1

A 4× 4 square:

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 10/78

Page 11: Undecidability of the Domino Problem - CIRM

Example 1

A 10× 10 square

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 11/78

Page 12: Undecidability of the Domino Problem - CIRM

Example 1

A 30× 30 periodic square

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 12/78

Page 13: Undecidability of the Domino Problem - CIRM

Example 2

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 13/78

Page 14: Undecidability of the Domino Problem - CIRM

Example 2

A 4× 4 square

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 14/78

Page 15: Undecidability of the Domino Problem - CIRM

Example 2

A 16× 16 square:

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 15/78

Page 16: Undecidability of the Domino Problem - CIRM

Example 2

A 256× 256 square:

(Actual result may differ from picture shown)

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 16/78

Page 17: Undecidability of the Domino Problem - CIRM

Example 2

No 512× 512 square

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 17/78

Page 18: Undecidability of the Domino Problem - CIRM

Discussion

As the examples show

There is no easy bound N s.t. looking at tilings of a N × N square willenlighten us

Theorem (Berger 1964 (PhD), 1966 (Memoirs of the AMS))There is no algorithm that decides, given a tileset τ , if τ tiles the plane.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 18/78

Page 19: Undecidability of the Domino Problem - CIRM

Plan

1 What does it all mean ?

2 How bad is it ?

3 AlgorithmsFirst (Naive) AlgorithmA better algorithmThird Algorithm

4 Conclusion

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 19/78

Page 20: Undecidability of the Domino Problem - CIRM

The theorem (again)

Theorem (Berger 1964 (PhD), 1966 (Memoirs of the AMS))There is no algorithm that decides, given a tileset τ , if τ tiles the plane.

The theorem somehow hints at the fact that there should be “hard”tilesets.What are their properties ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 20/78

Page 21: Undecidability of the Domino Problem - CIRM

It’s hard not to tile

PropositionIf τ does not tile the plane, there exists a size N s.t. τ does not tile aN × N square.

Contrast this with:

PropositionLet f be any function that can be programmed on a computer.Then there exists a tileset τ of n tiles, with n arbitrary large, s.t. τ tilesa square of size f (n)× f (n) but does not tile the plane.

Note: up to recoloring, there are only finitely many tilesets with n tiles(at most (4n)4n).

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 21/78

Page 22: Undecidability of the Domino Problem - CIRM

Compactness

PropositionIf τ does not tile the plane, there exists a size N s.t. τ does not tile aN × N square.

For all N, let XN be a tiling by τ of the square [−N,N]× [−N,N]centered at the origin.

As τ is finite, infinitely many of the XN agree on the tile at theorigin. We may extract from them a subsequence X 1

N with thesame tile at the origin.Infinitely many of the X 1

N agree on the square [−1,1]× [−1,1]. Wemay extract from them a subsequence X 2

N with the same 3× 3square at the origin....The limit limN X N

N is well defined and is a tiling of the plane.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 22/78

Page 23: Undecidability of the Domino Problem - CIRM

It’s hard not to tile

PropositionLet f be any function that can be programmed on a computer.Then there exists a tileset τ of n tiles, with n arbitrary large, s.t. τ tilesa square of size f (n)× f (n) but does not tile the plane.

Consider the following program on input τ :

Let n be the number of tiles of τTry all possible ways to tile a square of f (n)× f (n). If it succeeds,say “τ tiles the plane”Otherwise, say “τ does not tile the plane”

This program is incorrect. Otherwise, it would solve the DominoProblem, which isn’t possible by Berger’s theorem. Therefore thereexists τ on which the program fails.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 23/78

Page 24: Undecidability of the Domino Problem - CIRM

Another program that fails

Another program:

For every N in 1,+∞:Try to tile a square of size NIf it is not possible, say “τ does not tile the plane”If there is a way to tile this square in a periodic manner, i.e. with thesame colors on the borders, say “τ tiles the plane”Otherwise, go to the next value of N.

Again, this program cannot succeed.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 24/78

Page 25: Undecidability of the Domino Problem - CIRM

Trichotomy theorem

You see, in this world, there’s three kinds of tilesets,my friend:

Those who cannot tile a square of size n forsome n

They do not tile the plane

Those who can tile a square of size n for some nwith the same colors on the borders

This gives a periodic tiling of the plane

Those who tile the plane, but cannot do itperiodically.

These are aperiodic tilesets.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 25/78

Page 26: Undecidability of the Domino Problem - CIRM

Aperiodic tilesets

By Berger’s theorem:

Aperiodic tilesets exist

In fact all known proofs of Berger theorem first build an aperiodictileset.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 26/78

Page 27: Undecidability of the Domino Problem - CIRM

Periodic vs aperiodic

PropositionLet f be any function that can be programmed on a computer.Then there exists a tileset τ of n tiles, with n arbitrary large, s.t. τ tilesthe plane periodically, but does not tile periodically a square of sizeless than f (n)× f (n).

Technically NOT a consequence of Berger’s result, but ofGurevich-Koryakov (1972).

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 27/78

Page 28: Undecidability of the Domino Problem - CIRM

Plan

1 What does it all mean ?

2 How bad is it ?

3 AlgorithmsFirst (Naive) AlgorithmA better algorithmThird Algorithm

4 Conclusion

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 28/78

Page 29: Undecidability of the Domino Problem - CIRM

Good and bad news

Suppose I know τ tiles the plane. Does it mean, tilings by τ are hard todraw ?

Good newsBerger’s theorem doesn’t say anything about that. In fact, tilesets inBerger’s proof are easy to draw (if they exist).

Bad newsFurther theorems show bad things can happen

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 29/78

Page 30: Undecidability of the Domino Problem - CIRM

Worse things

Robinson 1971There exists a tileset τ s.t. there is no algorithm that can decide, givena finite pattern P, if P can be extended into a tiling of the plane

The tileset τ is fixed.Still doesn’t rule out that there are easy tilings by τ . In fact in thisexample τ admits periodic tilings.(This result will be proven next time).

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 30/78

Page 31: Undecidability of the Domino Problem - CIRM

The worst situation

Hanf-Myers 1974There exists a tileset τ s.t. τ tiles the plane, but no tiling of τ can beobtained algorithmically.

Levin 2013There exists a tileset τ s.t.

τ tiles the planeNo tiling of τ can be obtained algorithmically.There exists a randomized program that succeeds with probability> 1− ε.

Tilings by τ are “random”.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 31/78

Page 32: Undecidability of the Domino Problem - CIRM

Plan

1 What does it all mean ?

2 How bad is it ?

3 AlgorithmsFirst (Naive) AlgorithmA better algorithmThird Algorithm

4 Conclusion

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 32/78

Page 33: Undecidability of the Domino Problem - CIRM

Algorithms

No algorithm can decide in all cases if a tileset τ tiles the plane.

But we can still try and answer in some particular cases!If τ does not tile the plane, this can be shown easily: just find N s.t. nosquare of size N can be tiled by τ . Are there better algorithms ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 33/78

Page 34: Undecidability of the Domino Problem - CIRM

First Algorithm

For each N, try to find a way to tile a square of size N × N.

How do to it correctly ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 34/78

Page 35: Undecidability of the Domino Problem - CIRM

First Algorithm

For each N, try to find a way to tile a square of size N × N. Stop if it isnot possible.

The algorithm will halt iff τ does not tile the plane.How do write this algorithm efficiently ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 35/78

Page 36: Undecidability of the Domino Problem - CIRM

First remark

If we found one way to tile a square of size N × N, this particulartiling might not be extendable to a square of size N + 1× N + 1Instead of searching one way to tile a square of size N × N, findall ways to tile a square of size N × N.

Let LN be all the possible ways to tile a square of size N × N. For eachN, compute LN starting from LN−1.

Complexity of the N-th step is |LN |2O(N)

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 36/78

Page 37: Undecidability of the Domino Problem - CIRM

Second remark

Actually, we don’t need to know all ways to tile a N × N square.We only need to know what are the possible borders of a N × Nsquare.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 37/78

Page 38: Undecidability of the Domino Problem - CIRM

Example

1 00

02 1

1

0

2 20

12 2

0

1

1 00

02 1

1

2

2 12

11 2

0

1

The first pattern is extendable to a 3× 3 square iff the second patternis extendable to a 3× 3 square as they have the same border.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 38/78

Page 39: Undecidability of the Domino Problem - CIRM

Example

00

21

21

21

00

21

21

21

The first pattern is extendable to a 3× 3 square iff the second patternis extendable to a 3× 3 square as they have the same border.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 38/78

Page 40: Undecidability of the Domino Problem - CIRM

New Algorithm

Let BN be all the possible borders of squares of size N × N.For each N, compute BN starting from BN−1.

Complexity of the N-th step is 2O(N).

One cannot do better unless P = NP.

(not an exact statement)

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 39/78

Page 41: Undecidability of the Domino Problem - CIRM

Strips

Instead of testing if τ tiles a square of size N × N, test if τ tiles ahorizontal (biinfinite) strip of height N.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 40/78

Page 42: Undecidability of the Domino Problem - CIRM

Tradeoff

If τ tiles an horizontal strip of height N, it tiles a square of size N × N.

Obvious.

If τ tiles a square of size N × N, it tiles an horizontal strip of heightlogc N where c is the number of different colors in τ .

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 41/78

Page 43: Undecidability of the Domino Problem - CIRM

1 02

20 1

0

21 0

0

10 0

1

00 0

1

00 1

2

11 0

2

20 1

0

21 0

0

10 0

1

0

1 02

20 0

1

00 0

1

00 1

2

11 0

0

10 1

0

21 0

2

20 0

1

00 0

1

00 1

2

1

0 01

20 2

2

12 0

2

10 0

1

20 1

2

01 0

2

00 1

0

21 2

1

12 2

0

12 2

2

2

2 00

10 2

1

22 2

1

22 0

0

10 1

2

21 0

2

20 0

2

00 0

2

10 2

0

02 0

0

2

0 20

02 1

0

11 2

0

12 2

2

02 1

0

21 0

2

20 2

1

22 2

1

22 1

0

01 1

0

0

1 11

01 1

1

01 1

2

01 0

1

20 0

1

00 1

2

21 0

2

10 1

0

11 1

2

01 1

1

0

0 10

11 1

0

11 2

0

22 2

1

12 1

0

11 2

0

22 1

1

21 0

1

00 0

2

20 2

1

1

2 20

02 1

1

01 0

0

00 2

1

12 1

0

01 0

0

00 2

1

12 0

0

10 2

0

22 2

0

1

2 02

00 0

2

10 2

0

02 0

1

10 2

1

02 0

1

00 1

0

11 0

2

00 2

2

02 2

2

0

2 11

21 1

0

21 1

0

01 1

1

11 1

0

11 1

1

11 0

1

00 0

0

20 1

2

21 0

2

2

Here is a 10× 10 square

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 42/78

Page 44: Undecidability of the Domino Problem - CIRM

1 02

20 1

0

21 0

0

10 0

1

00 0

1

00 1

2

11 0

2

20 1

0

21 0

0

10 0

1

0

1 02

20 0

1

00 0

1

00 1

2

11 0

0

10 1

0

21 0

2

20 0

1

00 0

1

00 1

2

1

We restrict our attention to a 10× 2 rectangle

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 42/78

Page 45: Undecidability of the Domino Problem - CIRM

1 02

20 1

0

21 0

0

10 0

1

00 0

1

00 1

2

11 0

2

20 1

0

21 0

0

10 0

1

0

1 02

20 0

1

00 0

1

00 1

2

11 0

0

10 1

0

21 0

2

20 0

1

00 0

1

00 1

2

1

By pigeonhole (10 > 32), some border appear twice

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 42/78

Page 46: Undecidability of the Domino Problem - CIRM

1 00

10 0

1

00 0

1

00 1

2

11 0

2

20 1

0

2

0 01

00 1

2

11 0

0

10 1

0

21 0

2

20 0

1

0

We can use this smaller rectangle to tile an horizontal strip periodically

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 42/78

Page 47: Undecidability of the Domino Problem - CIRM

Question

How to test efficiently how a tileset tiles a strip of height n ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 43/78

Page 48: Undecidability of the Domino Problem - CIRM

Main idea

0 1

3

0

0 1

3|0

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 44/78

Page 49: Undecidability of the Domino Problem - CIRM

Main idea

0 1

2

0

0 1

1

0

0 2

0

2

0 2

0

1

1 0

2

2

1 0

1

1

1 0

0

0

2 1

0

2

2 1

0

1

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 45/78

Page 50: Undecidability of the Domino Problem - CIRM

Main idea

A tileset is the same as a automaton (transducer.)

A tiling of an entire row is a biinfinite path on the automaton.

It exists iff the underlying graph contains a cycle

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 46/78

Page 51: Undecidability of the Domino Problem - CIRM

Strips

How do we interpret strips of height 2 ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 47/78

Page 52: Undecidability of the Domino Problem - CIRM

Strips

0 1

3

0

0 2

0

4

0 1

3|0

0 2

0|4

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 48/78

Page 53: Undecidability of the Domino Problem - CIRM

Strips

0 1

3

0

0 2

0

4

0 1

3|0

0 2

0|4

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 48/78

Page 54: Undecidability of the Domino Problem - CIRM

Strips

0 1

3

0

0 2

0

40,0 2,1

3|4

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 49/78

Page 55: Undecidability of the Domino Problem - CIRM

Strips

Strips of height 2 are obtained by composing the automaton with itself

output of the first automaton must match input of the second one.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 50/78

Page 56: Undecidability of the Domino Problem - CIRM

Algorithm

We see a tileset as a transducer T . For each n:We compute T n = T n−1 ◦ TIf T n does not contain any cycle, the tileset does not tile a strip ofheight nOtherwise, we test the next value of n

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 51/78

Page 57: Undecidability of the Domino Problem - CIRM

Main idea

0 1

2

0

0 1

1

0

0 2

0

2

0 2

0

1

1 0

2

2

1 0

1

1

1 0

0

0

2 1

0

2

2 1

0

1

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 52/78

Page 58: Undecidability of the Domino Problem - CIRM

n = 1

There is a cycle, a strip of height 1 can be obtained

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 53/78

Page 59: Undecidability of the Domino Problem - CIRM

n = 2

There is a cycle, a strip of height 2 can be obtained

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 54/78

Page 60: Undecidability of the Domino Problem - CIRM

n = 3

There is a cycle, a strip of height 3 can be obtained

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 55/78

Page 61: Undecidability of the Domino Problem - CIRM

n = 4

etc, etc.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 56/78

Page 62: Undecidability of the Domino Problem - CIRM

Optimizations

We can be smarter

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 57/78

Page 63: Undecidability of the Domino Problem - CIRM

n = 3

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 58/78

Page 64: Undecidability of the Domino Problem - CIRM

n = 3

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 59/78

Page 65: Undecidability of the Domino Problem - CIRM

How to be smarter

At each step, we can delete states that have no incoming (outgoing)edges.

At each step, we can delete edges that cannot be part of a cycle.

i.e. whose ends belong to different strongly connected components.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 60/78

Page 66: Undecidability of the Domino Problem - CIRM

We can do better

The exact transducer does not matter, only the mapping (from input tooutput) it encodes

We can minimize the transducer at each step

Warning: minimizing a nondeterministic transducer is PSPACE-hard,we merely reduce it using bisimilarity.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 61/78

Page 67: Undecidability of the Domino Problem - CIRM

Example

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 62/78

Page 68: Undecidability of the Domino Problem - CIRM

Second Algorithm, revisited

We see a tileset as a transducer T . For each n:We compute T n = T n−1 ◦ TWe simplify T n as much as possibleIf T n does not contain any cycle, the tileset does not tile a strip ofheight nOtherwise, we test the next value of n

Same complexity as the previous algorithm, faster in practice.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 63/78

Page 69: Undecidability of the Domino Problem - CIRM

Notes

We can look at the vertical strips rather than the horizontal strips

We are essentially looking at the tileset as a function(relation) thatmaps biinfinite sequences to biinfinite sequences

What functions can be obtained this way ?More on this later

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 64/78

Page 70: Undecidability of the Domino Problem - CIRM

Third algorithm

The third algorithm is only a basic test that can discard sometilesets without any computation.Obtained by Chazottes-Gambaudo-Gautero 2014, based onhomology of branched surfaces

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 65/78

Page 71: Undecidability of the Domino Problem - CIRM

Idea

Suppose we have a periodic tiling by τ , say a p × p square X thatrepeats periodically.Let c be a color and ec (resp. wc) the number of times that cappears in the east (resp. west) side of a tile in X .As X is periodic

ec = wc

How to compute ec ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 66/78

Page 72: Undecidability of the Domino Problem - CIRM

Equation

Easy answer:

ec =∑

t∈τ with c at the east side

# of times t appears inX

wc =∑

t∈τ with c at the west side

# of times t appears inX

This gives us an equation.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 67/78

Page 73: Undecidability of the Domino Problem - CIRM

System of equations

To each tile ti ∈ τ we associate a variable xi which represents thenumber of times ti appear in XFor each color c we have an equation∑

ti∈Eτ (c)

xi =∑

ti∈Wτ (c)

xi

where Eτ (c) is the set of tiles of τ where c appear on the eastside, similarly with Wτ (c)We also have north/south equations.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 68/78

Page 74: Undecidability of the Domino Problem - CIRM

Example

1 2 3 4 5

Horizontal equations

x1 + x2 = x3 + x4

x4 + x5 = x2 + x5

x3 = x1

Vertical equations

x1 = x4

x2 = x1 + x3 + x5

x3 + x4 + x5 = x2

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 69/78

Page 75: Undecidability of the Domino Problem - CIRM

Easy remark

PropositionIf τ tiles the plane periodically, then the system of equations has anontrivial nonnegative solution.

(Note: xi = 0 is always a trivial solution)

CorollaryThe previous example does not tile the plane periodically

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 70/78

Page 76: Undecidability of the Domino Problem - CIRM

New equations

Instead of looking at the number of times each time appear, we willlook at their density.We now have a new equation: ∑

i

xi = 1

PropositionIf τ tiles the plane periodically, then the system of equations has anonnegative solution.

TheoremIf τ tiles the plane, then the system of equations has a nonnegativesolution.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 71/78

Page 77: Undecidability of the Domino Problem - CIRM

Proof

Suppose that τ tiles the plane. We now look at a tiling X of a n × nsquare.

Let yi be the number of times the tile ti appear in XLet xi = yi/n2 be the density of tile ti in X

For each color c: ∑ti∈Eτ (c)

yi −∑

ti∈Wτ (c)

yi = O(n)

Indeed, the difference is due to the border.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 72/78

Page 78: Undecidability of the Domino Problem - CIRM

Proof

Suppose that τ tiles the plane. We now look at a tiling X of a n × nsquare.

Let yi be the number of times the tile ti appear in XLet xi = yi/n2 be the density of tile ti in X

For each color c: ∑ti∈Eτ (c)

xi −∑

ti∈Wτ (c)

xi = O(1n)

And of course ∑xi = 1

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 72/78

Page 79: Undecidability of the Domino Problem - CIRM

Proof

Suppose that τ tiles the plane. We now look at a tiling X of a n × nsquare.

Let yi be the number of times the tile ti appear in XLet xi = yi/n2 be the density of tile ti in X

For each color c: ∑ti∈Eτ (c)

xi −∑

ti∈Wτ (c)

xi = O(1n)

And of course ∑xi = 1

Now we let n→ +∞ and extract a subsequence

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 72/78

Page 80: Undecidability of the Domino Problem - CIRM

The theorem

TheoremIf τ tiles the plane, then the system of equations has a nonnegativesolution.

CorollaryThe previous example does not tile the plane periodically.

Note: it tiles a 3× 3 square.Note: we can test whether a system of equations has a nonnegativesolution using linear programming.

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 73/78

Page 81: Undecidability of the Domino Problem - CIRM

The theorem

TheoremIf τ tiles the plane, then the system of equations has a nonnegativesolution.

What happens if τ does not tile the plane, but the system hassolutions?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 74/78

Page 82: Undecidability of the Domino Problem - CIRM

Example

0 00

20 1

0

10 2

1

01 0

0

01 1

2

12 1

1

02 2

0

1

x1 + x2 + x3 = x1 + x4 (1)x4 + x5 = x2 + x5 + x6 (2)

x6 + x7 = x3 + x7 (3)x1 + x2 + x4 + x7 = x3 + x4 + x6 (4)

x3 + x6 = x2 + x5 + x7 (5)x5 = x1 (6)

x1 + x2 + x3 + x4 + x5 + x6 + x7 = 1 (7)

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 75/78

Page 83: Undecidability of the Domino Problem - CIRM

Example

0 00

20 1

0

10 2

1

01 0

0

01 1

2

12 1

1

02 2

0

1

Possible solution: x1 = x2 = x5 = 0, x3 = x4 = x6 = 1/5 and x7 = 2/5How to interpret it ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 75/78

Page 84: Undecidability of the Domino Problem - CIRM

Example

0 00

20 1

0

10 2

1

01 0

0

01 1

2

12 1

1

02 2

0

1

Possible solution: x1 = x2 = x5 = 0, x3 = x4 = x6 = 1/5 and x7 = 2/5How to interpret it ?

0 21

0

1 00

02 1

1

0

2 20

12 2

0

1

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 75/78

Page 85: Undecidability of the Domino Problem - CIRM

More on the theorem

Theorem (Chazottes-Gambaudo-Gautero 2014)If the system of equation has a solution, the tileset τ might be used totile some surface.However, if there is no tiling by τ , the genre of the surface has to growlinearly in the number of tiles.

(not an exact statement)

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 76/78

Page 86: Undecidability of the Domino Problem - CIRM

Plan

1 What does it all mean ?

2 How bad is it ?

3 AlgorithmsFirst (Naive) AlgorithmA better algorithmThird Algorithm

4 Conclusion

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 77/78

Page 87: Undecidability of the Domino Problem - CIRM

Conclusion

What we have seen todayWhat are Wang tiles and tilesets τ .What is the Domino Problem (is there a tiling by τ ?)Consequences of the undecidability of the Domino ProblemHow to semi-test if there is a tiling of the plane by τ .

Next time:What does “undecidable” mean ?

E. Jeandel and P. Vanier, Undecidability of the Domino Problem 78/78