Universality of rule 110 towards a formal proof Nicolas Ollinger Gaétan Richard

advertisement
Universality of rule 110
towards a formal proof
Nicolas Ollinger
LIF, Univ. de Provence
Gaétan Richard
ENS Lyon student
DMCS, Turku
July 10, 2004
◦I×
Table of Content
1. Universalities
2. Rule 110 basics
3. Cook•Wolfram proof
4. Details
2 CC J ◦ I BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
3 CC J ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
4
3
2
1
0
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
Z
4
3
2
1
0
. . . −4 −3 −2 −1 0
1
2
3
4 ...
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
Z
S={
,
}
4
3
2
1
0
. . . −4 −3 −2 −1 0
1
2
3
4 ...
• A con guration C is a mapping from Z to S.
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
Z
4
3
2
1
0
. . . −4 −3 −2 −1 0
1
2
3
S={
}
,
N ⊆ nite
Z
4 ...
• A con guration C is a mapping from Z to S.
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
Z
4
3
2
1
0
. . . −4 −3 −2 −1 0
1
2
3
4 ...
S={
,
}
δ : S|N | → S
• A con guration C is a mapping from Z to S.
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
4
3
2
1
0
G
Z
. . . −4 −3 −2 −1 0
1
2
3
4 ...
S={
,
}
δ : S|N | → S
• A con guration C is a mapping from Z to S.
3 CC C ◦ B BB ×
Cellular Automata
• A 1D•CA A is a tuple Z, S, N , δ .
time
..
.
4
3
2
1
0
G
Z
. . . −4 −3 −2 −1 0
1
2
3
4 ...
S={
,
}
δ : S|N | → S
• A con guration C is a mapping from Z to S.
3 CC C ◦ I BB ×
Computation Universality
Idea. A CA is computation universal if it can compute
any partial recursive function.
4 CC J ◦ B BB ×
Computation Universality
Idea. A CA is computation universal if it can compute
any partial recursive function.
• In practice : step•by•step Turing machine simulation.
A. R. Smith III. Simple Computation•Universal Cellular Spaces. 1971
4 CC C ◦ I BB ×
Universalities
B. Durand and Z. Róka, The game of life: universality
revisited, Cellular automata (Saissac, 1996) (Kluwer
Acad. Publ., Dordrecht, 1999), (pp. 51 74).
• Several di erent notions of universality :
Turing (computation universality) ;
Intrinsic (CA simulating all CA) ;
Circuits (CA simulating boolean circuits).
• Problems in the proof of universality of GOL.
• Discusses the di culty of formalization.
5 CC J ◦ I BB ×
Simple Universal CA
year
1966
1968
1970
author
von Neumann
Codd
Banks
1971
Smith III
1987
1990
2002
2002
Albert & Culik II
Lindgren & Nordhal
NO
Cook & Wolfram
d
2
2
2
1
2
1
1
1
1
1
|N|
5
5
5
3
7
3
3
3
3
3
states
29
8
2
18
7
18
14
7
6
2
universality
intrinsic
intrinsic
intrinsic
intrinsic
computation
computation
intrinsic
computation
intrinsic
computation
6 CC J ◦ I BB ×
Banks' Universal 2D•CA
, ,
Z , 2
!
,δ
E. R. Banks. Universality in Cellular Automata. 1970
Idea. Emulate logical circuits by building :
wires transporting binary signals
logical gates AND, OR and NOT
wires crossing
7 CC J ◦ I BB ×
Banks' Universal 2D•CA
time
8 CC J ◦ I BB ×
Banks' Universal 2D•CA
A
B
B and NOT A
16
9 CC J ◦ I BB ×
Table of Content
1. Universalities
2. Rule 110 basics
3. Cook•Wolfram proof
4. Details
10 CC J ◦ I BB ×
Point of View
• We want to construct huge space•time diagrams.
• We need to prove their existence.
• We cannot simply draw some basis of them because
of the size of diagrams involved (squares of millions of
cells on a side).
12 CC J ◦ I BB ×
Tiling the plane
Space•time diagrams as tiling
of the plane by triangles
Changing the point of view
from 1D to 2D
13 CC J ◦ I BB ×
Particles
Particles repeats themselves
in a uniform background
+
*
0
7
A=
,
+
*
B=
C=
0
7
D 2
3
,
,
E
14 CC J ◦ I BB ×
Collisions
Particles collide when meeting
0
0
0
−4
0
5
Γ:
C+
A`
B
+ some pertubation pattern F
We are given a set of valid
elementary particles and
elementary collisions
15 CC J ◦ I BB ×
Bindings
• To combine collisions we use one operation : binding.
0
Γ =
α1
α2
αn
Γ1 +
Γ2 + · · · +
Γn
β1
β2
βn
bind
Principle Merge incoming and outgoing particles
when possible. Some bindings are not valid !
• Binding is easy to construct and validate.
16 CC J ◦ I BB ×
Table of Content
1. Universalities
2. Rule 110 basics
3. Cook•Wolfram proof
4. Details
17 CC J ◦ I BB ×
Sketch of the proof
• We prove that rule 110 is Turing•universal.
1. Reduce Turing Machines to Post Tag Systems.
2. Reduce Tag Systems to Cyclic Tag Systems.
3. Encode Cyclic Tag Systems with collisions.
18 CC J ◦ I BB ×
Post Tag Systems
M. Minsk y, Computation : Finite and In nite Machines
(Prentice Hall, Englewoods Cli s, 1967).
• A classical model used to prove universality of small
Turing Machines.
• Con gurations are words on Σ, a system is given by
(k, v1 , . . . , v|Σ| ). A transition from u is done as follows :
u1 . . . uk uk+1 . . . um ` uk+1 . . . um · vu1
• When the rule cannot be applied, the system accepts.
19 CC J ◦ I BB ×
Cyclic Tag systems
• A cyclic tag system acts only on the binary alphabet.
• A con guration is given by a word u and a set of nite
words (v1 , . . . , vn ).
• A transition is done as follows :
1. if the rst letter of u is 1 then catenate v1 to u ;
2. erase the rst letter of u ;
3. rotate the list of words as (v2 , . . . , vn , v1 ).
• Such systems can simulate any Post Tag System.
20 CC J ◦ I BB ×
A Local Dynamical System
Idea Replace the nite set of words by a periodic one.
Idea Make the rst letter cross the word letter by letter.
• A transition is done as follows :
1. the rst letter of u crosses the word to the right ;
2. when it meets a boundary, it destroys it ;
3. it begins either to erase of unfreeze letters ;
4. when it meets the second boundary, it stops.
21 CC J ◦ I BB ×
A Sample CA
• 16 states, a large neighborhood (−1, 0, 1, 2).
• Locally it can simulate the cyclic Tag system.
23 CC J ◦ B BB ×
A Sample CA
• 16 states, a large neighborhood (−1, 0, 1, 2).
• Locally it can simulate the cyclic Tag system.
Claim This CA may not work ! Why ?
23 CC C ◦ B BB ×
A Sample CA
• 16 states, a large neighborhood (−1, 0, 1, 2).
• Locally it can simulate the cyclic Tag system.
Claim This CA may not work ! Why ?
• Synchronization problems may appear. Be careful.
23 CC C ◦ I BB ×
Table of Content
1. Universalities
2. Rule 110 basics
3. Cook•Wolfram proof
4. Details
24 CC J ◦ I BB ×
Roadmap
• Now we need to exhibit the gadgets for rule 110.
• This is very technical and requires an Oracle.
• M. Cook and S. Wolfram tour de force .
S. Wolfram, A New Kind of Science, 2002
25 CC J ◦ I BB ×
information active
26 CC J ◦ I BB ×
information passive
27 CC J ◦ I BB ×
info passive (x2) (x3)
28 CC J ◦ I BB ×
synchronisation
29 CC J ◦ I BB ×
(E) synchronisation
30 CC J ◦ I BB ×
(E) pré•bits N B
31 CC J ◦ I BB ×
(E) bits passifs N B
32 CC J ◦ I BB ×
(E) bits actifs N B
33 CC J ◦ I BB ×
croisement1
34 CC J ◦ I BB ×
croisement2
35 CC J ◦ I BB ×
(E) croisement NN NB
36 CC J ◦ I BB ×
(E) croisement BN BB
37 CC J ◦ I BB ×
(E) poubelle N B
38 CC J ◦ I BB ×
(E) poubelle sync
39 CC J ◦ I BB ×
redressement
40 CC J ◦ I BB ×
(E) redressement N B
41 CC J ◦ I BB ×
passage1
42 CC J ◦ I BB ×
passage2a
43 CC J ◦ I BB ×
passage2b
44 CC J ◦ I BB ×
(E) passage N B
45 CC J ◦ I BB ×
blocage1
46 CC J ◦ I BB ×
blocage2a
47 CC J ◦ I BB ×
blocage2b
48 CC J ◦ I BB ×
(E) blocage N B
49 CC J ◦ I BB ×
délimiteur 1
50 CC J ◦ I BB ×
délimiteur 2
51 CC J ◦ I BB ×
délimiteur 3
52 CC J ◦ I BB ×
délimiteur 4
53 CC J ◦ I BB ×
(E) pré•bits N B n
54 CC J ◦ I BB ×
(E) analyse N B
55 CC J ◦ I BB ×
(E) passage nal N B
56 CC J ◦ I BB ×
(E) blocage nal N B
57 CC J ◦ I BB ×
Combining the gadgets
Claim Only synchronization invariants are missing.
Idea 1 Combine groups of particles.
Idea 2 Express synchronization as a big system of
linear equalities and solve it.
58 CC J ◦ I BB ×
Test Page (+ pdfTEX & Acrobat issue)
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
012345789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
012345789
abcdefghijklmnopqrstuvw x y z
ABCDEFGHIJKLMNOPQRSTUVWXYZ
012345789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
012345789
59 CC J ◦ I BB ×
Download