Professional Documents
Culture Documents
E. Fachini
L . Vassallo
Dipartim ento Inform atica e Applicazioni, Universita' di Salerno,
84081 Baronissi (SA ), It aly
1. Introduction
T he study of cellular automat a (CA) was mot ivated recent ly by their appli-
cation to syst ems whose compl ex behavior arises from the int eraction among
simp le identical components . Actu ally, a CA consists of a linear biinfin ite
array of cells, each one connected wit h t he r cells that prec ede it on th e left-
hand side and the r cells that follow it on th e right -hand side n eighborho od .
Each cell is in one of finitely many st ates . The new st ate of a cell is computed
according to a local ru le th at is a fun ction of the states of t he cells in t he
neighb orhood , besides th e old state of the cell.
All cells are assumed to change state simult aneously.
In [5] CA are classified with respect to t heir behavior. The great part
of CA falls in the third class, t hat is, the one whose evolut ion leads to a
chao tic pattern. Recentl y, however, Wilson [3] and Culik [1] exhib ite d some
CA belonging to this class and having a very regula r behavior , fractal-like
on particular init ial configur ations.
In t his pap er , we st udy a class we will call pseud ototalisti c cellular au-
tomata (P TCA).
In P T CA , the local rule defines the new st ate of a cell as a linear combi-
nat ion of th e state of its neighb orh ood . They have , in one case, the ad ditive
CA studied by Culik in [1], where it is shown th at they have a high ly regular
behavior on an arbit rary finit e configurat ion as initi al seed. Here we will
pr ove th at PTCA whose numb er of state s is a prime numb er show regular
behavior when the initial configur ation is a single non -idle state.
In section 4 we st udy t he class of CA with radi us r and code on1 2m on
where n + m = r + 1, n 2: 1, m 2: Cr 2: 1, where e, is some cons tant
dep ending on r . Culik conjectu red in [1] th at they behave in a regular way
for finite configuration as initial seed. In· [1] it is proven th at CA with code
001100 and 011110 behave regularl y. on seeds of the form (00 + 11)°. Here
we pr ove that CA with code 0110 behave regularly on seeds belonging to t he
set I = EO-r where E = {a, I} and r = EO000 EOU EOlll EO.
2. Preliminaries
Formally a CA is a triple (S, I, r ) where S is a finit e set of states, r is t he
neighborhood radius, and f : S2rH -+ S is t he local fun ct ion called CA-rule.
At time zero, an arbit rary configuration is assumed: initial seed ; t hen, all
cells change st at e simultaneously accordin g to the local function .
A configuration is a function a : Z -+ S; t he set of configurations is
denoted by SZ and a( i) represents the state of the it h cell for every a E
Sz; GJ : SZ -+ SZ is the global function such t hat if a and f3 are two
configurations , th en
G J(a) = f3 iff j[a(i - r), . . . ,a( i), ... , a( i + r)J = f3(i) for every i E Z;
Gj (a ) represents t he configuration obtained afte r k steps from a.
A CA A = (S, t, r) is called a totalistic cellular automata (T CA) if S is a
subset of Z and t here exists a new funct ion f' such t hat f (s-" . . . , So, . .. ,Sr) =
f'( S-r + ...+ So + ... + s.).
If S = {a, 1}, the n t he t ransition function can be expressed as b2rH , b2r , . . .,
bo, i.e. ,
3. PTCA
In this section we will prove that the behavi or of PTCA A = (S, t, r) with
S = {a, 1, ... , p - 1} where p is a prime number , pP TCA, is very regular at
least when the initial seed h as only one nonquiescent state.
Fi rst we show how to compute t he speed- up ru le for PTCA, by giving a
closed form formul a for Si(t + k) for every k.
(3.1)
E. Fachini and L. Vassallo 387
Moreover,
l~
~J( k)
. ( k .) - Z '''I ~'.
"'1-" k - li l-2i i+JJ.4l-
i+Jl.fL
L., . . . Xl X2 X3
i=O Z Z +J
l~J
I: C(k,i, j)X( k,i, j )
i =O
Proof. The proof is by indu cti on on k.lt is omitted because it is very long
and ted ious .•
We start by st udyi ng pPTCA wit h initial seed WOsOW when Xl = X2 =
X3 = 1 an d s = 1. It is easy to gene ra lize to case s > 1.
We provid e th e proof only for i ?: 0, sin ce the proof for i < 0 is symmetri cal.
rr
Let i > 0:
~
J
, ,(kp) ( ': ) ( 7)}mod p
l
l kP; li J (kp) I }
I i
//~o" T ' o
xo .. Oxo . . Oxo .. 0xO . . Ox 2p s teps
Figure 1.
388 Cellular Automata with R egular Behavior
n=-:
1
111
12321
1312131
140141041
L
- 1100001000011
1110011100111
12321123211 23 21
13121441 2144121 31
1401424424244241041
H0000100001000010000j
Figure 2.
s;(kp) = t:
l2::.li.l J
{ h=O
)
thP mo d p = 0
{ E(
l~J 2 kp kp h }
s;(k p) = h ) ( h +-j p ) mod p
l (k-;) PJ (kp )! }
{ E h![(k - j )p - 2h]!(h + jp)! mod p
/ i\
10 . . 010 . . 01 p steps
Figure 3.
When k = 1 we onl y ne ed t o prove t hat G~ (WOlOW) = (101'- 1)3 (see figur e 3).
We prove the assert ion only for 0 ~ i ~ p since the proof is symmetrica l for
rr
i < O.
f )( f• ~ )} mod p ~ 1
J
, ,(p) (
But
p!
h!(p _ 2h)!h! mod p =0 Vh : 1 ~ h ~ (p - 1)/2
:i = jp
Figure 4.
+ E( ~) (Phh )Sjp[(k-1)P]
Lemma 4. Given apPTCA A = (5, f, 1) with initial seed w010 w and f(x, y, z) =
(XIX + X2Y + X3 Z) mod p, then
(a) si(kp) =0 'v'k ~ 1, - k + 1 $. j $. k, (j - l)p < i < jp,
(b) sjp(kp) = Sj(p) 'v'k ~ 1, - k + 1 $. j $. k.
Skp
-: ~
Ld!.lJ
L.J [ L.J
(p)
h
( hp-+ IIIh ) Xl
h+¥ p- III- 2h
X2
h+l!.lf! ]
X3
{ l=-p h=O
Figure 5.
For i = j p we obtain
•
T heore m 5 . Given a pPTCA A = (5, I, 1) wit h init ial seed w010w and
f (x, y, z ) = (XIX + X2Y + X3Z) mod p, it holds that
Example l.
0 1 0
0 2 1 2 0
0 1 0
0 2 1 2 0
sin ce kx 2 == 0 mod n .
Let n = 9 and f( a, b, c) = (3a + b + 3c) mod 9. The evolution of this
PTCA wit h initial seed 1 is shown'in the following:
010
o 3 1 3 0
o 6 1 6 0
o 1 0
Ex ample 3 . Le t us consider a PTCA defined as follows:
A ts.], r)
5 {O ,l, ... , n -l}
n k2 y
7' 1
f( a ,b , c) = (n / k a + b + n / kc ) m odn
E. Fachini and L. Vassallo 393
The evolut ion of this CA with initial seed WOI 0W is shown in the following:
0 1 0
0 n/k 1 n/k 0
0 (k -1) n/k 1 (k - l )n / k 0
0 1 0
Property 1.
If G'(w) =, hl = Iwl + 2k
an d G' (Wi) = "I b'l = Iw'l + 2k
then
G;(wOXWi) = , Ox- 2k,'
In particular for CA with code 0110 t he following lemma can b e proved.
394 Cellular A utomata with Regular Behavior
,/ '-"'S"Z'--' ~, o t:
Figure 6.
12 -+ 14
Consider now 1 2'. It is easy t o prove t hat 12' ~ 1202'-21 2. For every k ~ k+ 1,
fr om prope rty 1 (since 2; _ 2k ~ 22 k - 1 ) and by inductive hyp ot hesis, it follow s
that
An d then for k =i - 1,
1202'-212
-+ 1 402' -4 14
2
-+ 1 8 02 ' -8 1 8
V.ie know that 12'- 1 2~2 12; , but since 2i - 1 - 1 < 22 i - 2 property 1 cannot be
used to obtain the next configuration reached from 12;-1 0 2'- 2,-1-11 2;- 1.
Note that by lemm a 6,
. i 2 ':- 1 i +1 .
Fina lly, 12 -1 --+ 12 - 1 and t hen t he assertion holds. •
Let us see t he evolution of the CA wit h code 011 0 between t he two con-
figurations 1 2' and 12'+1 (analogous considerations can be made for 12'- 1 and
12'+1-1 ).
2,- 1 1 . . 1 .
We know t ha t 12 ----=:; 1 2' and th at 1 2' --+ 120 2'- 212. The two 1 's in
1 '- 212 are dist ant mor e t han 2i - 1 cells and t hen by pr op erty 1 t he con-
202
figur ation obtai ned from 1202'- 212 is t he conca tenation of the two obtained
from 12 after 22 ,- 1_1 ste ps and itself. Since t his observation can be recur-
sively repeated, lemmas 6 and 7 show that CA with code 0110 and initi al
seeds 12 ' and 12 ' - 1 have a fractal evolution. In fact , looking only at a part
of the figure, we know the st ructure of the entire figure and so we obtain a
so-called self-similar figur e. In t his case, the figure can be obtain ed from the
following well-known fractal construction:
Pro of.
Figure 7.
he nce
w (1 2 0 2) k1 2
k = (2i - 4)/ 4
ww 2., 1 2' - 20212'- 2
Fi nally
w 12'w
~ 12'-20 2'+212'-2
E. Fachini and 1. Vassallo 397
-,
Figure 8.
t hat is,
2' -1
----t 12'- 20212'-2
2i - 1
----t 12'-20 2'+21 2'-2
2i - 1 _2
----t ww0 4ww
12'-20212' -202 12'-20212'- 2
1202' -4 1402'-41 402' - 41402' - 412
w 13 2' w
--t 12'-2032' +212'-2
In conclusion,
12 ' - 2 12'-20 212'-2
12'-2 032'+212'-2
12' - 2072 '+212' - 2
2'+k
----t
P roof.
Iyl = 2i - 4
k = (2i - 8)/8
398 Cellular A ut omata with Reg ular Behavior
yOy (1404)k14014(0414)k
-4 (1 202)2k+1 13(021 2)2k+1
-4 18k+6018k+6 = 12'- 2012i- 2
Then
12i- 3 12' - 201 2i- 2
12' - 2012' - 2 1202'-41302'- 412
. 2 &-1 2 .
W ZW Z = 12'- 1 as 13 1---.; 12' -1
Iw I = 2 - 2
i
w 12 '
w (1 202)k12 k =(2 i -4) /4
w zw (1 202)k12'+3(021 2 l
14k+202'+114k+2 = 12'-20 2'+112'-2
In conclusion,
12' -3 ~ 12' - 2012' - 2 ~ 12' - 202'+11 2' -2
n=5
1 1 1 1 1
1 1 0 0 1
1 1 0 1 1
1 0 1 0 1
1 0 10 1 1
E. Fachini and 1. Vassallo 399
R eferen ces
[1] K. Culik and S. Dub e,"Frac t al and recurr ent behavior of cellula r au tomata,"
Complex Systems, 2 (1988).
[2] J . Albert and K. Culik, "A simple universal cellular automaton and its one
one-way and totalistic version ," Complex Syste ms, 1 (1987) 1- 16.
[3] S.J. Wilson , "Cellular automat a can generat e fra ctal s," Discrete Applied
Matliematics,8 (1984) 91-99.
[4] S. Wolfram, "Universality and complexity in cellular automa ta," Pliysi ca,
IOD (1984) 1- 35.