equivalence of cellular automata to ising models and directed percolation

4
VOLUME 53, NUMBER 4 PHYSICAL REVIE% LETTERS 23 JULY 1984 Equivalence of Cellular Automata to Ising Models and Directed Percolation Eytan Domany('~ Department of Applied Physics, Stanford University, Stanford, California 94305 and Wolfgang Kinzel lnstitut fiir Festkorperforschung der Kernforshungsanlage Jiilich GmbH, D 51 70 -Julich, West Germany (Received 23 December 1983) Time development of cellular automata in d dimensions is mapped onto equilibrium sta- tistical mechanics of Ising models in d+ 1 dimensions. Directed percolation is equivalent to a cellular automaton, and thus to an Ising model. For a particular case of directed percola- tion we find v ll = 2, I t 1 g J 0. PACS numbers: 05.50. +q, 05.70. Jk In a most interesting recent article, Wolfram' has presented a large body of phenomenological obser- vations and analytic results on the time develop- ment of cellular automataz (CA). CA provide ex- tremely simple models for a variety of problems in physics, e.g. , nonequilibrium stochastic processes, self-organization, crystal-growth models, 4 chemistry (e.g. , reaction modelss), and biology. 6 CA may also become of some use in computer science. ' The class of CA studied by Wolfram constitute the deterministic limit of a more general class of stochastic CA. d-dimensional stochastic CA were studied under the name of crystal-growth models. 4 Their time development is equivalent to the equi- librium statistical mechanics of (d+ 1)-dimensional Ising models. This exact mapping is presented here for the simple case of one-dimensional pe- ripheral CA (PCA). We then show that the widely studied problem of directed percolation9 (DP) in d = 2 can be easily recast' as a particular stochastic PCA. Thus the DP problem is equivalent to an equilibrium Ising model. The standard problems of site and bond DP constitute particular cases of a more general class of DP problems. A special case of this more general class is solved exactly by map- ping it onto a random-walk process. Cellular automata: Definitions Consider . a linear chain or ring of sites i, j; with each site associate a binary variable v & = 0, 1. The "state" V, of the sys- tem at time t is specified by the set of v;, . At odd (even) times, odd- (even-) indexed sites may change their state, according to preassigned proba- bilistic rules, and even- (odd-) indexed sites stay in the same state. Thus the full space-time history of our CA can be presented on a two-dimensional lat- tice. One may get uI, +~ =0 or 1, according to the conditional probabilities P(vt, + t lv; t, , v;+ t, ) de- fined as follows: P(llo, o)=x, P(111, 1)=z, P(llo, 1) =y. (1) Together with P(Olv, v') =1 P(1lv, v'), these rules define PCA. In general, 0 ~ x,y, z ~ 1; when only x,y, z = 0, 1 are allowed, we obtain determinis- tic CA (DCA). Mapping of CA onto Ising models A. n— y space- time development of a CA, characterized by a set of values v«= V, occurs with probability P( V). View- ing the set of space-time indices (i, t) as a regular d = 2 lattice, we show that for any CA rules (i.e. , xy, z) there exists an Ising Hamiltonian H( V) such that P ( V) = exp [ H( V) ] (2) where the prime indicates that for even (odd) times i runs over even- (odd-) indexed sites. For the lo- cal P(u lv, v') of Eq. (1), we identify H( V) as an Ising Hamiltonian on a triangular lattice, with H=BXv„+ J vkvt a (aI +D ''lv„vt+E X '~'v, v(v, (kI (ala) where X denotes sum over all horizontal bonds, X ~ all diagonal bonds, and Xt~ sums over all down pointing triangle-s (see Fig. 1), with the cou- for all V. If so, all space-time correlation functions and statistical averages of our CA can be expressed as an equilibrium average property of an appropriate Ising model. We have P( V) =P( Vtl Vo)P( Vzl Vt) .. P(V, tl V, ), (3) where P( Vt+&l V, ) is the conditional probability to find the CA in state V, + ~ at time t+ 1, given it was in state V, at time t. Ho~ever, because of the local nature of the CA rules, 1984 The American Physical Society 311

Upload: wolfgang

Post on 01-Feb-2017

219 views

Category:

Documents


1 download

TRANSCRIPT

VOLUME 53, NUMBER 4 PHYSICAL REVIE% LETTERS 23 JULY 1984

Equivalence of Cellular Automata to Ising Models and Directed Percolation

Eytan Domany('~Department ofApplied Physics, Stanford University, Stanford, California 94305

and

Wolfgang Kinzellnstitut fiir Festkorperforschung der Kernforshungsanlage Jiilich GmbH, D 51 70-Julich, West Germany

(Received 23 December 1983)

Time development of cellular automata in d dimensions is mapped onto equilibrium sta-tistical mechanics of Ising models in d+ 1 dimensions. Directed percolation is equivalent toa cellular automaton, and thus to an Ising model. For a particular case of directed percola-tion we find v ll

= 2, I t 1 g J 0.

PACS numbers: 05.50.+q, 05.70.Jk

In a most interesting recent article, Wolfram' haspresented a large body of phenomenological obser-vations and analytic results on the time develop-ment of cellular automataz (CA). CA provide ex-tremely simple models for a variety of problems inphysics, e.g. , nonequilibrium stochastic processes,self-organization, crystal-growth models, 4 chemistry(e.g. , reaction modelss), and biology. 6 CA may alsobecome of some use in computer science. '

The class of CA studied by Wolfram constitutethe deterministic limit of a more general class ofstochastic CA. d-dimensional stochastic CA werestudied under the name of crystal-growth models. 4

Their time development is equivalent to the equi-librium statistical mechanics of (d+ 1)-dimensionalIsing models. This exact mapping is presentedhere for the simple case of one-dimensional pe-ripheral CA (PCA). We then show that the widelystudied problem of directed percolation9 (DP) ind = 2 can be easily recast' as a particular stochasticPCA. Thus the DP problem is equivalent to anequilibrium Ising model. The standard problems ofsite and bond DP constitute particular cases of amore general class of DP problems. A special caseof this more general class is solved exactly by map-ping it onto a random-walk process.

Cellular automata: Definitions Consider .—a linearchain or ring of sites i,j; with each site associate abinary variable v

&

= 0, 1. The "state" V, of the sys-tem at time t is specified by the set of v;, . At odd(even) times, odd- (even-) indexed sites maychange their state, according to preassigned proba-bilistic rules, and even- (odd-) indexed sites stay inthe same state. Thus the full space-time history ofour CA can be presented on a two-dimensional lat-tice. One may get uI, +~ =0 or 1, according to theconditional probabilities P(vt, + t lv; t, , v;+ t, ) de-fined as follows:

P(llo, o)=x, P(111,1)=z, P(llo, 1) =y. (1)

Together with P(Olv, v') =1—P(1lv, v'), theserules define PCA. In general, 0 ~ x,y, z ~ 1; whenonly x,y, z = 0, 1 are allowed, we obtain determinis-tic CA (DCA).

Mapping of CA onto Ising models A.n—y space-time development of a CA, characterized by a set ofvalues v«= V, occurs with probability P( V). View-

ing the set of space-time indices (i, t) as a regulard = 2 lattice, we show that for any CA rules (i.e. ,xy, z) there exists an Ising Hamiltonian H( V) suchthat

P ( V) = exp [ —H( V) ] (2)

where the prime indicates that for even (odd) timesi runs over even- (odd-) indexed sites. For the lo-cal P(u lv, v') of Eq. (1), we identify H( V) as anIsing Hamiltonian on a triangular lattice, with

—H=BXv„+J vkvta (aI

+D ''lv„vt+E X '~'v, v(v,(kI (ala)

where X denotes sum over all horizontal bonds,

X ~ all diagonal bonds, and Xt~ sums over all

down pointing triangle-s (see Fig. 1), with the cou-

for all V. If so, all space-time correlation functionsand statistical averages of our CA can be expressedas an equilibrium average property of an appropriateIsing model. We have

P( V) =P( Vtl Vo)P( Vzl Vt) . .P(V, tl V, ), (3)

where P( Vt+&l V, ) is the conditional probability tofind the CA in state V, + ~ at time t+ 1, given it wasin state V, at time t. Ho~ever, because of the localnature of the CA rules,

1984 The American Physical Society 311

VOLUME 53, NUMBER 4 PHYSICAL REVIEW LETTERS 23 JULY 1984

plings given by A =1—x,

a x(1 —y)' J (1 —x) (1—z)e = e

(1—x)' '(1—y)'

y(1 —x) E zx(1 —y)'x(1—y)

' y'(1 —x)(1—z)

(6)

Alternatively, by expressing uk= (1+Sk)/2, withSk= +1, we obtain a Hamiltonian similar to (5),with couplings B, J, D, and E. Thus, time develop-ment according to all possible PCA rules isdescribed by equilibrium statistical mechanics of anIsing lattice gas on a triangular lattice.

Time development ofDCA. The eight —DCA rulescorrespond to various manners in which the zero-temperature limit of our Ising model can be taken.Time developments of the DCA correspond to theground-state configurations of our Ising model,consistent with some preassigned configuration atone of the boundaries. When the ground state of His nondegenerate (or has finite degeneracy), it will

be reached eventually and the DCA time develop-ment will correspond to the ground state. Howev-er, if the ground state is highly degenerate, compli-cated time development of the DCA is expected;the system picks one of a multitude of groundstates that is consistent with the boundary condi-tion. Thus various properties of DCA can be ex-pressed in terms of correlations at T = 0 in degen-erate Ising systems. "

Phase transitions: Special subspaces. —The pointx =y = z = —,

' corresponds to T = ~. We did notfind phase transitions on any line that connects thispoint to any DCA point. Moreover, on the surfacedefined by vanishing three-spin coupling, i.e. ,E=O, given by zx/(1 —z)(1 —x) =yz/(1 —y)z, theproblem has been treated by Verhagen, and no

312

p 5 4 5 6 7 8 9 lOI I I I I I I I I I

X:,:::i'X,::::i' i,:Xi::,::::iX~

X,::::::i"X:,:::8i,:::8X,:::8X~

1I

FIG. 1. Triangular Ising lattice, whose equilibrium-statistical mechanics describes the time evolution of aperipheral cellular automaton. Horizontal bonds J (thinlines), diagonal bonds D (heavy lines), three-site interac-tions E (shaded down-pointing triangles), and field 8parametrize the Ising Hamiltonian.

transition is found at any finite temperature. If wefurther impose 8=0, the subspace with S —SIsing symmetry, given by x = 1 —z, y = 1 —y = —,', isobtained. This line is precisely the disorder lineof the more general triangular Ising model withnearest-neighbor couplings J and D; for this modelStephenson has calculated correlation functions invarious directions and found diverging correlationlength only as T 0 (i.e. , x 0)." We did findphase transitions on the x=0 (and by symmetry,the z = 1) surface of our cube.

Directed percolation. —Consider the square latticeof Fig. 1; any site may be present (probability p) orabsent (1 —p); any bond may be present (probabili-ty q) or absent (1—q). Assume that a single site is"wet" at t=0; present bonds conduct "water"only in the downward (increasing t) direction, andonly when both sites, connected by the bond, arepresent. For q =1 this is the site-DP problem, andfor p=1 the bond-DP problem. One asks, forgiven p, q what is the probability of finding wet sitesat level (time) t? To reduce this problem to CArules, ta note that whether any site (i, t) is wet(u;, = 1) or dry (u„=0) depends only on the stateof the down-pointing triangle whose bottom corneris (i, t), with the CA rules x=0, y=pq,z =pq(2 —q). Thus the x =0 plane of our CA is ageneralized DP problem, in which the standardcases are embedded. Thus we have mapped the DPproblem onto an Ising problem on the triangularlattice. The constraint x=0 excludes those Isingconfigurations in which any down-pointing trianglehas u = 0 (or S = —1) on both of its upper sites,and u =1 (or S= +1) on its bottom. Within thespace-allowed configurations we have (for bondDp) the Hamiltonian parametrized by exp(8H)= qs(2 —q), exp(8J) = (2 q)/q, exp(8D—) = q(2—q)/(1 —q), and exp(8E) = (2 —q)/q. The tran-sition line was determined numerically.

The correlation length g(y, z, N) is calculated ex-actly' for an infinite strip of finite width N. Thetransition point (y„z, ) and the critical exponentsv ii and v i in "time" and "space" directions arefound using the scaling relation

g(t ir 1/N) = y " ((y it b i/I g/N)

where t is a scaling field in the y -z plane and b is thechange of length scale [usually b=N//(N 1)]. —We added a symmetry-breaking scaling field h

which scales with a new exponent co. From theuSual (aniSOtrOpiC) SCaling relatinnSS co, v II, and v igive the other critical exponents, p = v II + v i —c0,

y = 2&0 —v II—vi. The full line of Fig. 2 gives z, (y)

from N = 10, 11, and 12. For the upper part of the

VOLUME 53, NUMBER 4 PHYSICAL REVIEW LETTERS 23 JULY 1984

1.0

0.5-//li

/r' y// y

// y

I—

y

I—

y

y

y

I-yI—

y

00 0.5 y 1.0

FIG. 2. The x = 0 plane of cellular automata rules cor-responds to generalized directed percolation. Dashedlines correspond to bond, mixed bond-site (q =p), andsite percolation. The system percolates to the right of the(solid) transition line. On the z= 1 line the model is

mapped onto a random-walk problem and solved.

phase boundary our results show only little Ndependence and can reliably be extrapolated toN oo. However, near the (z =O,y = 1) point ir-regular variation of z, (y) with N was observed, re-flecting the fact that strips with different widthsshow very different reaction patterns' at the(z = O,y = 1) point, which results in an irregularfunction ((N). The exponents v~~ =1.734+0.002and v~ =1.100+0.005 were obtained for all threepercolation problems shown in Fig. 2, indicatingthat the result is universal along the whole phaseboundary (except the end points). To calculate the"magnetic" exponent co, we have identified h withthe probability x, since (i) x destroys the transitionas we have seen in our calculations, and (ii) x is asource of S= 1 states and thus acts in the percola-tion language as a ghost field' which in usual per-colation gives the critical symmetry-breaking scalingfield h. At the critical point on the line y=z weobtain Oi = 2.57 + 0.03, from which we get P= 0.26 + 0.03 and y = 2.21 + 0.05 in agreement withprevious results.

On the line x=0,z =1 the model can be solvedexactly, and we do find a DP transition as y isvaried, which occurs at the point with Ising sym-metry, i.e., y= —,'. Say at t=0 a single site hasu, 0=1 while for all others uj 0=0. The probabilityof finding u«=1 for long times t is given byP„(t)=XUP(U)p~(U, t), where U is any confi-guration u&, that appears with probability P(U);p ( U, t) = 1 if U contains any site (k, t) with

uk, =1, and p (U, t) =0 otherwise. On thex = O, z = 1 line only those configurations U are al-lowed in which no down-pointing triangle can have

y

I—

y

I-y

I—

y0I—

y

I—

y

I—

y

I—

y 0 0I—

y 0 0 0 0 0 0FIG. 3. A typical configuration of a wet (solid dots)

domain, for the directed percolation model parametrizedby x = 0, z = 1. The domain boundaries execute a ran-dom walk; the weight of each step is indicated on theright (for the right-hand boundary) and on the left (forthe left-hand boundary).

either (i) u = 0 on both the upper corners and u = 1

on lowest corner, or (ii) u=1 on both uppercorners and u=0 on the bottom. Configurationsconsistent with these constraints contain a singledomain of "wet" sites in a sea of dry ones; further-more, no branching of the wet domain is allowed(see Fig. 3).'4 The weight P( U) of such a graph isdetermined by the right- and left-hand boundariesof the domain, each of which goes either right orleft with increasing t, until they meet and "annihi-late. " The right-hand boundary carries a weight yfor each step to the right, and weight 1 —y for eachstep to the left. The reverse holds for the left-handboundary. P (t) is the sum of all graphs that havenot terminated after t steps; i.e., the probability thattwo random walkers with right/left transition proba-bilities defined above, starting at a separation of twosteps, have not met before t time steps. Instead ofdealing with two random walkers, we can consideronly the single random walk performed by their re-lative positions, or the difference walk. This walkis characterized by the transition probabilitiesP(d~ d+ 1) =p+ =y, P(d~ d) =pp=2y(ly), P(d d —1)=p = (1 —y)z, where d is halfthe distance between the walkers. Thus P (t) isgiven by the probability that a gamber with initialcapital of 1, with probability p+ (p ) of winning(losing) one unit and pa of maintaining his hold-ings, will not reach his ruin (zero capital) before tgames. ' We first calculate the probability of ruinafter exactly t steps, r, , summing over all pathsstarting at 1 and reaching 0 for the first time at t. If

313

VOLUME 53, NUMBER 4 PHYSICAL REVIE% LETTERS 23 JULY 1984

such a path has 0. steps with no change we havet

t —1I

r, = I'p rr-g ~p

where the prime indicates that a. must have thesame parity as t —1, and rk is given by'

(k —&)/2 (k+&)j2 kkP+ P- (k+ I)/2 .

Replacing the sum by an integral, and evaluating it

by saddle-point integration, we find for e—y « 1 (note that p+ —p = —2e) that

4]e2 3 2r, —e 4" /t3 2 for t » 1. Therefore the correla-tion length in the time direction is (~~ e 2, and

v~~ =2. Also, since

P„(t+1)=1—X r, , =P„(t)—rtt

t 1

we must have at criticality (a=0) P„(t)—tTo calculate correlations in the i direction, notethat the x= l,z=0 line is in the subspace ofVerhagen's solution. In his notation, on this lineb =0 and a =y(1 —y) = 1 —4e+ O(e ). Hefound that P(ui, = 1

~ uo t =1)= a'=—e " andtherefore (t —1/e and vt = 1, while rt~ = 0.

By combining the mapping of one-dimensionalperipheral cellular automata onto Ising problems intwo dimensions with representation of directed per-colation as a particular case of PCA, we have recastthe DP problem as an Ising model. A line of DPtransitions was found numerically, and a specificDP model was solved exactly.

This work was supported by the National ScienceFoundation under Grant No. DMR 83-05723-A1and by U.S. Office of Naval Research Contract No.N00014-82-0699. We thank M. Y. Choi, S. Don-iach, B. Huberman, M. Kerszberg, and I. Peschelfor discussions, and P. Rujan for bringing Refs. 5

and 8 to our attention.

('~Permanent address: Department of Electronics,Weizmann Institute of Science, Rehovot, Israel.

tS. Wolfram, Rev. Mod. Phys. 55, 601 (1983). Seealso Physica (Utrecht) 10D, 1 (1984).

2J. von Neumann, Theory of Self Reproducing Automata(University of Illinois, Urbana, 1966).

sP. Grassberger, Physics (Utrecht) 10D, 52 (1984);E. Ott, Rev. Mod. Phys. 53, 655 (1981); H. Haken,Chaos and Order in Nature (Springer, Berlin, 1981).

4T, R. Welberry and R. Galbraith, J. Appl. Crystallogr.6, 87 (1973); T. R. Welberry and G. H. Miller, ActaCrystallogr. , Sec. A 34, 120 (1978).

sG, Nicolis and I. Prigogine, Self Organization in Nonequilibrium Systems (Wiley, New York, 1977).

sS. Ulam, Annu. Rev. Biochem. 255, (1974).78. A. Huberman and T. Hogg, Phys. Rev. Lett. 52,

1048 (1984).sA. M. W. Verhagen, J. Stat. Phys. 15, 213 (1976);

I. G. Enting, J. Phys. C 10, 1379 (1977), and J. Phys. A11, 555, 2001 (1978).

9%. Kinzel, in Percolation Structures and Processes, An-nals of the Israel Physical Society, Vol 5, edite. d byG. Deutscher, R. Zallen, and J. Adler (Bar-Ilan Universi-

ty, Ramat-Gan, Israel, 1983), p. 425.&pD. Dhar, Stochastic Processes, Formalism and Applica-

tions, edited by G. S. Agarwal and S. Dattagupta(Springer, Berlin, 1983).

ttJ. Stephenson, J. Math. Phys. 5, 1009 (1964), and 11,413, 420 (1970), and Phys. Rev. B 1, 4405 (1970).

~2W. Kinzel and J. Yeomans, J. Phys. A 14, L163(1981).

tsR. B. Griffiths, J. Math. Phys. 8, 484 (1967).&4Precisely these graphs contribute to the Mauldon pro-

cess 81', however, the weights of each graph are differentin our model from those assigned by J. G. Mauldon, inProceedings of the Fourth Berkeley Symposium on Mathmatics, Statistics and Probability, edited by Jerzy Neyman(Univ. of California, Berkeley, 1961),Vol. 2, p. 337.

~5W. Feller, An!ntroduction to Probability Theory and itsApplications (Wiley, New York, 1968).

314