11.07.2015 Views

Cellular Automata Methods in Mathematical Physics

Cellular Automata Methods in Mathematical Physics

Cellular Automata Methods in Mathematical Physics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Cellular</strong> <strong>Automata</strong> <strong>Methods</strong><strong>in</strong> <strong>Mathematical</strong> <strong>Physics</strong>byMark Andrew SmithSubmitted to the Department of<strong>Physics</strong>on May 16th, 1994, <strong>in</strong> partial fulllment of therequirements for the degree ofDoctor of PhilosophyAbstract<strong>Cellular</strong> automata (CA) are fully discrete, spatially-distributed dynamical systemswhich can serve as an alternative framework for mathematical descriptions of physicalsystems. Furthermore, they constitute <strong>in</strong>tr<strong>in</strong>sically parallel models of computationwhich can be eciently realized with special-purpose cellular automata mach<strong>in</strong>es.The basic objective of this thesis is to determ<strong>in</strong>e techniques for us<strong>in</strong>g CA to modelphysical phenomena and to develop the associated mathematics. Results may take theform of simulations and calculations as well as proofs, and applications are suggestedthroughout.We beg<strong>in</strong> by describ<strong>in</strong>g the structure, orig<strong>in</strong>s, and model<strong>in</strong>g categories of CA. Ageneral method for <strong>in</strong>corporat<strong>in</strong>g dissipation <strong>in</strong> a reversible CA rule is suggested by amodel of a lattice gas <strong>in</strong> the presence of an external potential well. Statistical forcesare generated by coupl<strong>in</strong>g the gas to a low temperature heat bath. The equilibriumstate of the coupled system is analyzed us<strong>in</strong>g the pr<strong>in</strong>ciple of maximum entropy. Cont<strong>in</strong>uoussymmetries are important <strong>in</strong> eld theory, whereas CA describe discrete elds.However, a novel CA rule for relativistic diusion based on a random walk showshow Lorentz <strong>in</strong>variance can arise <strong>in</strong> a lattice model. Simple CA models based on thedynamics of abstract atoms are often capable of captur<strong>in</strong>g the universal behaviors ofcomplex systems. Consequently, parallel lattice Monte Carlo simulations of abstractpolymers were devised to respect the steric constra<strong>in</strong>ts on polymer dynamics. Theresult<strong>in</strong>g double space algorithm is very ecient and correctly captures the static anddynamic scal<strong>in</strong>g behavior characteristic of all polymers. Random numbers are important<strong>in</strong> stochastic computer simulations; for example, those that use the Metropolisalgorithm. A technique for tun<strong>in</strong>g random bits is presented to enable ecient utilizationof randomness, especially <strong>in</strong> CA mach<strong>in</strong>es. Interest<strong>in</strong>g areas for future CAresearch <strong>in</strong>clude network simulation, long-range forces, and the dynamics of solids.Basic elements of a calculus for CA are proposed <strong>in</strong>clud<strong>in</strong>g a discrete representationof one-forms and an analog of <strong>in</strong>tegration. Eventually, itmay be the case that physi-3


Contents1 <strong>Cellular</strong> <strong>Automata</strong> <strong>Methods</strong> <strong>in</strong> <strong>Mathematical</strong> <strong>Physics</strong> 152 <strong>Cellular</strong> <strong>Automata</strong> as Models of Nature 192.1 The Structure of <strong>Cellular</strong> <strong>Automata</strong> : : : : : : : : : : : : : : : : : : : 192.2 A Brief History of <strong>Cellular</strong> <strong>Automata</strong> : : : : : : : : : : : : : : : : : : 242.3 ATaxonomy of <strong>Cellular</strong> <strong>Automata</strong> : : : : : : : : : : : : : : : : : : : 262.3.1 Chaotic Rules : : : : : : : : : : : : : : : : : : : : : : : : : : : 272.3.2 Vot<strong>in</strong>g Rules : : : : : : : : : : : : : : : : : : : : : : : : : : : 292.3.3 Reversible Rules : : : : : : : : : : : : : : : : : : : : : : : : : 332.3.4 Lattice Gases : : : : : : : : : : : : : : : : : : : : : : : : : : : 352.3.5 Material Transport : : : : : : : : : : : : : : : : : : : : : : : : 382.3.6 Excitable Media : : : : : : : : : : : : : : : : : : : : : : : : : : 402.3.7 Conventional Computation : : : : : : : : : : : : : : : : : : : : 433 Reversibility, Dissipation, and Statistical Forces 473.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 473.1.1 Reversibility and the Second Law of Thermodynamics : : : : : 473.1.2 Potential Energy and Statistical Forces : : : : : : : : : : : : : 483.1.3 Overview : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 503.2 A CA Model of Potentials and Forces : : : : : : : : : : : : : : : : : : 513.2.1 Description of the Model : : : : : : : : : : : : : : : : : : : : : 513.2.2 Basic Statistical Analysis : : : : : : : : : : : : : : : : : : : : : 563.2.3 A Numerical Example : : : : : : : : : : : : : : : : : : : : : : 609


3.3 CAM-6 Implementation of the Model : : : : : : : : : : : : : : : : : : 613.3.1 CAM-6 Architecture : : : : : : : : : : : : : : : : : : : : : : : 623.3.2 Description of the Rule : : : : : : : : : : : : : : : : : : : : : : 653.3.3 Generalization of the Rule : : : : : : : : : : : : : : : : : : : : 693.4 The Maximum Entropy State : : : : : : : : : : : : : : : : : : : : : : 713.4.1 Broken Ergodicity : : : : : : : : : : : : : : : : : : : : : : : : : 723.4.2 F<strong>in</strong>ite Size Eects : : : : : : : : : : : : : : : : : : : : : : : : : 753.4.3 Revised Statistical Analysis : : : : : : : : : : : : : : : : : : : 763.5 Results of Simulation : : : : : : : : : : : : : : : : : : : : : : : : : : : 793.6 Applications and Extensions : : : : : : : : : : : : : : : : : : : : : : : 813.6.1 Microelectronic Devices : : : : : : : : : : : : : : : : : : : : : 813.6.2 Self-organization : : : : : : : : : : : : : : : : : : : : : : : : : 823.6.3 Heat Baths and Random Numbers : : : : : : : : : : : : : : : 853.6.4 Discussion : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 863.7 Conclusions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 884 Lorentz Invariance <strong>in</strong> <strong>Cellular</strong> <strong>Automata</strong> 914.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 914.1.1 Relativity and Physical Law : : : : : : : : : : : : : : : : : : : 914.1.2 Overview : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 924.2 A Model of Relativistic Diusion : : : : : : : : : : : : : : : : : : : : 944.3 Theory and Experiment : : : : : : : : : : : : : : : : : : : : : : : : : 984.3.1 Analytic Solution : : : : : : : : : : : : : : : : : : : : : : : : : 984.3.2 CAM Simulation : : : : : : : : : : : : : : : : : : : : : : : : : 994.4 Extensions and Discussion : : : : : : : : : : : : : : : : : : : : : : : : 1034.5 Conclusions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1065 Model<strong>in</strong>g Polymers with <strong>Cellular</strong> <strong>Automata</strong> 1095.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1095.1.1 Atoms, the Behavior of Matter, and <strong>Cellular</strong> <strong>Automata</strong> : : : : 1095.1.2 Monte Carlo <strong>Methods</strong>, Polymer <strong>Physics</strong>, and Scal<strong>in</strong>g : : : : : 11110


5.1.3 Overview : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1125.2 CA Models of Abstract Polymers : : : : : : : : : : : : : : : : : : : : 1135.2.1 General Algorithms : : : : : : : : : : : : : : : : : : : : : : : : 1155.2.2 The Double Space Algorithm : : : : : : : : : : : : : : : : : : 1185.2.3 Comparison with the Bond Fluctuation Method : : : : : : : : 1225.3 Results of Test Simulations : : : : : : : : : : : : : : : : : : : : : : : : 1245.4 Applications : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1305.4.1 Polymer Melts, Solutions, and Gels : : : : : : : : : : : : : : : 1315.4.2 Pulsed Field Gel Electrophoresis : : : : : : : : : : : : : : : : : 1345.5 Conclusions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1386 Future Prospects for Physical Model<strong>in</strong>g with <strong>Cellular</strong> <strong>Automata</strong> 1416.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1416.2 Network Model<strong>in</strong>g : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1416.3 The Problem of Forces and Gravitation : : : : : : : : : : : : : : : : : 1456.4 The Dynamics of Solids : : : : : : : : : : : : : : : : : : : : : : : : : : 1486.4.1 Statement of the Problem : : : : : : : : : : : : : : : : : : : : 1496.4.2 Discussion : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1506.4.3 Implications and Applications : : : : : : : : : : : : : : : : : : 1527 Conclusions 155A A Microcanocial Heat Bath 157A.1 Probabilities and Statistics : : : : : : : : : : : : : : : : : : : : : : : : 157A.1.1 Derivation of Probabilities : : : : : : : : : : : : : : : : : : : : 158A.1.2 Alternate Derivation : : : : : : : : : : : : : : : : : : : : : : : 160A.2 Measur<strong>in</strong>g and Sett<strong>in</strong>g the Temperature : : : : : : : : : : : : : : : : 162A.3 Additional Thermodynamics : : : : : : : : : : : : : : : : : : : : : : : 164B Broken Ergodicity and F<strong>in</strong>ite Size Eects 167B.1 Fluctuations and Initial Conserved Currents : : : : : : : : : : : : : : 167B.2 Corrections to the Entropy : : : : : : : : : : : : : : : : : : : : : : : : 16911


B.3 Statistics of the Coupled System : : : : : : : : : : : : : : : : : : : : : 172C Canonical Stochastic Weights 175C.1 Overview : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 175C.2 Functions of Boolean Random Variables : : : : : : : : : : : : : : : : 176C.2.1 The Case of Arbitrary Weights : : : : : : : : : : : : : : : : : 177C.2.2 The Canonical Weights : : : : : : : : : : : : : : : : : : : : : : 178C.2.3 Proof of Uniqueness : : : : : : : : : : : : : : : : : : : : : : : 182C.3 Application <strong>in</strong> CAM-8 : : : : : : : : : : : : : : : : : : : : : : : : : : 183C.4 Discussion and Extensions : : : : : : : : : : : : : : : : : : : : : : : : 184D Dierential Analysis of a Relativistic Diusion Law 191D.1 Elementary Dierential Geometry, Notation,and Conventions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 192D.1.1 Scalar, Vector, and Tensor Fields : : : : : : : : : : : : : : : : 192D.1.2 Metric Geometry : : : : : : : : : : : : : : : : : : : : : : : : : 198D.1.3 M<strong>in</strong>kowski Space : : : : : : : : : : : : : : : : : : : : : : : : : 200D.2 Conformal Invariance : : : : : : : : : : : : : : : : : : : : : : : : : : : 203D.2.1 Conformal Transformations : : : : : : : : : : : : : : : : : : : 203D.2.2 The Conformal Group : : : : : : : : : : : : : : : : : : : : : : 206D.3 Analytic Solution : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 209E Basic Polymer Scal<strong>in</strong>g Laws 215E.1 Radius of Gyration : : : : : : : : : : : : : : : : : : : : : : : : : : : : 216E.2 Rouse Relaxation Time : : : : : : : : : : : : : : : : : : : : : : : : : : 219F Dierential Forms for <strong>Cellular</strong> <strong>Automata</strong> 221F.1 <strong>Cellular</strong> <strong>Automata</strong> Representations of Physical Fields : : : : : : : : : 221F.2 Scalars and One-Forms : : : : : : : : : : : : : : : : : : : : : : : : : : 222F.3 Integration : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 224F.3.1 Area : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 225F.3.2 W<strong>in</strong>d<strong>in</strong>g Number : : : : : : : : : : : : : : : : : : : : : : : : : 22512


F.3.3 Perimeter : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 228Bibliography 23313


Chapter 1<strong>Cellular</strong> <strong>Automata</strong> <strong>Methods</strong> <strong>in</strong><strong>Mathematical</strong> <strong>Physics</strong>The objective of this thesis is to explore and develop the potential of cellular automataas mathematical tools for physical model<strong>in</strong>g. <strong>Cellular</strong> automata (CA) have anumber of features that make them attractive for simulat<strong>in</strong>g and study<strong>in</strong>g physicalprocesses. In addition to hav<strong>in</strong>g computational advantages, they also oer a preciseframework for mathematical analysis. The development proceeds by construct<strong>in</strong>g andthen analyz<strong>in</strong>g CA models that resemble a particular physical situation or that illustratesome physical pr<strong>in</strong>ciple. This <strong>in</strong> turn leads to a variety of subjects of <strong>in</strong>terest formathematical physics. The paragraphs below serve as a preview of the major po<strong>in</strong>tsof this work.The term cellular automata refers to an <strong>in</strong>tr<strong>in</strong>sically parallel model of computationthat consists of a regular latticework of identical processors that compute <strong>in</strong> lockstepwhile exchang<strong>in</strong>g <strong>in</strong>formation with nearby processors. Chapter 2 discusses CA <strong>in</strong>more detail, gives some examples, and reviews some of the ways they have been used.<strong>Cellular</strong> automata started as mathematical constructs which were not necessarily<strong>in</strong>tended to run on actual computers. However, CA can be eciently implemented ascomputer hardware <strong>in</strong> the form of cellular automata mach<strong>in</strong>es, and these mach<strong>in</strong>eshave sparked a renewed <strong>in</strong>terest <strong>in</strong> CA as model<strong>in</strong>g tools. Unfortunately, much ofthe result<strong>in</strong>g development <strong>in</strong> this direction has been limited to \demos" of potential15


application areas, and many of the result<strong>in</strong>g models have been left want<strong>in</strong>g support<strong>in</strong>ganalysis. This thesis is an eort to improve the situation by putt<strong>in</strong>g the eld on amore methodical, mathematical tack.A problem that comes up <strong>in</strong> many contexts when design<strong>in</strong>g CA rules for physicalmodel<strong>in</strong>g is the question of how to<strong>in</strong>troduce forces among the constituent parts ofa system under consideration. This problem is exacerbated if one wants to obta<strong>in</strong>an added measure of faithfulness to real physical laws by mak<strong>in</strong>g the dynamics reversible.The model presented <strong>in</strong> chapter 3 gives a technique for generat<strong>in</strong>g statisticalforces which are derived from an external potential energy function. In the process,it claries the how and why of dissipation <strong>in</strong> the face of microscopic reversibility.The chapter also serves as a paradigm for model<strong>in</strong>g <strong>in</strong> statistical mechanics and thermodynamicsus<strong>in</strong>g cellular automata mach<strong>in</strong>es and shows how one has control overall aspects of a problem|from conception and implementation, through theory andexperiment, to application and generalization. F<strong>in</strong>ally, the compact representation ofthe potential energy function that is used gives one way to represent aphysical eldand br<strong>in</strong>gs up the general problem of represent<strong>in</strong>g arbitrary elds.Many eld theories are characterized by symmetries under one or more Lie groups,and it is a problem to reconcile the cont<strong>in</strong>uum with the discrete nature of CA. At thenest level, a CA cannot reect the cont<strong>in</strong>uous symmetries of a conventional physicallaw because of the digital degrees of freedom and the <strong>in</strong>homogeneous, anisotropicnature of a lattice. Therefore, the desired symmetry must either arise as a suitablelimit of a simple process or emerge as a collective behavior of an underly<strong>in</strong>g complexdynamics. The maximum speed of propagation of <strong>in</strong>formation <strong>in</strong> CA suggests a connectionwith relativity, and chapter 4 shows how a CA model of diusion can displayLorentz <strong>in</strong>variance despite hav<strong>in</strong>g a preferred frame of reference. K<strong>in</strong>etic theory canbe used to derive the properties of lattice gases, and a basic Boltzmann transportargument leads to a manifestly covariant dierential equation for the limit<strong>in</strong>g cont<strong>in</strong>uumcase. The exact solution of this dierential equation compares favorably with aCA simulation, and other <strong>in</strong>terest<strong>in</strong>g mathematical properties can be derived as well.One of the most important areas of application of high-performance computation16


is that of molecular dynamics, and polymers are arguably the most important k<strong>in</strong>ds ofmolecules. However, it has proven dicult to devise a Monte Carlo updat<strong>in</strong>g schemethat can be run on a parallel computer, while at the same time, CA are <strong>in</strong>herentlyparallel. Hence, it is desirable to nd CA algorithms for simulat<strong>in</strong>g polymers, andthis is the start<strong>in</strong>g po<strong>in</strong>t for chapter 5. The result<strong>in</strong>g parallel lattice Monte Carlopolymer dynamics should be of widespread <strong>in</strong>terest <strong>in</strong> elds rang<strong>in</strong>g from biology andchemical eng<strong>in</strong>eer<strong>in</strong>g to condensed matter theory. In addition to the theory of scal<strong>in</strong>g,there are a number of mathematical topics which are related to this area such asthestudy of the geometry and topology of structures <strong>in</strong> complex uids. Another is thegeneration and utilization of random numbers which is important, for example, <strong>in</strong>the control of chemical reaction rates. Many modications to the basic method arepossible and a model of pulsed eld gel electrophoresis is given as an application.The results obta<strong>in</strong>ed here<strong>in</strong> still represent the early stages of development ofCAas general-purpose mathematical model<strong>in</strong>g tools, and chapter 6 discusses the futureprospects along with some outstand<strong>in</strong>g problems. <strong>Cellular</strong> automata may be appliedto any system that has an extended space and that can be given a dynamics, andthis <strong>in</strong>cludes a very broad class of problems <strong>in</strong>deed! Each problem requires signicantcreativity, and the search for solutions will <strong>in</strong>evitably generate new mathematicalconcepts and techniques of <strong>in</strong>terest to physicists. Additional topics suggested hereare the simulation of computer networks as well as the problems of long-range forcesand the dynamics of solids. Besides research on specic basic and applied problems,many mathematical questions rema<strong>in</strong> along with support<strong>in</strong>g work to be done onhardware and software.The bulk of this document is devoted to describ<strong>in</strong>g a variety of results related tomodel<strong>in</strong>g with CA, while chapter 7 summarizes the ma<strong>in</strong> contributions and drawssome conclusions as sketched below. The appendices are eectively supplementarychapters conta<strong>in</strong><strong>in</strong>g details which are somewhat outside the ma<strong>in</strong> l<strong>in</strong>e of development,although they should be considered an <strong>in</strong>tegral part of the work. They primarilyconsist of calculations and proofs, but the accompany<strong>in</strong>g discussions are importantas well.17


Invent<strong>in</strong>g CA models serves to answer the question of what CA are naturally capableof do<strong>in</strong>g and how, but it is dur<strong>in</strong>g the process of development that the best|theunanticipated|discoveries are made. The simplicity of CA means that one is forcedto capture essential phenomenology <strong>in</strong> abstract form, and this makes for an <strong>in</strong>terest<strong>in</strong>gway to nd out what features of a system are really important. In the course ofpresent<strong>in</strong>g a number of model<strong>in</strong>g techniques, this thesis exemplies a methodologyfor generat<strong>in</strong>g new topics <strong>in</strong> mathematical physics. And <strong>in</strong> addition to giv<strong>in</strong>g resultson previously unsolved problems, it identies related research problems which range<strong>in</strong> diculty from straightforward to hard to impossible. This <strong>in</strong> turn encourages cont<strong>in</strong>uedprogress <strong>in</strong> the eld. In conclusion, CA have a great deal of unused potentialas mathematical model<strong>in</strong>g tools for physics; furthermore, they will see more and moreapplications <strong>in</strong> the study of complex dynamical systems across many discipl<strong>in</strong>es.18


Chapter 2<strong>Cellular</strong> <strong>Automata</strong> as Models ofNatureThis chapter <strong>in</strong>troduces cellular automata (CA) and reviews some of the ways theyhave been used to model nature. The rst section describes the basic format of CA,along with some possible variations. Next, the orig<strong>in</strong>s and history of CA are brieysummarized, cont<strong>in</strong>u<strong>in</strong>g through to current trends. The last section gives a series ofprior applications which illustrate a wide range of phenomena, techniques, concepts,and pr<strong>in</strong>ciples. The examples are organized <strong>in</strong>to categories, and special features arepo<strong>in</strong>ted out for each model.2.1 The Structure of <strong>Cellular</strong> <strong>Automata</strong><strong>Cellular</strong> automata can be described <strong>in</strong> several ways. The description which is perhapsmost useful for physics is to th<strong>in</strong>k of a CA as an entirely discrete version of a physicaleld. Space, time, eld variables, and even the dynamical laws can be completelyformulated <strong>in</strong> terms of operations on a nite set of symbols. The po<strong>in</strong>ts (or cells)of the space consist of the vertices of a regular, nite-dimensional lattice which mayextend to <strong>in</strong>nity, though <strong>in</strong> practice, periodic boundary conditions are often assumed.Time progresses <strong>in</strong> nite steps and is the same at all po<strong>in</strong>ts <strong>in</strong> space. Each po<strong>in</strong>thas dynamical state variables which range over a nite number of values. The time19


evolution of each variable is governed by a local, determ<strong>in</strong>istic dynamical law (usuallycalled a rule): the value of a cell at the next time step depends on the current stateof a nite number of \nearby" cells called the neighborhood. F<strong>in</strong>ally, the rule acts onall po<strong>in</strong>ts simultaneously <strong>in</strong> parallel and is the same throughout space for all times.Another way to describe CA is to build on the mathematical term<strong>in</strong>ology of dynamicalsystems theory and give a more formal denition <strong>in</strong> terms of sets and mapp<strong>in</strong>gsbetween them. For example, the state of an <strong>in</strong>nite two-dimensional CA on aCartesian lattice can be dened as a function, S : Z Z ! s, where Z denotes the setof <strong>in</strong>tegers, and s is a nite set of cell states. <strong>Mathematical</strong> denitions can be used tocapture with precision the mean<strong>in</strong>g of <strong>in</strong>tuitive terms such as \space" and \rule" aswell as important properties such as symmetry and reversibility. While such formulationsare useful for giv<strong>in</strong>g rigorous proofs of th<strong>in</strong>gs like ergodicity and equivalencesbetween denitions, they will not be used here <strong>in</strong> favor of the physical notion of CA.Formalization of physical results can always be carried out later by those so <strong>in</strong>cl<strong>in</strong>ed.The nal way to describe CA is with<strong>in</strong> their orig<strong>in</strong>al context of the theory of (automated)computation. Theoretical comput<strong>in</strong>g devices can be grouped <strong>in</strong>to equivalenceclasses known as models of computation, and the elements of these classes are calledautomata. Perhaps the simplest k<strong>in</strong>d of automaton one can consider is a nite statemach<strong>in</strong>e or nite automaton. F<strong>in</strong>ite automata have <strong>in</strong>puts, outputs, a nite amountof state (or memory), and feedback from output to <strong>in</strong>put; furthermore, the statechanges <strong>in</strong> some well-regulated way, such as <strong>in</strong> response to a clock (see gure 2-1).The output depends on the current state, and the next state depends on the <strong>in</strong>puts aswell as the current state. 1 A cellular automaton, then, is a regular array of identicalnite automata whose <strong>in</strong>puts are taken from the outputs of neighbor<strong>in</strong>g automata.CA have the advantage over other models of computation <strong>in</strong> that they are parallel,much as is the physical world. In this sense, they are better than serial models fordescrib<strong>in</strong>g processes which have <strong>in</strong>dependent but simultaneous activities occurr<strong>in</strong>gthroughout a physical space.1 Virtually any physical device one wishes to consider (e.g., take any appliance) can be viewed ashav<strong>in</strong>g a similar structure: <strong>in</strong>puts, outputs, and <strong>in</strong>ternal state. Computers are special <strong>in</strong> that these20


<strong>in</strong>putsclockf<strong>in</strong>ite statevariablesoutputsfeedbackFigure 2-1: A block diagram of a general nite automaton. The nite state variableschange on the ticks of the clock <strong>in</strong> response to the <strong>in</strong>puts. The state of the automatondeterm<strong>in</strong>es the outputs, some of which are fed back around to the <strong>in</strong>put. <strong>Automata</strong>hav<strong>in</strong>g this format constitute the cells of a cellular automaton.New cellular models of computation may be obta<strong>in</strong>ed by relax<strong>in</strong>g the constra<strong>in</strong>tson the basic CA format described above. Many variations are possible, and <strong>in</strong>deed,such variations are useful <strong>in</strong> design<strong>in</strong>g CA for specic model<strong>in</strong>g purposes. For example,one of the simplest ways to generalize the CA paradigm would be to allowdierent rules at each cell. Newcomers to CA often want to replace the nite statevariables <strong>in</strong> each cell with variables that may require an unbounded or <strong>in</strong>nite amountof <strong>in</strong>formation to represent exactly, e.g., true <strong>in</strong>tegers or real numbers. Cont<strong>in</strong>uousvariables would also open up the possibility of cont<strong>in</strong>uous time evolution <strong>in</strong> terms ofdierential equations. While allow<strong>in</strong>g arbitrary eld variables may be desirable for themost direct attempts to model physics, it violates the \nitary" spirit of CA|and isimpossible to achieve <strong>in</strong> an actual digital simulation <strong>in</strong> any case. In practice, the mostcommon CA variation utilizes temporally periodic changes <strong>in</strong> the dynamical rule or<strong>in</strong> the lattice. In these cases, it is often useful to depict the system with a spacetimediagram (see gure 2-2), where time <strong>in</strong>creases downward for typographical reasons.Such cyclic rules are useful for mak<strong>in</strong>g a s<strong>in</strong>gle complex rule out of several simplerones, which <strong>in</strong> turn is advantageous for both conceptual and computational reasons.Another generalization that turns out to be very powerful is to allow nondeterm<strong>in</strong>isticor stochastic dynamics. This is usually done by <strong>in</strong>troduc<strong>in</strong>g random variables asthree media consist, <strong>in</strong> essence, of pure <strong>in</strong>formation.21


t 0 - 1t 0t 0 +1t 0 +2t 0- 1t 0t 0t 0+1+2(a)(b)Figure 2-2: Spacetime schematics of one-dimensional CA show<strong>in</strong>g six cells over fourtime steps. Arrows <strong>in</strong>dicate causal l<strong>in</strong>ks <strong>in</strong> the dynamics of each automaton. (a) Completelyuniform CA format where<strong>in</strong> the dynamical rule for any cell depends on itselfand its nearest neighbors. (b) A partition<strong>in</strong>g CA format where<strong>in</strong> the rule for the cellsvaries <strong>in</strong> time and space. Alternat<strong>in</strong>g pairs of cells only depend on the pair itself.<strong>in</strong>puts to the transition function, but could also be accomplished by lett<strong>in</strong>g a random<strong>in</strong>terval of time pass between each update of a cell.It turns out that some of the variations given above do not, <strong>in</strong> fact, yield newmodels of computation because they can be embedded (or simulated) <strong>in</strong> the usualCA format by den<strong>in</strong>g a suitable rule and possibly requir<strong>in</strong>g special <strong>in</strong>itial conditions.In the case of rules that vary from site to site, it is a simple matter to add an extravariable to each cell that species which ofseveral rules to use. If these secondaryvariables have a cyclic dynamics, they eectively implement periodic changes <strong>in</strong> theprimary rule. These techniques can be comb<strong>in</strong>ed to generate any regular spacetimepattern <strong>in</strong> the lattice or <strong>in</strong> the CA rule. A cyclic rule can also be embedded withoutus<strong>in</strong>g extra variables by compos<strong>in</strong>g the <strong>in</strong>dividual simple steps <strong>in</strong>to a s<strong>in</strong>gle stepof a more complex CA. Similarly, atany given moment <strong>in</strong> time, spatially periodicstructures <strong>in</strong> the lattice can be composed <strong>in</strong>to unit cells of an ord<strong>in</strong>ary Cartesianlattice. These spatial and temporal patterns can be grouped <strong>in</strong>to unit cells <strong>in</strong> spacetime<strong>in</strong> order to make the rule and the lattice time-<strong>in</strong>variant (see gure 2-3). Byadd<strong>in</strong>g an extra dimension to a CA it would be even be possible to simulate true<strong>in</strong>teger-valued states, though the simulation time would <strong>in</strong>crease as the lengths of the<strong>in</strong>tegers grew, and consequently, the <strong>in</strong>teger variables would no longer evolve simultaneously.F<strong>in</strong>ally, real-valued and stochastic CA can be simulated approximatelyby us<strong>in</strong>g oat<strong>in</strong>g po<strong>in</strong>t numbers and pseudorandom number generators respectively.22


Figure 2-3: Spacetime diagrams show<strong>in</strong>g how a partition<strong>in</strong>g CA format (left) canbe embedded <strong>in</strong> a uniform CA format (right). The embedd<strong>in</strong>g is accomplished bygroup<strong>in</strong>g pairs of cells <strong>in</strong>to s<strong>in</strong>gle cells and compos<strong>in</strong>g pairs of time steps <strong>in</strong>to s<strong>in</strong>gletime steps.The equivalences described here are important because they form the beg<strong>in</strong>n<strong>in</strong>gs ofCA model<strong>in</strong>g techniques.The concepts <strong>in</strong>troduced above can be illustrated with a simple, familiar example.Figure 2-4 shows a portion of a spacetime diagram of a one-dimensional CA thatgenerates Pascal's triangle. Here the cells are shown as boxes, and the number <strong>in</strong> acell denotes its state. Successive rows show <strong>in</strong>dividual time steps and illustrate how alattice may alternate between steps. All the cells are <strong>in</strong>itialized to 0, except for a 1 <strong>in</strong>a s<strong>in</strong>gle cell. The lattice boundaries (not shown) could be periodic, xed, or extendedto <strong>in</strong>nity. The dynamical rule adds the numbers <strong>in</strong> two adjacent cells to create thevalue <strong>in</strong> the new <strong>in</strong>terven<strong>in</strong>g cell on the next time step. The b<strong>in</strong>omial coecients arethus automatically generated <strong>in</strong> a purely local, uniform, and determ<strong>in</strong>istic manner. Ina suitable large-scale limit, the values <strong>in</strong> the cells approach a Gaussian distribution.The pattern resembles the propagator for the one-dimensional diusion equation andcould form the basis of a physical model. Unfortunately, the growth is exponential,and as it stands, the rule cannot be carried out <strong>in</strong>denitely because the cells have alimited amount of state. The description of the rule must be modied to give onlyallowed states, depend<strong>in</strong>g on the application. One possibility would be to have thecells saturate at some maximum value, but <strong>in</strong> gure 2-4, the rule has been modiedto be addition modulo 100. This is apparent <strong>in</strong> the last two rows, where the rulemerely drops the high digits and keeps the last two. This dynamics is an example ofa l<strong>in</strong>ear rule which means that any two solutions can be superimposed by addition23


0 0 0 0 0 1 0 0 0 0 00 0 0 0 1 1 0 0 0 00 0 0 0 1 2 1 0 0 0 00 0 0 1 3 3 1 0 0 00 0 0 1 4 6 4 1 0 0 00 0 1 5 10 10 5 1 0 00 0 1 6 15 20 15 6 1 0 00 1 7 21 35 35 21 7 1 00 1 8 28 56 70 56 28 8 1 01 9 36 84 26 26 84 36 9 11 10 45 20 10 52 10 20 45 10 1Figure 2-4: A spacetime diagram show<strong>in</strong>g the cells of a one-dimensional CA thatgenerates Pascal's triangle. The automaton starts out with a s<strong>in</strong>gle 1 <strong>in</strong> a backgroundof 0's, and thereafter, each cell is the sum (mod 100) of the two cells above it. Thelast two rows show the eect of truncat<strong>in</strong>g the high digits.(mod 100) to give another solution. The only other rules <strong>in</strong> this thesis that are trulyl<strong>in</strong>ear are those that also show diusive behavior, though a few nonl<strong>in</strong>ear rules willexhibit some semblance of l<strong>in</strong>earity.2.2 A Brief History of <strong>Cellular</strong> <strong>Automata</strong>John von Neumann was a central gure <strong>in</strong> the theory and development of automatedcomput<strong>in</strong>g mach<strong>in</strong>es, so it is not surpris<strong>in</strong>g that he did the earliest work on CA assuch. Orig<strong>in</strong>ally, CAwere <strong>in</strong>troduced around 1950 (at the suggestion of SlanislawUlam) <strong>in</strong> order to provide a simple model of self-reproduc<strong>in</strong>g automata [94]. Thesuccessful (and profound) aim of this research was to show that certa<strong>in</strong> essentialfeatures of biology can be captured <strong>in</strong> computational form. Much ofvon Neumann'swork was completed and extended by Burks [9]. This l<strong>in</strong>e of CA research was followedthrough the 60's by related studies on construction, adaptation, and optimization aswell as by <strong>in</strong>vestigations on the purely mathematical properties of CA.A burst of CA activity occurred <strong>in</strong> the 70's with the <strong>in</strong>troduction of John Conway'sgame of \life" [33, 34]. Life was motivated as a simple model of an ecology conta<strong>in</strong><strong>in</strong>g24


cells which live and die accord<strong>in</strong>g to a few simple rules. This most familiar exampleof a CA displays rich patterns of activity and is capable of support<strong>in</strong>g many <strong>in</strong>tricatestructures (see gure 2-7). In addition to its delightful behavior, the popularity ofthis model was driven <strong>in</strong> part by the <strong>in</strong>creas<strong>in</strong>g availability of computers, but thecomputers of the day fell well short of what was to come.The next wave of CA research|and the most relevant one for purposes of thisthesis|was the application of CA to physics, and <strong>in</strong> particular, show<strong>in</strong>g how essentialfeatures of physics can be captured <strong>in</strong> computational form. Interest <strong>in</strong> thissubject was spawned largely by Tommaso Tooli [84] and Edward Fredk<strong>in</strong>. StevenWolfram was responsible for captur<strong>in</strong>g the wider <strong>in</strong>terest of the physics communitywith a series of papers <strong>in</strong> the 80's [99], while others were apply<strong>in</strong>g CA to a varietyof problems <strong>in</strong> other elds [27, 38]. An important technological development dur<strong>in</strong>gthis time was the <strong>in</strong>troduction of special hardware <strong>in</strong> the form of cellular automatamach<strong>in</strong>es [89] and massively parallel computers. These <strong>in</strong>vestigations set the stagefor the development of lattice gases [32, 55], which have become a separate area ofresearch <strong>in</strong> themselves [24, 25].In addition to lattice gases, one of the largest areas of current <strong>in</strong>terest <strong>in</strong> CA <strong>in</strong>volvesstudies <strong>in</strong> complexity [66, 97]. CA constitute a powerful paradigm for patternformation and self-organization, and nowhere is this more pronounced than <strong>in</strong> thestudy of articial life [52, 53]. Given the promis<strong>in</strong>g excursions <strong>in</strong>to physics, mathematics,and computer science, it is <strong>in</strong>terest<strong>in</strong>g that CA research should keep com<strong>in</strong>gback to the topic of life. No doubt this is partly because of CA's visually captivat<strong>in</strong>g,\lifelike" behavior, but also because of peoples' <strong>in</strong>terest <strong>in</strong> \play<strong>in</strong>g God" bysimulat<strong>in</strong>g life processes.25


2.3 ATaxonomy of <strong>Cellular</strong> <strong>Automata</strong>This section presents a series of exemplary CA rules which serve as a primer on theuse and capabilities of CA as model<strong>in</strong>g tools. 2 They are <strong>in</strong>tended to build up thereader's <strong>in</strong>tuition for the behavior of CA, and to provide a framework for th<strong>in</strong>k<strong>in</strong>gabout model<strong>in</strong>g with CA. No doubt he or she will start to have questions and ideasof his or her own upon see<strong>in</strong>g these examples. Each rule will only be described to theextent needed for understand<strong>in</strong>g the basic ideas and signicant features of the model.Most of the examples are discussed <strong>in</strong> greater depth <strong>in</strong> reference [89].The examples have been grouped <strong>in</strong>to seven model<strong>in</strong>g categories which cover arange of applications, and each section illustrates a denite dynamical theme. Perhapsa more rigorous way to classify CA rules is by what type of neighborhood theyuse and whether they are reversible or irreversible. It also turns out that the aforementionedmodel<strong>in</strong>g categories are partially resolved by this scheme. CA rules thathave a standard neighborhood format (i.e., the same for every cell <strong>in</strong> space) are usefulfor models <strong>in</strong> which activity <strong>in</strong> one cell excites or <strong>in</strong>hibits activity <strong>in</strong> a neighbor<strong>in</strong>gcell, whereas partition<strong>in</strong>g neighborhood formats are useful for models that have tokensthat move as conserved particles. Reversible rules try to represent nature at a\fundamental" level, whereas irreversible rules try to represent nature at a coarserlevel. These dist<strong>in</strong>ctions should become apparent <strong>in</strong> the sections below.All of the gures below show CA congurations taken from actual simulationsperformed on CAM-6, a programmable cellular automata mach<strong>in</strong>e developed by theInformation Mechanics Group [59, 60]. Each conguration lies on a 256256 gridwith periodic boundary conditions, and the values of the cells are <strong>in</strong>dicated byvariousshades of gray (0isshown as white, and higher numbers are progressively darker).CAM-6 updates this state space 60 times per second while generat<strong>in</strong>g a real-timevideo display of the dynamics. Unfortunately it isn't possible watch the dynamics <strong>in</strong>2 All of these rules were either <strong>in</strong>vented or extended by members of the Information MechanicsGroup <strong>in</strong> the MIT Laboratory for Computer Science. This group has played a central role <strong>in</strong> therecent spread of <strong>in</strong>terest <strong>in</strong> CA as model<strong>in</strong>g tools and <strong>in</strong> the development of cellular automatamach<strong>in</strong>es.26


pr<strong>in</strong>t, so two subsequent frames are often shown to give a feel<strong>in</strong>g for how the systemsevolve. A pair of frames may alternatively represent dierent rule parameters or <strong>in</strong>itialconditions. The CA <strong>in</strong> question are all two dimensional unless otherwise noted.2.3.1 Chaotic RulesMany CA rules display a seem<strong>in</strong>gly random behavior which may be regarded aschaotic. In fact, almost any rule chosen at random falls <strong>in</strong>to this category. A consequenceof this fact is that <strong>in</strong> order to model some particular natural phenomenon, onemust adopt some methods or learn<strong>in</strong>g strategies to explicitly design CA rules, s<strong>in</strong>cemost rules will not be of any special <strong>in</strong>terest to the modeler. One design techniquethat is used over and over aga<strong>in</strong> is to run two or more rules <strong>in</strong> parallel spaces andcouple them together. This technique <strong>in</strong> turn makes it possible to put chaotic rulesto good use after all s<strong>in</strong>ce they can be used to provide a noise source to another rule,though the quality of the result<strong>in</strong>g random numbers is a matter for further research.The rules described <strong>in</strong> this section use a standard CA format called the von Neumannneighborhood which can be pictured as follows: . The von Neumann neigh-qborhood of the cell marked with the dot <strong>in</strong>cludes itself and its nearest neighbors.Note that the neighborhoods of nearby cells will overlap. Given a neighborhood, aCA rule can be specied <strong>in</strong> a tabular form called a lookup table which lists the newvalue of a cell for every possible assignment of the current values <strong>in</strong> its neighborhood.Thus, the number of entries <strong>in</strong> a lookup table must be k n , where k is the number ofstates per cell, and n is the number of cells <strong>in</strong> the neighborhood.Figure 2-5 shows the behavior of a typical (i.e., random) rule that uses the vonNeumann neighborhood (n = 5) and has one bit per cell (k = 2). The lookuptable therefore consists of 2 5 = 32 bits. For this example, the table was createdby generat<strong>in</strong>g a 32-bit random number: 2209261910 (written here <strong>in</strong> base 10). The<strong>in</strong>itial condition is a 9696 square of 50% randomness <strong>in</strong> which each cell has been<strong>in</strong>dependently <strong>in</strong>itialized to 1 with a probability of 50% (0 otherwise). The result<strong>in</strong>g27


(a)(b)Figure 2-5: Typical behavior of a rule whose lookup table has been chosen at random.Start<strong>in</strong>g from a block of randomness (a), the static spreads at almost the maximumpossible speed (b).disturbance expands at nearly the speed of light, 3 and after 100 steps, it can be seenwrapp<strong>in</strong>g around the space. Note that the disturbance does not propagate to theright, which means that the rule doesn't depend on the left neighbor if there is abackground of 0's. Furthermore, the <strong>in</strong>terior of the expand<strong>in</strong>g disturbance appearsto be just as random as the <strong>in</strong>itial square. As a nal comment, it can be veried bynd<strong>in</strong>g a state with two predecessors that this CA is <strong>in</strong>deed irreversible, as are mostCA.Reversible rules can also display chaotic behavior, and <strong>in</strong> some sense, they must.The <strong>in</strong>itial state of a system constitutes a certa<strong>in</strong> amount of disorder, and s<strong>in</strong>ce thedynamics is reversible, the <strong>in</strong>formation about this <strong>in</strong>itial state must be \remembered"throughout the evolution. However, if the dynamics is nontrivial and there are nottoo many conservation laws, this <strong>in</strong>formation will get folded <strong>in</strong> with itself many timesand the apparent disorder will <strong>in</strong>crease. In other words, the entropy will <strong>in</strong>crease,and there is a \second law of thermodynamics" at work. 4 Figure 2-6 shows how3 The causal nature of CA implies that a cell can only be eected by perturbations <strong>in</strong> its neighborhoodon a s<strong>in</strong>gle time step. The speed of light is a term commonly used to refer to the correspond<strong>in</strong>gmaximum speed of <strong>in</strong>formation ow.4 The notion of entropy be<strong>in</strong>g used here will be discussed <strong>in</strong> more detail <strong>in</strong> the next chapter.28


(a)(b)Figure 2-6: Typical behavior of a simple, symmetrical, reversible rule. Start<strong>in</strong>g froma small, isolated, solid block (not shown), waves propagate outward and <strong>in</strong>terfere witheach other nonl<strong>in</strong>early as they wrap around the space several times (a). After twicethe time, the waves cont<strong>in</strong>ue to become noiser and longer <strong>in</strong> wavelength (b).this fold<strong>in</strong>g takes place and how the disorder typically <strong>in</strong>creases <strong>in</strong> the context ofa simple, nonl<strong>in</strong>ear, reversible (second-order) rule. Initially, the system conta<strong>in</strong>ed asolid 1616 square (whose outl<strong>in</strong>e is still visible) <strong>in</strong> an empty background: obviously,a highly ordered state. Waves start to emanate from the central block, and after 1200steps, the nonl<strong>in</strong>ear <strong>in</strong>teractions have created several noisy patches. After another1200 steps, the picture appears even noiser, though certa<strong>in</strong> features persist. Theresult<strong>in</strong>g bands of gray shift outward every step, and constitute superlum<strong>in</strong>al phasewaves (or beats) stemm<strong>in</strong>g from correlated <strong>in</strong>formation which has spread throughoutthe system.2.3.2 Vot<strong>in</strong>g RulesThe dynamics of many CA can be described as a vot<strong>in</strong>g process where a cell tendsto take on the values of its neighbors, or <strong>in</strong> some circumstances, oppos<strong>in</strong>g values [93].Vot<strong>in</strong>g rules are characteristically irreversible because the <strong>in</strong>formation <strong>in</strong> a cell isoften erased without contribut<strong>in</strong>g to another cell, and irreversibility is equivalent todestroy<strong>in</strong>g <strong>in</strong>formation. In practice, it is usually pretty clear when a rule is irreversible29


ecause frozen or organized states appear when there were none to beg<strong>in</strong> with, andthis means there must have been a many-to-one mapp<strong>in</strong>g of states. As we shall see,vot<strong>in</strong>g rules are examples of pattern-form<strong>in</strong>g rules.The rst two examples <strong>in</strong> this section use a standard CA format called the Mooreneighborhood which consists of a cell along with its nearest and next nearest neighbors:. As before, the dot marks the cell which depends on the neighborhood,qand the neighborhoods of nearby cells will overlap. The third example uses the otherstandard format, the von Neumann neighborhood.We beg<strong>in</strong> our survey of CA models with the most well-known example which isConway's game of life. It was orig<strong>in</strong>ally motivated as an abstract model of birth anddeath processes and is very rem<strong>in</strong>iscent of cells <strong>in</strong> a Petri dish. While not strictly avot<strong>in</strong>g rule, it is similar <strong>in</strong> that it depends on the total count of liv<strong>in</strong>g cells surround<strong>in</strong>ga site (here, 1 <strong>in</strong>dicates a liv<strong>in</strong>g cell, and 0 <strong>in</strong>dicates a dead cell or empty site). If anempty site has exactly 3 liv<strong>in</strong>g neighbors, there is a birth. If a liv<strong>in</strong>g cell has fewer than2 or more than 4 liv<strong>in</strong>g neighbors, it dies of lonel<strong>in</strong>ess or overcrowd<strong>in</strong>g respectively.All other cases rema<strong>in</strong> unchanged. Figure 2-7(a) shows the default CAM-6 pattern of50% randomness which is used as a standard <strong>in</strong> many of the examples below. Start<strong>in</strong>gfrom this <strong>in</strong>itial condition for 300 steps (with a trace of the activity taken for the last100 steps) yields gure 2-7(b). The result is a number of stable structures, oscillat<strong>in</strong>g\bl<strong>in</strong>kers," propagat<strong>in</strong>g \gliders," and still other areas churn<strong>in</strong>g with activity. Ithas been shown that this rule is already suciently complex to simulate any digitalcomputation [4].Figure 2-8 shows the behavior of some true vot<strong>in</strong>g rules with simple yes (1)/no (0)vot<strong>in</strong>g. Pattern (a) is the result of a simulation where each cell votes to go along witha simple majority (5 out of 9) of its neighbors. Start<strong>in</strong>g from the standard randomconguration and runn<strong>in</strong>g for 35 steps gives a stable pattern of voters. At this po<strong>in</strong>tthe rule is modied so that the outcome is <strong>in</strong>verted <strong>in</strong> the case of 4 or 5 votes. This hasthe eect of destabiliz<strong>in</strong>g the boundaries and eectively generat<strong>in</strong>g a surface tension.Figure 2-8(b) compares the system 200 and 400 steps after the rule is changed andshows how the boundaries anneal accord<strong>in</strong>g to their curvature. The self-similar scal<strong>in</strong>g30


(a)(b)Figure 2-7: Conway's game of life. The <strong>in</strong>itial condition (a) is the standard patternof randomness used <strong>in</strong> many of the examples below. After a few hundred steps (b),complex structures have spontaneously formed. The shaded areas <strong>in</strong>dicate regions ofthe most recent activity.of the patterns is evident.The nal example of a vot<strong>in</strong>g rule is also our rst example of a stochastic CA.The rule is for each cell to take on the value of one of its four nearest neighbors atrandom. Two bits from a chaotic CA (not shown) are used to pick the direction,and two bits of state specify one of four values <strong>in</strong> a cell. S<strong>in</strong>ce the new value of acell always comes from a neighbor, the system actually decouples <strong>in</strong>to two separatesystems <strong>in</strong> a checkerboard fashion. Figure 2-9 shows how this dynamics evolves froma standard random pattern. After 1000 steps, the cluster<strong>in</strong>g of cell values is wellunderway, and after 10000 steps, even larger doma<strong>in</strong>s have developed. The doma<strong>in</strong>stypically grow accord<strong>in</strong>g to power laws, t =2 where 1, and <strong>in</strong> an <strong>in</strong>nite space,they would eventually become distributed over all size scales [18]. This rule has alsobeen suggested as a model of genetic drift, where each cell represents an <strong>in</strong>dividual,and the value <strong>in</strong> the cell represents one of four possible genotypes [50].31


(a)(b)Figure 2-8: Determ<strong>in</strong>istic vot<strong>in</strong>g rules. Start<strong>in</strong>g from the standard random pattern,simple majorityvot<strong>in</strong>g quickly leads to stable vot<strong>in</strong>g blocks (a). By hav<strong>in</strong>g the votersvacillate <strong>in</strong> close elections, the boundaries are destabilized and contract as if undersurface tension (b). The shaded areas <strong>in</strong>dicate former boundaries.(a)(b)Figure 2-9: A random vot<strong>in</strong>g rule with four candidates. Start<strong>in</strong>g from a random mixof the four possible cell values, each cell votes to go along with one of its four nearestneighbors at random. After 1000 rounds of vot<strong>in</strong>g (a), dist<strong>in</strong>ct vot<strong>in</strong>g blocks arevisible. After 10000 rounds (b), some regions have grown at the expense of others.32


2.3.3 Reversible RulesThis section discusses a class of reversible CA that are based on second order rules,i.e., the next state depends on two consecutive time steps <strong>in</strong>stead of only one. Theyuse standard neighborhood formats, but the dynamical laws are all of the form s t+1 =f(fsg t ) , s t,1, where s t denotes the state of a cell at time t, f(fsg t )isany functionof the cells <strong>in</strong> its neighborhood at time t, and subtraction is taken modulo an <strong>in</strong>teger.Clearly this is reversible because s t,1 = f(fs t g) , s t+1 (<strong>in</strong> fact, it is time-reversal<strong>in</strong>variant). The example of a reversible chaotic rule <strong>in</strong> section 2.3.1 was also of thisform, but the examples given here are more well-behaved due to the presence ofspecial conservation laws.Another class of reversible rules based on partition<strong>in</strong>gneighborhoods will be discussed <strong>in</strong> the next section.Figure 2-10 shows the behavior of a one-dimensional, second-order reversible rulewith a neighborhood ve cells wide. This particular rule has a (positive) conservedenergy whichisgiven by the number of dierences between the current and past valuesof neighbor<strong>in</strong>g cells. The dynamics supports a wide variety of propagat<strong>in</strong>g structureswhich spread from regions of disorder <strong>in</strong>to regions of order. Any determ<strong>in</strong>istic CA ona nite space must eventually enter a cycle because it will eventually run out of newstates. If <strong>in</strong> addition the rule is reversible, the system must eventually return to its<strong>in</strong>itial state because each state can only have one predecessor. Usually the recurrencetime is astronomical because there are so many variables and few conservation laws,but for the specic system shown <strong>in</strong> gure 2-10, the period is a mere 40926 steps.<strong>Cellular</strong> automata are well-suited for do<strong>in</strong>g dynamical simulations of Is<strong>in</strong>g models[19, 20, 93], where each cell conta<strong>in</strong>s one sp<strong>in</strong> (1 = up, ,1 =down).Manyvariations are possible, and gure 2-11 shows one such model that is a reversible,second-order CA which conserves the usual Is<strong>in</strong>g Hamiltonian,XH = ,J s i s j ; (2.1)where J is a coupl<strong>in</strong>g constant, and < > <strong>in</strong>dicates a sum over nearest neighbors.The second-order dynamics uses a so-called \checkerboard" updat<strong>in</strong>g scheme, where33


Figure 2-10: A spacetime diagram of a one-dimensional, second-order rule <strong>in</strong> whichconservation laws keep the system from explod<strong>in</strong>g <strong>in</strong>to chaos. Several k<strong>in</strong>ds of propagat<strong>in</strong>g\particles," \bound states," and <strong>in</strong>teractions are apparent.the the black and red squares represent even and odd time steps respectively, so onlyhalf of the cells can change on any one step. The easiest way to describe the rule onone sublattice is to say that a sp<strong>in</strong> is ipped if and only if it conserves energy, i.e., ithas exactly two neighbors with sp<strong>in</strong> up and two with sp<strong>in</strong> down. The <strong>in</strong>itial conditionis a pattern of 8% randomness, which makes the value of H near the critical value.The sp<strong>in</strong>s can only start ipp<strong>in</strong>g where two dots are close enough to be <strong>in</strong> the vonNeumann neighborhood of another cell, but after 10000 steps, fairly large patches ofthe m<strong>in</strong>ority phase have evolved. A separate irreversible dynamics records a historyof the evolution (shown as shaded areas).The energy <strong>in</strong> the Is<strong>in</strong>g model above resides entirely <strong>in</strong> the boundaries between thephases, and it ows as a locally conserved quantity. It is not surpris<strong>in</strong>g then, that it ispossible to describe the dynamics <strong>in</strong> terms of an equivalent (nonl<strong>in</strong>ear) dynamics onthe correspond<strong>in</strong>g bond-energy variables. These energy variables form closed loopsaround the magnetic doma<strong>in</strong>s, and as long as the loops don't touch|and thereby<strong>in</strong>teract nonl<strong>in</strong>early|they happen to obey the one-dimensional wave equation <strong>in</strong> theplane of the CA. This wave behavior is captured <strong>in</strong> a modied form by the secondorder,reversible CA <strong>in</strong> gure 2-12. The <strong>in</strong>itial condition consists of of several normal34


(a)(b)Figure 2-11: A reversible, microcanonical simulation of an Is<strong>in</strong>g model. The <strong>in</strong>itialstate has 8% of the sp<strong>in</strong>s up at random giv<strong>in</strong>g the system a near-critical energy (a).After roughly one relaxation time, the sp<strong>in</strong>s have aligned to form some fairly largemagnetic doma<strong>in</strong>s (b). The shaded areas mark all the sites where the doma<strong>in</strong>s havebeen.modes and two pulses travel<strong>in</strong>g to the right on a pair of str<strong>in</strong>gs. All of the k<strong>in</strong>ks <strong>in</strong>the str<strong>in</strong>gs travel right or left at one cell per time step, and therefore the frequency ofoscillation of the normal modes is given by =1=. The rule also supports open andclosed boundary conditions, so the pulses may ormay not be <strong>in</strong>verted upon reectiondepend<strong>in</strong>g on the impedance. This rule is especially <strong>in</strong>terest<strong>in</strong>g <strong>in</strong> that it conta<strong>in</strong>sa l<strong>in</strong>ear dynamics <strong>in</strong> a nonl<strong>in</strong>ear rule and illustrates how a eld amplitude can berepresented by the positions of particles <strong>in</strong> the plane of the CA.2.3.4 Lattice GasesThe most important CA for physics, and those of the greatest current <strong>in</strong>terest, arethe lattice gases. Their primary characteristic is that they have dist<strong>in</strong>ct, conservedparticles, and <strong>in</strong> most cases of <strong>in</strong>terest, the particles have a conserved momentum.Lattice gases are characteristically reversible, though sometimes strict reversibilityis violated <strong>in</strong> practice. The Is<strong>in</strong>g bond-energy variable dynamics alluded to above,as well as many other CA, can be thought of as non-momentum conserv<strong>in</strong>g lattices35


(a)(b)Figure 2-12: A reversible, two-dimensional rule which simulates the one-dimensionalwave equation <strong>in</strong> the plane of the CA. An <strong>in</strong>itial condition show<strong>in</strong>g normal modesas well as localized pulses (a). After 138 steps, the modes are out of phase, and thepulses have undergone reection (b).gases. 5 However, for our purposes, lattice gases will be reversible and momentumconserv<strong>in</strong>g unless stated otherwise.The rules <strong>in</strong> this section (and <strong>in</strong> the follow<strong>in</strong>g section) use a partition<strong>in</strong>g CAformat called the Margolus neighborhood:qq q.qIn this case, all of the cells <strong>in</strong> theneighborhood depend on all of the others, and dist<strong>in</strong>ct neighborhoods don't overlap,i.e., they partition the space. This is very important because it makes it easy tomake reversible rules which conserve particle number. One merely has to enforcereversibility and particle conservation on a s<strong>in</strong>gle partition and these constra<strong>in</strong>ts willalso hold globally. The cells <strong>in</strong> dierent partitions are coupled together by redraw<strong>in</strong>gthe partitions between steps (see for example, gures 2-2(b) and 3-4). Thus, thedynamical laws <strong>in</strong> a partition<strong>in</strong>g CA depend on both space and time.The simplest example of a nontrivial lattice gas that one can imag<strong>in</strong>e is the HPPlattice gas which conta<strong>in</strong>s identical, s<strong>in</strong>gle-speed particles mov<strong>in</strong>g on a Cartesianlattice. The only <strong>in</strong>teractions are head-on, b<strong>in</strong>ary collisions <strong>in</strong> which particles aredeected through 90 . Note that this is a highly nonl<strong>in</strong>ear <strong>in</strong>teraction (consider5 In fact, the term lattice gas orig<strong>in</strong>ally referred to the energy variables of the Is<strong>in</strong>g model.36


(a)(b)Figure 2-13: A primitive lattice gas (HPP) which exhibits several <strong>in</strong>terest<strong>in</strong>g phenomena.Awave imp<strong>in</strong>g<strong>in</strong>g on a region of high <strong>in</strong>dex of refraction (a). The waveundergoes reection as well as refraction (b).the particles separately). One result of this (reversible) dynamics is to damp out<strong>in</strong>homogeneities <strong>in</strong> the gas, and this dissipation can be viewed as an <strong>in</strong>evitable <strong>in</strong>creaseof entropy. Unfortunately, isotropic uid ow is spoiled by spurious conservation lawssuch as the conserved momentum along each and every coord<strong>in</strong>ate l<strong>in</strong>e. However, thespeed of sound is a constant, 1= p 2, <strong>in</strong>dependent of direction.Figure 2-13 shows an implementation of the HPP model <strong>in</strong>clud<strong>in</strong>g an <strong>in</strong>terest<strong>in</strong>gmodication. Here, the particles move diagonally, and horizontal and vertical \soliton"waves can propagate without dissipation at a speed of 1= p 2. These waves arema<strong>in</strong>ta<strong>in</strong>ed as a result of a mov<strong>in</strong>g <strong>in</strong>variant <strong>in</strong> which the number of particles alongamov<strong>in</strong>g l<strong>in</strong>e is conserved. The shaded area marks a region where the HPP ruleoperates only half the time. This eectively makes a lens with an <strong>in</strong>dex of refractionof n = 2, and there is an associated impedance mismatch. When the wave hits thelens, both a reected and refracted wave result.A better lattice gas (FHP) is obta<strong>in</strong>ed by switch<strong>in</strong>g to a triangular lattice andadd<strong>in</strong>g three-body collisions. This breaks the spurious conservation laws and givesa fully isotropic viscosity tensor. In the appropriate limit, one correctly recovers the<strong>in</strong>compressible Navier-Stokes equations. It is dicult to demonstrate hydrodynamic37


(a)(b)Figure 2-14: A sophisticated lattice gas (FHP) which supports realistic hydrodynamics.An <strong>in</strong>itial condition with a vacuum surrounded by gas <strong>in</strong> equilibrium (a). Theresult<strong>in</strong>g rarefaction moves away at the speed of sound (b). The asymmetry is dueto the embedd<strong>in</strong>g of the triangular lattice <strong>in</strong> a square one.eects on CAM-6, but sound waves can be readily observed. Figure 2-14 shows anequilibrated gas with a 4848 square removed. The speed of sound is aga<strong>in</strong> 1= p 2<strong>in</strong> all directions, and after 100 steps, the disturbance has traveled approximately 71lattice spac<strong>in</strong>gs. The wave appears elliptical because the triangular lattice has beenstretched by a factor of p 2 along the diagonal <strong>in</strong> order to t it <strong>in</strong>to the Cartesianspace of the mach<strong>in</strong>e.2.3.5 Material TransportComplex phenomena often <strong>in</strong>volve the dissipative transport of large amounts of particulatematter (such as molecules, ions, sand, or even liv<strong>in</strong>g organisms); furthermore,CA are well-suited to model<strong>in</strong>g the movement and deposition of particles and the subsequentgrowth of patterns. This section gives two examples of CA which are abstractmodels of such transport phenomena. The models are similar to lattice gases <strong>in</strong> thatthey have conserved particles, but they dier <strong>in</strong> that they are characteristically irreversibleand don't have a conserved momentum. In order to conserve particles, it isaga<strong>in</strong> useful to use partition<strong>in</strong>g neighborhoods.38


(a)(b)Figure 2-15: A stylized model of pack<strong>in</strong>g sand. Shortly after start<strong>in</strong>g from a nearcriticaldensity conguration, most of the material has stabilized except for a s<strong>in</strong>gleexpand<strong>in</strong>g cave-<strong>in</strong> (a). Eventually, the collapse envelopes the entire system and leaveslarge caverns with<strong>in</strong> densely packed material (b).The detailed growth of materials depends on the mode of transport of the raw materials.One such modewould be directed ballistic motion which occurs, for example,<strong>in</strong> deposition by molecular-beam epitaxy. Consideration of the action of gravity leadsto abstract models for the pack<strong>in</strong>g of particulate material as shown <strong>in</strong> gure 2-15.The rule has been designed so that particles slide down steep slopes and fall straightdown when there are no particles on either side. The result of this dynamics is theanneal<strong>in</strong>g of small voids and the formation of large ones. Eventually the system settles<strong>in</strong>to a situation where a ceil<strong>in</strong>g extends across the entire space. This model alsoexhibits some <strong>in</strong>terest<strong>in</strong>g \critical" phenomena. If the <strong>in</strong>itial condition is denser thanabout 69%, the system rapidly settles down to a spongy state. If the <strong>in</strong>itial densityis less than about 13%, all of the particles end up fall<strong>in</strong>g cont<strong>in</strong>uously.Another important mode of transport of small particles is diusion. Figure 2-16shows a model of diusion limited aggregation <strong>in</strong> which randomly dius<strong>in</strong>g particlesstick to a grow<strong>in</strong>g dendritic cluster. The cluster starts out with a s<strong>in</strong>gle seed, and the<strong>in</strong>itial density of dius<strong>in</strong>g particles is adjustable. The cluster <strong>in</strong> 2-16(a) took 10000steps to grow <strong>in</strong> a gas with an <strong>in</strong>itial density of 6%. However, with an <strong>in</strong>itial densityof 17%, the cluster <strong>in</strong> 2-16(b) formed <strong>in</strong> only 1000 steps. Fractal patterns such as39


(a)(b)Figure 2-16: A simulation of diusion limited aggregation. Dius<strong>in</strong>g particles preferentiallystick to the tips of a grow<strong>in</strong>g dendritic cluster (a). With a higher densityof random walkers, the growth is more rapid and the cluster has a higher fractaldimension (b).these are actually fairly commonly <strong>in</strong> dissipative CA models. While new abstractphysical mechanisms would have to be constructed, the visual appearance of thesepatterns suggests the possibility of mak<strong>in</strong>g CA models of crystal formation, electricaldischarge, and erosion.2.3.6 Excitable MediaAcharacteristic feature of a broad class of CA models is the existence of attractive,excitable states <strong>in</strong> which a cell is ready to \re" <strong>in</strong> response to some external stimulus.Once a cell res, it starts to make its way back to an excitable state aga<strong>in</strong>. Thetrigger<strong>in</strong>g stimulus is derived from a standard CA neighborhood, and the dynamicsis characteristically irreversible. Such rules are similar to the vot<strong>in</strong>g rules <strong>in</strong> that thecells tend to follow the behavior of their neighbors, but they are dierent <strong>in</strong> that theexcitations do not persist. Rather, the cells must be restored to their rest state dur<strong>in</strong>ga recovery period. The examples given here dier from each other <strong>in</strong> the recoverymechanism and <strong>in</strong> the form of the stimulus. Like many of the irreversible CA above,they form patterns, but unlike the ones above, the patterns must oscillate. Many40


(a)(b)Figure 2-17: A model of neural activity <strong>in</strong> which cells must undergo a refractoryperiod after be<strong>in</strong>g stimulated to re. Start<strong>in</strong>g from the standard random pattern, thesystem quickly settles down to a low density of complex, propagat<strong>in</strong>g excitations (a).After only 100 more steps, the pattern has completely changed (b).models of excitable media are biological <strong>in</strong> nature, and even the game of life couldperhaps be moved to this category.The best example of excitable media found <strong>in</strong> nature is undoubtedly bra<strong>in</strong> tissue,s<strong>in</strong>ce very subtle stimuli can result <strong>in</strong> profound patterns of activity. At the risk ofdrastically oversimplify<strong>in</strong>g the real situation, neural cells have the property that theyre as a result of activity <strong>in</strong> neighbor<strong>in</strong>g cells, and then they must rest for a shorttime before they can re aga<strong>in</strong>. This behavior can be readily captured <strong>in</strong> a simpleCA. A cell <strong>in</strong> the rest<strong>in</strong>g phase res if there are exactly two active cells (out of 8) <strong>in</strong>its neighborhood. A cell which has just red must wait at least one step before it canre aga<strong>in</strong>. Figure 2-17 shows the behavior of this rule 100 and 200 steps after start<strong>in</strong>gfrom the standard random pattern. The system changes rapidly and often has briefblooms of activity, though the overall level uctuates between about two and threepercent. This rule was specically designed to prevent stationary structures, and itis notable for the variety of complex patterns it produces.Manyphysically <strong>in</strong>terest<strong>in</strong>g systems consist of a spatially-distributed array or eldof coupled oscillators. A visually strik<strong>in</strong>g <strong>in</strong>stance of such a situation is given by theoscillatory Zhabot<strong>in</strong>sky redox reaction, <strong>in</strong> which a solution cycles through a series of41


(a)(b)Figure 2-18: A model of oscillatory chemical reactions. When enough reactants are<strong>in</strong> the neighborhood of a cell, the next product <strong>in</strong> the cycle is formed. With a lowreaction threshold, the result<strong>in</strong>g patterns are small, and the oscillations fall <strong>in</strong>to ashort cycle (a). A non-monotonic threshold creates large patterns which cont<strong>in</strong>uallychange (b).chemical species <strong>in</strong> a denite order. S<strong>in</strong>ce there must be enough reactants presentto go from one species to the next, the oscillators try to become phase locked bywait<strong>in</strong>g for their neighbors. In a small reaction vessel, the solution will oscillatesynchronously, but <strong>in</strong> a large vessel, some regions may be out of phase with the rest;furthermore, there may be topological constra<strong>in</strong>ts which prevent the whole systemfrom ever becom<strong>in</strong>g synchronized. Figure 2-18 shows two CA simulations of thisphenomenon with dierent reaction thresholds. The result<strong>in</strong>g spiral patterns are asplendid example of self-organization. Similar phase locked oscillations can also beobserved <strong>in</strong> reies, certa<strong>in</strong> mar<strong>in</strong>e animals, and groups of people clapp<strong>in</strong>g.The nal example of an excitable CA is a stochastic predator-prey model. The factthat there are tens-of-thousands of degrees of freedom arranged <strong>in</strong> a two-dimensionalspace means that the behavior cannot be captured by a simple pair of equations.The prey reproduce at random <strong>in</strong>to empty neighbor<strong>in</strong>g cells, while the predatorsreproduce <strong>in</strong>to neighbor<strong>in</strong>g cells that conta<strong>in</strong> prey. Restoration of the empty cells isaccomplished byhav<strong>in</strong>g the predators randomly die o at a constant rate. Figure 2-19shows the behavior of this dynamics for two dierent death rates. Variations on this42


(a)(b)Figure 2-19: Predator-prey simulations. The prey reproduces at random <strong>in</strong>to emptyareas, while the predators ourish beh<strong>in</strong>d the waves of prey (a). Death among thepredators occurs at random at a constant rate. With a higher death rate, there aremore places for the prey to live (b).rule could possibly be used to model grass res, epidemics, and electrical activity <strong>in</strong>the heart.2.3.7 Conventional ComputationIn addition to computational model<strong>in</strong>g, CA can be used to compute <strong>in</strong> a more generalsense. For example, they are well-suited to certa<strong>in</strong> comput<strong>in</strong>g tasks <strong>in</strong> vision andimage process<strong>in</strong>g. Runn<strong>in</strong>g algorithms that have a local, parallel description is animportant area of application for CA, but the ma<strong>in</strong> po<strong>in</strong>t of this section is to demonstratethat CA are capable of perform<strong>in</strong>g universal computation. In other words,CA can be programmed to simulate any digital computer. Universal computers mustbe able to transport and comb<strong>in</strong>e <strong>in</strong>formation at will, and for CA, this means ga<strong>in</strong><strong>in</strong>gcontrol over propagat<strong>in</strong>g structures and <strong>in</strong>teractions. Partition<strong>in</strong>g neighborhoodsgive us the necessary control. F<strong>in</strong>ally, computation is characteristically an irreversibleprocess, though complex calculations can be done reversibly as well.Modern digital circuits are written on to silicon chips, and <strong>in</strong> a similar mannerone can write circuits <strong>in</strong>to the state space of a CA. With the right dynamical rule,43


(a)(b)Figure 2-20: Digital circuit simulations. (a) An irreversible rule show<strong>in</strong>g a universalset of logic components along with an example of a count<strong>in</strong>g circuit. (b) A reversiblepermutation generator built us<strong>in</strong>g the billiard-ball model.the CA will behave <strong>in</strong> exact correspondence with the physical chip. Figure 2-20(a)shows a pair of circuits which can be used with a special irreversible digital logic rule.The upper circuit shows all of the components necessary to simulate an arbitrarydigital circuit: wires, signals, fanouts, clocks, crossovers, and gates and not gates.An example of what these components can do is given <strong>in</strong> the lower circuit which isaserial adder that has been wired up to act as a counter.Figure 2-20(b) shows a circuit <strong>in</strong> the so-called billiard ball model, which isanexample of a reversible, non-momentum conserv<strong>in</strong>g lattice gas. Pairs of po<strong>in</strong>t particlestravel through empty space (the l<strong>in</strong>es merely mark where the particles have traveled)and eectively act like nite-sized billiard balls dur<strong>in</strong>g collisions with reectors andother pairs of particles. Collisions between balls serve to modulate two signals andcan be used as logic gates. This rule can be used to simulate an arbitrary reversibledigital circuit.With these computational rules, we have reached the opposite end of a spectrumof CA models <strong>in</strong> comparison to the chaotic rules. In regard to the classicationsdeveloped above, both k<strong>in</strong>ds can be either reversible or irreversible. A dierencewhich is somewhat <strong>in</strong>cidental but also with signicance is that the chaotic rules use the44


standard CA neighborhood format while the computational rules use the partition<strong>in</strong>gformat. However, the ma<strong>in</strong> way that they dier is <strong>in</strong> that <strong>in</strong>formation is channeled<strong>in</strong> the computational rules while <strong>in</strong> the chaotic rules it is not. This ne control over<strong>in</strong>formation makes it possible to design highly complex yet structured systems suchas computers and, hopefully, models of arbitrary natural processes.The examples above show that CA are capable of model<strong>in</strong>g many aspects of nature<strong>in</strong>clud<strong>in</strong>g those of special <strong>in</strong>terest to physics. However, these and similar models coulduse further simulation and data analysis coupled with more <strong>in</strong>-depth analytical work.Furthermore, there is a need to develop and codify the techniques <strong>in</strong>volved as wellas to apply them to specic external problems. These considerations form a basicmotivation for the subject of this thesis. Consequently, the follow<strong>in</strong>g chapters presentnew CA models of particular <strong>in</strong>terest to physics while analyz<strong>in</strong>g their behaviors andaddress<strong>in</strong>g the general problem of develop<strong>in</strong>g novel mathematical methods.45


Chapter 3Reversibility, Dissipation, andStatistical Forces3.1 Introduction3.1.1 Reversibility and the Second Law of ThermodynamicsAn oft cited property of the physical world is that of time-reversal <strong>in</strong>variance. Thismeans that any physical process run <strong>in</strong> reverse would be a possible evolution ofanother process. 1 In any event, the fundamental laws of physics are (as far as weknow) reversible|that is, the equations of motion could theoretically be <strong>in</strong>tegratedbackwards from nal conditions to <strong>in</strong>itial conditions|and the concept of reversibilityhas even been elevated to the status of a pr<strong>in</strong>ciple to which new dynamical theoriesmust conform.We are <strong>in</strong>terested <strong>in</strong> captur<strong>in</strong>g as many pr<strong>in</strong>ciples of physics <strong>in</strong> our CA modelsas possible, and therefore, we strive to construct CA dynamics which are reversible.In other words, the dynamics should map the states of the system <strong>in</strong> a one-to-oneand onto manner [90]. In addition, we would like the <strong>in</strong>verse mapp<strong>in</strong>g to also bea local CA rule and to resemble the forward rule as much as possible. One way to1 The validity of this statement requires a suitable time-reversal transformation on all the variables<strong>in</strong> the system and neglects the break <strong>in</strong> this symmetry which may accompany known CP violation.47


th<strong>in</strong>k about reversibility from an <strong>in</strong>formation mechanical viewpo<strong>in</strong>t is that the systemalways conta<strong>in</strong>s the same <strong>in</strong>formation: it is only transformed (or scrambled) <strong>in</strong>to newforms throughout the computation. In the case of <strong>in</strong>vertible CA runn<strong>in</strong>g on digitalcomput<strong>in</strong>g mach<strong>in</strong>es, this <strong>in</strong>terpretation of reversibility isvery direct. If the <strong>in</strong>verserule is known, then we have complete control over the dynamics and can explicitlyrun the system backwards at will.An important consequence of reversibility is the \second law of thermodynamics."Without quibbl<strong>in</strong>g over caveats, it states that <strong>in</strong> any transformation of a closed,reversible system, the entropy must <strong>in</strong>crease or stay the same. The notion of entropyused here will be discussed at greater length below, but for now it suces to th<strong>in</strong>k ofit as a measure of the disorder of the system. The <strong>in</strong>tuitive reason for the tendencyfor <strong>in</strong>creas<strong>in</strong>g disorder is that there are vastly more disordered states than orderedones so that the fraction of time spent <strong>in</strong> disordered states is likely to be greater.Reversibility is important here because it prevents a many to one mapp<strong>in</strong>g of states;otherwise, the system could preferentially evolve towards the relatively few orderedstates.Another important consequence of reversibility is that it helps prevent spuriousdynamical eects due to frozen degrees of freedom. What can happen <strong>in</strong> an irreversiblerule is that certa<strong>in</strong> features of the system become locked <strong>in</strong> and articially restrictthe dynamics. This cannot happen under a reversible dynamics because there areno attractive xed po<strong>in</strong>ts. In fact, a reversible dynamics on a nite set of stateswill always return the system, eventually, to its <strong>in</strong>itial condition. This recurrence isstronger than the Po<strong>in</strong>care recurrence theorem <strong>in</strong> classical mechanics because it willreturn exactly to its start<strong>in</strong>g po<strong>in</strong>t, not only approximately.3.1.2 Potential Energy and Statistical ForcesOne of the most fundamental concepts of physics is energy. Its <strong>in</strong>terest lies <strong>in</strong> the factthat it is conserved, it takes on many forms <strong>in</strong>terchangeably, and that it plays therole of the generator of dynamics. Considerations of energy transport and exchangethoroughly pervade almost every aspect of physics. Thus, many of our CA formula-48


tions of physical systems will be designed to reect properties and eects conferredby energy.Perhaps the most basic expression of energy is that of potential energy. Potentialsare often used to describe the statics of physical systems, and they express the essentialphysics <strong>in</strong> both the Lagrangian and Hamiltonian formulations of dynamics. Potentialsact on a system by generat<strong>in</strong>g forces which <strong>in</strong> turn alter the movement of particles.Ultimately, these forces arise from <strong>in</strong>teractions of particles with other particles <strong>in</strong> thesystem, but we can simplify the situation further and consider the case of externallyimposed scalar potentials on <strong>in</strong>dividual particles. The more general case will bereconsidered <strong>in</strong> chapter 6.A s<strong>in</strong>gle, classical particle <strong>in</strong> a potential well would follow some denite orbit,while many such particles would distribute themselves accord<strong>in</strong>g to a Boltzmanndistribution. At present, we do not know howtohave <strong>in</strong>dividual particles follow nontrivial,smooth trajectories <strong>in</strong> a cellular space. However, the advantages of parallelism<strong>in</strong>herent <strong>in</strong> CA are best suited to many-body systems, so we choose to develop someof the statistical properties of a gas of particles <strong>in</strong> the potential <strong>in</strong>stead. Situationssuch as this arise, for example, <strong>in</strong> the case of an atmosphere <strong>in</strong> a gravitational eldor an electron gas <strong>in</strong> a Coulomb potential.The physical phenomenon that we wish to capture then, is the microscopicallyreversible concentration of a gas <strong>in</strong> the bottom of a potential well. Note however, thatfor a gas consist<strong>in</strong>g of particles on a lattice, this implies a decrease <strong>in</strong> the entropy,and here<strong>in</strong> lies a paradox. How is it possible to have <strong>in</strong>creas<strong>in</strong>g order <strong>in</strong> a system <strong>in</strong>which entropy must <strong>in</strong>crease, and <strong>in</strong> particular, with<strong>in</strong> the closed environment ofabounded CA array? How can we have a reversible dynamics which conserves energyand <strong>in</strong>formation while still exhibit<strong>in</strong>g dissipation? Dissipation <strong>in</strong> this context refersto the loss of detailed <strong>in</strong>formation about the dynamical history of the system, and <strong>in</strong>the case of particles fall<strong>in</strong>g down a potential gradient, the concomitant loss of energy.Thus, we would like to nd a simple reversible mechanism with which one can modela gas settl<strong>in</strong>g <strong>in</strong>to a potential well, and <strong>in</strong> the process, discover the essential featuresof dissipation <strong>in</strong> reversible systems.49


The solution to the paradox <strong>in</strong>volves <strong>in</strong>vok<strong>in</strong>g statistical forces. In other words,we actually use the second law of thermodynamics to our advantage by arrang<strong>in</strong>gthe system so that an <strong>in</strong>crease <strong>in</strong> entropy br<strong>in</strong>gs about the very behavior that weseek. This requires coupl<strong>in</strong>g the system to another hav<strong>in</strong>g low entropy so that thejo<strong>in</strong>t system is far from equilibrium. The approach to equilibrium is manifested asa statistical force: particles are \pushed" by anoverwhelm<strong>in</strong>g probability tomoveto the lower potential. The force cont<strong>in</strong>ues until the transition probabilities matchand equilibrium is restored. Throughout the process, the overall dynamics rema<strong>in</strong>sstrictly determ<strong>in</strong>istic and reversible, and the total entropy <strong>in</strong>creases.3.1.3 OverviewThis chapter presents a CA simulation that explicitly demonstrates dissipative <strong>in</strong>teractions<strong>in</strong> the context of a microscopically reversible dynamics. This is done by<strong>in</strong>troduc<strong>in</strong>g a representation of an external scalar potential which <strong>in</strong> turn can eectivelygenerate forces. Hence, it gives one approach to solv<strong>in</strong>g the problem of howto <strong>in</strong>clude forces <strong>in</strong> CA models of physical systems. The model <strong>in</strong>corporates conservationof energy and particles, and by virtue of reversibility, it also can be said toconserve <strong>in</strong>formation. The dynamics allows us to follow the process of dissipation<strong>in</strong> detail and to exam<strong>in</strong>e the associated statistical phenomena. Moreover, the modelsuggests a general technique for turn<strong>in</strong>g certa<strong>in</strong> irreversible physical processes <strong>in</strong>toreversible ones.The rest of the chapter is organized as follows:Section 3.2 presents a CA model of a gas <strong>in</strong> the presence of an external potentialwell. The model provides a very clean demonstration of some key ideas <strong>in</strong> statisticalmechanics and thermodynamics. A simplied analysis is presented which <strong>in</strong>troducescounterparts of entropy, temperature, occupation number, and Fermi statistics,among others. The analysis also serves as a po<strong>in</strong>t of departure for a further discussionof microcanonical randomness.Section 3.3 gives the details of the implementation of the algorithm on CAM-6.While the details themselves are not unique, they are illustrative of the techniques50


which can be employed when develop<strong>in</strong>g physical models for CA. Details of the implementationlead to practical considerations for the design and programm<strong>in</strong>g of cellularautomata mach<strong>in</strong>es, and could have important consequences for the design of futurehardware and software.The deviation of the simplied analysis from the results of a trial run of thesystem <strong>in</strong>dicates the presence of additional conserved quantities which <strong>in</strong>validate anave application of the ergodic hypothesis. Section 3.4 reveals these quantities andthe analysis is revised to take broken ergodicity and nite size eects <strong>in</strong>to account.Section 3.5 presents the statistical results of a long run of the system and comparesthem to the theory of section 3.4. Together, these sections demonstrate the<strong>in</strong>terplay of theory and experiment that is readily possible when us<strong>in</strong>g cellular automatamach<strong>in</strong>es. Precise measurements of the system agree closely with the revisedcalculations.Section 3.6 <strong>in</strong>dicates some of the ways that the model can be modied, extended,or improved. Possible applications of the method are given for a number of problems.Some of the implications for model<strong>in</strong>g with CA are discussed along with issues perta<strong>in</strong><strong>in</strong>gto mechanistic <strong>in</strong>terpretations of physics. F<strong>in</strong>ally,anumber of open problemsare outl<strong>in</strong>ed.3.2 A CA Model of Potentials and Forces3.2.1 Description of the ModelAny CA which has some form of particle conservation may be referred to as a latticegas. The most common examples are simulations of physical substances, thoughone can imag<strong>in</strong>e examples from elds rang<strong>in</strong>g from biology to economics. A bit <strong>in</strong>a lattice gas usually represents a s<strong>in</strong>gle particle state of motion, <strong>in</strong>clud<strong>in</strong>g positionand velocity. Each of these states may conta<strong>in</strong> either zero or one particle, so anexclusion pr<strong>in</strong>ciple is automatically built <strong>in</strong>. In addition to this basic lattice gasformat, other properties such asreversibility or energy/momentum conservation may51


also be imposed. The problem when design<strong>in</strong>g a lattice gas is to specify a rule thatyields the desired phenomena while ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g the constra<strong>in</strong>ts. For example, <strong>in</strong>hydrodynamic applications, one is often <strong>in</strong>terested <strong>in</strong> choos<strong>in</strong>g collision rules whichm<strong>in</strong>imize viscosity [24, 25]. However <strong>in</strong> this case, the goal is just to demonstrate areversible dynamics which generates a statistical force correspond<strong>in</strong>g to an externalscalar potential.The specic CA model treated <strong>in</strong> this chapter consists of a pair of two dimensionallattice gases that are coupled via <strong>in</strong>teraction with a potential well. The former willbe thought of as the system proper (consist<strong>in</strong>g of featureless particles), and the latterwill be the heat bath (consist<strong>in</strong>g of energy tokens). The tokens are sometimes calleddemons follow<strong>in</strong>g Creutz, who orig<strong>in</strong>ated the general idea of <strong>in</strong>troduc<strong>in</strong>g additionaldegrees of freedom to enable microcanonical Monte Carlo simulation [19, 20]. Theparticles and the energy tokens move from cell to cell under an appropriate CA ruleas described below.The lattice gases can be viewed as resid<strong>in</strong>g <strong>in</strong> parallel spaces (0 and 1), and thesystem logically consists of three regions (AB, C, and D) as shown <strong>in</strong> gure 3-1(a). 2The circle <strong>in</strong>dicates the boundary of the potential well where the coupl<strong>in</strong>g of thelattice gases takes place. By denition, a particle <strong>in</strong> the central region (C) has zeropotential, a particle <strong>in</strong> the exterior region (AB) has unit potential, and the demons(D) represent unit energy. The particles are conserved while the demons are createdand destroyed to conserve the total energy when particles cross the boundary.The dynamics should be nontrivial and have the follow<strong>in</strong>g properties, but it neednot be otherwise restricted. First and foremost, it must be reversible. Second, thegas particles are to be conserved between regions AB and C. Third, the total energy,consist<strong>in</strong>g of the number of particles outside the well plus the number of demons,should be conserved. F<strong>in</strong>ally, the key part of the rule is that a particle will bepermitted to cross the boundary of the potential well only if it can exchange energywith the heat bath appropriately: a particle fall<strong>in</strong>g <strong>in</strong>to the well must release one unitof energy <strong>in</strong> the form of a demon, and a particle leav<strong>in</strong>g the well must absorb a demon.2 The rst region will later be subdivided <strong>in</strong>to two regions, A and B; hence, the notation, AB.52


01ABDC(a)(b)Figure 3-1: (a) A system comprised of a lattice gas on plane 0 coupled to a heat bathof energy demons (D) on plane 1. The gas particles feel a potential which islow<strong>in</strong>the central region (C) and high <strong>in</strong> the outer region (AB). (b) The <strong>in</strong>itial state of thelattice gas <strong>in</strong> plane 0 has an occupation number of 25%.There are other choices of properties that create a similar eect (see section 3.6), butthis one will illustrate the po<strong>in</strong>t.Given only these assumptions on the dynamics, what can we say about the evolutionof the system? Accord<strong>in</strong>g to the second law of thermodynamics, the total entropyof an isolated, reversible system such as ours must, <strong>in</strong> general <strong>in</strong>crease or stay thesame. In fact, it will (aga<strong>in</strong>, <strong>in</strong> general) <strong>in</strong>crease unless there are conservation lawswhich prevent it from do<strong>in</strong>g so. The notion of entropy used here is discussed nextand is consistent with Jaynes' Pr<strong>in</strong>ciple of Maximum Entropy [45]. The entropy sodened will prove useful for calculat<strong>in</strong>g the average number of particles <strong>in</strong> the variousregions of the space.A measure of entropy can only properly be applied to an ensemble, or probabilitydistribution over states, rather than to a s<strong>in</strong>gle conguration. However, a specicconguration of the system denes an ensemble by the set of all microstates that areconsistent with our coarse-gra<strong>in</strong>ed, or macroscopic, knowledge of that conguration.Macroscopic knowledge may be obta<strong>in</strong>ed by measurement and <strong>in</strong>cludes the conserved53


quantities, but may also <strong>in</strong>clude th<strong>in</strong>gs like particle densities or currents <strong>in</strong> variousregions of the space. The dist<strong>in</strong>ction between a state and the ensemble it deneswill usually blurred because we do not know|and generally are not <strong>in</strong>terested <strong>in</strong>know<strong>in</strong>g|all the details of the system. Hence, the entropy of a state will be taken tobe the logarithm of the number of states <strong>in</strong> the correspond<strong>in</strong>g ensemble.The particular <strong>in</strong>itial conguration of the particle system used <strong>in</strong> this chapter isshown <strong>in</strong> gure 3-1(b). The gas has a uniform density of 25%, which means thateach cell has been assigned a particle with an <strong>in</strong>dependent probability of 1/4. Notethat this implies that there is no correlation whatsoever between one cell and thenext. The gas considered by itself is thus <strong>in</strong> a state of maximum entropy and isconsequently at <strong>in</strong>nite temperature. On the other hand, the heat bath is <strong>in</strong>itiallycleared of demons, leav<strong>in</strong>g it <strong>in</strong> its (unique) lowest possible energy state. This is am<strong>in</strong>imum (equal to zero <strong>in</strong> this case) entropy state, and by analogy with the third lawof thermodynamics, the heat bath is considered to be at absolute zero. Therefore,the entire system is <strong>in</strong> a comparatively low entropy state, far from equilibrium, andthe dynamics will serve to <strong>in</strong>crease the entropy subject to the constra<strong>in</strong>ts.What is the mechanism by which the entropy <strong>in</strong>creases, and how is the <strong>in</strong>creasemanifested? Given the above constra<strong>in</strong>ts and a lack of ne-gra<strong>in</strong>ed, or microscopic,knowledge about the system, we can and should assume an eectively ergodic dynamicsunder which the system wanders through its conguration space subject onlyto conservation laws. Most of the states have a higher entropy than does the <strong>in</strong>itialconguration, so the entropy will most likely <strong>in</strong>crease. Similarly, most of the stateshave more particles <strong>in</strong> the well than does the <strong>in</strong>itial conguration, so the particlesare biased to ow <strong>in</strong>to the well. This bias is the statistical force which is derivedfrom <strong>in</strong>teraction with the potential well. The force will act to drive the system to amaximum entropy state|that is, one for which all accessible states (subject to anyconstra<strong>in</strong>ts) are equally likely.The response of the gas under a specic dynamics satisfy<strong>in</strong>g the above conditionsis shown <strong>in</strong> gure 3-2, while the energy released <strong>in</strong>to the heat bath is shown <strong>in</strong> gure 3-3. The particular dynamics used will be described <strong>in</strong> detail <strong>in</strong> section 3.3, though the54


(a)(b)Figure 3-2: Particle congurations taken from a simulation of a lattice gas <strong>in</strong> apotential well. (a) Nonequilibrium transient near the beg<strong>in</strong>n<strong>in</strong>g of the simulationshow<strong>in</strong>g the particles fall<strong>in</strong>g <strong>in</strong>to the potential well. (b) Equilibrium conguration ofthe lattice gas.behavior is quite generic. After 100 steps (a), we see that the density of the gas <strong>in</strong>the well has <strong>in</strong>creased while a surround<strong>in</strong>g rarefaction has been left beh<strong>in</strong>d. Energytokens are be<strong>in</strong>g created at the boundary of the well as the particles fall <strong>in</strong>. After10,000 steps, the system has reached an equilibrium state (b), where the gas is onceaga<strong>in</strong> uniform <strong>in</strong> regions AB and C, and the heat bath has come to a uniform, nonzerotemperature.In order to get a better feel for the mechanism underly<strong>in</strong>g this behavior, it is usefulto augment the demonstration and qualitative arguments above with quantitativecalculations. The calculations can be compared with the results of simulations to<strong>in</strong>crease our condence <strong>in</strong> the predictive power of CA methods and to elicit furtherproperties of the model. A computer simulation of a discrete system makes it possibleto follow the complete time dependence of all the degrees of freedom, but weare seldom <strong>in</strong>terested <strong>in</strong> such detail. Rather, we are primarily <strong>in</strong>terested <strong>in</strong> know<strong>in</strong>gthe macroscopic quantities which result from averag<strong>in</strong>g over the microscopic <strong>in</strong>formation.The non-equilibrium evolution depends on the particular dynamics whereas theequilibrium situation does not (to lowest order), so only the later will be analyzed.55


(a)(b)Figure 3-3: Heat bath correspond<strong>in</strong>g to gure 3-2. (a) Nonequilibrium transient show<strong>in</strong>gthe release of heat energy <strong>in</strong> the form of demons. (b) Equilibrium congurationof the heat bath.3.2.2 Basic Statistical AnalysisThe equilibrium situation can be analyzed through comb<strong>in</strong>atorial methods. We primarilyseek to obta<strong>in</strong> the expected number of particles <strong>in</strong> the three regions.analysis will illustrate <strong>in</strong> a conceptually clear context several of the most importantideas <strong>in</strong> statistical mechanics. These <strong>in</strong>clude entropy, temperature, Fermi statistics,and the <strong>in</strong>crease of entropy <strong>in</strong> the face of microscopic reversibility. It will also br<strong>in</strong>gout some of the conceptual diculties encountered <strong>in</strong> its justication.The basic plan for calculations such as this is to nd the maximum entropy ensemblesubject to the constra<strong>in</strong>ts and then to determ<strong>in</strong>e the expectation values assumedby the dynamical variables. The calculated ensemble averages can be compared totime averages taken from a computer simulation. After a suciently long relaxationperiod, the experimental samples of the system should be representative of the wholeensemble. The dierences between theory and experiment will reect a number of approximations<strong>in</strong> the calculation as well as <strong>in</strong>correct assumptions about the ergodicityof the system and how measurements are made.In order to extract some mean<strong>in</strong>gful <strong>in</strong>formation out of the mass of details, itis useful to adopt a description <strong>in</strong> terms of macroscopic dynamical variables.TheLet56


N x and n x denote the number of cells and the number of particles respectively <strong>in</strong>region x. Also dene the density (which can also be thought of as a probability oranoccupation number) x = n x =N x . The complement, x =1, x , will also be useful.The total number of particles n T and the total energy E T are conserved and satisfythe constra<strong>in</strong>ts,n T = n AB + n C and E T = n AB + n D : (3.1)The above description can only approximately capture the maximum entropy distributionbecause it replaces actual particle numbers (which are not constant) withs<strong>in</strong>gle averages (i.e., it ignores uctuations). Furthermore, the occupation numbers<strong>in</strong> the cells <strong>in</strong> any given region are correlated and cannot, strictly speak<strong>in</strong>g, be representedby <strong>in</strong>dependent, identically distributed random variables as we are do<strong>in</strong>g.The dierences become negligible <strong>in</strong> the thermodynamic limit, but it does aect theresults <strong>in</strong> nite systems as we shall see <strong>in</strong> section 3.4.With these caveats <strong>in</strong> m<strong>in</strong>d, we can proceed to work towards the maximum entropysolution. The number of accessible states with the given occupation numbers isand the entropy is given by! ! != N AB NC ND; (3.2)n AB n C n DS = ln = NAB ln N AB , n AB ln n AB , (N AB , n AB ) ln(N AB , n AB )+ N C ln N C , n C ln n C , (N C , n C ) ln(N C , n C )+ N D ln N D , n D ln n D , (N D , n D ) ln(N D , n D )= N AB (, AB ln AB , AB ln AB )+N C (, C ln C , C ln C )+ N D (, D ln D , D ln D ): (3.3)The nal expression above is just the sum over the Shannon <strong>in</strong>formation function foreach cell times the number of cells of that type [75].57


The entropy of the equilibrium ensemble will assume the maximum value subjectto the constra<strong>in</strong>ts (3.1). To nd this extremum,<strong>in</strong>troduce Lagrange multipliers and, and dene the auxiliary functionf = S + (n T , N AB AB , N C C )+(E T ,N AB AB , N D D ): (3.4)The Lagrange multipliers will give us measure of temperature T and chemical potential, where T =1= and = ,.Dierentiat<strong>in</strong>g f with respect to , , AB , C , and D and sett<strong>in</strong>g the results tozero returns the constra<strong>in</strong>t equations (3.1) along withSolv<strong>in</strong>g for the densities gives,N AB ln AB AB, N AB , N AB = 0; (3.5),N C ln C C, N C = 0; (3.6),N D ln D D, N D = 0: (3.7) AB = C = D =1;(1,)1+e(3.8)11+e(,); (3.9)11+e: (3.10)These are just the occupation numbers for particles obey<strong>in</strong>g Fermi statistics. Notethat they turned out to be <strong>in</strong>tensive quantities s<strong>in</strong>ce we assumed the thermodynamiclimit.Equations (3.1) and (3.8){(3.10) constitute ve equations <strong>in</strong> ve unknowns, butthe later three can be comb<strong>in</strong>ed to elim<strong>in</strong>ate and to give AB C D = C D AB : (3.11)This equation can be rewritten <strong>in</strong> terms of the numbers of particles <strong>in</strong> the three58


egions as follows:n AB (N C , n C )(N D , n D )=n C n D (N AB , n AB ): (3.12)This equation along with (3.1) gives three equations <strong>in</strong> three unknowns which is usefulfor solv<strong>in</strong>g for the particle numbers directly. The <strong>in</strong>teraction of particles <strong>in</strong> the cells onthe boundary of the potential can be described by the reaction AB *) C + D, and forthe reaction to proceed <strong>in</strong> either direction, there must be a vacancy for each productspecies. Therefore, <strong>in</strong> equilibrium, equation (3.11) can be <strong>in</strong>terpreted as say<strong>in</strong>g thatthe probability of a particle fall<strong>in</strong>g <strong>in</strong>to the well must equal the probability ofaparticle leav<strong>in</strong>g the well.The microcanonical heat bath technique illustrated <strong>in</strong> this section can be generalizedand used <strong>in</strong> conjunction with any reversible CA hav<strong>in</strong>g a locally dened,conserved energy. We just need to arrange it so that the subsystems are free to exchangeenergy but that the dynamics are not otherwise constra<strong>in</strong>ed. In this case, thenumber of states factors <strong>in</strong>to the numbers of states <strong>in</strong> each subsystem, and the entropiesadd. The characteristics of the heat bath are then <strong>in</strong>dependent of the systemto which it is coupled s<strong>in</strong>ce it atta<strong>in</strong>s its own maximum entropy state subject onlyto the amount of energy it conta<strong>in</strong>s. As far as the primary system is concerned, theheat bath is characterized only by its propensity to absorb and release energy. Thisis reected <strong>in</strong> the last equation above where the density of the demons is determ<strong>in</strong>edentirely by the <strong>in</strong>verse temperature .An analysis similar to the one above can thus be carried out for any heat bathconsidered <strong>in</strong> isolation and hav<strong>in</strong>g a given energy (or equivalently, a given temperature).Appendix A develops the statistical mechanics and thermodynamics of onesuch microcanonical heat bath which holds up to four units of energy per cell. Inaddition to be<strong>in</strong>g useful for generat<strong>in</strong>g statistical forces, these heat baths act as thermalsubstrates for the primary system and can be used for measur<strong>in</strong>g and sett<strong>in</strong>g thetemperature. This can be done, for example, to ma<strong>in</strong>ta<strong>in</strong> a constant temperature,as <strong>in</strong> a chemical reaction vessel, or to follow a particular anneal<strong>in</strong>g schedule <strong>in</strong> a59


simulated anneal<strong>in</strong>g algorithm. The appendix discusses these and other issues.3.2.3 A Numerical ExampleThe version of this experiment that comes with the CAM-6 distribution software [59,60] can be run under repeatable conditions by re-<strong>in</strong>itializ<strong>in</strong>g the random numbergenerator. The specic numerical values given <strong>in</strong> the rest of this chapter correspondto this case.CAM-6 has a total of N T = N N = 65536 cells with N = 256. The parametersN AB = 52896, N C = 12640, and N D = 65536 give the total number of cells availablefor particles outside the well, <strong>in</strong> the center of the well, and <strong>in</strong> the heat bath respectively.The particle density isuniformly <strong>in</strong>itialized to 25% which gives approximatelyN T =4 = 16384 particles and N AB =4 = 13224 units of energy. The actual <strong>in</strong>itial valuesof these conserved quantities are n T = 16191 and E T = 13063. S<strong>in</strong>ce there are nodemons to start with (n D = 0), the <strong>in</strong>itial particle counts <strong>in</strong> regions AB and C aren AB = 13063 and n C = 3128 respectively.Solv<strong>in</strong>g equations (3.1) and (3.12) gives the theoretical equilibrium densities, whilethe experimental time averages can be found <strong>in</strong> section 3.5. The results are summarized<strong>in</strong> table 3.1. Note that the theoretical and experimental values dier by about2.7 particles. This discrepancy is resolved by the theory of section 3.4.It is also illum<strong>in</strong>at<strong>in</strong>g to look at the entropies of the components of the system ascalculated from the theoretical values us<strong>in</strong>g equation (3.3). As expected, the entropyof the gas goes down while that of the demons goes up. However, the change <strong>in</strong>the total entropy, S f , S i = 11874, is positive as required by the second law ofthermodynamics. Furthermore, the count<strong>in</strong>g procedure that we used to calculate Simplies that the nal state ise S f,S i 10 5156 (3.13)times as likely as the <strong>in</strong>itial state! In other words, for every state that \looks like"gure 3-1(b), there are approximately 10 5156states that \look like" gure 3-2(b)60


x T AB C DN x 65536 52896 12640 65536n x (<strong>in</strong>itial) 16191 13063 3128 0n x (basic theory) 16191 7795.73 8395.27 5267.27n x (experiment) 16191 7798.44 8392.56 5264.56S x (<strong>in</strong>itial) 36640 36640 0S x (nal, theory) 48514 30185 18329Table 3.1: A table show<strong>in</strong>g the number of cells, the number of particles, and theentropy <strong>in</strong>various regions of the potential-well system. The <strong>in</strong>itial counts as well astheoretical and experimental results are given.(taken together with gure 3-3(b)). 3This numerical example should make it perfectlyobvious why the entropy as dened here is likely to <strong>in</strong>crease or stay the same <strong>in</strong> areversible CA. Similarly, s<strong>in</strong>ce the nal state has the highest entropy consistent withthe constra<strong>in</strong>ts, the orig<strong>in</strong> of the statistical force should also be clear.3.3 CAM-6 Implementation of the ModelIn order to test hypotheses about a proposed CA mechanism, it is useful to write arule and run it. At this po<strong>in</strong>t, a cellular automata mach<strong>in</strong>e becomes a great asset.Hav<strong>in</strong>g the ability towatch a real-time display of the dynamical behavior of a systemgreatly <strong>in</strong>creases one's <strong>in</strong>tuition about the processes <strong>in</strong>volved. Furthermore, hav<strong>in</strong>gan ecient simulation opens the possibility of do<strong>in</strong>g quantitative mathematical experimentsand develop<strong>in</strong>g additional properties of the model. These paradigmaticaspects of do<strong>in</strong>g physics with CA are well illustrated by the present example.Thus the model described <strong>in</strong> the previous section was implemented on CAM-6,and here we cover the details of the implementation. 4While some of these detailscould be considered artifacts of the limits on hardware resources with which onehas to work, they could also say someth<strong>in</strong>g about computation <strong>in</strong> other physical3 Recall that we are consider<strong>in</strong>g two states to be equivalent for count<strong>in</strong>g purposes if they are <strong>in</strong>the same ensemble of states dened by the macroscopic quantities.4 The author would like to thank Bruce Smith for help<strong>in</strong>g with this implementation.61


situations. Go<strong>in</strong>g through the exercise of programm<strong>in</strong>g such a rule is also useful forth<strong>in</strong>k<strong>in</strong>g about ways of describ<strong>in</strong>g computation (parallel or otherwise). This <strong>in</strong>terplaybetween hardware, software, and the design of dynamical laws is an <strong>in</strong>terest<strong>in</strong>g facetof this l<strong>in</strong>e of research.This section is not strictly necessary for understand<strong>in</strong>g the other sections andcan be skipped or referred to as needed. It is <strong>in</strong>cluded for completeness and toillustrate characteristic problems encountered and solutions devised when writ<strong>in</strong>g aCA rule. The techniques are analogous to the detailed constructions conta<strong>in</strong>ed <strong>in</strong>a mathematical proof. F<strong>in</strong>ally, it will serve as a primer on programm<strong>in</strong>g cellularautomata mach<strong>in</strong>es for those who have not been exposed to them before.3.3.1 CAM-6 ArchitectureThe CAM-6 cellular automata mach<strong>in</strong>e is a programmable, special-purpose computerdedicated to runn<strong>in</strong>g CA simulations. The hardware consists of about one hundred ord<strong>in</strong>ary<strong>in</strong>tegrated circuits and ts <strong>in</strong>to a s<strong>in</strong>gle slot of an IBM-PC compatible personalcomputer [83]. The mach<strong>in</strong>e is controlled and programmed <strong>in</strong> the FORTH languagewhich runs on the PC [10]. For the range of computations for which CAM-6 is bestsuited, it is possible to obta<strong>in</strong> supercomputer performance for roughly 1/10000th thecost.The circuitry of any computer (<strong>in</strong>clud<strong>in</strong>g cellular automata mach<strong>in</strong>es) can bedivided <strong>in</strong>to two categories: data and control. The data circuits \do the work" (e.g.,add two numbers), while the control circuits \decide what to do." The divid<strong>in</strong>gl<strong>in</strong>e between these two functions is sometimes fuzzy, but it is precisely the ability tocontrol computers with data (i.e., with a program) that makes them so remarkable.While the control circuits of a computer are essential to its operation, it is the ow ofthe data that really concerns us. Consequently, the data paths common to all cellularautomata mach<strong>in</strong>es are (1) a cellular state space or memory, (2) a process<strong>in</strong>g unit,and (3) a feed from the memory to the processor (and back). The specics of theseunits <strong>in</strong> CAM-6 are described <strong>in</strong> turn below.The state space of CAM-6 consists of a 256256 array of cells with periodic62


oundary conditions. Each cell is comprised of four bits, numbered 0{3. It is oftenconvenient to th<strong>in</strong>k of this state space as four planes of 256256 bits each. Planes 0and 1 are collectively known as CAM-A, and similarly, planes 2 and 3 are knownas CAM-B. The dist<strong>in</strong>ction between A and B is made because the two halves havelimited <strong>in</strong>teraction, and this <strong>in</strong> turn constra<strong>in</strong>s how we assign our dynamical variablesto the dierent planes.The processor of CAM-6 replaces the data <strong>in</strong> each cell with a function of thebits <strong>in</strong> the neighbor<strong>in</strong>g cells. This is accomplished with two lookup tables (one forCAM-A and one for CAM-B), each with 2 12 = 4096 four-bit words. Each table canbe programmed to generate an arbitrary two-bit functions of twelve bits. 5 How thetwelve bits are selected and fed <strong>in</strong>to the processor is crucial and is described <strong>in</strong> thenext paragraph. The processor is shared among the cells <strong>in</strong> suchaway as to eectivelyupdate all of them simultaneously. In actuality, each cell is updated as the electronbeam <strong>in</strong> the TV monitor sweeps over the display of that cell.At the heart of CAM-6 is a pipel<strong>in</strong>e which feeds data from the memory to theprocessor <strong>in</strong> rapid sequence. Roughly speak<strong>in</strong>g, the pipel<strong>in</strong>e stores data from the threerows of cells above the current read/write location, and this serves to delay the updateof cells which haveyet to be used as <strong>in</strong>puts to other cells. This unit also conta<strong>in</strong>smany multiplexers which select predened subsets (also called \neighborhoods") ofbits from adjacent or special cells. Well over forty bits are available <strong>in</strong> pr<strong>in</strong>ciple,and while not all comb<strong>in</strong>ations are accessible through software, one can bypass thelimitations on neighbors and lookup tables by us<strong>in</strong>g external hardware. The subsetsavailable <strong>in</strong> software <strong>in</strong>clude the Moore, von Neumann, and Margolus neighborhoods.The potential-well rule uses the Margolus neighborhood, as do many other physicalrules, so it is worthwhile to describe it <strong>in</strong> more detail.The standard dynamical format of a CA rule is that each cell is replaced by afunction of its neighbors. An alternative is the partition<strong>in</strong>g format, where<strong>in</strong> the statespace is partitioned (i.e., completely divided <strong>in</strong>to non-overlapp<strong>in</strong>g groups of cells),and each partition is replaced by a function of itself. Clearly, <strong>in</strong>formation cannot5 S<strong>in</strong>ce the tables return four bits, they actually conta<strong>in</strong> two separate tables|regular and auxiliary.63


Figure 3-4: The Margolus neighborhood: the entire array is partitioned <strong>in</strong>to 22blocks, and the new state of each block only depends on the four cells <strong>in</strong> that block.The block<strong>in</strong>g can be changed from even to odd (solid to dotted) between time steps<strong>in</strong> order to couple all the blocks.cross a partition boundary <strong>in</strong> a s<strong>in</strong>gle time step, so the partitions must change fromstep to step <strong>in</strong> order to couple the space together. The Margolus neighborhood is apartition<strong>in</strong>g scheme where each partition is 2 cells by 2 cells as shown <strong>in</strong> gure 3-4. The overall pattern of these partitions can have one of four spatial phases on agiven step. The most common way tochange the phases is to shift the block<strong>in</strong>g bothhorizontally and vertically.The partition<strong>in</strong>g format is especially good for many CA applications because itmakes it very easy to construct reversible rules and/or rules which conserve \particles."To do so, one merely enforces the desired constra<strong>in</strong>t oneach partition separately.Furthermore, the 22 partitions <strong>in</strong> particular are very economical <strong>in</strong> terms ofthe number of bits they conta<strong>in</strong> and are therefore highly desirable <strong>in</strong> cellular automatamach<strong>in</strong>es where the bits <strong>in</strong> the doma<strong>in</strong> of the transition function are at a premium.The partition<strong>in</strong>g format has turned out to be so useful for realiz<strong>in</strong>g physical CA modelsthat the spatial and temporal variation <strong>in</strong>tr<strong>in</strong>sic to the Margolus neighborhoodhas been hardwired <strong>in</strong>to CAM-6.In addition to the above data process<strong>in</strong>g elements, CAM-6 has a facility for do<strong>in</strong>gsome real-time data analysis. The most basic type of analysis one can do is to <strong>in</strong>tegratea function of the state variables of the system. In a discrete world, this amounts to64


count<strong>in</strong>g the number of cells hav<strong>in</strong>g a neighborhood which satises a given criterion.Indeed, many measurements, such as nd<strong>in</strong>g the average number density <strong>in</strong> a givenregion, can be reduced to this type of local count<strong>in</strong>g. Each step, the counter <strong>in</strong> CAM-6 returns a value <strong>in</strong> the range 0 to 256 2 = 65536. Whether or not a cell is counted isdeterm<strong>in</strong>ed with lookup tables <strong>in</strong> a similar way and at the same time that the cell isupdated.This concludes the description of the resources conta<strong>in</strong>ed <strong>in</strong> CAM-6, and nowI will outl<strong>in</strong>e a strategy for implement<strong>in</strong>g a model. The design of a rule <strong>in</strong>volves(1) giv<strong>in</strong>g an <strong>in</strong>terpretation to the data <strong>in</strong> the planes correspond<strong>in</strong>g to the systemof <strong>in</strong>terest, (2) determ<strong>in</strong><strong>in</strong>g the functional dependencies between cells and select<strong>in</strong>gappropriate neighborhoods, (3) mapp<strong>in</strong>g out a sequence of steps which will transformthe data <strong>in</strong> the desired way, (4) den<strong>in</strong>g the transition functions to be loaded <strong>in</strong>tothe lookup tables, (5) sett<strong>in</strong>g up the counters for any data analysis, and (6) load<strong>in</strong>gan appropriate <strong>in</strong>itial condition. Typically, one has to work back and forth throughthis list before com<strong>in</strong>g up with a good solution. In the next section, this formula isapplied to the potential energy model.3.3.2 Description of the RuleRecall that the po<strong>in</strong>t of this rule is to make a lattice gas reversibly accumulate <strong>in</strong> aregion which has been designated as hav<strong>in</strong>g a lower potential. The result will be amore ordered state, and thus it will have alower entropy. However, it is impossiblefor an isolated, reversible system to exhibit spontaneous self-organization <strong>in</strong> this way.To get around this limitation, it is necessary to <strong>in</strong>troduce extra degrees of freedomwhich can, <strong>in</strong> eect, \remember" the details of how each particle falls <strong>in</strong>to thepotential well. This is accomplished by coupl<strong>in</strong>g the gas to a heat bath at a lowertemperature. More specically, the coupl<strong>in</strong>g occurs <strong>in</strong> such away as to conserveenergy and <strong>in</strong>formation whenever and wherever a gas particle crosses the contour ofthe potential. The heat bath consists of energy tokens (also known as demons) whichbehave as conserved particles except dur<strong>in</strong>g <strong>in</strong>teractions at the contour. In order toachieve a greater heat capacity and good thermalization, the particles compris<strong>in</strong>g the65


heat bath are determ<strong>in</strong>istically stirred with a second lattice gas dynamics. Introduc<strong>in</strong>ga heat bath <strong>in</strong> this way removes a constra<strong>in</strong>t and opens up a larger congurationspace <strong>in</strong>to which the system can expand. Hence the entropy of the overall system can<strong>in</strong>crease while that of the gas alone decreases.The preced<strong>in</strong>g discussion leads us to consider a model with three components:(1) a lattice gas, (2) a two-level potential, and (3) a heat bath. Each of these subsystemsrequires a separate bit per cell, so the most natural th<strong>in</strong>g to do is to devotea separate bit plane to each one. Given this, we can make a tentative assignment ofdata to the planes, conditioned on the availability of an appropriate neighborhood.Thus, the state of the system is represented as follows: <strong>in</strong> CAM-A, plane 0 is thelattice gas and plane 1 serves as the heat bath. In CAM-B, plane 2 conta<strong>in</strong>s a b<strong>in</strong>arypotential, and plane 3 ends up be<strong>in</strong>g used <strong>in</strong> conjunction with plane 2 to discern theslope of the potential as described below.Now we turn to the choice of a neighborhood. S<strong>in</strong>ce the model <strong>in</strong>corporates tworeversible lattice gases, the partition<strong>in</strong>g aorded by the Margolus neighborhood is amust. In addition, a key constra<strong>in</strong>t is the weak coupl<strong>in</strong>g of CAM-A and CAM-B thatwas alluded to before: the only data available to one half of a cell from the other halfof the mach<strong>in</strong>e are the two bits <strong>in</strong> the other half of the same cell. This is importantbecause each half-cell can only change its state based on what it can \see." Given thatthere are three sub-systems, two must be <strong>in</strong> CAM-A and the third <strong>in</strong> CAM-B, and wehave to justify how the planes were allocated above. The two lattice gases should be<strong>in</strong> the same half of the mach<strong>in</strong>e because the cross<strong>in</strong>g of a contour <strong>in</strong>volves a detailedexchange of energy and <strong>in</strong>formation between these two sub-systems. Furthermore,the potential is not aected <strong>in</strong> any wayby the lattice gases, so it might aswell be <strong>in</strong>the other half. As we shall see, it is possible for the lattice gases to obta<strong>in</strong> enough<strong>in</strong>formation about spatial changes <strong>in</strong> the potential <strong>in</strong> CAM-B with only the two bitsavailable.The dynamics of the system has four phases: two temporal phases which eachtake place on each oftwo spatial phases. The temporal phase alternates betweeneven steps and odd steps. On even steps, the heat bath evolves and the potential66


TMHPPeveneven,,oddoddeven,oddFigure 3-5: Transformation rules for the TM (left) and HPP (right) lattice gases.is \gathered" <strong>in</strong> preparation for use by CAM-A. On odd steps, the gas evolves and,depend<strong>in</strong>g on the potential, <strong>in</strong>teracts with the heat bath. After the odd steps, thepartition<strong>in</strong>g of the space <strong>in</strong>to 22 blocks is shifted to the opposite spatial phase (asshown <strong>in</strong> gure 3-4) <strong>in</strong> order to accommodate the next pair of steps.The even time steps can be thought of as ancillary steps where<strong>in</strong> bookkeep<strong>in</strong>gfunctions are performed. Dur<strong>in</strong>g these steps, the gas particles are held stationarywhile the heat particles are determ<strong>in</strong>istically and reversibly stirred with the \TM"lattice gas rule [89] as shown <strong>in</strong> gure 3-5 (left). In the TM rule, particles movehorizontally and vertically unless they have an isolated collision with a certa<strong>in</strong> impactparameter, <strong>in</strong> which case they stop and turn 90 . This constitutes a reversible, particleconserv<strong>in</strong>g, momentum conserv<strong>in</strong>g, nonl<strong>in</strong>ear lattice gas dynamics. In CAM-B, thepotential is gathered <strong>in</strong> plane 3, the manner and purpose of which will become clearbelow. For now, the gather<strong>in</strong>g can be thought of as \dierentiat<strong>in</strong>g" the potential toobta<strong>in</strong> the \force" felt by the particles <strong>in</strong> the neighborhood.The dynamics of primary <strong>in</strong>terest takes place <strong>in</strong> CAM-A on odd time steps, while67


V=1V=0Figure 3-6: Diagram show<strong>in</strong>g the relation of the even and odd Margolus neighborhoodsto the edge of the potential. Us<strong>in</strong>g this scheme, any cell can detect a change<strong>in</strong> the potential by merely compar<strong>in</strong>g its own potential with that of the opposite cell.the data <strong>in</strong> CAM-B rema<strong>in</strong>s unchanged.In regions of constant potential, the gasparticles follow the \HPP" lattice gas rule [89] as shown <strong>in</strong> gure 3-5 (right).summary of this rule is that particles move diagonally unless they have an isolated,head-on collision, <strong>in</strong> which case they scatter by 90 . This rule has the property thatthe momentum along every diagonal is conserved|a fact which will be importantwhen do<strong>in</strong>g the statistical analysis of the model. The TM rule followed by the heatbath has a behavior similar to the HPP rule except that momentum along every l<strong>in</strong>eis not conserved|a fact which yields improved ergodic properties.In addition to the dynamics described <strong>in</strong> the preced<strong>in</strong>g paragraph, the key <strong>in</strong>teractionwith the potential takes place on odd time steps. If the neighborhood conta<strong>in</strong>sachange <strong>in</strong> the potential, as shown <strong>in</strong> gure 3-6, the HPP rule is overridden and eachcell only <strong>in</strong>teracts with its opposite cell (<strong>in</strong>clud<strong>in</strong>g the heat bath). By look<strong>in</strong>g at thepotential <strong>in</strong> the opposite cell as well as the center cell, a particle can tell whetheror not it is about to enter or exit the potential well. The particle then crosses theboundary if there is not a particle directly ahead of it and the heat bath is able toexchange energy appropriately. Otherwise, the particle rema<strong>in</strong>s where it is, whichresults <strong>in</strong> it be<strong>in</strong>g reected straight back. By convention, heat particles are releasedor absorbed <strong>in</strong> the cell on the <strong>in</strong>terior of the potential.Now it is nally clear why gather<strong>in</strong>g is necessary. A limitation of the neighbor-A68


hoods <strong>in</strong> CAM-6 does not allow a cell to access <strong>in</strong>formation <strong>in</strong> the other half of themach<strong>in</strong>e unless it is <strong>in</strong> the same cell. Hence, the potential <strong>in</strong> the opposite cell mustbe copied <strong>in</strong>to the extra bit <strong>in</strong> CAM-B before the system <strong>in</strong> CAM-A can be updated.The potential itself is never aected|only the copy <strong>in</strong> plane 3.It is also possible to expla<strong>in</strong> why the potential is aligned so that the contour alwayspasses horizontally or vertically through the 22 blocks. Once the potential of theopposite cell has been gathered, the <strong>in</strong>formation <strong>in</strong> the CAM-B half of the cell allowseach of the four cells <strong>in</strong> the neighborhood to <strong>in</strong>dependently determ<strong>in</strong>e that this isan <strong>in</strong>teraction step and not an HPP step. Also, each of the cells knows whether thepotential steps up or down and can evolve accord<strong>in</strong>gly without hav<strong>in</strong>g to look at thepotential <strong>in</strong> any of the other cells.The current implementation is also set up to measure several quantities of <strong>in</strong>terest.These quantities are completely specied by count<strong>in</strong>g (1) the number of particles<strong>in</strong>side the well, (2) the number of particles outside the well, and (3) the number ofdemons. These numbers can be <strong>in</strong>itialized <strong>in</strong>dependently, but once the simulation hasbegun, conservation laws make it possible to nd all three by only measur<strong>in</strong>g one ofthem. The ma<strong>in</strong> quantities of <strong>in</strong>terest that can be derived from these measurementsare the temperature and the particle densities <strong>in</strong>side and outside the potential well.The <strong>in</strong>itial conditions for this particular experiment consist of a two-level potentialand a gas of particles. The potential starts out as a s<strong>in</strong>gle bit plane conta<strong>in</strong><strong>in</strong>g adisk 128 cells <strong>in</strong> diameter. This pattern must then be aligned with the Margolusneighborhood so that the contour always bisects the 22 blocks. This yields a bitplane with 52896 cells hav<strong>in</strong>g a unit potential and a well of 12640 cells hav<strong>in</strong>g zeropotential. Plane 0 is <strong>in</strong>itialized with particles to give a uniform density of 25 percent.The heat bath on plane 1 is <strong>in</strong>itially empty correspond<strong>in</strong>g to a temperature of absolutezero.3.3.3 Generalization of the RuleThe implementation described above is rather limited <strong>in</strong> that it only allows b<strong>in</strong>arypotentials. However, it is important to note that only dierentials <strong>in</strong> the potential69


V0V+10V+20V+30Figure 3-7: Contours of a multi-level potential show<strong>in</strong>g how neighborhoods hav<strong>in</strong>g thesame spatial phase can be <strong>in</strong>terpreted as positive or negative depend<strong>in</strong>g on whetherthe contour is horizontal or vertical.are actually used to generate the force.the potential <strong>in</strong> terms of its gradient.This observation leads to an encod<strong>in</strong>g ofDespite hav<strong>in</strong>g only one bit per cell, sucha dierence encod<strong>in</strong>g makes it possible to represent any potential hav<strong>in</strong>g a limitedslope.The specic encod<strong>in</strong>g used here is illustrated <strong>in</strong> gure 3-7.approximation to a potential is stored, modulo 2, <strong>in</strong> a s<strong>in</strong>gle bit plane.An <strong>in</strong>teger-valuedWithoutadditional <strong>in</strong>formation, this would merely give a corrugated b<strong>in</strong>ary potential|thepotential would just alternate between zero and one.There has to be a way ofre<strong>in</strong>terpret<strong>in</strong>g \negative" contours which step down when they should step up. Thiscan be done by <strong>in</strong>sist<strong>in</strong>g that, with a given partition<strong>in</strong>g, the negative contours crossthe partitions with the opposite orientation as the positive contours. In particular,when the spatial phase of the partitions is even, horizontal contours are <strong>in</strong>verted andwhen the phase is odd, vertical contours are <strong>in</strong>verted.It rema<strong>in</strong>s to be shown how this scheme can be <strong>in</strong>corporated <strong>in</strong>to the CAM-6 ruleabove. In order to update the system, the two bits <strong>in</strong> the CAM-B half of a cell should<strong>in</strong>dicate the directional derivative along the particle's path, i.e., whether the potential<strong>in</strong> the opposite cell higher, lower, or the same as the center cell. Therefore, it wouldsuce to complement both of these bits while gather<strong>in</strong>g whenever a negative contouris encountered. This way, the rule for CAM-A can rema<strong>in</strong> exactly the same|only70


the gather<strong>in</strong>g, which occurs entirely with<strong>in</strong> CAM-B, has to be modied.In the basic model, most of the resources of CAM-B are idle, but now they willbe needed to compute the force from the encoded potential for use by CAM-A. Thecomputation <strong>in</strong>volves compar<strong>in</strong>g the orientation of the potential <strong>in</strong> a neighborhoodwith the spatial phase to discern if a contour is positive or negative. Thus on evensteps, the potential is gathered and, if necessary, <strong>in</strong>verted <strong>in</strong> place. On the follow<strong>in</strong>godd steps, the update can proceed as usual. F<strong>in</strong>ally, one more adm<strong>in</strong>istrative taskhas to be performed. In the b<strong>in</strong>ary-potential model the data <strong>in</strong> CAM-B may beleft unchanged as the system is be<strong>in</strong>g updated. However <strong>in</strong> the extended model,the gather<strong>in</strong>g of the potential must be reversed at that time <strong>in</strong> order to restore thenegative contours of the potential to their un<strong>in</strong>verted state.An example system which uses this rule is shown <strong>in</strong> gure 3-8. In (a) is the specialb<strong>in</strong>ary encod<strong>in</strong>g of a harmonic potential reveal<strong>in</strong>g the peculiar way <strong>in</strong> which thecontours follow the spatial phase. The radial coord<strong>in</strong>ate could be taken to representposition or momentum depend<strong>in</strong>g on the <strong>in</strong>terpretation one assigns. In the formercase the potential energy is given by V = 1 2 m!2 r 2 , and <strong>in</strong> the latter case the k<strong>in</strong>eticenergy is given by the classical expression T = p 2 =2m. The <strong>in</strong>itial state of the gasis exactly the same as <strong>in</strong> the previous experiment (gure 3-1(b)), but the outcomeis rather dierent. S<strong>in</strong>ce the gas falls <strong>in</strong>to a deeper well than before, more energy isreleased <strong>in</strong>to the heat bath, and it is quickly saturated. The gas will be able to falldeeper <strong>in</strong>to the well if the system is cooled, and energy can be (irreversibly) removedby clear<strong>in</strong>g the demons <strong>in</strong> plane 1. After cool<strong>in</strong>g and equilibrat<strong>in</strong>g the system vetimes the result is shown <strong>in</strong> gure 3-8(b).3.4 The Maximum Entropy StateAt the end of section 3.2, a discrepancy was noted between the elementary statisticalanalysis and the time averages obta<strong>in</strong>ed from a long run of the simulation. Recall whatis assumed for them to agree: (1) the ensemble of states that will be generated by thedynamics is completely dened by the conserved energy and particle number, (2) the71


(a)(b)Figure 3-8: (a) Multi-level potential correspond<strong>in</strong>g to a quadratic energy dependenceon the radial coord<strong>in</strong>ate. (b) The nal conguration of the gas, yield<strong>in</strong>g the characteristicFermi sea (<strong>in</strong>terpreted as a picture <strong>in</strong> momentum space).calculated maximum entropy state is representative of the entire ensemble, and (3) thesequence of measured congurations taken from the simulation are representative ofthe entire ensemble. Which of these assumptions is <strong>in</strong> error? It turns out that all threemay be partially responsible, but the primary culprit is po<strong>in</strong>t (1). In particular, anyadditional conserved quantities restrict the accessible region of conguration space,and one such set of conserved currents will be treated <strong>in</strong> the follow<strong>in</strong>g section. Withregards to po<strong>in</strong>t (2), one must be careful when redo<strong>in</strong>g the calculation to take <strong>in</strong>toaccount the nite size of the system as discussed below. The relevance of po<strong>in</strong>t (3)will show up aga<strong>in</strong> <strong>in</strong> section 3.5.3.4.1 Broken ErgodicityIt should be clear from the preced<strong>in</strong>g sections that discrepancies between measuredand calculated expectation values could be a sign of previously ignored or unknownconservation laws. Each conserved quantity will constra<strong>in</strong> the accessible portion ofthe conguration space of the system, and the true ensemble may dier from themicrocanonical ensemble. Furthermore, the change <strong>in</strong> the ensemble may (or maynot) be reected <strong>in</strong> calculated expectation values. If this is the case, one may say72


that ergodicity is broken because the time average is not the same as a standardensemble average. However, the nature of the deviation provides a h<strong>in</strong>t for nd<strong>in</strong>gnew <strong>in</strong>tegrals of the motion [45]. Therefore, when faced with such a discrepancy, oneshould consider the possibility of hidden conservation laws.The data <strong>in</strong> table 3.1 show that, <strong>in</strong> equilibrium, there are fewer particles <strong>in</strong> thewell than a simple calculation would suggest, and we would like to see if this can beexpla<strong>in</strong>ed by constra<strong>in</strong>ts that were previously unaccounted for. The analysis given <strong>in</strong>section 3.2 made m<strong>in</strong>imal assumptions about the dynamics, but additional conservationlaws will, <strong>in</strong> general, depend on the details. Hopefully, we can nd some reasonfor the discrepancy by look<strong>in</strong>g back over the description of the rule <strong>in</strong> section 3.3.One possibility that was mentioned <strong>in</strong> connection with the HPP lattice gas is thatthere is a conserved momentum or current along every s<strong>in</strong>gle diagonal l<strong>in</strong>e <strong>in</strong> thespace. In the present model, the particles bounce straight back if they cannot crossthe boundary of the potential, so the conserved currents only persist if the diagonalsdo not <strong>in</strong>tersect the potential. However, with periodic boundary conditions and theparticular potential well used here, there happen to be a total of L = 74 diagonal l<strong>in</strong>es(37 slop<strong>in</strong>g either way), each of length N = 256, that do not cross the potential andare entirely outside the well (see gure 3-9(a)). Thus, region AB naturally divides<strong>in</strong>to A and B, where all the l<strong>in</strong>es <strong>in</strong> region A couple to the potential while those <strong>in</strong>region B do not. In addition, region A crosses region B perpendicularly, so they arecoupled to each other by collisions <strong>in</strong> this overlap region.The current on each diagonal l<strong>in</strong>e <strong>in</strong> region B consists of a constant dierence <strong>in</strong>the number of particles ow<strong>in</strong>g <strong>in</strong> two directions: j = n + , n,. The total number ofparticles on the diagonal, n = n + + n,, is not constant, but it clearly has a m<strong>in</strong>imumof jjj (and a maximum of N ,jjj). The m<strong>in</strong>imum currents on all the l<strong>in</strong>es can bedemonstrated by repeatedly delet<strong>in</strong>g all the particles (and all the demons) that fall<strong>in</strong>to the well, s<strong>in</strong>ce any excess will scatter <strong>in</strong>to region A. 6 The residual congurationshown <strong>in</strong> gure 3-9(b) was obta<strong>in</strong>ed <strong>in</strong> this manner. This conguration has a total6 There is a small chance that they will scatter where region B <strong>in</strong>tersects itself, but a dierentsequence of erasures can be tried until this does not occur.73


01ABDC(a)(b)Figure 3-9: (a) The outer region is divided <strong>in</strong>to two parts (A and B) <strong>in</strong> order to isolatethe eects of additional conserved quantities. (b) The current rema<strong>in</strong><strong>in</strong>g <strong>in</strong> region Bafter any extra particles on each l<strong>in</strong>e have scattered out due to head-on collisions.of 394 particles which can never fall <strong>in</strong>to the well, so the mean magnitude of thecurrent on each l<strong>in</strong>e is hjjji = 5:32. The actual discrepancy <strong>in</strong> the particle counts aremuch less than 394 because the currents are screened by the presence of all the otherparticles, but the demonstration shows that the eect of these additional conservationlaws will be to reduce the number of particles n C <strong>in</strong> the well <strong>in</strong> equilibrium, providedthat the density of the <strong>in</strong>itial conguration is low. The numbers given above can beexpla<strong>in</strong>ed by consider<strong>in</strong>g the disorder conta<strong>in</strong>ed <strong>in</strong> the <strong>in</strong>itial conguration (gure 3-1(b)). Detailed calculations of all the results stated <strong>in</strong> this section can be found <strong>in</strong>appendix B.In order to determ<strong>in</strong>e the eect of these currents on the entropy, one must recountthe number of available states and take the logarithm. One attempt at the count<strong>in</strong>gassumes that every l<strong>in</strong>e has the same average number of particles n and then factorseach l<strong>in</strong>e <strong>in</strong>to two subsystems conta<strong>in</strong> oppos<strong>in</strong>g currents. The total entropy of all Ll<strong>in</strong>es <strong>in</strong> region B is thenS B = L lnN=2n+j2!N=2n,j2!; (3.14)74


and this can be expanded to second order <strong>in</strong> j by mak<strong>in</strong>g the usual approximationln N ! = N ln N,N. When j = 0, this returns the same result as the basic analysis ofsection 3.2, but we are <strong>in</strong>terested <strong>in</strong> the net change. S<strong>in</strong>ce the entropy isaphysicallymeasurable quantity, the separate values of j 2 for each l<strong>in</strong>e can be replaced with theexpected value hj 2 i = N 0 0, where 0=1=4 is the <strong>in</strong>itial density of particles <strong>in</strong>region B. F<strong>in</strong>ally, the net change <strong>in</strong> the entropy as a function of the nal density <strong>in</strong>region B is(S B ) nonergodic = , L 0 02 B B: (3.15)Note that this correction is not extensive s<strong>in</strong>ce it is proportional to L rather than toN B = NL.The logical eect of (3.15) is to reduce the entropy as the conserved currents<strong>in</strong>crease. And s<strong>in</strong>ce B B reaches a maximum at B =1=2, it tends to favor <strong>in</strong>termediatedensities <strong>in</strong> the maximum entropy state. This is a direct manifestation ofthe diculty of pump<strong>in</strong>g particles out of region B. The eect of add<strong>in</strong>g this term tothe entropy is tabulated <strong>in</strong> appendix B, but the correction overshoots the experimentalvalue and actually makes the theoretical answer even worse. Therefore, we mustreexam<strong>in</strong>e the analysis.3.4.2 F<strong>in</strong>ite Size EectsThe comb<strong>in</strong>ations above give the exact number of ways of distribut<strong>in</strong>g n x particles <strong>in</strong>N x cells, but an approximation must be made when tak<strong>in</strong>g the logarithm. The size ofthe approximation can be gauged by look<strong>in</strong>g at the follow<strong>in</strong>g asymptotic expansion [1]:ln N ! Nln N,N+ 1 2 ln N + 1 21ln 2 +12N , 1 + : (3.16)3360NFor any given number of terms, this expansion is better for large N , but for smallN , more terms are signicant and should be <strong>in</strong>cluded. In the present calculation,the logarithmic term, 1 ln N , is <strong>in</strong>cluded for the factorial of any number smaller than2N = 256. These small numbers show up because of the way region B must be dividedup <strong>in</strong>to L regions of size N <strong>in</strong> order to compute the eect of the <strong>in</strong>dividual currents.75


Despite be<strong>in</strong>g one level farther down <strong>in</strong> the expansion, the logarithmic terms givecontributions comparable <strong>in</strong> size to the conservation term (3.15). When terms of thisorder are <strong>in</strong>cluded, the approximation of equal numbers of particles on every l<strong>in</strong>emust also be modied as shown <strong>in</strong> appendix B. Thus, the change <strong>in</strong> the entropy dueto logarithmic terms as a function of the nal density <strong>in</strong> region B is(S B ) f <strong>in</strong>ite = , L 2 ln B B ; (3.17)where constant terms have been omitted. As before, this correction is not extensives<strong>in</strong>ce it is proportional to L rather than to N B = NL.The physical mean<strong>in</strong>g of (3.17) is not as clear as the mean<strong>in</strong>g of (3.15), but it has acompensatory eect. The former is lower when B B is higher, and this tends to pushthe maximum entropy state away from B =1=2. Together, the above correctionsbr<strong>in</strong>g the experimental and theoretical values <strong>in</strong>to excellent agreement. The eect ofadd<strong>in</strong>g (3.17) alone to the entropy is also tabulated <strong>in</strong> the appendix, so the size of itscontribution can be seen separately.3.4.3 Revised Statistical AnalysisAdd<strong>in</strong>g the corrections (3.15) and (3.17) to the bulk entropies for each region givesthe revised expression for the total entropy,S = ln = NA (, A ln A , A ln A )+N B (, B ln B , B ln B )+ N C (, C ln C , C ln C )+N D (, D ln D , D ln D ), L 0 02 B B, L 2 ln B B ; (3.18)while the revised constra<strong>in</strong>ts on the particle number and energy are given byn T = n A + n B + n C and E T = n A + n B + n D : (3.19)76


The solution for the maximum entropy state under these constra<strong>in</strong>ts exactly parallelsthe derivation given before, and the result<strong>in</strong>g densities are A = B = C = D =1;(1,)1+e(3.20)n 1 o;1+e (1,) 1 (1,2exp B )2N B 1 , 0 0B B B(3.21)11+e(,); (3.22)11+e: (3.23)The densities <strong>in</strong> regions A, C, and D obey Fermi statistics as before s<strong>in</strong>ce the thermodynamicslimit applies to them. However, the density <strong>in</strong> region B reects the fact thatit is broken up <strong>in</strong>to L = 74 nite-sized regions, each of which conta<strong>in</strong>s an additionalconserved current. The analysis presented <strong>in</strong> appendix B manages to describe all ofthese subsystems with s<strong>in</strong>gle average.S<strong>in</strong>ce region AB has been split <strong>in</strong> two, we nowhave six equations <strong>in</strong> six unknowns.Equations (3.20){(3.23) can be comb<strong>in</strong>ed to elim<strong>in</strong>ate and and express the maximumentropy state directly <strong>in</strong> terms of the numbers of particles <strong>in</strong> the four regions:n A (N C , n C )(N D , n D )=n C n D (N A ,n A ) (3.24)(1n A (N B , n B )=n B (N A ,n A ) exp2N!)(1 , 2 B )1 , 0 0: (3.25) B B B BThese equations are essentially statements of detailed balance: the rst is <strong>in</strong> actualitythe same as equation (3.12) and ensures equilibrium of the reaction A *) C +D, whilethe second equation (squared) ensures equilibrium of the reaction 2A *) 2B. Brokenergodicity and nite size eects have the net eect of skew<strong>in</strong>g the later reaction tothe right hand side s<strong>in</strong>ce B B < 0 0. Note that the extra factor is less importantwhen the nal density <strong>in</strong> region B happens to be close to the <strong>in</strong>itial density. Theseequations <strong>in</strong> conjunction with (3.19) comprise four equations <strong>in</strong> the four unknownequilibrium particle numbers. Solv<strong>in</strong>g gives the revised results shown <strong>in</strong> table 3.2,where the numbers for regions A and B have been added together for comparison77


x T AB C DN x 65536 52896 12640 65536n x (<strong>in</strong>itial) 16191 13063 3128 0n x (revised theory) 16191 7798.42 8392.58 5264.58n x (experiment) 16191 7798.44 8392.56 5264.56Table 3.2: A revised version of table 3.1. The theoretical values have been updatedto take <strong>in</strong>to account additional conserved quantities and a logarithmic correction tothe entropy.with table 3.1.The agreement <strong>in</strong> table 3.2 is very good, but a certa<strong>in</strong> amount of luck must beacknowledged because of the many possible sources of disagreement. For one th<strong>in</strong>g,approximations were <strong>in</strong>volved <strong>in</strong> the way the states were counted and <strong>in</strong> the way thedisorder <strong>in</strong> the <strong>in</strong>itial conguration was averaged out. The expansion of ln N !<strong>in</strong>volvedan asymptotic series, and it is not clear how many terms to keep. Additional termscould account for more subtle nite size eects, but still others could make the calculationworse. There is also a conceptual mismatch <strong>in</strong> that theoretically, we calculatethe mode of the ensemble, whereas experimentally, we measure ensemble averages.This would be a problem if the distributions of the observables were skewed. F<strong>in</strong>ally,there is the possibility of further conservation laws (known or unknown). For example,the HPP gas has another conservation law <strong>in</strong> the form of the mov<strong>in</strong>g <strong>in</strong>variantshown <strong>in</strong> gure 2-13. While the \soliton" waves would not survive upon hitt<strong>in</strong>g thepotential well, some version of the <strong>in</strong>variant could very well persist. Another set of<strong>in</strong>variants that the gas particles <strong>in</strong> the potential-well rule denitely have is the parityof the number of particles (0 or 1) on each of the 2N diagonals. These are not all<strong>in</strong>dependent of the conservation laws previously mentioned, but they would probablyhave aweak eect on some expectation values. Still another type of conservation lawhas to do with discrete symmetries: a symmetrical rule that acts on a symmetrical<strong>in</strong>itial conguration cannot generate asymmetrical congurations.78


3.5 Results of SimulationThis section describes how the numerical experiments on the potential-well systemwere performed on CAM-6. The experiments consist of ve runs, each of which wasstarted from the <strong>in</strong>itial condition described <strong>in</strong> section 3.2. A run consists of lett<strong>in</strong>gthe system equilibrate for some long period of time and then tak<strong>in</strong>g a runn<strong>in</strong>g sum ofmeasurements for another long period of time. The system was also allowed to relax ashort period of time (20 steps) between measurement samples. 7 For each sample, thenumbers of particles <strong>in</strong> regions AB, C, and D were counted separately and added totheir respective runn<strong>in</strong>g totals. Only one of the three counts is <strong>in</strong>dependent becauseof the constra<strong>in</strong>ts (3.1), but hav<strong>in</strong>g the sum of all three provides sensitive cross checksfor possible errors. If any errors occur, the simulation can just be run aga<strong>in</strong>.The results of the simulations are shown <strong>in</strong> table 3.3. The numbers <strong>in</strong> the centercolumns are are just the runn<strong>in</strong>g totals <strong>in</strong> the respective regions divided by the numberof samples. The column labeled t gives the time period over which each simulationran. The rst number gives the equilibration time, and the second numberisthenish<strong>in</strong>g time. The number of samples taken is the dierence of these times dividedby 20. Thus, runs #1 and #2 conta<strong>in</strong> 10,000 samples each while runs #3{5 eachconta<strong>in</strong> 300,000 samples each. Note that none of the sampl<strong>in</strong>g <strong>in</strong>tervals overlap, and<strong>in</strong> practice, the earlier runs serve as equilibration time for the later ones. CAM-6runs at 60 steps per second, but s<strong>in</strong>ce there is some overhead associated with tak<strong>in</strong>gthe data, the sequence of all ve runs required about a week to complete.The measurements consist of exact <strong>in</strong>teger counts, so the only possible source oferror on the experimental side would be a lack of sucient statistics. One way thestatistics could be mislead<strong>in</strong>g is if the system were not ergodic, though this couldjust as well be considered a theoretical problem. The particular <strong>in</strong>itial condition mayhappen to produce a short orbit by \accident," but this could also be attributed toan ad hoc conservation law. The statistics could also suer if the equilibration time7 As described <strong>in</strong> section 3.3, it takes two steps to update both the particles and the heat bath.This makes for 10 updates of the system between samples, but t will cont<strong>in</strong>ue to be measured <strong>in</strong>steps.79


x T AB C D tN x 65536 52896 12640 65536 {n x (<strong>in</strong>itial) 16191 13063 3128 0 0n x (expt. run #1) 16191 7801.26 8389.74 5261.74 10{210kn x (expt. run #2) 16191 7799.31 8391.69 5263.69 210{410kn x (expt. run #3) 16191 7798.43 8392.57 5264.57 2{8Mn x (expt. run #4) 16191 7798.51 8392.49 5264.49 8{14Mn x (expt. run #5) 16191 7798.38 8392.62 5264.62 14{20Mn x (expt. average) 16191 7798.44 8392.56 5264.56 2{20Mn x (gure 3-9(b)) 394 0+394 0 0 {Table 3.3: Experimental values for the time averaged number of particles <strong>in</strong> eachregion of the system. The data is taken from simulations us<strong>in</strong>g the same <strong>in</strong>itialconditions but from nonoverlapp<strong>in</strong>g time <strong>in</strong>tervals. The nal average is over the lastthree runs.is too short. For example, the averages for runs #1 and #2 seem to <strong>in</strong>dicate that thesystem is approach<strong>in</strong>g the nal equilibrium averages gradually, but s<strong>in</strong>ce there are only10,000 samples <strong>in</strong> each of these runs, this could also be due to random uctuations.Accumulation of data for run #1 starts from gure 3-2(b) which certa<strong>in</strong>ly looks likean equilibrium conguration, but perhaps it still has some macroscopic memory ofthe <strong>in</strong>itial state.F<strong>in</strong>ally, a third way the statistics could be poor is if the run istoo short to sample the ensemble uniformly. Because of the small amount of timebetween samples, consecutive counts are by no means <strong>in</strong>dependent. If they were, thestandard error <strong>in</strong> the measured values would be the standard deviation divided by thesquare root of the number of samples. The standard deviation was not measured, butthe <strong>in</strong>dividual counts compris<strong>in</strong>g the totals were observed to uctuate with<strong>in</strong> about100{200 particles of the averages, and this provides a reasonable estimate <strong>in</strong>stead.S<strong>in</strong>ce we have 900,000 samples <strong>in</strong> the nal average, a crude estimate of the standarderror is 0:16 particles. The averages <strong>in</strong> runs #3{5 are well with<strong>in</strong> the result<strong>in</strong>gerror bars. One should really measure the relaxation time (as is done <strong>in</strong> the polymersimulations <strong>in</strong> chapter 5) to get an idea of how good the statistics are.80


3.6 Applications and ExtensionsThe model presented here is <strong>in</strong>terest<strong>in</strong>g both <strong>in</strong> terms of its applicability to furthermodel<strong>in</strong>g with CA and for the basic scientic issues it raises. The technique<strong>in</strong>troduced for model<strong>in</strong>g potentials and statistical forces can be used with little orno further development. Microcanonical heat baths will certa<strong>in</strong>ly nd application<strong>in</strong> thermodynamic model<strong>in</strong>g and as a method for controll<strong>in</strong>g dissipation. This sectionpresents just a few ideas and speculations on how these techniques might beused or extended. Hopefully the discussion will spark further ideas for model<strong>in</strong>g andmathematical analysis.3.6.1 Microelectronic DevicesSeveral <strong>in</strong>terest<strong>in</strong>g physical systems consist of a fermi gas <strong>in</strong> a potential well <strong>in</strong>clud<strong>in</strong>g<strong>in</strong>dividual atoms and degenerate stars. Another very common and important situationthat <strong>in</strong>volves the diusion of particles <strong>in</strong> complicated potentials is that of electrons<strong>in</strong> <strong>in</strong>tegrated circuits. This topic is pert<strong>in</strong>ent to <strong>in</strong>formation mechanics becauseof our <strong>in</strong>terest <strong>in</strong> the physics of computation, particularly <strong>in</strong> the context of cellularcomput<strong>in</strong>g structures. While detailed physical delity may be lack<strong>in</strong>g <strong>in</strong> the presentmodel, it could probably be improved by <strong>in</strong>troduc<strong>in</strong>g some variation of stochasticmechanics [64]. Nevertheless, it is worthwhile to pursue these simple models because<strong>in</strong>terest<strong>in</strong>g nd<strong>in</strong>gs often transcend specic details.Figure 3-10(a) shows a CAM-6 conguration of a potential which is<strong>in</strong>tended as acrude representation of a periodic array that might be found on or <strong>in</strong> a semiconductor.In order of decreas<strong>in</strong>g size, some examples of such periodic electronic structuresare dynamic memory cells, charge-coupled devices, quantum dots, and atoms <strong>in</strong> acrystal lattice. The actual potential used is a discrete approximation to cos x cos y (<strong>in</strong>appropriate units), and the alternat<strong>in</strong>g peaks and valleys which result are the 3232squares visible <strong>in</strong> the gure.The system was <strong>in</strong>itialized with a 6464 square of particles <strong>in</strong> the center and noenergy <strong>in</strong> the heat bath. Hence, the number of particles is just sucient tocover81


(a)(b)Figure 3-10: (a) A multi-level potential represent<strong>in</strong>g a periodic array onan<strong>in</strong>tegratedcircuit. (b) Particles <strong>in</strong> the center work<strong>in</strong>g their way outward via thermal hopp<strong>in</strong>gfrom well to well.exactly two peaks and two valleys, so there will be a net release of energy <strong>in</strong>to theheat bath as the particles seek their level. After 10,000 steps, gure 3-10(b) showshow the particles can diuse from well to well.Depend<strong>in</strong>g on the situation, thelattice gas could represent either a collection of electrons or probability densities fors<strong>in</strong>gle electrons. One possible research problem based on this example would be todeterm<strong>in</strong>e the rates of thermodynamic transitions between the wells as a function oftemperature.One conceptually straightforward modication to the rule would be to have timedependent potentials. By switch<strong>in</strong>g portions of the potential on and o <strong>in</strong> the appropriateways, it would be possible to shue the clouds around <strong>in</strong> an arbitrary way.An important improvement <strong>in</strong> the model would be to have one cloud modulate thebehavior of another, but nd<strong>in</strong>g a good way to do this is an open area of research.Another <strong>in</strong>terest<strong>in</strong>g challenge would be to model a bose gas <strong>in</strong> a potential well.3.6.2 Self-organizationThe real strength of CA as a model<strong>in</strong>g medium is <strong>in</strong> the simulation of the dynamicalphenomena of complex systems with many degrees of freedom. An important aspect82


of such systems is that they are often marked by emergent <strong>in</strong>homogeneity orselforganizationwhich occurs <strong>in</strong> non-equilibrium processes. Rather than approach<strong>in</strong>g auniform state as might be expected from an <strong>in</strong>crease <strong>in</strong> entropy, many macroscopicsystems spontaneously form a wide varietyof<strong>in</strong>terest<strong>in</strong>g structures and patterns [70].Examples of such dynamical behavior can be found <strong>in</strong> discipl<strong>in</strong>es rang<strong>in</strong>g from geologyand meteorology to chemistry and biology [97]. The concepts discussed <strong>in</strong> this chapterare relevant to the study of self-organization <strong>in</strong> a number of ways.Self-organization <strong>in</strong> a dynamical system is characterized by hav<strong>in</strong>g a nal statewhich is more ordered than the <strong>in</strong>itial state|i.e., it has a lower coarse-gra<strong>in</strong>edentropy. 8Given what was said above about the connection between entropy andreversibility, self-organization clearly requires irreversibility or an open system whichallows entropy (or <strong>in</strong>formation) to be removed. The actual process of self-organization<strong>in</strong>volves \reactions" that occur more often <strong>in</strong> one direction than <strong>in</strong> the reverse direction,and this bias can be said to arise from forces. In the potential-well rule, theforces are entirely statistical which means that they are, <strong>in</strong> fact, caused by an <strong>in</strong>crease<strong>in</strong> entropy. However, the <strong>in</strong>crease <strong>in</strong> entropy takes place <strong>in</strong> the heat bath <strong>in</strong> such away that the entropy of the system itself actually decreases. Conservation laws alsoplay an important role <strong>in</strong> the dynamics of self-organization because they determ<strong>in</strong>ehow the conguration of a system can evolve, while the entropy determ<strong>in</strong>es, <strong>in</strong> part,how itdoes evolve. Furthermore, the organized system usually consists of identiable\particles" which are conserved.Dissipation refers to the loss of someth<strong>in</strong>g by spread<strong>in</strong>g it out or mov<strong>in</strong>g it elsewhere.In the present context, it usually refers to the loss or removal of <strong>in</strong>formationfrom the system of <strong>in</strong>terest. However, the term could also be applied to energy, momentum,particles, or waste products of any k<strong>in</strong>d. The potential-well model suggestsa general method of <strong>in</strong>corporat<strong>in</strong>g dissipation of <strong>in</strong>formation <strong>in</strong> a reversible scheme.Whenever an <strong>in</strong>teraction would normally result <strong>in</strong> a many-to-one mapp<strong>in</strong>g, it is onlyallowed to proceed when the extra <strong>in</strong>formation that would have been lost can be writ-8 Others may also talk about various measures of complexity such as algorithmic complexity andlogical depth, but for purposes of this discussion, we are more <strong>in</strong>terested <strong>in</strong> statistical mechanicsthan, say, natural selection.83


ten to a heat bath. In this case, the heat bath is act<strong>in</strong>g very much like a heat s<strong>in</strong>k.Just as heat s<strong>in</strong>ks are required for the cont<strong>in</strong>ual operation of anyth<strong>in</strong>g short of a perpetualmotion mach<strong>in</strong>e, the reversible dissipation of <strong>in</strong>formation requires someth<strong>in</strong>glike a heat bath. More generally, a heat bath can be used to absorb whatever is to bedissipated, and if one is careful, it can be accomplished reversibly. F<strong>in</strong>ally, reversiblycoupl<strong>in</strong>g a system to a heat bath <strong>in</strong> a low entropy state is a discipl<strong>in</strong>ed way of add<strong>in</strong>gdissipation and statistical forces to any rule. The energy or <strong>in</strong>formation which falls<strong>in</strong>to the bath can then be deleted gradually, and this gives us better control over howthe dissipation occurs. It is less harsh than us<strong>in</strong>g an irreversible rule directly becausethe degrees of freedom cannot permanently freeze.Let us th<strong>in</strong>k for a moment about how the process of self-organization might work<strong>in</strong> CA <strong>in</strong> terms of abstract particles. Some features that seem to characterize selforganiz<strong>in</strong>gsystems are (1) energy, (2) feedback, (3) dissipation, and (4) nonl<strong>in</strong>earity;their respective roles are as follows: (1) Particles are set <strong>in</strong>to motion by by virtueof hav<strong>in</strong>g an energy. (2) The placement of the particles is dictated by forces whichare caused by the current state of the system. (3) When a particle comes to rest,the energy associated with the motion as well as the <strong>in</strong>formation about the particle'shistory are dissipated. (4) The above processes eventually saturate when the systemreaches its organized state. All of these features except feedback can be identied <strong>in</strong>the potential-well model|the organization is imposed by an external potential ratherthan by the system itself.The <strong>in</strong>formation about the state of a lattice gas is entirely encoded <strong>in</strong> the positionof the particles s<strong>in</strong>ce they have no other structure. Dur<strong>in</strong>g self-organization, thepositions of many particles become correlated, and the positional <strong>in</strong>formation is lost.Similar comments apply to the self-organization of systems consist<strong>in</strong>g of macroscopicparticles (for example, th<strong>in</strong>k of patterns <strong>in</strong> sand). Also, the role of energy <strong>in</strong> mov<strong>in</strong>gparticles around may be played by \noise" of another sort. The real po<strong>in</strong>t is that thedissipation of entropy (or <strong>in</strong>formation) and \energy" that was discussed above canequally apply to large scales, not just at scales of k or kT. In fact, a CA simulationmakes no reference to the actual size of the system it is simulat<strong>in</strong>g. These nal84


comments just serve to show that self-organization has more to do with the behaviorof <strong>in</strong>formation rather than with the behavior of matter.3.6.3 Heat Baths and Random NumbersOne drawback with the heat bath described above (and its generalizations from appendixA) is that it has a relatively small heat capacity. This is a problem because itstemperature will not rema<strong>in</strong> steady as it <strong>in</strong>teracts with the ma<strong>in</strong> system. However,the potential-well model itself presents a technique for <strong>in</strong>creas<strong>in</strong>g the capacity as canbe understood by look<strong>in</strong>g back at gure 3-8. Instead of a particle hold<strong>in</strong>g a s<strong>in</strong>gle unitof energy, it absorbs a unit of energy every time it jumps up a contour. By hav<strong>in</strong>g asteep V-shaped potential, it would be possible to have 128 contours <strong>in</strong> the 256256space of CAM-6. The gas <strong>in</strong> the potential would therefore buer the temperature ofthe heat bath by absorb<strong>in</strong>g and releas<strong>in</strong>g energy as needed. The heat bath would notequilibrate as quickly however, and <strong>in</strong> general, there is a tradeo between the heatcapacity of the bath and its statistical quality.Microcanonical heat baths have been oered as a technique for add<strong>in</strong>g dissipationto a determ<strong>in</strong>istic CA model while ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g strict microscopic reversibility. Suchdissipation is a nonequilibrium process which can be used to generate statistical forces.However, once the system is near equilibrium, the same heat bath plays the seem<strong>in</strong>glycontradictory role as a random number generator. On one hand, it is known that theheat bath is perfectly correlated with the primary system, and on the other hand, itis assumed that it is uncorrelated. How is this to be understood?Intuitively, the dynamics are usually so complex that the correlations are spreadout over the whole system, and they are unlikely to show up <strong>in</strong> a local, measurable way.The complexity is reected, <strong>in</strong> part, by the extremely long period (T 0 2 O(N 2 ))ofthe system (after which all the correlations come back together <strong>in</strong> perfect synchrony).The period could be substantially shorter if there are conservation laws that imposea hidden order on the randomness, so any such degeneracy would say someth<strong>in</strong>g<strong>in</strong>terest<strong>in</strong>g about the CA's dynamics. As <strong>in</strong> any stochastic computer simulation, onemust be cognizant of the possibility that the quality of random numbers may be85


lack<strong>in</strong>g and be prepared to deal with the problem. The mathematical problems andphilosophical questions associated with the use of determ<strong>in</strong>istic randomness are byno means settled.3.6.4 DiscussionThere are many topics related to the potential-well model which haveyet to beexplored. This section gives a list of suggestions, observations, and problems fromwhich the research could be cont<strong>in</strong>ued.One project us<strong>in</strong>g the exact same system would be to keep statistics on the numberof particles <strong>in</strong> region A and B separately to check howwell the predicted numbersagree with the simulation. Another project would be to test the eect of remov<strong>in</strong>g theadditional conserved currents. This could be done by <strong>in</strong>troduc<strong>in</strong>g <strong>in</strong>teractions whichdo not respect the conservation law responsible for constra<strong>in</strong><strong>in</strong>g the system. Forexample, when the gas particles are are not <strong>in</strong>teract<strong>in</strong>g at the edge of the potential,they could be allowed to collide with the demons as well as each other.The condensation of the gas <strong>in</strong> the well was caused by statistical forces aris<strong>in</strong>gthrough a coupl<strong>in</strong>g of the system to a heat bath <strong>in</strong> a low entropy state. However,there are other ways to generate reversible statistical forces. For example, <strong>in</strong>steadof hav<strong>in</strong>g a heat bath, one could allow the particles to have one of several dierent\k<strong>in</strong>etic" energy levels, provided that there are more states available to higher energyparticles. The key <strong>in</strong>teraction would then be to <strong>in</strong>crement the energy of a particlewhen it falls <strong>in</strong>to the well and decrement the energy when it leaves. Such a gas thatstarts with most of the particles <strong>in</strong> the low energy states would aga<strong>in</strong> preferentially fall<strong>in</strong>to the well because of the result<strong>in</strong>g <strong>in</strong>crease <strong>in</strong> entropy. The associated <strong>in</strong>crease <strong>in</strong>thermal energy at the expense of potential energy would be similar to what happensto a real gas when it is placed <strong>in</strong>to an external potential. The gas would fall <strong>in</strong>to thewell because it would result <strong>in</strong> a decrease <strong>in</strong> the free energy, even though the <strong>in</strong>ternalenergy (k<strong>in</strong>etic plus potential) would rema<strong>in</strong> constant. One nal th<strong>in</strong>g to ponderalong these l<strong>in</strong>es is the use of the term \energy." In fact, the entire system is madeout of noth<strong>in</strong>g but <strong>in</strong>formation <strong>in</strong> the memory of a computer. To what degree are86


other identications between physics and <strong>in</strong>formation possible?One of the purposes of the potential-well model was to develop a technique for<strong>in</strong>corporat<strong>in</strong>g forces <strong>in</strong> CA simulations. While the model is very successful <strong>in</strong> its owndoma<strong>in</strong>, the statistical forces which result seem to be quite unlike those encountered<strong>in</strong> elementary mechanical systems. In particular, statistical forces act dissipativelyon many <strong>in</strong>dependent degrees of freedom <strong>in</strong> nonequilibrium situations. Mechanicalforces, on the other hand, act on <strong>in</strong>dividual bodies whose detailed <strong>in</strong>ternal structure, ifany, seems to not matter; furthermore, the forces are often macroscopically reversible.When th<strong>in</strong>k<strong>in</strong>g about how to use CA for general physical model<strong>in</strong>g, the problem offorces act<strong>in</strong>g on macroscopic solid bodies comes up <strong>in</strong> many contexts (see chapter 6).The potential-well model illustrates many aspects of statistical mechanics andthermodynamics, but one important <strong>in</strong>gredient that is miss<strong>in</strong>g is a treatmentofwork.Work be<strong>in</strong>g done by or on a thermodynamic system requires the existence of a variablemacroscopic external parameter. The prototypical example is volume (which canbe varied with a piston). Such a parameter would have a conjugate force and acorrespond<strong>in</strong>g equation of state. In pr<strong>in</strong>ciple, it would be possible to construct a heateng<strong>in</strong>e to convert energy from a disordered to an ordered form, and the maximumeciency would be limited by the second law of thermodynamics. All of this wouldbe <strong>in</strong>terest<strong>in</strong>g to check, but it seems to be predicated on rst solv<strong>in</strong>g the problem ofcreat<strong>in</strong>g macroscopic solid bodies.F<strong>in</strong>ally, note that the potential itself does not possess a dynamics. If the potentialdoes not move, the force it generates cannot be thought ofasanexchange of momentums<strong>in</strong>ce momentum is not conserved. An external potential such as this whichacts but is not acted upon is somewhat contrary to the physical notion of actionand reaction. A more fundamental rule would have a dynamics for all the degrees offreedom <strong>in</strong> the system. At the very least, one would like tohaveawayofvary<strong>in</strong>gthe potential as a way of do<strong>in</strong>g work on the system. One idea for hav<strong>in</strong>g a dynamicalpotential would be to use lattice polymers to represent the contours of the potential(see chapter 5). Another <strong>in</strong>terest<strong>in</strong>g possibility would be to use a time dependentcontour map as a potential, especially if the potential could be made to depend on87


the gas. CA rules that generate such contour maps have been used to model the timeevolution of asynchronous computation [58].3.7 ConclusionsMicroscopic reversibility isacharacteristic feature of fundamental physical laws andis an important <strong>in</strong>gredient of CA rules which are <strong>in</strong>tended to model fundamentalphysics. In addition to provid<strong>in</strong>g dynamical realism, reversibility gives us the secondlaw of thermodynamics; <strong>in</strong> particular, the disorder <strong>in</strong> the system will almost always<strong>in</strong>crease or stay the same. In other words, the entropy can only <strong>in</strong>crease, and yetat the same time, the dynamics can be run backwards to the exact <strong>in</strong>itial state. Anexam<strong>in</strong>ation of the model presented here should remove most of the mystery typicallyassociated with this fact.The related concepts of force and energy are essential elements of physics becausethey are <strong>in</strong>timately tied up with determ<strong>in</strong><strong>in</strong>g dynamics. Unfortunately, the usualmanifestation of forces <strong>in</strong> terms of position and acceleration of particles does notoccur <strong>in</strong> CA because space and time are discrete. However, <strong>in</strong> many circumstances,forces can be derived from potentials, and it is possible to represent certa<strong>in</strong> potentialenergy functions as part of the state of the CA. Such potentials can then be usedto generate forces statistically, as <strong>in</strong> the example of a lattice gas <strong>in</strong> the vic<strong>in</strong>ity ofapotential well.A statistical force is any systematic bias <strong>in</strong> the evolution of a system as it approachesequilibrium. Normally one th<strong>in</strong>ks of such nonequilibrium processes as dissipativeand irreversible. However, one can arrange for prespecied biases to occur <strong>in</strong>a reversible CA|while ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g the desired conservation laws|by appropriatelycoupl<strong>in</strong>g the system to another system hav<strong>in</strong>g a low entropy. The entropy of one subsystemmay decrease as long as the entropy of the other subsystem <strong>in</strong>creases by anequal or greater amount. This is the key to obta<strong>in</strong><strong>in</strong>g self-organization <strong>in</strong> reversiblesystems. In general, the greater the <strong>in</strong>crease <strong>in</strong> entropy, the stronger the bias.The concept of entropy usually applies to an ensemble or probability distribution,88


ut this chapter shows how it can be successfully applied to <strong>in</strong>dividual states by coarsegra<strong>in</strong><strong>in</strong>g. The entropy of a state is therefore dened as the logarithm of the number ofmicroscopic states hav<strong>in</strong>g the same macroscopic description. Entropy <strong>in</strong>creases whenthere are no conservation laws prevent<strong>in</strong>g it from do<strong>in</strong>g so because there are vastlymore states with higher entropy. S<strong>in</strong>ce the entropy <strong>in</strong>creases while the total number ofstates is nite, the system eventually reaches the maximum entropy state dened by aset of constra<strong>in</strong>ts, though there will be uctuations around this maximum. The nalresult of statistical forces act<strong>in</strong>g <strong>in</strong> a reversible CA can be quantied by nd<strong>in</strong>g thisequilibrium state, and it can be used to calculate expectation values of measurablemacroscopic quantities. Any disagreement between theory and experiment can beused to nd conservation laws.<strong>Cellular</strong> automata mach<strong>in</strong>es amount to exible laboratories for mak<strong>in</strong>g precisenumerical measurements, and they enable close and fruitful <strong>in</strong>teraction between theoryand experiment. In the context of the present model, they are also useful fordemonstrat<strong>in</strong>g important ideas <strong>in</strong> statistical mechanics and provide an <strong>in</strong>structivecomplement to algebraic calculations. Review<strong>in</strong>g the implementation of a CAM-6rule <strong>in</strong> detail reveals a denite methodology for develop<strong>in</strong>g CA models and couldhelp <strong>in</strong> the future development of hardware and software.The model presented <strong>in</strong> this chapter opens up a number of l<strong>in</strong>es for further research.The most direct l<strong>in</strong>e would be to apply the model and its generalizations tosystems that consist of a gases <strong>in</strong> external potentials. Another avenue of researchwould entail study<strong>in</strong>g the purely numerical and mathematical aspects of these modelssuch as uctuations, nonequilibrium processes, mathematical calculation methods,and ergodic theory. Still another related area is that of self-organization and patternformation. F<strong>in</strong>ally, there is the orig<strong>in</strong>al, broad, underly<strong>in</strong>g question of how to modelforces among the constituents of a CA system.89


Chapter 4Lorentz Invariance <strong>in</strong> <strong>Cellular</strong><strong>Automata</strong>4.1 Introduction4.1.1 Relativity and Physical LawThe theory of special relativity is a cornerstone of modern physics which has broadimplications for other physical laws and radically alters the classical view of the veryfabric of physics: space and time. The consequences of relativity show up <strong>in</strong> the formof numerous <strong>in</strong>terest<strong>in</strong>g paradoxes and relativistic eects. Despite its far-rang<strong>in</strong>gsignicance, special relativity follows from two <strong>in</strong>nocuous postulates. The pr<strong>in</strong>cipalpostulate is the Pr<strong>in</strong>ciple of Relativity which states that the laws of physics must bethe same <strong>in</strong> any <strong>in</strong>ertial frame of reference. 1 Any proposed fundamental lawofphysicsmust obey this meta-law. The secondary postulate states that the speed of light is aconstant which is the same for all observers. This second postulate serves to selectout Lorentzian relativity <strong>in</strong>favor of Galilean relativity. The primary implications fortheoretical physics are conta<strong>in</strong>ed <strong>in</strong> the rst postulate.<strong>Cellular</strong> automata are appeal<strong>in</strong>g for purposes of physical model<strong>in</strong>g because they1 This statement applies to at spacetime and must be modied to <strong>in</strong>clude the law ofgravitywhich <strong>in</strong>volves curved spacetime.91


have many features <strong>in</strong> common with physics <strong>in</strong>clud<strong>in</strong>g determ<strong>in</strong>istic laws which areuniform <strong>in</strong> space and time, albeit discrete. Another feature is that the rules arelocal <strong>in</strong> the sense that there is a maximum speed at which <strong>in</strong>formation can propagatebetween cells. This <strong>in</strong>herent limit of CA is often referred to as the speed of light,and it imposes a causal structure much like that found <strong>in</strong> physics. In any event,such a speed limit is suggestive, and it has led to speculation on the role of relativity<strong>in</strong> CA [58, 84]. The existence of a maximum speed <strong>in</strong> CA is completely automaticand corresponds to the secondary postulate of relativity, but the more important andmore dicult task is to nd ways to implement the primary postulate.So is there some sense <strong>in</strong> which CAlaws are Lorentz <strong>in</strong>variant? Or does theexistence of a preferred frame of reference preclude relativity? Ideally, wewould liketo have a pr<strong>in</strong>ciple of relativity that applies to a broad class of CA rules or to learnwhat is necessary to make a CA model Lorentz <strong>in</strong>variant. Preferably, relativitywouldshow up as dynamical <strong>in</strong>variance with respect to an overall drift, but it could alsomanifest itself by mimick<strong>in</strong>g relativistic eects. Rather than claim<strong>in</strong>g the absoluteanswers to the questions above, the approach taken here is to develop some propertiesof a particular Lorentz <strong>in</strong>variant model of diusion. This is also signicant for CAmodel<strong>in</strong>g at large because diusion is such an important phenomenon <strong>in</strong> many areasof science and technology.4.1.2 OverviewThis chapter describes a Lorentz <strong>in</strong>variant process of diusion <strong>in</strong> one dimension andformulates it both <strong>in</strong> terms of conventional dierential equations and <strong>in</strong> terms of aCA model. The two formulations provide contrast<strong>in</strong>g methods of description of thesame phenomenon while allow<strong>in</strong>g a comparison of two methodologies of mathematicalphysics. Most importantly, the CA model shows how one can have a Lorentz <strong>in</strong>variantdynamical law <strong>in</strong> a discrete spacetime. F<strong>in</strong>ally, the model provides a start<strong>in</strong>g po<strong>in</strong>tfor further research <strong>in</strong>to elucidat<strong>in</strong>g analogs of cont<strong>in</strong>uous symmetries <strong>in</strong> CA.The rema<strong>in</strong><strong>in</strong>g sections cover the follow<strong>in</strong>g topics:Section 4.2 discusses the mean<strong>in</strong>g and implications of Lorentz <strong>in</strong>variance <strong>in</strong> the92


context of a one-dimensional model of relativistic diusion. The model can be described<strong>in</strong> terms of the determ<strong>in</strong>istic dynamics of a massless billiard ball or <strong>in</strong> termsof a gas of massless particles undergo<strong>in</strong>g <strong>in</strong>dependent random walks of a special k<strong>in</strong>d.The cont<strong>in</strong>uum limit can be described by a set of partial dierential equations whichcan be expressed <strong>in</strong> manifestly covariant form us<strong>in</strong>g spacetime vectors. These equationscan <strong>in</strong> turn be used to derive the telegrapher's equation which is a more commonequation for a scalar eld, but it conta<strong>in</strong>s the same solutions.Section 4.3 discusses the general solution to the cont<strong>in</strong>uum model <strong>in</strong> terms of animpulse response. Plots of the separate components of the eld are shown for a typicalcase. The diusion of <strong>in</strong>dividual massless particles can be well approximated on alattice, and therefore, the process can be implemented as a parallel CA model us<strong>in</strong>ga partition<strong>in</strong>g strategy. The impact of the lattice on Lorentz <strong>in</strong>variance, particle<strong>in</strong>dependence, reversibility, and l<strong>in</strong>earity are each considered <strong>in</strong> turn. The resultsof a CAM-6 simulation are presented for comparison with the exact solution of thecont<strong>in</strong>uum model.Section 4.4 br<strong>in</strong>gs up the issue of nd<strong>in</strong>g Lorentz <strong>in</strong>variant CA rules <strong>in</strong> higherdimensions. The fact that isotropy is an <strong>in</strong>herent part of Lorentz <strong>in</strong>variance <strong>in</strong> twoor more spatial dimensions turns out to be a major consideration for a lattice model.A CA rule may be considered Lorentz <strong>in</strong>variant <strong>in</strong> situations where it is possible nda direct mapp<strong>in</strong>g between <strong>in</strong>dividual events <strong>in</strong> dierent frames of reference or wherethe correct symmetry emerges out of large numbers of underly<strong>in</strong>g events. F<strong>in</strong>ally, weshow how analogs of relativistic eects must arise <strong>in</strong> any CA <strong>in</strong> which there is somepr<strong>in</strong>ciple of relativity <strong>in</strong> eect.Appendix D presents some of the more mathematical details of this chapter <strong>in</strong>clud<strong>in</strong>gan <strong>in</strong>troduction to dierential geometry, a discussion of Lorentz and conformal<strong>in</strong>variance, and a derivation of the exact solution.93


4.2 A Model of Relativistic DiusionThe ord<strong>in</strong>ary diusion equation, @ t = Dr 2 , is not Lorentz <strong>in</strong>variant. This iseasiest to see by not<strong>in</strong>g that it is rst order <strong>in</strong> time, but second order <strong>in</strong> space,whereas properly relativistic laws must have the same order <strong>in</strong> each because spaceand time are l<strong>in</strong>early mixed by Lorentz transformations. Furthermore, we know that,unlike the solutions of the diusion equation, the spread of a disturbance must belimited to the <strong>in</strong>terior of its future light cone <strong>in</strong> order to not violate the speed of lightconstra<strong>in</strong>t. However, it is possible to generalize the diusion equation <strong>in</strong> a way thatis consistent with relativity [49]. This section gives one way of deriv<strong>in</strong>g such diusionlaw from a simple underly<strong>in</strong>g process [81, 86, 88].Consider a one-dimensional system of massless billiard balls with one ball marked(see gure 4-1). We are <strong>in</strong>terested <strong>in</strong> follow<strong>in</strong>g the motion of this s<strong>in</strong>gle marked ball.S<strong>in</strong>ce the balls are massless, they will always move at the speed of light (taken tobe unity), and it is assumed that when two balls collide, they will always bounceback by exchang<strong>in</strong>g their momenta. Suppose that the balls go<strong>in</strong>g <strong>in</strong> each directionare distributed with Poisson statistics, possibly hav<strong>in</strong>g dierent parameters for eachdirection. In this case, the marked ball will travel a random distance between collisions,with the distances follow<strong>in</strong>g an exponential distribution. Hence, the motion canalso be thought ofasacont<strong>in</strong>uous random walk with momentum or as a cont<strong>in</strong>uousrandom walk with a memory of the direction of motion. We are then <strong>in</strong>terested <strong>in</strong>describ<strong>in</strong>g the diusion of the probability distribution which describes the positionand direction of the marked ball.The dynamics of the probability distribution can also be described <strong>in</strong> terms ofnumber densities of a one-dimensional gas of massless, po<strong>in</strong>t-like particles. The particlestravel at the speed of light and <strong>in</strong>dependently reverse direction with probabilitiesproportional to the rate of head-on encounters with the ow of an external eld. Theexternal eld is actually another gas <strong>in</strong> the background which also consists of masslessparticles and is \external" <strong>in</strong> the sense that it streams along unaected by any \collisions."A dius<strong>in</strong>g particle of the primary system has some small, xed probability94


1 x1 1x - 1 x +tFigure 4-1: A spacetime diagram show<strong>in</strong>g collisions <strong>in</strong> a one-dimensional gas of masslessbilliard balls. The motion of the marked ball can be described as Lorentz-<strong>in</strong>variantdiusion. The two pairs of axes show the relationship between standard spacetimecoord<strong>in</strong>ates and light-cone coord<strong>in</strong>ates.of revers<strong>in</strong>g direction upon encounter<strong>in</strong>g a background particle. If we look at the diffusionon a macroscopic scale, then the gas can eectively be considered a cont<strong>in</strong>uousuid [88]. This alternative description will be more closely suited to implementation<strong>in</strong> CA form.It is apparent from gure 4-1 that the particle dynamics considered above isaLorentz-<strong>in</strong>variant process. A Lorentz transformation (or boost) <strong>in</strong> 1+1 dimensionsis easy to describe <strong>in</strong> terms of the light-cone coord<strong>in</strong>ates, x = p2 1 (t x): it is justa l<strong>in</strong>ear transformation which stretches one light-cone axis by a factor of (1 + )and compresses the other by a factor of (1 , ), where =1= p 1, 2 , and =v=c is the normalized relative velocity of the two <strong>in</strong>ertial frames. The eect of thistransformation is to stretch or translate every segment of the world l<strong>in</strong>es <strong>in</strong>to a newposition which is parallel to its old position, while leav<strong>in</strong>g the connectivity of thel<strong>in</strong>es unchanged. In the case of the number density description, the world l<strong>in</strong>es ofthe background gas are transformed <strong>in</strong> a completely analogous manner. The set ofthe transformed world l<strong>in</strong>es obviously depicts another possible solution of the orig<strong>in</strong>al95


dynamics, so the process is <strong>in</strong>variant under Lorentz transformations.Now we turn to formulat<strong>in</strong>g a cont<strong>in</strong>uum model of the process described above <strong>in</strong>terms of conventional partial dierential equations which then allows a more formaldemonstration of Lorentz <strong>in</strong>variance. The derivation of these transport equationsis is accomplished through simple considerations of advection and collisions by theparticles. The description is <strong>in</strong> terms of densities and currents which together giveone way of represent<strong>in</strong>g two-dimensional (spacetime) vector elds. Section D.1.3 <strong>in</strong>the appendix elaborates on the concepts and notation used <strong>in</strong> the analysis.The cont<strong>in</strong>uum model describes two probability (or number) densities, + (x; t)and , (x; t), for nd<strong>in</strong>g a particle (or particles) mov<strong>in</strong>g <strong>in</strong> the positive and negativedirections respectively. One can also dene a conserved two-current, J =(; j),where = + + , and j = + , , . The background particles give well-denedmean free paths, + (x + ) and , (x , ), for the dius<strong>in</strong>g particles to reverse direction.The transport equations for the densities can then be written down immediately:@ +@t + @+@x@ ,@t , @,@x= , + + ,+ , (4.1)= , , , + + +:(4.2)Add<strong>in</strong>g these equations gives@@t + @j =0; (4.3)@xand subtract<strong>in</strong>g them gives@j@t + @ 1@x = ,j + 1 1+ , + , , 1 : (4.4) +The condition that the background particles stream at unit speed is@ 1@x + , =0; and@ 1@x , =0: (4.5) +If one denes t = 1 + + 1 , ; and x = 1 , , 1 + ; (4.6)96


then equations (4.3){(4.5) can be rewritten <strong>in</strong> manifestly covariant form as@ J = 0 (4.7)(@ + )" J = 0 (4.8)@ = 0 (4.9)@ " = 0: (4.10)The parameter is essentially the two-momentum density of the background particlesand gives a proportional cross section for collisions. Writ<strong>in</strong>g the equations <strong>in</strong>this form proves that the model is Lorentz <strong>in</strong>variant.Equations (4.7){(4.10) also happen to be <strong>in</strong>variant under the conformal group;furthermore, when properly generalized to curved spacetime, they are conformally<strong>in</strong>variant. These concepts are expanded on <strong>in</strong> section D.2. Physicists are alwayslook<strong>in</strong>g for larger symmetry groups, and the conformal group is <strong>in</strong>terest<strong>in</strong>g becauseit is the largest possible group that still preserves the causal structure of spacetime.Clearly, itconta<strong>in</strong>s the Lorentz group. In 1+1 dimensions, the conformal group<strong>in</strong>volves a local scal<strong>in</strong>g of the light-cone axes byany amount(x !f (x )). The factthat the above model is <strong>in</strong>variant under this group is easy to see from gure 4-1, s<strong>in</strong>ceany change <strong>in</strong> the spac<strong>in</strong>g of the diagonal l<strong>in</strong>es yields a similar picture. Conformally<strong>in</strong>variant eld theories possess no natural length scale, so they must correspond tomassless particles (though the converse is not true). It therefore seems only naturalthat the underly<strong>in</strong>g process was orig<strong>in</strong>ally described <strong>in</strong> terms of massless particles.In the case of a uniform background with no net drift ( = ) x = 0), eachcomponent of the current satises the the telegrapher's equation [35]. Indeed, if is a constant, equations (4.7){(4.8) can be comb<strong>in</strong>ed to give2 2 J + @ J =0; (4.11)where 2 2 = g @ @ is the d'Alembertian operator. More explicitly, equation (4.8)can be written (@ [ + )J ] = 0. Act<strong>in</strong>g on this equation by @ gives @ (@ + )J ,97


@ (@ + )J = 0, and the second term vanishes by equation (4.7).4.3 Theory and ExperimentAs usual when develop<strong>in</strong>g theoretical model<strong>in</strong>g techniques, it is desirable to haveanalytic solutions which can be compared to experiments (numerical or otherwise).This section gives the exact solution to the cont<strong>in</strong>uum model above aswell as theresults of a CA simulation of a comparable situation.4.3.1 Analytic SolutionHere we discuss the general solution to equations (4.7) and (4.8). For a given a backgroundeld , the equations are l<strong>in</strong>ear <strong>in</strong> J , and an arbitrary l<strong>in</strong>ear comb<strong>in</strong>ationof solutions is also a solution. In particular, it is possible to nd a Green's functionfrom which all other solutions can be constructed by superposition. As an aside, notethat the equations are not l<strong>in</strong>ear <strong>in</strong> <strong>in</strong> the sense that the sum of solutions for J correspond<strong>in</strong>g to dierent 's will not be the solution correspond<strong>in</strong>g to the sum of 's. This happens because and J are multiplied <strong>in</strong> equation (4.8), and aectsJ but not vice versa.Solutions are best expressed <strong>in</strong> terms of the component probability densities +and , for nd<strong>in</strong>g the nd<strong>in</strong>g the particle mov<strong>in</strong>g <strong>in</strong> the directions ( are proportionalto the the light-cone components of the probability current J ). For themoment, the background will be taken to be a constant which is parameterized by as<strong>in</strong>gle mean free path . Wewant to nd the Green's function which corresponds toa delta function of probability mov<strong>in</strong>g <strong>in</strong> the positive direction at t = 0. The <strong>in</strong>itialconditions are therefore j(x; 0) = (x; 0) = (x), and the correspond<strong>in</strong>g componentswill be denoted by % + and % , respectively. This is an <strong>in</strong>itial value problem which canbe solved with standard methods of mathematical physics; more detail can be found98


<strong>in</strong> section D.3. Inside the light cone (i.e., the region t 2 , x 2 > 0) the solution iss% + (x; t) = e,t= t + x2 t , x I 1% , (x; t) = e,t=2 I 0pt2 , x 2pt2 , x 2!!+ e ,t= (t , x) (4.12); (4.13)where I 0 and I 1 are modied Bessel functions of the rst k<strong>in</strong>d. Outside the light cone,% =0.Plots of % + (x; t) and % , (x; t) are shown for = 32 <strong>in</strong> gure 4-2(a) and (b) respectively.The <strong>in</strong>dependent variables range from 0


0501000.0080.0060.0040.0020-100 0 100(a)0501000.0150501000.0080.0060.0040.0020-100 0 100(b)0.010.0050-100 0 100(c)(d)Figure 4-2: Green's functions for models of relativistic diusion: (a) Cont<strong>in</strong>uousprobability density for right-mov<strong>in</strong>g particles where t is <strong>in</strong>creas<strong>in</strong>g out of the page.(b) Probability density for left-mov<strong>in</strong>g particles. (c) The total probability density.(d) Result of a CAM-6 experiment show<strong>in</strong>g particles execut<strong>in</strong>g random walks withmemory <strong>in</strong> the top half. A histogram of the position and direction of the particles att = 128 is taken <strong>in</strong> the bottom half.100


not too large, the lattice approximation to the cont<strong>in</strong>uum is still a good one. Theapproximation to Lorentz <strong>in</strong>variance is also good, because it is still possible to mapthe new set of world l<strong>in</strong>es onto the nearest diagonal of the orig<strong>in</strong>al lattice.The probabilistic description of the position and direction of a s<strong>in</strong>gle particle isne, but we really want a parallel dynamics for many particles dius<strong>in</strong>g <strong>in</strong> the samespace <strong>in</strong>dependently. Thus, <strong>in</strong> this section, will be <strong>in</strong>terpreted as a number density<strong>in</strong>stead of a probability, and the number of particles must then be large relative tothe scale of observation. Also, the collisions with the background gas must take placewith a small probability rather than with certa<strong>in</strong>ty; otherwise, the motions of adjacentparticles will be highly correlated (e.g., their paths would never cross). Furthermore,the density of particles must be low relative to the number of lattice po<strong>in</strong>ts so thatno two particles ever try to occupy the same state of motion. If these conditions aresatised, the movements of the particles can be considered <strong>in</strong>dependent, and we canassume a superposition of many <strong>in</strong>dividual processes like that shown <strong>in</strong> gure 4-1.This aga<strong>in</strong> gives equations (4.7){(4.10) <strong>in</strong> the cont<strong>in</strong>uum limit.The CA version of this process uses the partition<strong>in</strong>g format shown <strong>in</strong> gure 2-2(b). Such a format is used because it is easy to conserve particles. 2 The diusionrule usually swaps the contents of the two cells <strong>in</strong> every partition on every time step,but it has a small probability p of leav<strong>in</strong>g the cells unchanged. Referr<strong>in</strong>g aga<strong>in</strong> togure 2-2(b), one can see that this will cause particles to primarily stream alongthe lattice diagonals <strong>in</strong> spacetime. However, on any given step, the particles havea probability p of a \collision" which will cause them switch to the other diagonal<strong>in</strong>stead of cross<strong>in</strong>g over it. In contrast to a standard random walk, the particles havea memory of their current direction of motion, and they tend to ma<strong>in</strong>ta<strong>in</strong> it. Bytun<strong>in</strong>g the probability of reversal (us<strong>in</strong>g the techniques for randomness presented <strong>in</strong>appendices A and C for example), it is possible to adjust the mean free path of theparticles. In fact, it is easy to show that =(1,p)=p <strong>in</strong> lattice units.The process described <strong>in</strong> section 4.2 assumes that the particles diuse <strong>in</strong>depen-2 Though it is not done here, partition<strong>in</strong>g also makes it possible to construct a reversible versionof the diusion law by us<strong>in</strong>g a reversible source of randomness, such as a third lattice gas.101


dently. This is not a problem <strong>in</strong> a cont<strong>in</strong>uum, but on a lattice, there is a possibilitythat particles will <strong>in</strong>terfere with each other's motion. In particular, if there are twoparticles <strong>in</strong> a partition and one turns, the other must also turn <strong>in</strong> order to conserveparticles and ma<strong>in</strong>ta<strong>in</strong> exclusion. In other words, there is a small probability thatthe motions of nom<strong>in</strong>ally <strong>in</strong>dependent particles will be correlated. This <strong>in</strong>troduces asmall nonl<strong>in</strong>earity to the diusion, though it is negligible <strong>in</strong> the limit of low particledensity per lattice site. On the other hand, as long as there is only one particle <strong>in</strong>a partition, it is possible to have two dierent probabilities for a particles to turndepend<strong>in</strong>g on its orig<strong>in</strong>al direction. This corresponds to a drift <strong>in</strong> the background gasand is equivalent to the orig<strong>in</strong>al dynamics <strong>in</strong> a dierent Lorentz frame of reference.Figure 4-2(d) shows the result of a CAM-6 simulation with the randomness chosenso that = 32. This implementation also serves to show one of the ways CA can beused as a display toolaswell as a simulation tool. The top half shows a spacetimediagram of the region 0


<strong>in</strong>to the neighbor<strong>in</strong>g b<strong>in</strong> + (126; 128) because of spurious correlations <strong>in</strong> the noisesource.4.4 Extensions and DiscussionThe above model provides an example of how one can have a Lorentz <strong>in</strong>variant CArule <strong>in</strong> one dimension. Now wewould like to consider how similar results mightbe obta<strong>in</strong>ed <strong>in</strong> higher dimensions. Of course, the full cont<strong>in</strong>uous symmetry is isimpossible to achieve <strong>in</strong> a discrete space, so we will always imag<strong>in</strong>e limit<strong>in</strong>g situations.Two possible approaches are (1) to nd simple rules which have bijective mapp<strong>in</strong>gsof <strong>in</strong>dividual spacetime events between any two frames of reference, and (2) to ndcomplex rules from which Lorentz <strong>in</strong>variant laws emerge out of a large number ofunderly<strong>in</strong>g events. The rst approach works for the present example, while the secondapproach would be more <strong>in</strong> the spirit of lattice gas methods for partial dierentialequations [24, 25].The case of diusion of massless particles <strong>in</strong> one dimension is special becausethere is a direct mapp<strong>in</strong>g between the world l<strong>in</strong>es <strong>in</strong> one frame and the world l<strong>in</strong>es <strong>in</strong>another. However, this mapp<strong>in</strong>g does not work for higher dimensional CA because<strong>in</strong>variance under arbitrary Lorentz boosts implies <strong>in</strong>variance under arbitrary rotations(as shown below). S<strong>in</strong>ce straight world l<strong>in</strong>es cannot match the lattice directions <strong>in</strong>every frame of reference, any system for which the most strongly correlated eventspreferentially lie along the l<strong>in</strong>es of the lattice cannot easily be <strong>in</strong>terpreted as Lorentz<strong>in</strong>variant. This would be important, for example, <strong>in</strong> situations where particles streamfor macroscopic distances without collisions.The fact that isotropy isan<strong>in</strong>tr<strong>in</strong>sic part of a relativistically correct theory can beseen by construct<strong>in</strong>g rotations out of pure boosts. This will be shown by exam<strong>in</strong><strong>in</strong>gthe structure of the Lorentz group near the identity element. A convenient wayto represent such cont<strong>in</strong>uous matrix groups (Lie groups) is as a limit of a productof <strong>in</strong>nitesimal transformations us<strong>in</strong>g exponentiation. 3 Thus, an arbitrary Lorentz3 S<strong>in</strong>ce lim n!1(1 + x n )n = e x .103


transformation matrix can be written [43]A = e ,S,K (4.14)where and are 3-vectors parameteriz<strong>in</strong>g rotations and boosts respectively. Thecorrespond<strong>in</strong>g generators of the <strong>in</strong>nitesimal rotations and boosts are given byS 1 =2640 0 0 00 0 0 00 0 0 ,10 0 1 0375; S 2 =2640 0 0 00 0 0 10 0 0 00 ,1 0 0375; S 3 =2640 0 0 00 0 ,1 00 1 0 00 0 0 0375;K 1 =2640 1 0 01 0 0 00 0 0 00 0 0 0375; K 2 =2640 0 1 00 0 0 01 0 0 00 0 0 0375; K 3 =2640 0 0 10 0 0 00 0 0 01 0 0 0375: (4.15)These generators satisfy the follow<strong>in</strong>g commutation relations (Lie brackets) as can beveried by direct substitution:[S i ;S j ] = " ijk S k[S i ;K j ] = " ijk K k[K i ;K j ] = ," ijk S k : (4.16)The reason for expand<strong>in</strong>g the Lorentz transformation matrices <strong>in</strong> this way will becomeapparent next.Consider a sequence of four boosts mak<strong>in</strong>g a \square" of size " <strong>in</strong> \rapidity space."To lowest nonvanish<strong>in</strong>g order <strong>in</strong> ",A = (1 + "K i + 1 2 "2 K 2 i )(1 + "K j + 1 2 "2 K 2 j ) (1 , "K i + 1 2 "2 K 2 i )(1 , "K j + 1 2 "2 K 2 j )104


= 1+" 2 [K i ;K j ]+O(" 3 )= 1," 2 " ijk S k + O(" 3 ) (4.17)If (i; j; k) is a cyclic permutation of (1; 2; 3), then A is not a pure boost but a rotationaround axis k through an angle " 2 . Therefore, appropriate sequences of boosts canresult <strong>in</strong> rotations, and similar sequences can be repeated many times to construct anarbitrary rotation. The implication for generaliz<strong>in</strong>g the relativistic model of diusionof massless particles to more than one spatial dimension is that particles must beable to stream with few collisions <strong>in</strong> any direction, not just along the axes of thelattice. At present, we do not know any reasonable way of do<strong>in</strong>g this. Another wayto see the problem is that if a particle is mov<strong>in</strong>g along a lattice direction which isperpendicular to the direction of a boost <strong>in</strong> one frame, it will suer aberration andwill not, <strong>in</strong> general, be mov<strong>in</strong>g along a lattice direction <strong>in</strong> the other frame.What about the second approach where we don't demand that all spacetime events<strong>in</strong> any two frames are <strong>in</strong> one-to-one correspondence? The <strong>in</strong>tuition here is that if aCA is dense with complex activity, then cells <strong>in</strong> all directions will be aected, andanisotropy will not be as much of a problem. Now, any CA which gives a Lorentz<strong>in</strong>variant law <strong>in</strong> some limit can reasonably be said to be Lorentz <strong>in</strong>variant. Forexample, lattice gases <strong>in</strong> which all particles move at a s<strong>in</strong>gle speed (the speed oflight), exhibit sound waves which obey the wave equation with an isotropic speed ofsound of p 1= d <strong>in</strong> d spatial dimensions [39] (see gure 2-14). But the wave equationis Lorentz <strong>in</strong>variant if the wave speed <strong>in</strong>stead of the particle speed is <strong>in</strong>terpreted asthe speed of light. This is somewhat unsatisfy<strong>in</strong>g s<strong>in</strong>ce some <strong>in</strong>formation can travelat greater than the speed of light, but it may still be used to obta<strong>in</strong> some measureof Lorentz <strong>in</strong>variance <strong>in</strong> higher dimensions. In general, the lack of isotropy oftheunderly<strong>in</strong>g lattice means that the speed of light of the CA cannot co<strong>in</strong>cide with thespeed of light of the emergent model. Furthermore, <strong>in</strong> such cases, there is no natural<strong>in</strong>terpretation of all possible Lorentz transformations on the lattice as there was <strong>in</strong>the 1+1 dimensional case. F<strong>in</strong>ally, we mention <strong>in</strong> pass<strong>in</strong>g the possibility ofhav<strong>in</strong>gan isotropic model by us<strong>in</strong>g a random lattice s<strong>in</strong>ce it would clearly have no preferred105


directions.A nal po<strong>in</strong>t about special relativity <strong>in</strong> the context of CA concerns the connectionbetween Lorentz <strong>in</strong>variance and relativistic eects. If it were the case that a givenCA rule could simulate certa<strong>in</strong> physical phenomena (such as particle collisions) <strong>in</strong> anyframe of reference then it would be the case that the evolution <strong>in</strong> those frames that aremov<strong>in</strong>g faster with respect to the preferred lattice frame would have toevolve slower.The reason for this is that the number of cells <strong>in</strong> the causal past of a cell would berestricted. In the extreme case, a CA conguration mov<strong>in</strong>g at the maximum speedof light could not evolve at all because each cell would only depend on one other cell<strong>in</strong> its past light cone; consequently, no<strong>in</strong>teraction between cells could take place. In<strong>in</strong>formation mechanical terms, this \time dilation" would happen because some of thecomputational resources of the CA would be used for communication and fewer wouldbe available for computation. In this manner, one obta<strong>in</strong>s phenomena rem<strong>in</strong>iscent ofrelativistic eects. However, the hard problem is to nd any nontrivial rules whichobey the primary postulate of relativity. The above model of relativistic diusion <strong>in</strong>1+1 dimensions represents only a limited class of such rules. Special relativity is notso much a theory of how physical eects change when high speeds are <strong>in</strong>volved as it isa theory of how the physical laws responsible for those eects are unchanged betweenframes <strong>in</strong> relative motion. Relativistic eects such as time dilation and the like comeabout as mere consequences of how observable quantities transform between frames,not because of motion with respect to some k<strong>in</strong>d of \ether."4.5 ConclusionsSymmetry is an important aspect of physical laws, and it is therefore desirable to identifyanalogous symmetry <strong>in</strong> CA rules. Furthermore, the most important symmetrygroups <strong>in</strong> physics are the Lorentz group and its relatives. While there is a substantialdierence between the manifest existence of a preferred frame <strong>in</strong> CA and the lackof a preferred frame demanded by special relativity, there are still some <strong>in</strong>terest<strong>in</strong>gconnections. In particular, CA have awell-dened speed of light which imposes a106


causal structure on their evolution, much as a M<strong>in</strong>kowski metric imposes a causalstructure on spacetime. To the extent that these structures can be made to co<strong>in</strong>cidebetween the CA and cont<strong>in</strong>uum cases, it makes sense to look for Lorentz <strong>in</strong>variantCA.The diusion of massless particles <strong>in</strong> one spatial dimension provides a good exampleof a Lorentz <strong>in</strong>variant process that can be expressed <strong>in</strong> alternative mathematicalforms. A correspond<strong>in</strong>g set of l<strong>in</strong>ear partial dierential equations can be derived witha simple transport argument and then shown to be Lorentz <strong>in</strong>variant. A CA formulationof the process is also Lorentz <strong>in</strong>variant <strong>in</strong> the limit of low particle density andsmall lattice spac<strong>in</strong>g. The equations can be solved with standard techniques, and theanalytic solution provides a check on the results of the simulation. Generalization tohigher dimensions seems to be dicult because of anisotropy of CA lattices, thoughit is still plausible that symmetry may emerge <strong>in</strong> complex, high-density systems. Themodel and analyses presented here can be used as a benchmark for further studies ofsymmetry <strong>in</strong> physical laws us<strong>in</strong>g CA.107


108


Chapter 5Model<strong>in</strong>g Polymers with <strong>Cellular</strong><strong>Automata</strong>5.1 Introduction5.1.1 Atoms, the Behavior of Matter, and <strong>Cellular</strong> <strong>Automata</strong>Perhaps the s<strong>in</strong>gle most important fact <strong>in</strong> science is that the world is made of atoms.Virtually every aspect of physics that we encounter <strong>in</strong> our daily lives can be accountedfor by the electromagnetic <strong>in</strong>teractions of atoms and their electrons. 1 It is dicult todirectly <strong>in</strong>corporate all of the detailed microscopic physics of a complex system <strong>in</strong> acalculation or computer simulation, but it is often more illum<strong>in</strong>at<strong>in</strong>g to nd approximationsat higher levels of organization anyway. For example, one may <strong>in</strong>troducephenomenological parameters and stylized variables which describe the congurations,energies, motions, or reaction rates of atoms or collections of atoms. Under favorablecircumstances and with a suitable dynamics, the correct behavior will emerge <strong>in</strong> thelimit of large systems.When is it possible to successfully construct CA models of physical phenomena<strong>in</strong> terms of abstract atoms <strong>in</strong> this way? This is a hard question that doesn't have a1 Of course this claim is drastically oversimplied <strong>in</strong> terms of the quantum-mechanical details<strong>in</strong>volved, but the general idea is sound. The primary exception to the rule is due to gravity.109


nal answer, but a few pert<strong>in</strong>ent observations can be made. First, the phenomena<strong>in</strong> question should be characteristic of many atoms rather than of the structure ofrelatively simple <strong>in</strong>dividual molecules. In other words, the systems should fall <strong>in</strong>tothe doma<strong>in</strong> of statistical mechanics. It may be conceptually possible to decomposethe underly<strong>in</strong>g physics <strong>in</strong>to a statistical substructure through quantum Monte Carloor stochastic mechanics [64], but for practical purposes, it is better to develop modelsat or above the scale of real atoms. Second, the dynamics should rely on local or evenpo<strong>in</strong>t-like<strong>in</strong>teractions as opposed to long range forces. It is possible for CA to exhibitlarge coherence lengths, but for eciency's sake, it is better to avoid models hav<strong>in</strong>gcomplicated rules or widely disparate time scales. The cont<strong>in</strong>u<strong>in</strong>g development ofmodels and support<strong>in</strong>g analysis for a wide variety ofphysical situations will br<strong>in</strong>g uscloser and closer to a resolution of this question.Even with<strong>in</strong> the above classical framework, CA have a great deal of potential forstudies <strong>in</strong> condensed matter because they have the basic structure of physics and alarge number of programmable degrees of freedom. Promis<strong>in</strong>g areas of application<strong>in</strong>clude uid dynamics, chemistry, solid state physics, materials science, and perhapseven plasma physics. Besides conventional homogeneous substances it is also possibleto model more exotic heterogeneous materials which are not usually thoughtof as matter <strong>in</strong> the physicists' sense of the word: currencies, alluvia, populations,and even \grey matter." These possibilities lead to the notion of \programmablematter" [91] which isapowerful metaphor for describ<strong>in</strong>g the relationship betweenCA and the essential <strong>in</strong>formation-bear<strong>in</strong>g degrees of freedom of nature. Furthermore,programmability means that the atoms <strong>in</strong> CA are not limited by the rules of physicalatoms, and one can explore the behavior of exotic forms of matter that may noteven exist <strong>in</strong> nature. Such <strong>in</strong>vestigations are <strong>in</strong>terest<strong>in</strong>g and important because they<strong>in</strong>crease the utility of parallel computers for physical simulation while extend<strong>in</strong>g theboundaries of mathematical physics.110


5.1.2 Monte Carlo <strong>Methods</strong>, Polymer <strong>Physics</strong>, and Scal<strong>in</strong>gAn important tool <strong>in</strong> computer model<strong>in</strong>g and statistical mechanics is the so-calledMonte Carlo method [5, 6]. It is a technique for do<strong>in</strong>g numerical <strong>in</strong>tegration <strong>in</strong> highdimensional spaces and is useful for nd<strong>in</strong>g expectation values <strong>in</strong> complex systems.The procedure is to select po<strong>in</strong>ts from a sample space accord<strong>in</strong>g to some probabilitymeasure and then take the sum of contributions from all these po<strong>in</strong>ts. The samplesare usually generated by impos<strong>in</strong>g an articial dynamics on the conguration of thesystem <strong>in</strong> question, and the dynamics can sometimes be used as an alternative tomolecular dynamics. In the case of large, dense systems, CA are well suited toexecute Monte Carlo simulations of abstract molecular dynamics.An active area of research where the behavior of collections of atoms is importantis that of polymer physics. The <strong>in</strong>terest <strong>in</strong> polymers stems from their ubiquity|plastics, prote<strong>in</strong>s, nucleic acids, and cellulose are conspicuous examples|and theirimportance <strong>in</strong> biology and <strong>in</strong>dustrial applications. Polymers form complex biologicalstructures such as enzymes, organelles, microtubules, and viruses, while they also playimportant practical roles <strong>in</strong> petroleum products and advanced composite materials.In order to understand and control the physical behavior of polymers, one must studytheir structure, dynamics, chemistry, rheology, and thermodynamic properties. However,the phenomena are often so complex that computational methods are becom<strong>in</strong>g<strong>in</strong>creas<strong>in</strong>gly necessary to the research.From a more theoretical and mathematical po<strong>in</strong>t of view, polymers provide <strong>in</strong>terest<strong>in</strong>gphases of matter and a rich set of phenomena which are often well describedby scal<strong>in</strong>g laws [21]. A scal<strong>in</strong>g law is a relation of the form y x .Itsays that overa certa<strong>in</strong> range, multiply<strong>in</strong>g (or scal<strong>in</strong>g) x by a constant g has the eect of multiply<strong>in</strong>gy by a related constant g . However, fundamental theoretical questions rema<strong>in</strong>about the scal<strong>in</strong>g behavior and dynamical orig<strong>in</strong> of certa<strong>in</strong> quantities, most notably,viscosity. There are some questions as to whether or not the pictures on which scal<strong>in</strong>garguments are based are even correct (for example, what is the physical mean<strong>in</strong>g of\entanglement length"?), and computer simulations are <strong>in</strong>valuable for educ<strong>in</strong>g theanswers. In addition, such simulations can be used to explore theoretical novelties111


such as polymer solutions <strong>in</strong> the semi-dilute regime or the existence of irreversiblyknotted materials [71].5.1.3 OverviewThis chapter successfully demonstrates the atomistic approach advocated above forphysical model<strong>in</strong>g with CA by develop<strong>in</strong>g techniques for simulat<strong>in</strong>g polymers on alattice us<strong>in</strong>g only local <strong>in</strong>teractions. Consequently, it opens up new ways of exploit<strong>in</strong>gthe power of parallel computers for an important class of problems <strong>in</strong> computationalphysics. The essential features of abstract polymers that are needed to give thecorrect basic scal<strong>in</strong>g behavior are that the strands not break and that they not overlap.Furthermore, the result<strong>in</strong>g models show that it is possible to construct mobilemacroscopic objects hav<strong>in</strong>g absolute structural <strong>in</strong>tegrityby us<strong>in</strong>g only local CA rules.F<strong>in</strong>ally, the numerous possible embellishments of the basic polymer model make itaparadigm for the entire discipl<strong>in</strong>e of model<strong>in</strong>g <strong>in</strong>teractions among particles us<strong>in</strong>g CA.The follow<strong>in</strong>g is a breakdown of the respective sections:Section 5.2 discusses the general problem of simulat<strong>in</strong>g polymers <strong>in</strong> parallel anddescribes the rationale beh<strong>in</strong>d us<strong>in</strong>g abstract polymers and Monte Carlo dynamics.Start<strong>in</strong>g from the ideal case of a very high molecular weight polymer <strong>in</strong> a cont<strong>in</strong>uum,a sequence of polymer models are <strong>in</strong>troduced which illustrate some of the problemsassociated with creat<strong>in</strong>g lattice polymers hav<strong>in</strong>g local dynamics. The discussion leadsto the double space algorithm which solves the problems <strong>in</strong> an elegant fashion. F<strong>in</strong>ally,this algorithm is compared to another popular lattice polymer algorithm: the \bonductuation" method.Section 5.3 covers some of the quantitative aspects of polymer physics which givethe subject a rm experimental and theoretical foundation. Samples taken fromsimulations can be used to measure expectation values of quantities hav<strong>in</strong>g to dowith the static structure of the polymers. Time series of sampled quantities can beused to measure dynamic properties such as time autocorrelation functions and theassociated relaxation times. Simulation results from the double space algorithm arepresented which verify the theoretical scal<strong>in</strong>g laws and thereby serve as a test of the112


algorithm.The double space algorithm along with the availability ofpowerful parallel computersand CA mach<strong>in</strong>es opens up a variety of prospects for additional research <strong>in</strong>computational polymer physics. Section 5.4 discusses extensions of the basic modelas well as a number of possible applications. In particular, the specic example of asimple model for pulsed eld gel electrophoresis is given.5.2 CA Models of Abstract PolymersThe great computational demands of polymer simulation make it necessary to ndnew techniques for work<strong>in</strong>g on the problem, and parallel computers are an importantpart of the search. The most straightforward approach to paralleliz<strong>in</strong>g the simulationis to assign a processor to each monomer and have all of them compute the motionmuch as they would on a s<strong>in</strong>gle processor. In pr<strong>in</strong>ciple, this leads to a large amount ofcommunication between the processors dur<strong>in</strong>g the calculation of the <strong>in</strong>teractions becauseanytwo monomers <strong>in</strong> the system may come <strong>in</strong>to contact [8]. If this is not enoughof a problem, it also happens that communication and synchronization between processorsis usually a time-consum<strong>in</strong>g operation [67]. Because of these considerations,it has generally been considered dicult to perform ecient parallel process<strong>in</strong>g simulationsof polymers. However, one can get around these problems by recogniz<strong>in</strong>g thatthe <strong>in</strong>teractions are local <strong>in</strong> space and allow<strong>in</strong>g the natural locality and synchronousparallelism of CA to guide the design of a model. The result<strong>in</strong>g algorithms will beuseful on all k<strong>in</strong>ds of parallel computers, especially massively-parallel computers.Once it has been decided to arrange the processors <strong>in</strong> a local, spatially parallelfashion, it is still necessary to describe the polymer model and specify the dynamics.It is tempt<strong>in</strong>g to make the model as direct and realistic as possible us<strong>in</strong>g moleculardynamics [61], i.e., essentially <strong>in</strong>tegrat<strong>in</strong>g Newton's laws under articial force laws andsmall time steps. However, Monte Carlo dynamics <strong>in</strong> which the steps are motivatedby considerations of real polymer motion (much like Brownian motion) are sucientto model many aspects of polymer behavior. Furthermore, the steps are larger and113


Figure 5-1: A typical conguration of a random, self-avoid<strong>in</strong>g strand which representsa polymer with a very high degree of polymerization N.there is less computation <strong>in</strong>volved <strong>in</strong> each monomer update, and this enables muchmore extensive simulations. Us<strong>in</strong>g a simplied dynamics is also <strong>in</strong> accordance withour desire to nd abstract models which capture the most essential features of physics.Now consider an isolated polymer <strong>in</strong> a good solvent with short-range, repulsive<strong>in</strong>teractions between monomers. In the limit of high polymerization, the details ofthe local polymer structure don't eect the large-scale structure [21], and the polymereectively becomes a cont<strong>in</strong>uous, self-avoid<strong>in</strong>g strand as shown <strong>in</strong> gure 5-1. Thus itis possible to approximate this situation with an abstract polymer model consist<strong>in</strong>gof a cha<strong>in</strong> of nonoverlapp<strong>in</strong>g monomers, where all congurations have equal energies.The essential constra<strong>in</strong>ts on the dynamics of an abstract polymer are1. Connectivity: consecutive monomers rema<strong>in</strong> bonded, and2. Excluded volume: no two monomers can overlap.The basic Monte Carlo dynamics works by pick<strong>in</strong>g a s<strong>in</strong>gle monomer at randomand mak<strong>in</strong>g a trial move <strong>in</strong> a random direction. The move is then accepted if theconstra<strong>in</strong>ts are satised. However, if two or more monomers were to be moved simultaneouslyand <strong>in</strong>dependently, it could lead to violations of these constra<strong>in</strong>ts.The purpose of this section is to develop CA representations of polymers alongwith parallel Monte Carlo dynamics.A series of models is presented <strong>in</strong> order to114


illustrate some of the issues <strong>in</strong>volved. The polymer congurations shown below areapproximations to the polymer strand shown <strong>in</strong> gure 5-1, and each one uses N = 60monomers. Each model requires a dierent lattice pitch and gives a dierent qualityofapproximation and degree of exibility. Modications beyond the simple algorithmsgiven here will be discussed <strong>in</strong> section 5.4.5.2.1 General AlgorithmsA general procedure for turn<strong>in</strong>g the basic Monte Carlo algorithm given above <strong>in</strong>to aparallel algorithm is to use the CA notion of spatial partition<strong>in</strong>g [56]. Partition<strong>in</strong>grefers to break<strong>in</strong>g up space <strong>in</strong>to isolated regions with several processors per region.The dynamics can then act on these partitions <strong>in</strong> parallel without <strong>in</strong>terference. Otherspatial doma<strong>in</strong> decomposition schemes can be used for a wide range of simulations [30].To see how partition<strong>in</strong>g can be used, consider the abstract polymer shown <strong>in</strong> gure5-2. Each monomer is represented by an excluded volume disk of radius r, and thebond between monomers are <strong>in</strong>dicated by l<strong>in</strong>e segments. Each square represents a regionof space assigned to a processor. The monomers are allowed to haveany positionsubject to some m<strong>in</strong>imum and maximum limits on bond lengths. Two monomers cansimultaneously take a Monte Carlo step of size l if they are suciently far apart.Instead of randomly pick<strong>in</strong>g which monomers to update, those whose centers lie <strong>in</strong>the black squares are chosen. To prevent <strong>in</strong>terference on any given step, the markedsquares should have a space of at least 2(r + l) between them. In this case, the partitionsconsist of the 33 blocks of squares surround<strong>in</strong>g the black squares, and only theprocessors with<strong>in</strong> a partition need to cooperate to ma<strong>in</strong>ta<strong>in</strong> the constra<strong>in</strong>ts. F<strong>in</strong>ally,the overall oset of the sublattice of black squares should be chosen at random beforeeach parallel update.Further simplication of Monte Carlo polymer models is obta<strong>in</strong>ed by restrict<strong>in</strong>gthe positions of the monomers to the vertices of a lattice, or equivalently, to thecells of a CA. This substantially simplies the moves and the check<strong>in</strong>g of constra<strong>in</strong>ts.Remov<strong>in</strong>g a monomer from one cell must be coupled to add<strong>in</strong>g a monomer to anearby cell, and this is where partition<strong>in</strong>g CA neighborhoods are essential. In the115


Figure 5-2: An abstract version of the cont<strong>in</strong>uous polymer strand with N = 58.Monomers whose centers lie <strong>in</strong> one of the black squares can take a Monte Carlo step<strong>in</strong> parallel without <strong>in</strong>terference.gures below, the partitions are <strong>in</strong>dicated by dots <strong>in</strong> the centers, and arrows <strong>in</strong>dicateall possible moves with<strong>in</strong> the current partitions. Connectivity of the CA polymers isdeterm<strong>in</strong>ed entirely by adjacency|the bonds do not have to be represented explicitly.The excluded volume constra<strong>in</strong>t is then equivalent to not creat<strong>in</strong>g new bonds.Perhaps the simplest CA polymer model one can imag<strong>in</strong>e is illustrated by gure 5-3. Monomers are connected if and only if they are adjacent horizontally or vertically.The only moves allowed <strong>in</strong> this model consist of fold<strong>in</strong>g over corners, and as <strong>in</strong> theprevious model, moves are attempted <strong>in</strong> parallel for monomers <strong>in</strong> the marked cells.Note that the approximation to the cont<strong>in</strong>uous example is rather crude because thelattice is fairly coarse. The polymer is not very exible <strong>in</strong> that out of ve markedmonomers, only one move is possible. An even more serious problem with exibilityisthat there are sometimes very few, if any, paths <strong>in</strong> conguration space between certa<strong>in</strong>pairs of congurations. For example, consider a polymer shaped like a shepherd's sta.In order for the crook of the polymer to bend from one side to the other, it must passthrough a unique vertical conguration. Situations such as this form bottlenecks <strong>in</strong>conguration space which greatly hamper the dynamics.A somewhat improved CA polymer model is illustrated by gure 5-4. In this case,a monomer is connected to another if it is adjacent <strong>in</strong>any of the eight surround<strong>in</strong>g116


Figure 5-3: A simple CA realization of the polymer strand us<strong>in</strong>g a lattice modelhav<strong>in</strong>g only nearest-neighbor connections. Here, N = 65. Dots mark the cells fromwhich monomers may move <strong>in</strong> parallel. The arrow <strong>in</strong>dicates the only possible move.cells. Trial moves are chosen at random from the four compass directions. With thisscheme, the lattice can be ner, and one obta<strong>in</strong>s a closer approximation to the shapeof the orig<strong>in</strong>al polymer strand. Furthermore, more monomer moves are typicallypossible on a given time step than <strong>in</strong> the previous model. However, the model alsosuers from severe bottlenecks <strong>in</strong> conguration space because the end of a polymermust pass through a diagonal conguration <strong>in</strong> order to make a transition betweenhorizontal and vertical.The models presented <strong>in</strong> this section prove the general concept of parallel CApolymer dynamics, but they are lack<strong>in</strong>g <strong>in</strong> two respects. First, very few monomerscan be moved <strong>in</strong> parallel because only one out of sixteen cells is marked for movementon a given step. Nature moves all atoms <strong>in</strong> parallel, and we would like as far aspossible to approach this level of parallelism with our abstract atoms. Perhaps themore serious diculty is that, unlike real polymers which can move <strong>in</strong>any direction,the lattice polymers described above cannot move along their own contours. This isa root cause of the <strong>in</strong>exibility encountered <strong>in</strong> the polymers above. These problemsare solved with the algorithm presented <strong>in</strong> the next section.117


Figure 5-4: Another CA representation of the polymer hav<strong>in</strong>g either nearest or nextnearest neighbor connections. The lattice is ner than <strong>in</strong> the previous model whileN = 68 is comparable. Dots <strong>in</strong>dicate active cells, and the arrows show all possiblemoves.5.2.2 The Double Space AlgorithmThe <strong>in</strong>herent rigidity of the CA polymer models given above makes it dicult fora bend <strong>in</strong> a polymer strand to ip to the other side, especially <strong>in</strong> two dimensions.The rigidity of the polymers stems from the <strong>in</strong>compressibility of the <strong>in</strong>ternal bondsand the <strong>in</strong>ability of monomers to move parallel to the polymer cha<strong>in</strong>. Basically, themonomers cannot move <strong>in</strong> the direction they need to because adjacent monomers get<strong>in</strong> each other's way. One way to get around this problem would be to allow connectedmonomers to occasionally overlap somehow. While this is not physically realistic, itwill not matter to the correct scal<strong>in</strong>g behavior as long as some measure of excludedvolume is still ma<strong>in</strong>ta<strong>in</strong>ed. Others have recognized various forms of rigidity <strong>in</strong> latticepolymers and have proposed several algorithms to get around the problems [11, 26].In order for adjacent monomers <strong>in</strong> a CA simulation to overlap, there must be extraspace <strong>in</strong> a cell for a second monomer to occupy. The simplest way to do this is to<strong>in</strong>voke a double space [2, 79, 80] and have odd and even monomers alternate betweenspaces along the cha<strong>in</strong> as shown <strong>in</strong> gure 5-5.Connectivity is aga<strong>in</strong> determ<strong>in</strong>edsolely by adjacency <strong>in</strong> any direction, but only between monomers <strong>in</strong> opposite spaces.Excluded volume arises by demand<strong>in</strong>g that no new connections are formed dur<strong>in</strong>g the118


oddevenFigure 5-5: Cross section through the CA space along a polymer cha<strong>in</strong> show<strong>in</strong>gthe double space. Odd and even monomers are only connected to monomers <strong>in</strong> theopposite space of neighbor<strong>in</strong>g cells. The bonds show the connections explicitly, butthey are redundant and are not actually used.dynamics. This has the remarkable eect that the constra<strong>in</strong>ts are ma<strong>in</strong>ta<strong>in</strong>ed solelywith respect to monomers <strong>in</strong> the opposite space. Therefore, by check<strong>in</strong>g constra<strong>in</strong>tsaga<strong>in</strong>st monomers held xed <strong>in</strong> one space, the Monte Carlo dynamics can updateall of the monomers <strong>in</strong> the other space simultaneously without <strong>in</strong>terference. Thisamounts to a partition<strong>in</strong>g of the polymer cha<strong>in</strong> rather than a partition<strong>in</strong>g of space.A polymer represented us<strong>in</strong>g the double space scheme is shown <strong>in</strong> gure 5-6 wherecircles denote odd monomers and squares denote even monomers.The algorithmproceeds by alternately updat<strong>in</strong>g one space and then the other, and a pair of theseupdates is considered to be a s<strong>in</strong>gle step of the CA rule. 2The rule for updat<strong>in</strong>g eachmonomer <strong>in</strong> one space is to pick one of the four compass directions at random andaccept a move <strong>in</strong> that direction if the constra<strong>in</strong>ts allow (see gure 5-7). The result<strong>in</strong>glattice polymers are very exible.The double space algorithm just described clearly satises the connectivity constra<strong>in</strong>t.However, one must still check that dist<strong>in</strong>ct monomers can never coalesce <strong>in</strong>toa s<strong>in</strong>gle monomer. This is trivially true for monomers <strong>in</strong> opposite spaces.It canbe proved for any two monomers <strong>in</strong> the same space on dierent cha<strong>in</strong>s by assum<strong>in</strong>gthe converse. S<strong>in</strong>ce the dynamics was constructed to preserve the connectivity of thecha<strong>in</strong>s, the set of monomers to which any particular monomer is bonded rema<strong>in</strong>s thesame. However, if two monomers were to move to the same site, they would have tohave been connected to the same monomers <strong>in</strong> the rst place, and that contradicts2 In order to achieve strict detailed balance <strong>in</strong> this model, one would have topick which space toupdate at random as part of the Monte Carlo step. This is because an update of one space cannotundo the prior update of the other, and <strong>in</strong>verse transitions do not have the same probability asthe forward transitions. However, it is still the case that all congurations become equally likely <strong>in</strong>equilibrium.119


Figure 5-6: Abstract CA representation of the cont<strong>in</strong>uous polymer strand us<strong>in</strong>g thedouble space algorithm with N = 58. The odd monomers, <strong>in</strong>dicated by circles, arecurrently selected to move, and the arrows show all possible moves. The comparativelylarge number of available moves makes the polymer very exible.connectivityexcludedvolumeFigure 5-7: Check<strong>in</strong>g constra<strong>in</strong>ts for a trial move <strong>in</strong> the double space algorithm. Theodd monomer can make the <strong>in</strong>dicated move if there are no even monomers <strong>in</strong> the cellsmarked with x's. Check<strong>in</strong>g the marked cells to the left and right respectively servesto prevent the polymer from break<strong>in</strong>g and to give excluded volume to the cha<strong>in</strong>s.120


(a)(b)Figure 5-8: Left: Initial CAM-6 polymer conguration show<strong>in</strong>g cha<strong>in</strong>s with N =10, 20, 40, 60, 100, 140, and 240. The implementation also supports r<strong>in</strong>gs andbranched polymers as well as <strong>in</strong>dividual monomers. Right: After 1000 time steps,the contraction of the cha<strong>in</strong>s is apparent.the assumption that the monomers are on dierent cha<strong>in</strong>s. Note that this proof failsfor polymers with N = 1 and N = 3 because dist<strong>in</strong>ct monomers <strong>in</strong> the same spacecan have the same set of bonded monomers.Figure 5-8 shows congurations taken from a CAM-6 simulation us<strong>in</strong>g the doublespace algorithm. The <strong>in</strong>itial conguration showsavariety of polymer types <strong>in</strong>clud<strong>in</strong>gseveral fully stretched l<strong>in</strong>ear polymers rang<strong>in</strong>g <strong>in</strong> length from N =10toN= 240.The dynamics generates a statistical tension s<strong>in</strong>ce there are vastly more contractedcongurations than stretched ones; thus, the cha<strong>in</strong>s start to contract. After 1000 timesteps, the shortest two cha<strong>in</strong>s have undergone several relaxation times, while the third(N = 40) has undergone almost one. Due to limited computational resources, theimplementation of the polymer rule on CAM-6 chooses the directions of movementdeterm<strong>in</strong>istically and whether to accept the move is made randomly rather than theother way around (which makes two trial moves necessary for the equivalent of onestep). Furthermore, the trial moves always occur between pairs of cells <strong>in</strong> such awaythat an accepted move merely swaps the contents of the cells. This variation admitspolymers with N = 1 and N = 3 and makes it possible to construct a reversibleversion of the rule.121


5.2.3 Comparison with the Bond Fluctuation MethodThe double space algorithm was motivated as a parallel algorithm ideally suited forCA, but it is also an excellent lattice polymer Monte Carlo algorithm <strong>in</strong> general. Theadvantages of the double space algorithm can be gauged by compar<strong>in</strong>g it with thebond uctuation method, a state-of-the-art Monte-Carlo algorithm [11]. There arebasically four ways <strong>in</strong> which the double space algorithm excels: (1) step speed (lesscomputer time per time step), (2) relaxation rate (fewer steps per relaxation time),(3) <strong>in</strong>herent parallelism, and (4) simplicity. Each of these po<strong>in</strong>t along with possibledrawbacks will be considered briey below.The bond uctuation method is illustrated by gure 5-9. The monomers ll 22blocks of cells which can touch but not overlap. This is the conventional, direct wayofimplement<strong>in</strong>g the excluded volume constra<strong>in</strong>t. All bonds between a m<strong>in</strong>imum lengthof 2 (which can be derived from the excluded volume) and a maximum length of p 13are allowed, giv<strong>in</strong>g a total of 36 possible bond vectors (compared to 9 for the doublespace algorithm). The bond uctuation method was not orig<strong>in</strong>ally thought ofasaCAmodel, and unlike the CA models given above, it requires explicit representation of thebonds s<strong>in</strong>ce nonbonded monomers may be closer than bonded ones (this can also bedone with a local CA rule, but it would be fairly complicated). As <strong>in</strong> two of the abovelattice polymer models, the Monte Carlo update of a monomer <strong>in</strong>volves pick<strong>in</strong>g oneof the four compass directions at random and accept<strong>in</strong>g the move if the constra<strong>in</strong>tsallow. Which monomer to move should be chosen at random, but a random partitioncan also be used for a parallel update. The ne lattice gives a good approximationto the cont<strong>in</strong>uous polymer strand, but the step size is correspond<strong>in</strong>gly small. F<strong>in</strong>ally,the algorithm does not suer from severe bottlenecks <strong>in</strong> conguration space becausethe variable bond lengths allow movement parallel to the cha<strong>in</strong>.The relative speeds of the double space algorithm and the bond uctuation methodwere tested on a serial computer us<strong>in</strong>g very similar programs on s<strong>in</strong>gle polymers withN = 100. The details of the comparison are given <strong>in</strong> [80]. The upshot of the discussionis that the extr<strong>in</strong>sic speed of the double space algorithm <strong>in</strong> terms of computer timeis about 2 1 2times greater than the bond uctuation method. This is partly because122


Figure 5-9: Realization of the polymer strand <strong>in</strong> the bond uctuation method withN = 60. All monomers conta<strong>in</strong><strong>in</strong>g a dot can move <strong>in</strong> parallel without <strong>in</strong>terference,and the arrows show all moves allowed by the constra<strong>in</strong>ts.the double space algorithm is simpler, but it is primarily due to the fact that, <strong>in</strong> thebond uctuation method, which monomer to update must be decided at random <strong>in</strong>order to satisfy detailed balance. This requires an extra call to the random numbergenerator followed by nd<strong>in</strong>g the rema<strong>in</strong>der of division by the length of the polymer.The <strong>in</strong>tr<strong>in</strong>sic speed of the double space algorithm <strong>in</strong> terms of relaxation time <strong>in</strong>units of Monte Carlo steps is also about 2 1 2times faster than the bond uctuationmethod because the polymers are more exible. This value is the ratio of the prefactors<strong>in</strong> the t of the scal<strong>in</strong>g law for the relaxation time to measurements (to bedescribed <strong>in</strong> the next section) taken from simulations us<strong>in</strong>g the two algorithms. Thereason for this dramatic dierence stems from the fact that the relative change <strong>in</strong> thebond vectors on a given step is much larger <strong>in</strong> the double space algorithm, allow<strong>in</strong>gthe polymer to relax faster.Perhaps the most signicant advantage of the double-space algorithm from a theoreticalpo<strong>in</strong>t of view is the fact that it is <strong>in</strong>herently parallel|a full half of the polymerscan be updated simultaneously. Whereas great eort is required to vectorize traditionalMonte-Carlo polymer simulations [98], formulation of the problem <strong>in</strong> terms ofcellular automata <strong>in</strong>sures that the algorithm is parallelizable from the outset. Hence,the technique marks a conceptual milestone <strong>in</strong> our th<strong>in</strong>k<strong>in</strong>g about computational123


polymer physics. With the advent of massively parallel computers, cellular automatamach<strong>in</strong>es, and the like, <strong>in</strong>herent parallelism is becom<strong>in</strong>g an <strong>in</strong>creas<strong>in</strong>gly practicaladvantage as well.The nal advantage of the double-space algorithm is a practical consideration aswell as an aesthetic one: simplicity. Simplicity often makes it easier to work with andreason about models. The <strong>in</strong>itial <strong>in</strong>centive for develop<strong>in</strong>g the simplest possible algorithmstems from the desire to implement polymer simulations on cellular automatamach<strong>in</strong>es, where compact representations are important. Similarly, with conventionalcomputers and programm<strong>in</strong>g languages, a simple algorithm leads to small, fast programs,and small programs are easier to write, debug, optimize, execute, ma<strong>in</strong>ta<strong>in</strong>and modify. The conceptual simplicity can be appreciated when extend<strong>in</strong>g the algorithmto three dimensions. In the bond uctuation method, the extension requirescareful consideration of the problem of polymer cross<strong>in</strong>g, and the result<strong>in</strong>g solutionsare unnatural. In contrast, it is easy to see that the short bonds <strong>in</strong> the double-spacealgorithm, comb<strong>in</strong>ed with exclusion of non-neighbors, do not allow cross<strong>in</strong>g, and noad-hoc restrictions have to be imposed to make the model work.A potential disadvantage of the double space algorithm relative to the bond uctuationmethod is that the bonds are short compared to the excluded volume radius ofa monomer. This makes more monomers necessary for a given level of approximationto a true polymer conguration (compare gures 5-6 and 5-9). Thus, more monomersmay be required to show the eects of entangled or knotted polymers. F<strong>in</strong>ally, thepolymer partition<strong>in</strong>g of the double space algorithm may be hard to generalize to morerealistic polymer simulations. In this case, spatial partition<strong>in</strong>g can still be used toachieve parallelism.5.3 Results of Test SimulationsNow that we have successfully developed CA algorithms for abstract polymers, wewant to put the techniques on a more mathematical foot<strong>in</strong>g and ga<strong>in</strong> a quantitativeunderstand<strong>in</strong>g of polymer behavior. This is accomplished through measurements124


taken from simulations and through theoretical arguments and calculations. Of primary<strong>in</strong>terest here is the characteristic radius of a polymer along with its associatedrelaxation time and how these quantities scale with N.The measurements givenbelow together with the derivation of scal<strong>in</strong>g laws given <strong>in</strong> appendix E provide asatisfy<strong>in</strong>g closure of theory and experiment. This <strong>in</strong> turn extends the applicability ofCA methods and paves the way for more simulations and theoretical development.This section presents an example of the type of measurements and analysis thatcan be done on lattice polymers while mak<strong>in</strong>g quantitative tests of the double spacealgorithm. There are numerous static quantities one might sample, but the radius ofgyration is one of the most basic and gives us some essential <strong>in</strong>formation. Check<strong>in</strong>gthe measurement of the radius aga<strong>in</strong>st the Flory scal<strong>in</strong>g law serves as a vericationof the concepts beh<strong>in</strong>d abstract models as well as as a test of the correctness of thealgorithm. The measurement of the relaxation time of the radius of gyration showsthat the algorithm is consistent with Rouse dynamics [23] and also serves to verifythe eciency of the algorithm.The graphs below are based on data taken from a series of 30 simulations ofisolated polymers rang<strong>in</strong>g from N =2toN= 240. These are low density systemswhere serial computers are adequate and are used for convenience. 3 Each run consistsof 100,000 samples, and for economy of measurement, the system is allowed to relax tsteps between samples. The value of t ranges from 1{3000 <strong>in</strong> rough proportion to theexpected scal<strong>in</strong>g law for the relaxation time, t = N 5=2 . This gives approximately40 samples per relaxation time which is sucient to resolve the slower uctuations.Each system was allowed to equilibrate by skipp<strong>in</strong>g the rst 100 samples (which isover two relaxation times), and the statistics are based on the rema<strong>in</strong><strong>in</strong>g \good" data.The radius of gyration of a polymer is a second moment of the monomer distributionrelative to the center of mass and is given at a time t byR g (t) =qr 2 ,r 2 ; (5.1)3 For N = 3, the serial implementation allows the monomers at the ends to overlap without fus<strong>in</strong>g.Hence, for N = 2 and 3, the polymers reduce to ideal random walks with nearest and next nearestneighbor bonds.125


where r is the current position of a monomer, r is the center of mass, and the bardenotes an average over the N monomers. Initially the polymers are fully stretched<strong>in</strong> the y direction, giv<strong>in</strong>g a radius of gyration ofR g (t =0)=sN 2 ,1: (5.2)12It should be noted <strong>in</strong> pass<strong>in</strong>g that the moments of a distribution can be calculatedus<strong>in</strong>g the resources of a cellular automata mach<strong>in</strong>e. Built-<strong>in</strong> counters (e.g., see section3.3.1) make it possible to rapidly count features of <strong>in</strong>terest <strong>in</strong> dierent regions ofthe space, and the counts can be comb<strong>in</strong>ed <strong>in</strong> an arbitrary way on the host computer.For example, by summ<strong>in</strong>g the nth power of x (the column number) weighted by thecount of monomers on that column, one obta<strong>in</strong>s the momentx n = 1 NNXi=1x n i ; (5.3)where x i is the x coord<strong>in</strong>ate of the ith monomer. By add<strong>in</strong>g another bit planerunn<strong>in</strong>g a CA rule which sweeps a diagonal l<strong>in</strong>e across the space, it is possible tocount monomers on l<strong>in</strong>es of constant (x+ y).This can <strong>in</strong> turn be used to ndexpectations of powers of (x + y) which enables one to extract the expectation of xyand so on. By diagonaliz<strong>in</strong>g the matrix of second moments, one can nd the overallorientation of a polymer. Determ<strong>in</strong><strong>in</strong>g additional ways of measur<strong>in</strong>g characteristicsof polymeric systems us<strong>in</strong>g CA directly without read<strong>in</strong>g out an entire congurationis an <strong>in</strong>terest<strong>in</strong>g area of research. Appendix F deals with some mathematical issuesrelated to the general problem of measurement by count<strong>in</strong>g over patches of space.Figure 5-10 showsatypical time series for the radius of gyration. It consists of therst 1000 samples (1% of the data) from the simulation of the polymer with N = 140and t = 800. The l<strong>in</strong>e segment above the plot shows one relaxation time as derivedfrom the time series us<strong>in</strong>g the method described below. Start<strong>in</strong>g from a stretchedstate, the polymer contracts due to statistical forces, and the radius uctuates aroundits mean value with a characteristic standard deviation . The relaxation time gives a126


40353025Rg(t) 2015+σ−σ10500 100 200 300 400 500 600 700 800 900 1000t / 800Figure 5-10: The radius of gyration as a function of sample number for a latticepolymer with N = 140 <strong>in</strong> the double space model. At t = 0, the polymer startsout fully stretched <strong>in</strong> the vertical direction. The horizontal l<strong>in</strong>es show the mean andstandard deviation. One relaxation time is <strong>in</strong>dicated above the plot.typical time scale for the <strong>in</strong>itial contraction and for uctuations away from the mean.The mean radius of gyration for a given value of N ishR g ihR g (t)i; (5.4)where hi denotes a time average over the good data. The variance of the radius ofgyration is then 2 h(R g (t),hR g i) 2 i: (5.5)Figure 5-11 shows a log-log plot of the mean radius of gyration vs. the number ofbonds (N , 1). The number of bonds was used <strong>in</strong>stead of the number of monomersN because it gives a straighter l<strong>in</strong>e, and it may be a better measure of the length ofa polymer besides. In either case, the radius follows the Flory scal<strong>in</strong>g law <strong>in</strong> the limitof large N:hR g iN where = 3d +2 : (5.6)The dotted l<strong>in</strong>e shows a least-squares t through the last thirteen po<strong>in</strong>ts and is given127


10010Rg10.11 10 100 1000N - 1Figure 5-11: The mean radius of gyration of an isolated polymer <strong>in</strong> the double spacemodel as a function of the number of bonds. The dotted l<strong>in</strong>e shows a least-squarest to the asymptotic region of the graph.byhR g i = (0:448)(N , 1) 0:751 : (5.7)The exponent is close to the exact value of =3=4 for two dimensions, and the l<strong>in</strong>egives an excellent t to the data even down to N =3.The time autocorrelation function of the radius of gyration for a given time separationt is(t) = h(R g(t+t),hR g i)(R g (t) ,hR g i)i; (5.8)h(R g (t),hR g i) 2 iwhere the time average is aga<strong>in</strong> limited to the good data. Figure 5-12 shows a semilogarithmicplot of the time autocorrelation function vs. the sample separation. Thiscurve shows how much the polymer \remembers" about its former radius of gyrationafter a time t has passed. Such correlations are often assumed to fall o exponentially,(t) = exp(,t= ), and the dotted l<strong>in</strong>e shows the best-t exponentialas expla<strong>in</strong>ed below. However, it has been my experience that these curves alwaysappear stretched, and a stretched exponential (t) = exp(,(t=) ) with = 0:8would give amuch better t.128


1ρ(∆τ)0.10 10 20 30 40 50 60 70 80 90 100∆τ / 800Figure 5-12: A semilogarithmic plot of the time autocorrelation function of the radiusof gyration for the polymer with N = 140. The dotted l<strong>in</strong>e is chosen to have the samearea under the curve, and its slope gives a measure of the relaxation time.Assum<strong>in</strong>g an exponential form for the time autocorrelation function, the relaxationtime is given by the area under the curve. In order to avoid the noise <strong>in</strong> the tail ofthe curve, the area can be approximated by (as <strong>in</strong> [63]) =R te0 (t)dt1 , (t e ) ; (5.9)where t e is the rst po<strong>in</strong>t after the curve drops below 1=e. The value of can be<strong>in</strong>terpreted as a characteristic time over which the polymer forgets its previous size.Figure 5-13 shows a log-log plot of the relaxation time vs. the number of bonds. Therelaxation time is expected to obey the follow<strong>in</strong>g scal<strong>in</strong>g law <strong>in</strong> the limit of large N: N 2+1 where 2 +1= d+8d+2 : (5.10)The dotted l<strong>in</strong>e shows a least-squares t through the last thirteen po<strong>in</strong>ts and is givenby = (0:123)(N , 1) 2:55 : (5.11)The exponent is close to the exact value of 5/2 for two dimensions, and the t is very129


100000010000010000τ10001001010.11 10 100 1000N - 1Figure 5-13: The Rouse relaxation time as a function of the number of bonds asderived from the radius of gyration. The dotted l<strong>in</strong>e shows the least-squares t tothe asymptotic region of the graph.good for N 50. The fact that the prefactor is much less than one time step saysthat the <strong>in</strong>tr<strong>in</strong>sic relaxation rate <strong>in</strong> the double space model is high. Recall that theprefactor was 2.5 times greater for the bond uctuation method. The relaxation iseven faster than expected from about N =4toN= 40, but the orig<strong>in</strong> of the dip isnot entirely clear.5.4 ApplicationsThe models <strong>in</strong>troduced above for do<strong>in</strong>g polymer simulations with CA open up numerouspossibilities for applications and further development. Some <strong>in</strong>vestigations,<strong>in</strong>clud<strong>in</strong>g those <strong>in</strong>volv<strong>in</strong>g three dimensional systems, are fairly straightforward, whileothers will require creative breakthroughs <strong>in</strong> CA model<strong>in</strong>g techniques. To beg<strong>in</strong> with,it is always possible to do more detailed measurements and analysis, and the resultsmay verify or demand theoretical explanations. Of course eventually, one will wantto reconcile the newfound understand<strong>in</strong>g with actual experiments. In addition tomore analysis, much of what can be done <strong>in</strong>volves vary<strong>in</strong>g the system geometry orthe <strong>in</strong>itial conditions, e.g., study<strong>in</strong>g dierent polymer topologies [37, 51, 63]. Most130


<strong>in</strong>terest<strong>in</strong>g from the po<strong>in</strong>t of view of develop<strong>in</strong>g CA methods is the potential for <strong>in</strong>troduc<strong>in</strong>gnew rules and <strong>in</strong>teractions. Examples of each of these types of extensionsis evident <strong>in</strong> what follows.More realistic polymer models would have to exhibit chemical reactions aris<strong>in</strong>gfrom changes <strong>in</strong> <strong>in</strong>ternal energy between dierent congurations, and ways to do thiswill now be described. Dierent types of monomers and solvent molecules (which canbe denoted by extra bits <strong>in</strong> a CA) may attract each other to vary<strong>in</strong>g degrees, and thiscan result <strong>in</strong> gelation, fold<strong>in</strong>g, or further polymerization. Equilibrium ensembles ofpolymer mixtures hav<strong>in</strong>g well-dened energies can be sampled us<strong>in</strong>g the Metropolisalgorithm [62] as follows. Trial moves are generated as before, but <strong>in</strong>stead of check<strong>in</strong>gfor violation of absolute constra<strong>in</strong>ts, the moves are accepted or rejected probabilistically.The move is accepted unless the new state has a higher energy, <strong>in</strong> which case itis only accepted with a probability of exp(,E=kT). One must be careful to denethe energy <strong>in</strong> such away that a parallel update only changes the energy by the sumof the energies of the <strong>in</strong>dividual moves. The result<strong>in</strong>g Monte Carlo dynamics willgenerate a Boltzmann weight of exp(,E=kT) for congurations with energy E. Asan alternative tohav<strong>in</strong>g an energy-driven dynamics, one can construct ad hoc rulesfor stochastically form<strong>in</strong>g or break<strong>in</strong>g bonds and let the dynamics emerge statistically.This would be more <strong>in</strong> l<strong>in</strong>e with our desire to nd the simplest mechanism forcaus<strong>in</strong>g a given behavior. Either way, random numbers are clearly an important partof CA rules for abstract molecular simulation, and useful techniques for <strong>in</strong>corporat<strong>in</strong>grandomness <strong>in</strong> CA are discussed <strong>in</strong> appendices A and C.5.4.1 Polymer Melts, Solutions, and GelsThis section and the next describe some of the variations on the double space algorithmthat have just begun to be explored (see [21] for ideas). The models are stillathermal, mean<strong>in</strong>g that there is no temperature parameter which can be adjusted,but they show howmuch can already be done with such trivial energetics. The simulationsdiscussed below have been run on a variety of computer platforms, but cellularautomata mach<strong>in</strong>es and other massively parallel computers are better for high den-131


(a)(b)Figure 5-14: CAM-6 simulations show<strong>in</strong>g complex polymer congurations. Left: Amedium density polymer melt consist<strong>in</strong>g of 128 cha<strong>in</strong>s each with N = 140. Right: Agel spontaneously formed from a random conguration of monomers by ignor<strong>in</strong>g theexcluded volume constra<strong>in</strong>t.sity systems [67]. However, even for low density systems, an advantage <strong>in</strong> do<strong>in</strong>g themon cellular automata mach<strong>in</strong>es is that real-time visualization is immediately possible.These examples br<strong>in</strong>g up several problems for future research.An important application of polymer simulation is to polymer melts [12, 51]. Anongo<strong>in</strong>g project is to study two-dimensional abstract polymer melts such as the oneshown <strong>in</strong> gure 5-14. Prelim<strong>in</strong>ary measurements consist<strong>in</strong>g of histograms, averages,and relaxation times have been made on over a dozen quantities <strong>in</strong>clud<strong>in</strong>g radii, bondlengths, and Monte Carlo acceptance ratios. Also measured are structure functions,mass distribution functions, and the diusion rates of <strong>in</strong>dividual polymers. One novelpart of this project is to quantify the shape of the region occupied by <strong>in</strong>dividual polymersas a measure of polymer <strong>in</strong>terpenetration. This is done <strong>in</strong> order to determ<strong>in</strong>ehow <strong>in</strong>terpenetration scales with <strong>in</strong>creas<strong>in</strong>g polymer concentration c (taken with respectto the concentration c ? where separate polymers start to overlap) [72]. Thenecessary techniques for measur<strong>in</strong>g the geometry of separate doma<strong>in</strong>s <strong>in</strong> a cellularspace are presented <strong>in</strong> appendix F.The presence of a solvent is an important factor <strong>in</strong> the behavior of real polymers.If the solvent it good, an isolated polymer will obey the Flory scal<strong>in</strong>g law for the132


adius as <strong>in</strong>dicated <strong>in</strong> the previous section, but if the solvent is poor, the polymerwill tend to collapse. This naturally leads to the question of how a polymer collapseswhen it goes from good to poor solvent conditions. A crude way to mimic a poorsolvent without <strong>in</strong>troduc<strong>in</strong>g bond<strong>in</strong>g energies is to simply remove the check of theexcluded volume constra<strong>in</strong>t shown <strong>in</strong> gure 5-7. This allows new bonds to form, andmany monomers <strong>in</strong> the same space can occupy a s<strong>in</strong>gle cell. If these monomers aretaken together as a s<strong>in</strong>gle monomer, it is possible to take<strong>in</strong>to account the higher massby hav<strong>in</strong>g the monomer move less frequently. Such simulations on s<strong>in</strong>gle polymershave been done on serial computers with the eect of mass on diusion <strong>in</strong>cluded <strong>in</strong>a phenomenological way [68]. These simulations suggest that polymers preferentiallycollapse from the ends <strong>in</strong>stead of uniformly along their length <strong>in</strong> a hierarchical fashionas is the case for cha<strong>in</strong>s near the so-called po<strong>in</strong>t (where steric repulsion and vander Waals attraction between monomers cancel).The collapse mechanism can also be performed even more simply by allow<strong>in</strong>gmonomers to fuse while not chang<strong>in</strong>g their mass. This is the easiest th<strong>in</strong>g to do ona cellular automata mach<strong>in</strong>e because there is no room for more than one monomerper cell <strong>in</strong> one space. While nonconservation of monomers is unphysical, it leadsto <strong>in</strong>terest<strong>in</strong>g behavior. Start<strong>in</strong>g from a random conguration, monomers quicklypolymerize to create a network of polymer strands. Figure 5-14 (right) shows a foamthat results from runn<strong>in</strong>g for 500 steps from an <strong>in</strong>itial monomer density of 28% <strong>in</strong>each space. CA dynamics along these l<strong>in</strong>es could form the basis of models of gelformation, and it would be possible to <strong>in</strong>vestigate, for example, the correlation lengthor distribution of pore sizes as a function of the <strong>in</strong>itial monomer concentration.Possibly the most <strong>in</strong>terest<strong>in</strong>g area for application of polymer simulation <strong>in</strong> generalis that of prote<strong>in</strong> fold<strong>in</strong>g. This is a rich area for future research <strong>in</strong>CAsimulationsof abstract polymer models as well. In fact, <strong>in</strong>vestigations of polymer collapse wereorig<strong>in</strong>ally motivated with a view towards the prote<strong>in</strong> fold<strong>in</strong>g problem. While realprote<strong>in</strong>s are very complex objects and local structure counts for almost everyth<strong>in</strong>g,there are still some <strong>in</strong>terest<strong>in</strong>g th<strong>in</strong>gs that can be done with simulations on lattice prote<strong>in</strong>s[13]. Furthermore, it is still possible to model highly complex <strong>in</strong>teractions with133


CA (<strong>in</strong>clud<strong>in</strong>g solvents) by <strong>in</strong>troduc<strong>in</strong>g <strong>in</strong>termolecular potentials and us<strong>in</strong>g spatialpartition<strong>in</strong>g.One important aspect of polymer physics that is miss<strong>in</strong>g from all of the abovelattice Monte Carlo models are hydrodynamic <strong>in</strong>teractions; that is, the transportof a conserved momentum between polymer strands and the <strong>in</strong>terven<strong>in</strong>g uid. Theexamples here assume that diusion is the dom<strong>in</strong>ant mode of transport, but hydrodynamicsis often necessary for a proper description of dynamical behavior. Hav<strong>in</strong>ga CA model of such behavior would enable <strong>in</strong>terest<strong>in</strong>g studies of, for example, theeect of polymers on uid ow. It is easy to have momentum conservation <strong>in</strong> a gasof po<strong>in</strong>t particles, but it is dicult to obta<strong>in</strong> for systems of polymers. The questionof how to obta<strong>in</strong> momentum conservation for extended objects is brought up aga<strong>in</strong><strong>in</strong> chapter 6.5.4.2 Pulsed Field Gel ElectrophoresisElectrophoresis of polymers through a gel can be used to separate DNA fragmentsby length, and this constitutes an important technique <strong>in</strong> advanc<strong>in</strong>g genetic research<strong>in</strong> general and the the Human Genome project <strong>in</strong> particular. Separation us<strong>in</strong>g a constantelectric eld is only eective on relatively short cha<strong>in</strong>s because longer cha<strong>in</strong>sbecome aligned with the eld and subsequently exhibit mobilities that are <strong>in</strong>dependentofcha<strong>in</strong> length. However, periodically chang<strong>in</strong>g the direction of the appliedeld by 90 (referred to as puls<strong>in</strong>g) causes entanglement and disentanglement of theDNA with the gel and leads to eective separation for longer cha<strong>in</strong>s [74]. Computersimulations of polymers and gels are useful for understand<strong>in</strong>g and improv<strong>in</strong>g electrophoreticseparation techniques [76]. Therefore we would like to modify the doublespace algorithm <strong>in</strong> order to simulate electrophoresis, with and without pulsed elds.This section discusses procedures and results from this project [77, 78].Two straightforward tasks are necessary to turn a lattice Monte Carlo dynamicsfor polymers <strong>in</strong>to a model of DNA electrophoresis: (1) modify the rule, and (2) createa suitable <strong>in</strong>itial condition. The rule should be modied to give the polymers a netdrift velocity and to support a background of obstacles which represents the gel. The134


ias <strong>in</strong> the direction of diusion can be eected most simply by assign<strong>in</strong>g unequalprobabilities of perform<strong>in</strong>g steps <strong>in</strong> dierent directions. Alternatively, one can, atregular <strong>in</strong>tervals, chose a denite direction of movement (say, to the right) for all themonomers. The <strong>in</strong>itial condition will consist of relaxed polymers <strong>in</strong> a background gelmatrix, and the simplest model of such a matrix is a xed set of small obstacles. Intwo dimensions, these obstacles can be thought of as polymer strands of the gel which<strong>in</strong>tersect the space perpendicular to the plane. The ability tovary the parameters <strong>in</strong>the rule, as well as the size of the polymers relative to the typical pore size of the gel,opens up a range of possibilities for experimentation with the model. The paragraphsbelow describe the implementation on CAM-6.The electrophoresis dynamics on CAM-6 proceeds <strong>in</strong> cycles which conta<strong>in</strong> theequivalent of four steps of the ord<strong>in</strong>ary double space algorithm: essentially one for eachof the four possible directions of movement. For this reason, time <strong>in</strong> the simulationdescribed below will be measured <strong>in</strong> terms of cycles. Once per cycle, only moves tothe right are accepted, which causes an overall drift to the right. Because of the waymonomers are swapped <strong>in</strong> the CAM-6 implementation, 22 blocks of even monomerssuperimposed on a similar blocks of odd monomers (eight monomers total) forms atightly bound polymer that cannot move. Therefore, the immovable obstructions canbe made out of monomers arranged <strong>in</strong> these blocks, and no further modications to therule are necessary. Moreover, there is a one-cell excluded volume around each block,so that no other monomers can touch it. Thus, each block ma<strong>in</strong>ta<strong>in</strong>s an excludedvolume of 44 which reduces the pore size accord<strong>in</strong>gly.Initial congurations of the system are prepared on a serial computer <strong>in</strong> threestages and then transferred to CAM-6. First, a given number of 22 blocks compris<strong>in</strong>gthe matrix are placed at random, one at a time. Placements with<strong>in</strong> a prespecieddistance from any other block (or the edges of the space) are rejected and anotherplacement is found for the block. This causes an anticluster<strong>in</strong>g of the obstructionswhich makes them more evenly distributed than they would be without the distanceconstra<strong>in</strong>t. Second, the polymers are distributed <strong>in</strong> a similar fashion to the blocks bystart<strong>in</strong>g them out <strong>in</strong> straight, vertical congurations. In this case, the polymers must135


e kept at least one cell away from the blocks and other polymers. F<strong>in</strong>ally, the polymersare allowed to relax <strong>in</strong>to an equilibrium state by us<strong>in</strong>g a fast, nonlocal MonteCarlo dynamics. This so-called reptation dynamics randomly moves monomers fromeither end of a polymer to the other end, subject to the constra<strong>in</strong>ts of the model.This algorithm produces the correct equilibrium ensemble and is used here only toestablish a start<strong>in</strong>g conguration for the modied double space algorithm dynamics.Congurations from the CAM-6 simulation of DNA gel electrophoresis are shown<strong>in</strong> gure 5-15. The <strong>in</strong>itial condition (a) conta<strong>in</strong>s 1000 of the immovable blocks and128 polymers, each with N = 30. The blocks were scattered with a m<strong>in</strong>imum allowedseparation of 5 <strong>in</strong> lattice units, giv<strong>in</strong>g a typical separation of 8 (for a typical poresize of 4). The density of polymers was chosen to be articially high <strong>in</strong> order to showmany k<strong>in</strong>ds of <strong>in</strong>teractions <strong>in</strong> a s<strong>in</strong>gle frame. The characteristic radius of the polymersis larger than the pore size <strong>in</strong> this case, so the cha<strong>in</strong>s must orient themselves withthe eld <strong>in</strong> order to squeeze though. Figure 5-15(b) shows the system after runn<strong>in</strong>gfor 100 cycles, and virtually all of the polymers have started to be caught on the gel.Furthermore, many of the polymers are draped over more than one obstacle, whilethe few that are oriented along the eld can cont<strong>in</strong>ue to move. After 100,000 cycles(gure 5-15(c)), the polymers have diused around the space several times and havebecome entangled with the matrix to form extended mats. Note that this means thepolymers must be able to repeatedly catch and free themselves from the blocks.The nal part of this simulation shows the eect of pulsed elds (gure 5-15(d)).The switch<strong>in</strong>g was accomplished by periodically turn<strong>in</strong>g the conguration by 90 while keep<strong>in</strong>g the rule (and therefore, the direction of the bias) the same. Start<strong>in</strong>gfrom gure 5-15(b), the eld direction was switched ve times followed by runn<strong>in</strong>g 20cycles of the rule after each switch (for a total of 100 additional cycles). The result isa net drift at 45 , mean<strong>in</strong>g that the polymers do not have time to reorient themselves<strong>in</strong> 20 cycles. At very low frequencies, one would expect the polymers to have timeto respond to the change and alternately drift at right angles. At some <strong>in</strong>termediate\resonant" frequency, the polymers should have a m<strong>in</strong>imum mobility due to be<strong>in</strong>gconstantly obstructed by the gel.136


(a)(b)(c)(d)Figure 5-15: Electrophoresis demonstration on CAM-6. (a) Initial equilibrium congurationconsist<strong>in</strong>g of 128 polymers with N =30<strong>in</strong>abackground of 1000 immovable22 blocks. (b) After 100 cycles of the rule, most of the polymers have becomecaught on an obstruction. (c) After 100,000 cycles of the rule, the polymers havedrifted around the space until most are caught <strong>in</strong> one of a few clumps. (d) A congurationshow<strong>in</strong>g the eect of switch<strong>in</strong>g the direction of the eld.137


In addition to visual exam<strong>in</strong>ation of more congurations, this research could becont<strong>in</strong>ued <strong>in</strong> several ways. For example, by add<strong>in</strong>g labels to the polymers one couldtrace the position of <strong>in</strong>dividual polymers and measure polymer mobility as a functionof polymer size, gel density, and switch<strong>in</strong>g frequency. Other possibilities <strong>in</strong>cludemodify<strong>in</strong>g the polymer rule, chang<strong>in</strong>g the matrix, and go<strong>in</strong>g to three dimensions.One problem with this rule as it stands (and <strong>in</strong> lattice models <strong>in</strong> general) is thattension is not transmitted along the cha<strong>in</strong> as readily as it would be <strong>in</strong> a real polymer.This is related to the problem of momentum conservation mentioned previously.Furthermore, there are congurations <strong>in</strong> which polymers cannot slide along their owncontours (e.g., see gure 5-15(c)), and it takes an <strong>in</strong>ord<strong>in</strong>ately long time for themto break free from the obstructions. This would be less of a problem with a weakerdriv<strong>in</strong>g force, though simulation time would also <strong>in</strong>crease.5.5 Conclusions<strong>Cellular</strong> automata are capable of model<strong>in</strong>g complex physical situations by mov<strong>in</strong>gabstract atoms accord<strong>in</strong>g to physically motivated rules. An important technique <strong>in</strong>many of these simulations is the Monte Carlo method, and polymer physics is onearea where CA can be successfully employed. Polymers are especially <strong>in</strong>terest<strong>in</strong>g fromthe po<strong>in</strong>t of view of abstract model<strong>in</strong>g because they can often be described by scal<strong>in</strong>glaws which arise from averag<strong>in</strong>g out the relatively unimportant details.The availability of cellular automata mach<strong>in</strong>es and other massively parallel computersmake it desirable to nd CA rules for model<strong>in</strong>g polymers. The essential featuresof lattice polymer dynamics that must be reta<strong>in</strong>ed <strong>in</strong> a parallel implementation arethat the cha<strong>in</strong>s ma<strong>in</strong>ta<strong>in</strong> connectivity and excluded volume. The technique of spatialpartition<strong>in</strong>g can be used to construct parallel polymer dynamics quite generally, butthe result<strong>in</strong>g lattice polymers are <strong>in</strong>exible and the dynamics are slow. These problemsare elegantly solved by the double space algorithm. This algorithm is well suitedto CA and is superior <strong>in</strong> most respects to the alternative bond uctuation method.Physical model<strong>in</strong>g with CA is a quantitative eld which lends itself to a range138


of <strong>in</strong>terest<strong>in</strong>g experiments. In many cases, it is possible to use additional CA rulesas tools for measurement and analysis. Extensive simulations of the double spacealgorithm show that it obeys the correct scal<strong>in</strong>g relations for the characteristic radiusand its relaxation time. Hence, it forms a suitable basis for further model<strong>in</strong>g.Many applications are immediately made possible by the techniques given here<strong>in</strong>clud<strong>in</strong>g extensive simulations and measurements of polymers <strong>in</strong> melts and complexgeometries. Even more applications would be made possible by add<strong>in</strong>g chemicalreactions, and this can be done with the Metropolis algorithm or by ad hoc means.Simulations of electrophoresis of polymers <strong>in</strong> a gel show how they can get caughton obstructions. While momentum conservation is automatic <strong>in</strong> molecular dynamicssimulations, it is still an outstand<strong>in</strong>g problem to nd a sensible way to add momentumconservation to CA simulations of polymers.139


140


Chapter 6Future Prospects for PhysicalModel<strong>in</strong>g with <strong>Cellular</strong> <strong>Automata</strong>6.1 IntroductionEach of the models presented <strong>in</strong> the previous chapters br<strong>in</strong>gs up a number of problemsfor additional research. Besides these follow-up problems, several topics for research<strong>in</strong> new directions are <strong>in</strong>dicated below, and some trial models are given as seeds of<strong>in</strong>vestigation. The models are lack<strong>in</strong>g <strong>in</strong> some respects, but they can already bestudied as they stand; this will undoubtedly lead to further ideas <strong>in</strong> the course of thework. Undoubtedly by now, the reader also has many ideas for model<strong>in</strong>g with CA.6.2 Network Model<strong>in</strong>gA class of complex dynamical systems that is becom<strong>in</strong>g <strong>in</strong>creas<strong>in</strong>gly important <strong>in</strong> themodern age is that of <strong>in</strong>formation networks. The most familiar example of such anetwork is the telephone system. Other notable examples are the Internet and thelocal area networks that l<strong>in</strong>k computers with<strong>in</strong> a s<strong>in</strong>gle build<strong>in</strong>g. Depend<strong>in</strong>g on theamount of bandwidth available, they can carry textual, numerical, audio, or evenvideo data. The technology can be put to numerous uses, and there is always moredemand to <strong>in</strong>crease the throughput [40].141


Networks can be anywhere from s<strong>in</strong>gle chip to global <strong>in</strong> scale. They consist ofanumber of nodes (which are often just computers) connected by communicationschannels. Information ows from a source node to a dest<strong>in</strong>ation node, possibly pass<strong>in</strong>gthough several nodes <strong>in</strong> between. The nodes are responsible for trac control, and acentral problem is to determ<strong>in</strong>e how to route the signals. A circuit-switched networkis an older type of network, orig<strong>in</strong>ally suited to carry<strong>in</strong>g analog signals, and it providesa cont<strong>in</strong>uous connection from source to dest<strong>in</strong>ation. The advent of digital <strong>in</strong>formationprocess<strong>in</strong>g has made possible the more sophisticated packet-switched network <strong>in</strong> whichdigital signals are chopped <strong>in</strong>to packets of data which travel separately, only to bereassembled at the dest<strong>in</strong>ation. Each packet of data conta<strong>in</strong>s an address tell<strong>in</strong>g itwhere to go and a time stamp tell<strong>in</strong>g its order. The advantage of packet switch<strong>in</strong>gover circuit switch<strong>in</strong>g is that it is much more exible <strong>in</strong> how the resources of thenetwork are used: the packets can travel whenever and wherever a channel is openwithout hav<strong>in</strong>g to have a s<strong>in</strong>gle unbroken connection established for the duration ofthe transmission.The dynamics of a packet-switched network emerge from the switch<strong>in</strong>g of thenodes <strong>in</strong> response to the trac. As the trac <strong>in</strong> the network <strong>in</strong>creases, conicts startto arise when two or more packets want to use the same channel, and one must devisea communication protocol which works correctly <strong>in</strong> such cases. Some possibilities areto temporarily store the packet, drop the packet and try the transmission later, ordeect the packet along another channel that is open and hope that it eventuallynds a way to its dest<strong>in</strong>ation. These techniques may be used <strong>in</strong> comb<strong>in</strong>ation, buteach of them obviously has drawbacks. Deect<strong>in</strong>g the packets is a good way tokeepthe data mov<strong>in</strong>g, but it may also lead to further conicts. Under certa<strong>in</strong> conditions,the conicts can feed back and develop <strong>in</strong>to what is known as a \packet storm,"where<strong>in</strong> the <strong>in</strong>formation throughput suddenly drops. It is not entirely understoodhow packet storms orig<strong>in</strong>ate, how to prevent them, or even what they look like, andthis is where CA come <strong>in</strong>. <strong>Cellular</strong> automata have the potential of simulat<strong>in</strong>g thebehavior of complex networks, and hopefully they can provide a visual understand<strong>in</strong>g142


Figure 6-1: Example of a network with data packets of various lengths travel<strong>in</strong>g alongbidirectional wires. The nodes have four ports and switch signals com<strong>in</strong>g <strong>in</strong> on oneport to one of the other three ports.of phenomena such as packet storms. 1The basic idea for us<strong>in</strong>g CA to simulate networks is illustrated by the CAM-6conguration shown <strong>in</strong> gure 6-1 (compare this to the digital circuits shown <strong>in</strong> gure2-20). The l<strong>in</strong>es represent wires, and the sequences of bits on the wires represent<strong>in</strong>divisible packets of data. There are a total of 38 data packets rang<strong>in</strong>g <strong>in</strong> length from1 to 51 bits. The dark squares where the wires meet are the nodes, whereas the light<strong>in</strong>tersections are just crossovers. This network has 100 nodes, each of which is connectedto four others (with a total of 200 wires). The wires are actually bidirectionals<strong>in</strong>ce they transmit the bits by swapp<strong>in</strong>g the values <strong>in</strong> adjacent cells.The network operates as follows.The nodes receive packets as they come <strong>in</strong>1 The author would like to thank Randy Hoebelhe<strong>in</strong>rich for suggest<strong>in</strong>g this application.143


through one of the four ports and then immediately send them out on dierent ports.Furthermore, the packets are always sent out on a wire that is not currently be<strong>in</strong>gused, so the packets will never merge <strong>in</strong>to each other. This is already describes the essentialfunctionality of the network, but there are some additional details. S<strong>in</strong>ce eachnode has four <strong>in</strong>puts and four outputs, it can have up to four packets go<strong>in</strong>g throughit at any given time. Each node has n<strong>in</strong>e possible <strong>in</strong>ternal sett<strong>in</strong>gs correspond<strong>in</strong>g tothe n<strong>in</strong>e derangements (i.e., permutations that change the position of every object) ofthe four ports, so that each derangement species which <strong>in</strong>put is connected to whichoutput. The <strong>in</strong>ternal state of each node merely cycles through all n<strong>in</strong>e sett<strong>in</strong>gs unlessthere are packets go<strong>in</strong>g through <strong>in</strong> which case it cycles through only those sett<strong>in</strong>gsthat will not break the packets.This network dynamics as described has a number of special properties. First,the packets are just str<strong>in</strong>gs of 1's with no sources and no dest<strong>in</strong>ations, so they arejust be<strong>in</strong>g switched around <strong>in</strong> a pseudorandom fashion. Second, the packets keeptheir identity and never merge. Third, the wires carry bits <strong>in</strong> a perfectly reversibleway. F<strong>in</strong>ally, the nodes cycle through their <strong>in</strong>ternal states <strong>in</strong> a denite order, sothe overall dynamics is reversible. Reversibility gives the remarkable property thatthe <strong>in</strong>formation <strong>in</strong> the network can never be lost, and there can never be a conict.Unfortunately, it also means that the packets cannot have dest<strong>in</strong>ations to which theyhome. If they did, it would mean that there is ambiguity as to where a given packethas come from, and this <strong>in</strong>compatible with a one-to-one map. In order for them tobe able to retrace their paths, they would have tohave additional degrees of freedom<strong>in</strong> which to record their history. All of this is <strong>in</strong>terest<strong>in</strong>g from a physical po<strong>in</strong>t ofview because it means that the network has a nondecreas<strong>in</strong>g entropy, and could bedescribed <strong>in</strong> thermodynamic terms. A more realistic network simulation would <strong>in</strong>jectpackets conta<strong>in</strong><strong>in</strong>g forward<strong>in</strong>g addresses and would remove them once they reach theirdest<strong>in</strong>ations. Note, however, that there may not be room to <strong>in</strong>ject a packet and theoperation of remov<strong>in</strong>g them would be irreversible.144


6.3 The Problem of Forces and GravitationOne of the most basic physical notions is that of a force. Intuitively, forces are what\cause th<strong>in</strong>gs to happen." There are several ways <strong>in</strong> which they are physically manifested:as a push or pull between the pieces of a composite object, as a contributionto the Hamiltonian (or energy) of a system, and even as \ctitious" eects due to achoice of a coord<strong>in</strong>ate system. In one way or another, forces underlie almost everyaspect of physics. Hence, a desirable feature of any paradigm for physical model<strong>in</strong>gis the ability to <strong>in</strong>clude forces. Forces can be of many types, and eventually we wouldlike to be able to simulate them all.We would like to be able to create forces with<strong>in</strong> CA <strong>in</strong> order to simulate a varietyof phenomena of physical <strong>in</strong>terest, and <strong>in</strong> particular, gravitational attraction. Inchapter 3 one approach to generat<strong>in</strong>g an attractive<strong>in</strong>teraction was to <strong>in</strong>voke statisticalforces. A statistical force is created by exploit<strong>in</strong>g the tendency for entropy to <strong>in</strong>creasedur<strong>in</strong>g the evolution of any complex reversible system. One merely has to devise ascheme whereby the statistically most likely (and therefore typical) response of thesystem is to follow the desired path.The evolution of any nontrivial dynamical system can be attributed to forces, andCA are no exception. However, the usual view of CA as eld variables means that theforces act to change the states of the cells, as opposed to chang<strong>in</strong>g the locations of thecells. If we want to model general motion through space, we must <strong>in</strong>vent reversible<strong>in</strong>teractions that lead to acceleration <strong>in</strong> the spatial dimensions of the CA. Now <strong>in</strong>adiscrete spacetime, one seems to be limited to a nite set of velocities and positions,so forces will be impulsive and take on a nite set of values. 2 Therefore, it will notbe possible to have a solitary particle follow<strong>in</strong>g a nontrivial smooth trajectory as onewould like.Attractive forces are arguably more important than repulsive forces because theyserve to hold matter together <strong>in</strong>to functional entities. This is especially true <strong>in</strong> re-2 This conclusion is dicult to escape if the state of the system is to be <strong>in</strong>terpreted locally andthe amount of <strong>in</strong>formation is locally nite. What other <strong>in</strong>terpretations might be useful to get aroundthis problem?145


versible CA s<strong>in</strong>ce the natural tendency for systems of particles is to diuse. Furthermore,it is harder to simulate long-range forces s<strong>in</strong>ce <strong>in</strong>teractions <strong>in</strong> CA are,by denition, short-ranged. Therefore, the particular problem we want to address <strong>in</strong>this section is the construction of a reversible CA for simulat<strong>in</strong>g attractive, long-rangeforces such as gravity.In classical eld theory, forces are gauge elds which are coupled to matter elds.In quantum eld theory, <strong>in</strong>teractions are often pictured as exchanges of gauge particlesbetween matter particles. One approach to simulat<strong>in</strong>g forces <strong>in</strong> CA is to build aclassical analogy based on these pictures. The idea is to <strong>in</strong>troduce exchange particleswhich carry momentum between distant gas particles. The result<strong>in</strong>g models dierfrom real physics <strong>in</strong> several signicant respects. First, the model is based on classical,determ<strong>in</strong>istic collisions rather than on quantum mechanical probability amplitudes.Second, the exchange particles are real <strong>in</strong>stead of virtual. Third, the exchange particleshave a momentum which is opposite to their velocity. F<strong>in</strong>ally, tomake themodel reversible, the exchange particles are conserved <strong>in</strong>stead of be<strong>in</strong>g created anddestroyed.The model given here couples the TM and HPP gases which are dened by gure3-5, and each gas obeys its own dynamics when it is not <strong>in</strong>teract<strong>in</strong>g with theother. The particles of each gas carry a momentum proportional to their velocity,but the key to obta<strong>in</strong><strong>in</strong>g attractive forces is that the exchange particles are consideredto have anegative mass. The gases <strong>in</strong>teract <strong>in</strong> a 22 partition whenever they canexchange momentum conservatively. The basic coupl<strong>in</strong>g is shown <strong>in</strong> gure 6-2, andothers can be obta<strong>in</strong>ed by rotation and reection of the diagram. Note that this <strong>in</strong>teractionis reversible. One may th<strong>in</strong>k of the TM particles as the \matter" gas and theHPP particles as the \force" eld. Instead of hav<strong>in</strong>g virtual exchange particles withimag<strong>in</strong>ary momenta, the exchange particles are considered to be real with negativemass which means that their momenta are directed opposite to their velocity.What is the eect of this coupl<strong>in</strong>g between the gases? S<strong>in</strong>ce the rule is reversible,gravitational collapse cannot occur start<strong>in</strong>g from a uniform <strong>in</strong>itial condition becausethe entropy must <strong>in</strong>crease, and there are no low entropy degrees of freedom available146


efore dur<strong>in</strong>g afterFigure 6-2: A collision rule for generat<strong>in</strong>g an attractive coupl<strong>in</strong>g between the twolattice gases. In order to conserve momentum, the mass of the HPP particle (circle)is taken to be negative one-half of the mass of the TM particle (square).(a)(b)Figure 6-3: (a) A uniform gas of matter particles, conta<strong>in</strong><strong>in</strong>g a block of force mediat<strong>in</strong>gparticles. (b) Attraction of the matter particles by the expand<strong>in</strong>g cloud of forceparticles.to use as a heat s<strong>in</strong>k. However, it is possible to obta<strong>in</strong> an attraction by start<strong>in</strong>gfrom a nonuniform <strong>in</strong>itial condition as shown <strong>in</strong> gure 6-3. Initially (6-3(a)), there isa random 6464 block of HPP (force) particles <strong>in</strong> a 20% background of TM (matter)particles. As the eld moves outward, it attracts the gas and reverses directionas described by gure 6-2. After a few hundred steps, the block has swollen somewhat,but a rarefaction has developed <strong>in</strong> the gas while its density <strong>in</strong> the center has<strong>in</strong>creased (6-3(b)).Unfortunately, the contraction is only a transient eect because the force particlescont<strong>in</strong>ue to diuse through the matter particles while the entropy cont<strong>in</strong>ues to rise.Eventually, the system becomes completely uniform, and there is no further attrac-147


tion. One problem with hav<strong>in</strong>g real exchange particles <strong>in</strong>stead of virtual ones is thatthey are not obligated to be reabsorbed <strong>in</strong> an attractive collision. Rather, as is thecase here, they often miss the matter particles they were meant to conta<strong>in</strong>, and thenthey can no longer contribute to the gravitational eld. However, the question stillrema<strong>in</strong>s, is there some way to get around these problems and make a reversible CAmodel of gravitation? 36.4 The Dynamics of SolidsAnother area of physics <strong>in</strong> which forces play an important role is <strong>in</strong> the dynamics of\rigid" bodies. Examples such as billiard balls are common <strong>in</strong> classical mechanics, andthe ability to simulate them would open a host of applications. A successful simulationwould probably solve the more general problem of simulat<strong>in</strong>g <strong>in</strong>termolecular forces aswell.The question is basically this: How does one program a CA to support the motionof macroscopic solid bodies? This question has been dubbed the \solid body motionproblem" and was rst asked by Margolus [57], but a denitive statement of theproblem has never really been elucidated. The question also illustrates the problemwith com<strong>in</strong>g up with fundamental dynamics of physical <strong>in</strong>terest. Several membersof the Information Mechanics Group have worked on this problem with limited success[15, 14, 42]. The one-dimensional case has been satisfactorily solved by Hrgovcicand Chopard <strong>in</strong>dependently by us<strong>in</strong>g somewhat dierent model<strong>in</strong>g strategies. Unfortunately,one-dimensional problems often have special properties which make themuniquely tractable [54].An implementation of the solution proposed by Hrgovcic for the one-dimensionalcase is shown <strong>in</strong> gure 6-4. Because of the way the object moves, it has been dubbed\plasmodium" after the amoeboid life form. The object consists of a \bag" whichis under tension and which conta<strong>in</strong>s a lattice gas (gure 6-4(a)). The gas particles3 It is possible to simulate condensation and phase separation <strong>in</strong> a lattice gas byhav<strong>in</strong>g a nonlocal,irreversible rule that is rem<strong>in</strong>iscent of the one given here [102].148


(a)(b)Figure 6-4: (a) The <strong>in</strong>itial condition consist<strong>in</strong>g of a l<strong>in</strong>e segment 30 cells long andwith the <strong>in</strong>ternal particles mov<strong>in</strong>g predom<strong>in</strong>antly to the right. (b) As time evolves,the momentum of the <strong>in</strong>ternal lattice gas carries the object to the right.travel back and forth through the bag at the speed of light, and they extend the bagby one cell by be<strong>in</strong>g absorbed when they hit the end. Conversely, the bag is retractedby one cell when a particle leaves. Figure 6-4(b) shows a spacetime diagram of 1000steps of the evolution of this object. The excess of <strong>in</strong>ternal gas particles mov<strong>in</strong>g tothe right is apparent.6.4.1 Statement of the ProblemTo make the problem precise, we need to establish some denitions. The key featuresof CA that wewant are local niteness, local <strong>in</strong>teractions, homogeneity, and determ<strong>in</strong>ism.What we mean by a solid body is a region of space that has an approximatelyconstant shape and is dist<strong>in</strong>guishable from a background \vacuum." Such regionsshould be larger than a CA neighborhood and have variable velocities. Roughly <strong>in</strong>order of importance, the solid bodies should have the follow<strong>in</strong>g: A reversible dynamics Arbitrary velocities with a conserved momentum Realistic collisions149


Arbitrary angular velocities with a conserved angular momentum Arbitrary size Arbitrary shape A conserved mass and energy or mass-energy An <strong>in</strong>ternal solid state physicsAs mentioned before, reversibility is necessary to make our physical models asrealistic as possible. The nite speed of propagation of <strong>in</strong>formation limits the velocities,so we can't demand too much <strong>in</strong> this regard. However, the dynamics of theobjects should obey some pr<strong>in</strong>ciple of relativity. Similarly, conservation laws shouldbe local. These requirements may imply an <strong>in</strong>ternal physics, but we would like torule out \unnatural" solutions (such asnavigation under program control).This might not even be a precise enough statement of the problem s<strong>in</strong>ce theremay be solutions to the above that miss some characteristic that we really meantto capture. Delet<strong>in</strong>g conditions will make the problem easier and less <strong>in</strong>terest<strong>in</strong>g.Alternatively,wemay be rul<strong>in</strong>g out some creative solutions by impos<strong>in</strong>g overly strictdemands.6.4.2 DiscussionThe problem as stated <strong>in</strong> its full generality abovemayvery well be unsolvable. Whileno formal proof exists, there are <strong>in</strong>dications to that eect. First and foremost is theconstra<strong>in</strong>t imposed by the second law of thermodynamics. In any closed, reversiblesystem, the amount of disorder or entropy, must <strong>in</strong>crease or stay the same. This isbecause a reversible system cannot be attracted (i.e., mapped many-to-one) to therelatively few more ordered states, so it is likely to wander to the vastly more numerousgeneric (random look<strong>in</strong>g) states. 4The wander<strong>in</strong>g is constra<strong>in</strong>ed by conservation laws,4 This argument holds for even a s<strong>in</strong>gle state <strong>in</strong> a determ<strong>in</strong>istic system|it is not necessary tohave probabilistic ensembles. The entropy can be dened as the logarithm of the number of statesthat have the same macroscopic conserved quantities.150


(a)(b)Figure 6-5: (a) A \solid" block of plasmodium which conta<strong>in</strong>s an HPP lattice gasmov<strong>in</strong>g to the right. (b) The object moves to the right by fragmentation along thedirections of motion of the lattice gas particles.but any <strong>in</strong>terest<strong>in</strong>g, nonl<strong>in</strong>ear rule will not be so highly constra<strong>in</strong>ed that the systemcannot move at all. This is especially true for systems whose constituent particles(as <strong>in</strong> a solid) are constantly jump<strong>in</strong>g from cell to cell. This is clearly not a problem<strong>in</strong> classical mechanics where the constituent particles can smoothly move from oneposition to another.Figure 6-5 shows an attempt to extend the plasmodium model to two dimensions.The idea is to run a lattice gas (HPP <strong>in</strong> this case) <strong>in</strong>side of a bag which grows andshr<strong>in</strong>ks depend<strong>in</strong>g on the ux of particles hitt<strong>in</strong>g the <strong>in</strong>side edges of the bag. Theresult<strong>in</strong>g rule is reversible and almost momentum conserv<strong>in</strong>g. A more complex rulecould be devised whichwould conserve momentum exactly, but the basic phenomenonwould be the same. Figure 6-5(a) shows the <strong>in</strong>itial state consist<strong>in</strong>g of a square bagconta<strong>in</strong><strong>in</strong>g a lattice gas mov<strong>in</strong>g to the right. Figure 6-5(b) show the results of 500steps of the rule. However, s<strong>in</strong>ce the dynamics is reversible, the entropy of the systemtends to <strong>in</strong>crease. Add<strong>in</strong>g surface tension to ma<strong>in</strong>ta<strong>in</strong> the <strong>in</strong>tegrity of the object wouldmake the rule irreversible. Such considerations illustrate the diculty of mak<strong>in</strong>g areversible dynamics stable [3, 92].The second problem is the lower limit on the size of a disturbance <strong>in</strong> a discrete151


system. For example, <strong>in</strong> a discrete space, one can't even imag<strong>in</strong>e the smooth, cont<strong>in</strong>uousacceleration usually associated with F = ma. Another argument goesasfollows. Any cont<strong>in</strong>uum mechanics of solids is likely to support sound waves of somedescription. Such a dynamics tends to distribute disturbances evenly, yet <strong>in</strong> morethan one dimension, this implies a th<strong>in</strong>n<strong>in</strong>g of the wave. But it seems impossibleto have a disturbance which shows up as less than a s<strong>in</strong>gle bit <strong>in</strong> a cell. Perhapscorrelated <strong>in</strong>formation can be less than a bit, but this seems too abstract to comprisea real solid object. It may be the case that any CA which has material transportalways amounts to a lattice gas.The nal problem is particular to Chopard's \str<strong>in</strong>gs" model [14, 15], but it maybe a reection of deeper underly<strong>in</strong>g problems. This model is quite simple and elegant,and it has several of the desired features. One reason that it works as well as it doesis that the str<strong>in</strong>g is eectively one-dimensional, and as we have seen, this simpliesth<strong>in</strong>gs greatly. Despite be<strong>in</strong>g so simple, it is not even described as a CA eld rule,but rather as a rule on (<strong>in</strong>teger) coord<strong>in</strong>ates of particles. This would be ne, exceptthat it is not clear that there is a good way to extend the rule to arbitrary CAcongurations. One must <strong>in</strong>stead place global restrictions on the <strong>in</strong>itial conditions.This is a particular problem with regards to collisions, which cannot be predicted <strong>in</strong>advance. The collision rules considered lead to str<strong>in</strong>gs which overlap or stick.Exam<strong>in</strong><strong>in</strong>g these po<strong>in</strong>ts will give us clues to what restrictions need to be relaxed <strong>in</strong>order to solve the problem. For example, if we drop the demand for reversibility, wemight be able to make a \liquid drop" model by add<strong>in</strong>g a dissipative surface tensionwhich would keep the drops from evaporat<strong>in</strong>g. Such considerations probe the powerand limitations of CA <strong>in</strong> general.6.4.3 Implications and ApplicationsThe solid body motion problem is central because it embodies many of the dicultiesencountered when try<strong>in</strong>g to construct a nontrivial dynamics that gradually andreversibly transforms the state of any digital system. It addresses some hurdles encounteredwhen attempt<strong>in</strong>g to apply CA to physics <strong>in</strong>clud<strong>in</strong>g cont<strong>in</strong>uity, relativity,152


and ultimately, quantum mechanics. Solv<strong>in</strong>g the more general problem of nd<strong>in</strong>grealistic dynamical elds would obviously have many applications. If this cannot bedone, then it would elim<strong>in</strong>ate many approaches to build<strong>in</strong>g worlds with CA. For thisreason, I th<strong>in</strong>k the solid body motion problem is important.This problem could lead to the development of CA methods for model<strong>in</strong>g stressand stra<strong>in</strong> <strong>in</strong> solids that are complementary to lattice gas methods. One would liketo be able to set up an experiment by load<strong>in</strong>g a design of a truss, for example, <strong>in</strong>tothe cellular array. Given other methods for <strong>in</strong>corporat<strong>in</strong>g forces <strong>in</strong> these models, say,gravity, one could also put an external load on the structure. Runn<strong>in</strong>g the automatonwould generate a stra<strong>in</strong> <strong>in</strong> the truss with stresses distribut<strong>in</strong>g themselves at the speedof sound until the system breaks or relaxes <strong>in</strong>to an equilibrium conguration. Thestresses and stra<strong>in</strong>s could be monitored for further analysis.F<strong>in</strong>ally, this problem has implications for the eld of parallel computation as awhole. The basic question is how best to program parallel mach<strong>in</strong>es to get a speedupover serial mach<strong>in</strong>es which <strong>in</strong>creases with the number of processors. And, of course,CA mach<strong>in</strong>es are the ultimate extreme <strong>in</strong> parallel computers. One ambitious, butdicult, approach is to make <strong>in</strong>telligent compilers that will automatically gure outhow to parallelize our serial programs for us. Perhaps a more practical approach isto drive parallel algorithm design with specic applications. The solid body motionproblem is a concrete example, and solv<strong>in</strong>g it <strong>in</strong>volves the <strong>in</strong>herent coord<strong>in</strong>ation ofthe eorts of adjacent processors.153


154


Chapter 7Conclusions<strong>Cellular</strong> automata constitute a versatile mathematical framework for describ<strong>in</strong>g physicalphenomena, and as model<strong>in</strong>g tools they oer a number of conceptual and practicaladvantages. In particular, they <strong>in</strong>corporate essential physical features such as causality,locality, determ<strong>in</strong>ism, and homogeneity <strong>in</strong> space and time. Furthermore, CA areamenable to ecient implementation <strong>in</strong> parallel hardware as cellular automata mach<strong>in</strong>eswhich provide important computational resources. The study of physics us<strong>in</strong>gCA comb<strong>in</strong>es physics, mathematics, and computer science <strong>in</strong>to a unied discipl<strong>in</strong>e.This thesis advances CA methods <strong>in</strong> mathematical physics by consider<strong>in</strong>g fundamentalphysical pr<strong>in</strong>ciples, formulat<strong>in</strong>g appropriate dynamical laws, and develop<strong>in</strong>gthe associated mathematics. A major underly<strong>in</strong>g theme has been the importance ofreversibility and its connection with the second law of thermodynamics. The primarycontributions of this thesis are that it: Establishes the eld of cellular automata methods as a dist<strong>in</strong>ct and fruitful areaof research <strong>in</strong> mathematical physics. Shows how to represent external potential energy functions <strong>in</strong> CA and how touse them to generate forces statistically. Identies and illustrates how to design dissipation <strong>in</strong>to discrete dynamical systemswhile ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g strict microscopic reversibility.155


Gives an ecient algorithm for do<strong>in</strong>g dynamical simulations of lattice polymersand related systems on massively parallel computers. Elaborates some properties of a Lorentz <strong>in</strong>variant model of diusion and discussesthe relationship between CA and relativity. Presents and analyzes several techniques for exploit<strong>in</strong>g random numbers oncellular automata mach<strong>in</strong>es. Sets out the groundwork for creat<strong>in</strong>g a calculus of dierential forms for CA. Identies promis<strong>in</strong>g areas of application of CA <strong>in</strong> a number of elds.These contributions have been supported by simulations and mathematical analysisas appropriate.The examples given <strong>in</strong> this thesis help to establish a catalog of CA model<strong>in</strong>gtechniques. By comb<strong>in</strong><strong>in</strong>g these techniques, it is becom<strong>in</strong>g possible for physicists todesign CA and program CA mach<strong>in</strong>es|much as they now write down dierentialequations|that conta<strong>in</strong> the essential phenomenological features for a wide range ofphysical systems. We are now <strong>in</strong> a position to embark on cooperative projects withscientists <strong>in</strong> many discipl<strong>in</strong>es.156


Appendix AA Microcanocial Heat BathThis appendix presents the derivation of some statistical properties of a microcanonicalheat bath while illustrat<strong>in</strong>g some standard thermodynamic relationships <strong>in</strong> thecontext of a simple, self-conta<strong>in</strong>ed dynamical model. It also discusses some of the usesof such a bath <strong>in</strong>clud<strong>in</strong>g that of a random number generator <strong>in</strong> Monte Carlo simulations.The heat bath given here is somewhat more general than the one illustrated <strong>in</strong>chapter 3. In particular, the bath consists of two bit planes <strong>in</strong>stead of one, and theyform a pair of coupled lattice gases which can hold from zero to three units of energyper cell. This makes for a greater heat capacity aswell as a richer set of statistics.Similar baths of demons have been used <strong>in</strong> a number of variants of dynamical Is<strong>in</strong>gmodels [20, 73], and further generalization is straightforward.A.1 Probabilities and StatisticsFor purposes of analysis, it is convenient to view the heat bath as completely isolatedand hav<strong>in</strong>g a xed energy while its dynamics redistributes the energy among its <strong>in</strong>ternaldegrees of freedom. Almost any randomly chosen reversible, energy-conserv<strong>in</strong>gdynamics will suce. However, <strong>in</strong> an actual simulation, the heat bath will be freeto <strong>in</strong>terchange energy (or <strong>in</strong>formation if you prefer)|and noth<strong>in</strong>g else|with the pri-157


mary system. 1 When the systems come <strong>in</strong>to thermal equilibrium, the zeroth law ofthermodynamics tells us that the heat bath will be characterized by a temperatureparameter which must be the same as that of the primary system. If the heat bathrelaxes quickly compared to the system and they are not too far out of equilibrium,the assumption of a uniform temperature and <strong>in</strong>dependent random energy <strong>in</strong> eachcell is approximately valid.A.1.1Derivation of ProbabilitiesConsider a collection of N cells of a heat bath that share a total energy E betweenthem (N = 65536 on CAM-6). In equilibrium, there will be approximately N i cellswith energy " i = i 2f0;1;2;3grespectively, but if the cells are viewed as <strong>in</strong>dependentrandom variables, each will have an energy " i with a probability p i = N i =N. Thenumber of equally likely (a priori) ways of assign<strong>in</strong>g the N i 's to the N cells is=!N=N 0 N 1 N 2 N 3N!N 0 !N 1 !N 2 !N 3 ! =eS :(A.1)The distribution of N i 's that will be seen (with overwhelm<strong>in</strong>g probability) is thesame as the most likely one; i.e., it maximizes S = ln subject to the constra<strong>in</strong>ts:N = X iN iand E = X iN i " i :(A.2)This problem can be solved by nd<strong>in</strong>g the extremum of the auxiliary functionf(fN i g;;) = ln + (N , X iN i )+(E, X iN i " i )= Nln N , N , X iN i ln N i + X iN i + ()+(); (A.3)where and are Lagrange multipliers which will be determ<strong>in</strong>ed by satisfy<strong>in</strong>g the1 As <strong>in</strong> the potential well model, the energy transfers take place as part of updat<strong>in</strong>g the system.The heat bath can be stirred <strong>in</strong> between steps with its own separate dynamics. These phasesmay occur simultaneously as long as no additional constra<strong>in</strong>ts are <strong>in</strong>advertently <strong>in</strong>troduced andreversibility is ma<strong>in</strong>ta<strong>in</strong>ed.158


constra<strong>in</strong>ts (A.2):@f@ =0)number constra<strong>in</strong>t, @f@=0)energy constra<strong>in</strong>t. (A.4)The condition for maximum entropy then becomes@f@N i= ,ln N i , 1 , , " i =0) N i /e ," i; (A.5)which is the usual Boltzmann distribution for energy where the temperature is denedas T 1=. Therefore, the probabilities are given byp i = e," izwhere z 3Xi=0e ,i = 1 , e,4: (A.6)1 , e,The energy of each cell can be represented <strong>in</strong> b<strong>in</strong>ary by <strong>in</strong>troduc<strong>in</strong>g a description<strong>in</strong> terms of energy demons|tokens of energy of a given denom<strong>in</strong>ation. In this case,we need two demons, each carry<strong>in</strong>g a bit of energy: bit j 2f1;2gdenot<strong>in</strong>g energy j = j. The two k<strong>in</strong>ds of demons can be thought of as a pair of lattice gases whichmay be coupled with an arbitrary, reversible, energy-conserv<strong>in</strong>g dynamics <strong>in</strong> order tostir the heat bath. The possible energies of a cell are then " 0 =0," 1 = 1 ," 2 = 2 ,and " 3 = 1 + 2 as required. Let R j = N j be the total number of j's bits, where jis the density (read probability) of j's bits. Then the probabilities are related by! 1 = p 1 + p 3 =(e , +e ,3 1,e ,)1,e ,41=1+e = 1 1+e ; (A.7) 1and! 2 = p 2 + p 3 =(e ,2 +e ,3 1,e ,)1,e ,41=1+e = 1; (A.8)2 1+e 2159


which are just Fermi distributions for the occupation number of the respective energylevels. Also note that 0 j < 1=2 for 0 T


and the chemical potential, = ,T @g , gives a measure of how sensitive the maximum@Rentropy conguration is to changes <strong>in</strong> the constra<strong>in</strong>t on the total number of demons,R. In the actual heat bath, the number of demons is not xed, so <strong>in</strong> fact, =0asbefore. Similarly, ifEwere unconstra<strong>in</strong>ed, there would result = 0 and T = 1.S<strong>in</strong>ce the number of states of the system factors as <strong>in</strong> equation (A.10), the entropies ofthe two subsystems add and are maximized <strong>in</strong>dividually (i.e., there are no correlationsbetween them <strong>in</strong> equilibrium). Therefore, the probabilities, j , of the two bits <strong>in</strong> acell are <strong>in</strong>dependent, and we obta<strong>in</strong> (as before)p 0 = (1 , 1 )(1 , 2 )== 111, 1,1+e 11+e 2e ( 1+ 2 )1+e 1 + e 2 + e( 1 + 2 ) = e ," 01+e ," 1 + e," 2 + e," 3= 1 z ; (A.14)p 1 = 1 (1 , 2 )= e," 1; (A.15)zp 2 = 2 (1 , 1 )= e," 2; (A.16)zp 3 = 1 2 = e," 3: (A.17)zThe heat bath was orig<strong>in</strong>ally motivated here as a way of add<strong>in</strong>g dissipation toMonte Carlo simulations with<strong>in</strong> a reversible microcanonical framework.In otherapplications, the extra degrees of freedom help speed the evolution of system bymak<strong>in</strong>g the dynamics more exible [20, 89]. In both of these cases, the subsystems<strong>in</strong>teract and aect each other <strong>in</strong> a cooperative fashion so as to remember the past ofthe coupled system.However, such a heat bath can also be used as a purely external random numbergenerator which is not aected by the dynamics of the primary system.In thiscase, causality only runs <strong>in</strong> the direction of the heat bath towards the ma<strong>in</strong> system,although under certa<strong>in</strong> circumstances, the overall system can still be reversible. Theenergy distribution of a cell will settle down to yield the Boltzmann weights (A.14{A.17) given above, with all of the other cells act<strong>in</strong>g as its heat bath. Any of the fourprobabilities of atta<strong>in</strong><strong>in</strong>g a particular energy can then be used as an acceptance ratio<strong>in</strong> a more conventional Monte Carlo algorithm [62]. The cells will be <strong>in</strong>dependent161


from each other at any given time if they were <strong>in</strong> maximum entropy conguration<strong>in</strong>itially (s<strong>in</strong>ce any correlations would reduce the entropy while it must <strong>in</strong>crease orstay the same [87]). Of course the random variables <strong>in</strong> the cells will not be totally<strong>in</strong>dependent from one time step to the next, but they will be adequate for manyapplications.A.2 Measur<strong>in</strong>g and Sett<strong>in</strong>g the TemperatureIn addition to be<strong>in</strong>g useful for implement<strong>in</strong>g dynamical eects such as dissipation, amicrocanonical heat bath provides a good way to measure and set the temperature ofa CA system with which itis<strong>in</strong>contact. This is because the properties of a heat bathare easy to describe as a function of temperature, while those of the actual systemof <strong>in</strong>terest are not. Measur<strong>in</strong>g the temperature requires tt<strong>in</strong>g the experimentallyderived probabilities to the formulas given above, and sett<strong>in</strong>g the temperature <strong>in</strong>volvesrandomly distribut<strong>in</strong>g demons to give frequencies that match the probabilities.CA mach<strong>in</strong>es have a built-<strong>in</strong> mechanism for count<strong>in</strong>g the number of cells hav<strong>in</strong>ga given characteristic, so it is makes sense to work from formulas for the total counts(or averages of counts) of cells of each energy:N i = Nand the total counts of demons:1 , !e,e1 , ,i = Npe ,4 i for i =0,1,2,3; (A.18)R j =N1+e j = N j for j =1,2: (A.19)Numerous formulas for the temperature (T =1=) can be derived from (A.18)and (A.19), and several of the simplest ones are given below.All of them wouldgive the same answer <strong>in</strong> the thermodynamic limit, but s<strong>in</strong>ce the system is nite,uctuations show up <strong>in</strong> the experimental counts. Thus, each derived formula will, <strong>in</strong>general, give a slightly dierent answer, but only three can be <strong>in</strong>dependent due to theconstra<strong>in</strong><strong>in</strong>g relationships among the N i 's and R j 's. Tak<strong>in</strong>g the ratios of the counts162


<strong>in</strong> (A.18) leads to:T ij =and solv<strong>in</strong>g directly for T <strong>in</strong> (A.19) gives:j , iln N i , ln N j;(A.20)T j =jln NR j, 1 : (A.21)F<strong>in</strong>ally, tak<strong>in</strong>g the ratios of the counts <strong>in</strong> (A.19) gives:r 1 2= R 1R 2= 1+e21+e ;which becomese 2, r e +1,r = 0)e = 1 2 (rp r 2 +4r,4);and for positive temperatures,T r =1lnh12 (r + p r 2 +4r,4)i: (A.22)The measured temperature can be estimated by any k<strong>in</strong>d of weighted mean of then<strong>in</strong>e quantities above. For example, discard<strong>in</strong>g the high and low three and averag<strong>in</strong>gthe middle three would give the smoothness of an average while guard<strong>in</strong>g aga<strong>in</strong>stcontributions from large uctuations. T 1 would probably give the best s<strong>in</strong>gle measurebecause it only depends on R 1 which is large and will have the smallest relativeerror ( 1= p R 1 ). Alternative methods for extract<strong>in</strong>g the temperature are suggestedelsewhere [19, 20, 73]. Note <strong>in</strong> the formulas above that a population <strong>in</strong>version <strong>in</strong> theN i ,s or the R j 's will lead to a negative value for T . This can happen <strong>in</strong> any systemwhich has an upper bound on the amount of energy it can hold. A heat bath with anegative temperature is sometimes described as be<strong>in</strong>g \hotter that <strong>in</strong>nity" becauseit will spontaneously give up energy to any other system hav<strong>in</strong>g an arbitrarily high163


(positive) temperature.The temperature of the heat bath can be set by randomly <strong>in</strong>itializ<strong>in</strong>g demons 1and 2 with probabilities 1 and 2 as given by equations (A.7) and (A.8) respectively.Note that s<strong>in</strong>ce is always zero <strong>in</strong> equilibrium, not all values of 1 and 2 are allowed.However, another way to set the temperature would be to <strong>in</strong>itialize the heat bath withan amount of energy equal to the expected value correspond<strong>in</strong>g to a given temperatureand then allow the bath to equilibrate. By alternately measur<strong>in</strong>g and sett<strong>in</strong>g thetemperature, one can eectively implement a thermostat which can follow any giventemperature schedule. This would be useful for anneal<strong>in</strong>g a system, vary<strong>in</strong>g reactionrates, or mapp<strong>in</strong>g out a phase diagram.A.3 Additional ThermodynamicsThis section demonstrates some important relationships between thermodynamicfunctions and br<strong>in</strong>gs up the issue of macroscopic work <strong>in</strong> discrete systems.LetZ = P s e ,Eswhere the sum is over all states of the entire heat bath:Z(;N) = X E(E)e ,E where E = E(fN i g)X= (fN i g)e ,P X i N i" i=fN i gfN i gNN 0 N 1 N 2 N 3! Yi e ," Nii= X ie ," i! N= z N : (A.23)Note that there is no 1=N! <strong>in</strong> the nal expression because all the cells are dist<strong>in</strong>ct.NowS(hEi;N) = ln = N ln N , N , X i= ,N X i= N ln N , X ip i ln p i!Ne ," iz(N i ln N i , N i )!ln Ne," iz164


= N ln N , Nz ln N Xzie ," i!+ X iNe ," i" iz= ln z N + hEi =lnZ+hEi (A.24)where is implicitly dened <strong>in</strong> terms of hEi. Then we can see that =dene@S@hEi . AlsoF (T;N)=hEi,TS =,T(S,hEi)=,Tln Z(A.25)which is the (Helmholtz) free energy. The decrease <strong>in</strong> the free energy is a measure ofthe maximum amount ofwork that can be extracted from a system held at constantT by vary<strong>in</strong>g an external parameter such asN (read V , the volume). Work doneby a thermodynamic system serves to convert the disordered <strong>in</strong>ternal energy <strong>in</strong>to anordered (i.e., low entropy) form. Examples of ordered energy from classical physics<strong>in</strong>clude k<strong>in</strong>etic and potential energy of macroscopic objects as well as the energystored <strong>in</strong> static electric and magnetic elds. However <strong>in</strong> the case of CA, it is not clearhow one would go about chang<strong>in</strong>g the volume or even what it would mean to convertthe random <strong>in</strong>ternal energy <strong>in</strong>to an ordered form. This, <strong>in</strong> my view, represents afundamental obstacle <strong>in</strong> the application of CA to physical model<strong>in</strong>g.The nal relationship given here establishes the connection between the physicaland <strong>in</strong>formation-theoretic aspects of the heat bath, namely I = S= ln 2. This quantityis the amount of <strong>in</strong>formation (i.e., the number of bits) needed to specify a particularconguration out of the equilibrium ensemble of the heat bath (given hEi and N).Sometimes <strong>in</strong>formation is taken to be how much knowledge one has of the particularconguration of a system <strong>in</strong> which case it dened to be the negative of the quantityabove. In other words, the higher the entropy of a system, the less detail one knowsabout it.165


166


Appendix BBroken Ergodicity and F<strong>in</strong>ite SizeEectsThis appendix gives some additional details beh<strong>in</strong>d the calculation of the entropy ofthe potential well system described <strong>in</strong> chapter 3. The primary correction to the elementaryanalysis given <strong>in</strong> section 3.2 comes from the presence of a family of conservedcurrents which limits the number of particles that can fall <strong>in</strong>to the well. These currentsare nonzero to beg<strong>in</strong> with due to uctuations <strong>in</strong> the random <strong>in</strong>itial conditions.Another correction reects the nite diameter of the system and comes from the waythe the problem is broken up to calculate the eect of the conserved currents. Thesecorrections are of comparable magnitude even though they have somewhat dierentorig<strong>in</strong>s, and both would disappear <strong>in</strong> the thermodynamic limit. The existence of additionalconservation laws must always serve tolower the total entropy of the systembecause the number of accessible states is reduced. However, additive constants canbe ignored because we are ultimately <strong>in</strong>terested <strong>in</strong> how the derivatives of the extraterms shift the equilibrium densities.B.1 Fluctuations and Initial Conserved CurrentsThe rst step is to understand the statistics of the currents on the diagonal l<strong>in</strong>esshown <strong>in</strong> gure 3-9. Half of the cells on each l<strong>in</strong>e are devoted to particles mov<strong>in</strong>g167


<strong>in</strong> either direction, and the currents arise because the two halves will not generallybe equally populated.Let N = 256 be the number of cells on each l<strong>in</strong>e, and letL = 74 be the total number of l<strong>in</strong>es. The total number of cells <strong>in</strong> region B is thenN B = NL = 18944. Call the number of particles mov<strong>in</strong>g with and aga<strong>in</strong>st thecurrent, n + and n , respectively|each will follow a b<strong>in</strong>omial distribution where p isthe probability ofany given cell be<strong>in</strong>g occupied:!p(n )= N=2 p n (1n , p) N=2,n :(B.1)The mean and variance of the number of particles ow<strong>in</strong>g <strong>in</strong> either direction are thenn = 1 Np and 2 2 = 1 Np(1 , p):(B.2)2The current onany given l<strong>in</strong>e is a random variable valued function of these tworandom variables, j = n + , n , . S<strong>in</strong>ce n + and n , are <strong>in</strong>dependent and identical,hj i 2 = h(n + , n , ) i 2 = hn 2 +, 2n + n , + n,i2= 2 ++ n 2 +, 2n + n , + , 2 + n 2 , =2=Np(1 , 2 p)= N 0 0; (B.3)where 0 is the <strong>in</strong>itial density of particles used <strong>in</strong> the simulation. For the particular<strong>in</strong>itial condition used here, 0 =1=4 which gives hj i 2 = 48. For comparison, explicitcount<strong>in</strong>g of the number of particles on each l<strong>in</strong>e shown <strong>in</strong> gure 3-9 gives a true meanvalue of hj 2 i = 3448=74 = 46:59.The expected absolute value of the current is dicult to calculate <strong>in</strong> closed form,but a numerical summation gives hjjji =5:5188 :::, while a Gaussian approximationgives hjjji = 2 = p = 5:5279 :::.The true value of hjjji <strong>in</strong> this experiment is394=74 = 5:3243 :::. Note that the low values of hj 2 i and hjjji are consistent withthe fact that n T and E T are also less than expected, although the overall uctuation168


is with<strong>in</strong> the typical range:N T4 , n T = 16384 , 16191 = 193 = 0 256 = 0 2B.2 Corrections to the EntropysN T4 : (B.4)This section recalculates the entropy of the potential well system tak<strong>in</strong>g <strong>in</strong>to accountthe the presence of the conserved currents while be<strong>in</strong>g careful to <strong>in</strong>clude all correctionsof a comparable size. The approach taken here is to build the extra conservation laws<strong>in</strong>to the count<strong>in</strong>g of the states while leav<strong>in</strong>g the constra<strong>in</strong>ts of particle and energyconservation out until the entropy maximization step. This is done to ma<strong>in</strong>ta<strong>in</strong> aclose similarity with the basic analysis, but it also turns out to be necessary becausethe L = 74 subsystems which conta<strong>in</strong> the currents are so small that their entropies donot simply add. Signicant uctuations between these subsystems results <strong>in</strong> entropyfrom shared <strong>in</strong>formation about the total number of particles as will be expla<strong>in</strong>ed next.Each of the four regions A{D is large enough that the number of particles itconta<strong>in</strong>s can be treated as a constant, and the total number of states factors <strong>in</strong>to theproduct of the number of states <strong>in</strong> each subsystem separately (or to put it anotherway, their entropies add):!= N gNB! ! !A NC ND: (B.5)n A n B n C n DThe tilde over the number of states <strong>in</strong> region B <strong>in</strong>dicates that the expression is onlyapproximate, and that the comb<strong>in</strong>ation is just be<strong>in</strong>g used as a symbolic rem<strong>in</strong>der ofwhat we are really try<strong>in</strong>g to count.Now let us turn to count<strong>in</strong>g the actual number of states <strong>in</strong> region B assum<strong>in</strong>g thatthere are n B = nL particles and N B = NL cells. To do this to the required accuracy,we will keep one more factor <strong>in</strong> Stirl<strong>in</strong>g's approximation than is customary for small169


numbers [1]:lnN ! =8 > :N lnN,N+ 1 2 lnN;NlnN,N;NNNN:(B.6)Suppose for a moment that we can ignore the constra<strong>in</strong>ts imposed by the conservationlaws. Then the entropy of region B would be exactlyS B =ln!N B=lnn BNLnL!= L [N ln N , n ln n , (N , n) ln(N , n)] : (B.7)However, if attempted to factor the number of states <strong>in</strong>to L 1 identical piecesbefore comput<strong>in</strong>g the entropy, wewould obta<strong>in</strong>lnN n! L = L"N ln N , n ln n , (N , n) ln(N , n)+ 1 2 ln#N: (B.8)n(N , n)The fact that these two expressions are not the same shows that the entropy is notquite extensive, though the dierence becomes negligible <strong>in</strong> the thermodynamic limit.In order to factor the number of states for nite N we can write! ! !N B= NLL (=N Lexpn B nL n 2)n(N , n)ln : (B.9)NThe extra factor accounts for the fact that the particles can uctuate between thel<strong>in</strong>es. Therefore, even if the conserved currents are present, we make the approximation! gN B=n BgNLnL!=g Nn!L(Lexp2)n(N , n)ln : (B.10)NThe extra factor conta<strong>in</strong>s the shared <strong>in</strong>formation, and it could be ignored <strong>in</strong> thethermodynamic limit.Now wewant to count the number of states on a l<strong>in</strong>e conta<strong>in</strong><strong>in</strong>g n particles anda current j. The particles <strong>in</strong> each l<strong>in</strong>e are divided among the two directions so thatn = n + + n , , andn + = n + j2and n , = n , j : (B.11)2170


The total number of states on a l<strong>in</strong>e is thereforeand the entropy due to a s<strong>in</strong>gle l<strong>in</strong>e isg ! !N=n! N=2 N=2= N=2n+jn + n , 2!N=2n,j2!; (B.12)lnwhere = n=N.g! N=ln N=2n+jn2, n + j2, n , j2ln nln n!N=2n,j21+ j n1 , j n!= N ln N ,N,n,j2, N , n + j2ln(N , n)ln(N , n)+ 1 2 ln 2N(n + j)(N , n , j) + 1 2 ln 2N(n , j)(N , n + j)= N ln N , n ln n , (N , n) ln(N , n), n + j2, n , j2n(N,, n)ln2N"jn , j22n 2 #, N , n , j2 ",jn , j22n 2 #, N , n + j2, 1 2 ln "1 , j2n 2 ,= N(, ln , ln ) , j22N1 + 1 j 2",j "1 , jN , n1+ jN,nN , n , j 22(N , n) 2 #jN , n , j 22(N , n) 2 #(N , n) 2 + j 4n 2 (N , n) 2 #!, ln , ln N 2 + O j2!; (B.13)N 2The above expression can be used to obta<strong>in</strong> the contribution to the entropy forall of region B by averag<strong>in</strong>g over the currents:S B = ln! gN Bg!= N L ln + L n(N , n)lnn B n 2 N= LN(, B ln B , B ln B ) , iL hj2 2N, L ln B B , ln N 2 + L 21 B+ 1 B!n(N , n)ln : (B.14)N171


Us<strong>in</strong>g hj 2 i = N 0 0 and dropp<strong>in</strong>g constants givesS B = NB (, B ln B , B ln B ) , L 0 02 B B, L 2 ln B B :(B.15)This expression consists of a bulk entropy term, a correction for the extra conservationlaws, and a correction for nite size.B.3 Statistics of the Coupled SystemThe count<strong>in</strong>g of regions A, C, and D requires no special treatment, so the entropy forthe whole system isS = ln = NA (, A ln A , A ln A )+N B (, B ln B , B ln B )+ N C (, C ln C , C ln C )+N D (, D ln D , D ln D ), L 0 02 B B, L 2 ln B B ;(B.16)while the revised constra<strong>in</strong>ts on the particle number and energy aren T = n A + n B + n C and E T = n A + n B + n D : (B.17)The entropy of the equilibrium ensemble will assume the maximum value subjectto the constra<strong>in</strong>ts (B.17). To nd this extremum, <strong>in</strong>troduce Lagrange multipliers and , and dene the auxiliary functionf = S + (n T , N A A , N B B , N C C )+(E T ,N A A ,N B B ,N D D ): (B.18)Extremiz<strong>in</strong>g f with respect to , , A , B , C , and D returns the constra<strong>in</strong>tequations (B.17) along with,N A ln A A, N A , N A = 0; (B.19)172


x T A B C DN x 65536 33952 18944 12640 65536n x (<strong>in</strong>itial) 16191 13063 3128 0n x (basic theory) 16191 5003.79 2791.94 8395.27 5267.27n x (nonergodic) 16191 4984.44 2819.39 8387.17 5259.17n x (nite size) 16191 5017.09 2773.09 8400.82 5272.82n x (revised theory) 16191 4997.37 2801.05 8392.58 5264.58Table B.1: Theoretical values for the expected number of particles <strong>in</strong> each region ofthe system. The last three l<strong>in</strong>es show the eects of broken ergodicity and nite size,separately and together, as calculated by <strong>in</strong>clud<strong>in</strong>g their respective correction terms<strong>in</strong> the entropy.,N B ln B+ L 0 01 , 2 B B 2 ( B, L (1 , 2 B ) B ) 2 2 B, N B , N B = 0; (B.20) BSolv<strong>in</strong>g for the densities gives,N C ln C C, N C = 0; (B.21),N D ln D D, N D = 0: (B.22) A = B = C = D =1; (B.23)1+e(1,) 1(B.24)n1+e (1,) 1 (1,2exp B)2N B 1B, 0 0 B Bo;11+e(,); (B.25)11+e: (B.26)The above equations can be solved numerically, and it is illum<strong>in</strong>at<strong>in</strong>g to do sowith and without each correction term <strong>in</strong> the entropy. Table B.1 gives the results.Note that the conservation term drives the number of particles <strong>in</strong> region B up, whilethe nite size term drives the number down.173


174


Appendix CCanonical Stochastic WeightsThis appendix describes a frugal technique for utiliz<strong>in</strong>g random bits <strong>in</strong> Monte Carlosimulations. In particular, it denes a canonical set of b<strong>in</strong>ary random variables alongwith a recipe for comb<strong>in</strong><strong>in</strong>g them to create new b<strong>in</strong>ary random variables. By us<strong>in</strong>gjust a few well-chosen random bits <strong>in</strong> the right comb<strong>in</strong>ation, it is possible to ne tunethe probability ofany random b<strong>in</strong>ary decision. The technique is especially useful <strong>in</strong>simulations which require a large number of dierentially biased random bits, whileonly a limited number of xed sources of randomness are available (as <strong>in</strong> a cellularautomata mach<strong>in</strong>e).C.1 OverviewRandom bits are often used as digital co<strong>in</strong>s to decide which oftwo branches a computationis to take. However, <strong>in</strong> many physical situations, one may want one branchto be more probable than the other. Furthermore, it may be necessary to choosethe probability depend<strong>in</strong>g on the current state of the system. For example, <strong>in</strong> theMetropolis algorithm for sampl<strong>in</strong>g a canonical ensemble [62], one accepts a trial movewith a probability of m<strong>in</strong>(1;e ,E=T ), where E is the change <strong>in</strong> energy and T is thetemperature <strong>in</strong> energy units. This acceptance probability can be anywhere from 0 to1 depend<strong>in</strong>g on the current state, the chosen trial move, and the temperature. Hence,it is desirable to be able to switch co<strong>in</strong>s on the y.175


The simplest way tomake a biased decision is to ip a suitably unfair co<strong>in</strong> as<strong>in</strong>gle time. This is eectively what is done <strong>in</strong> CA simulations when us<strong>in</strong>g a latticegas as a random number generator where the density of the gas is equal to thedesired probability. However, this only gives us one level of randomness at a time,and chang<strong>in</strong>g it is slow because it requires <strong>in</strong>itializ<strong>in</strong>g the gas to a dierent density.An obvious way to synthesize a biased co<strong>in</strong> ip out of N fair co<strong>in</strong>s ips is tocomb<strong>in</strong>e them <strong>in</strong>to an N-bit b<strong>in</strong>ary number and compare the number to a presetthreshold. This method can discrim<strong>in</strong>ate between 2 N + 1 probabilities rang<strong>in</strong>g uniformlyfrom 0 to 1. Furthermore, by comb<strong>in</strong><strong>in</strong>g bits <strong>in</strong> this way, it is possible to tunethe probabilities without chang<strong>in</strong>g the source of randomness.However, it is possible to do far better than either of the above two strategies.By comb<strong>in</strong><strong>in</strong>g and extend<strong>in</strong>g the strategies, it is possible to obta<strong>in</strong> 2 2N probabilitiesrang<strong>in</strong>g uniformly from 0 to 1. The technique can be subsequently generalized tomultiple branches.C.2 Functions of Boolean Random VariablesIn what follows, the term, \the probabilityofb," will be used to mean the probability pthat the b<strong>in</strong>ary random variable b takes the value 1 (the other possibility be<strong>in</strong>g 0).Thus, the expectation (or weight) of b is simply p. The vector b will denote a s<strong>in</strong>gleN-bit b<strong>in</strong>ary number whose components are its b<strong>in</strong>ary digits: b = P N,1n=0 b n2 n . Letp = 1, p be the universal complement of the probability p, b = :b the logicalcomplement of the bit b, and b =2 N ,1,bthe one's complement ofb.176


C.2.1The Case of Arbitrary WeightsThere are 2 2N Boolean functions f(b) ofN Boolean (or b<strong>in</strong>ary) variables b. 1 Any ofthese functions can be written <strong>in</strong> the follow<strong>in</strong>g sum of products format:f(b) ==2 N _,1a=0_2 N ,1a=0f(a) ab^N,1f(a)n=0b ann ban n= f(0)b N,1 b N,2 b 1 b 0+f(1)b N,1 b N,2 b 1 b 0.+f(2 N , 1)b N,1 b N,2 b 1 b 0 ;(C.1)where I have adopted the convention that 0 0 = 1. For each a, ab consists of aproduct of Nb's which s<strong>in</strong>gles out a specic conguration of the <strong>in</strong>puts and therebycorresponds to one row <strong>in</strong> a lookup table for f. Hence, the above column of f(b)'s (0 b 2 N , 1) consists of the entries of the lookup table for this function. The lookuptable considered as a s<strong>in</strong>gle b<strong>in</strong>ary number will be denoted by f = P 2 N ,1b=0 f(b)2b(m.s.b.=f(0), l.s.b.=f(2 N , 1)). This number can be used as an <strong>in</strong>dex <strong>in</strong>to the set ofall Boolean functions of N bits:F N = ff f (b)g 22N ,1f =0: (C.2)A given probability distribution on the N arguments will <strong>in</strong>duce a probability oneach of these functions. Suppose the <strong>in</strong>puts are <strong>in</strong>dependent, and let the weight ofbit n be p(b n )=p n . Then the probability of a particular b isP (b) =N,1Yn=0p bnn pbn n :(C.3)1 The argument list b will often be referred to as the \<strong>in</strong>puts," s<strong>in</strong>ce they will ultimately be fed<strong>in</strong>to a lookup table (which happens to be a memory chip <strong>in</strong> a CA mach<strong>in</strong>e).177


P(f)10.80.60.40.20.2 0.4 0.6 0.8 1 p1Figure C-1: Probabilities of the 16 functions for N = 2 show<strong>in</strong>g their dependence onp 1 when p 0 = :3 is xed. When p 0 = 1 and p 3 1 = 1 , the P(f)'s become equally spaced.5Occurrences of dierent values of b are disjo<strong>in</strong>t events; therefore, the probability ofa given f can be written as the follow<strong>in</strong>g sum:P(f) ==2XN ,1b=0X2 N ,1b=0f(b)P (b);YN,1f(b)n=0p bnn pbn n= f(0)p N,1p N,2p 1p 0+f(1)p N,1p N,2p 1p 0.+f(2 N , 1)p N,1 p N,2 p 1 p 0 :(C.4)For N = 2, there are 2 2N = 16 dist<strong>in</strong>ct f's. Figure C-1 shows the complex way <strong>in</strong>which the probabilities of the f's vary as a function of p 1 alone. This \cat's cradle"shows that it is hard to get an <strong>in</strong>tuitive grasp of how the set fP(f)g as a wholebehaves as a function of the <strong>in</strong>put probabilities. The numerous cross<strong>in</strong>gs even makethe order of the f's unclear.C.2.2The Canonical WeightsWe have a set of N free parameters fp n g and would like to be able to specify anydistribution of probabilities for the 2 2N f's. Perhaps the most useful distribution178


one could obta<strong>in</strong> would be a uniform one. Though we are doubly exponentially farfrom be<strong>in</strong>g able to specify an arbitrary distribution, we can, <strong>in</strong> fact, obta<strong>in</strong> this mostfavorable case! For example, for N = 2, one can generate the set of probabilitiesP 2 =0; 115 ; 2 15 ; 315 ; 415 ; 515 ; 6 15 ; 7 15 ; 815 ; 9 15 ; 1015 ; 1115 ; 1215 ; 1315 ; 1415 ; 1 (C.5)by tak<strong>in</strong>g all possible Boolean functions of two Boolean random variables fb 0 ;b 1 ghav<strong>in</strong>g the weights W 2 = f 1 3 ; 1 5g (cf. gure C-1). The functions which give P 2 arerespectivelyF 2 = n 0;^;;b 0 ;6;_;_;; b 0 ;; b 1 ;;^; 1 o ;(C.6)where the b<strong>in</strong>ary operators are understood to mean b 0 op b 1 .More generally, for N bits, we want tochoose the set of weights fp n g so as togenerate the setfP(f f (b))g 22N ,1f =0= P N ( )10;2 , 2N 1 ; 2 ,22 , 2N 1 ;:::;22N 2 2N ,1 ;1 : (C.7)This can be done by choos<strong>in</strong>g the weights of the <strong>in</strong>puts to be reciprocals of the rstN Fermat numbers, F n =2 2n +1:fp n g N,1n=0= W N 1F n N,1n=0= 13 ; 1 5 ; 117 ;:::; 1: (C.8)2 2N,1 +1That this choice is unique up to a relabel<strong>in</strong>g of the probabilities and their complementsis proved <strong>in</strong> the next section.The above choice of probabilities also gives the answer to the follow<strong>in</strong>g question.Suppose you wanttomaketwo rectangular cuts through a square of unit mass to makefour separate weights. There are 2 4 =16ways of comb<strong>in</strong><strong>in</strong>g the result<strong>in</strong>g weights tomake composite masses rang<strong>in</strong>g from 0 to 1. The question is then, how doyou makethe cuts <strong>in</strong> order to obta<strong>in</strong> the largest uniform set of composite masses? Clearly, the179


four weights should be 115 ; 2 15 ; 4 15 ; 8 15: (C.9)This can be accomplished by cutt<strong>in</strong>g the square one third of the way across <strong>in</strong> onedirection and one fth of the way across <strong>in</strong> the other direction. The fractions of thesquare on either side of the cuts correspond to the probabilities and their complements,but <strong>in</strong> the latter case, the weights are stochastic. For cubes and hypercubes,additional cuts are made accord<strong>in</strong>g to subsequent Fermat numbers. 2Substitut<strong>in</strong>g the weights W N <strong>in</strong> equation (C.3) givesP (b) =N,1Yn=0 1F n bn Fn , 1F n bn: (C.10)Now either b n or b n is 1, and the other must then be 0; therefore,P (b) =N,1Yn=0!1 N,1F n!Y(F n , 1) bnn=0: (C.11)It is easy to show thatso we obta<strong>in</strong>N,1Yn=0F n =2 2N ,1; (C.12)P (b) ===YN,112 , 2N 1n=02 b n2 n12 2N , 1 2 P N ,1n=0 bn2n2 b2 2N , 1 : (C.13)In this case, the expression for P(f) takes a simple form:P(f) =X21N ,1f(b)22 , b2N 1b=02 If putt<strong>in</strong>g masses on either side of the scale is allowed, it is even better to cut the unit massaccord<strong>in</strong>g to 3 2n +1.180


1 b 0 f(b) P (b)0 0 0 1 p 1 p 0 =8=151 0 1 0 p 1p 0 =4=152 1 0 1 p 1 p 0=2=153 1 1 1 p 1 p 0 =1=15Table C.1: Construction of an f(b) with N = 2 <strong>in</strong>puts, b 0 and b 1 , which gives a netprobability of 11 . 15f=2 , 2N 1,= f(0)f(1)f(2N 1) 2; (C.14)2 , 2N 1where the numerator of the last expression is not a product but a b<strong>in</strong>ary number,with each f(b) (0b2 N ,1) determ<strong>in</strong><strong>in</strong>g one of the bits. 3In order to choose the appropriate f with the desired P(f), approximate P asa fraction, where the denom<strong>in</strong>ator is 2 , 2N 1, and the numerator is a 2 N -bit b<strong>in</strong>arynumber. Then simply ll <strong>in</strong> the lookup table for f with the bits of the numerator.For example, suppose we want anN= 2 function f hav<strong>in</strong>g a probability near 1115 , i.e.,This will be given by f fP(f) =for this function are listed <strong>in</strong> table C.1.conventional terms:f2 22 ,1 =11 15 = 1011 21111 2: (C.15)= f 11 , and the lookup table and component probabilitiesThis function can also be put <strong>in</strong>to moref 11 (b) =b 1 b 0 +b 1 b 0 +b 1 b 0 =(b 0 b 1 )=:b 0 _b 1 ;(C.16)and the total probability comes fromP(f 11 )=p 1 p 0 +p 1 p 0 +p 1 p 0 :(C.17)3 N.B. The bits <strong>in</strong> the lookup table are reversed relative to what one might expect, viz., f(0) isthe most signicant bit of f and f(2 N , 1) is the least signicant bit. Alternatively, the <strong>in</strong>put bitsor their probabilities could have been complemented.181


C.2.3Proof of UniquenessIn the last section, we derivedP N from one particular choice of weights W N = fp(b n )g.Now we will work backwards from P Nthe choice is unique.to construct the set W N ,thus prov<strong>in</strong>g thatIn order for fP (b)g to span P N us<strong>in</strong>g only b<strong>in</strong>ary coecients as <strong>in</strong> equation (C.4),we clearly must havefP (b)g 2N ,1b=0=(12 , 2N 1 ; 22 , 2N 1 ; 42 , 2N 1 ;:::; 2 2N ,12 2N ,1): (C.18)Therefore, each P (b) must be proportional to a dist<strong>in</strong>ct one of the rst 2 N powers oftwo, with a constant of proportionality of(2 2N ,1) ,1 .Recall that each P (b), as given <strong>in</strong> equation (C.3), is a product consist<strong>in</strong>g of eitherp n or p n for every n. In order to get 2 Ndierent products, none of the p n 's can beequal, nor can they be zero, 1 , or one. So without loss of generality, we can relabel2the p n 's so that0 p 0> 1 2 : (C.20)S<strong>in</strong>ce the p's are all less than the p's, the smallest product is P0, and it mustbe proportional to 1:P0= pN,1 p N,2 p 1 p 0 / 2 0 : (C.21)The order of the p's also lets us conclude that the second smallest is P1whichmustbe proportional to 2: P 1 = p N,1 p N,2 p 1 p 0 / 2 1 : (C.22)The ratio of these proportionalities is1PP0 = p 0= 21=2; (C.23)p 0 20 and solv<strong>in</strong>g gives p 0 = 1 3 . Similarly, the third smallest is P 2 which must be pro-182


portional to 4:ThenP2= pN,1 p N,2 p 1p 0 / 2 2 : (C.24)P 2P0 = p 1= 22=4; (C.25)0p 1 2giv<strong>in</strong>g p 1 = 1 . This <strong>in</strong> turn generates5P3= pN,1 p N,2 p 1p 0/ 2 3 ; (C.26)which is evidently the fourth smallest.Once the lowest 2 n products are obta<strong>in</strong>ed, the next lowest P (b) will <strong>in</strong>troducep n . This <strong>in</strong> turn generates the next 2 n products, thereby doubl<strong>in</strong>g the set of lowestproducts. By <strong>in</strong>duction,P2 n= pN,1 p n+1 p n p n,1 p 1 p 0 / 2 2n : (C.27) Divid<strong>in</strong>g this by P 0 givesP2 n = p n= 22n; (C.28)P 0 p n 2 0 =22nand nally,p n =12 2n +1 : 2 (C.29)C.3 Application <strong>in</strong> CAM-8The technique described above is particularly well-suited to use <strong>in</strong> CAM-8, whichis the most recent cellular automata mach<strong>in</strong>e to be developed by the InformationMechanics Group (cf. the description of CAM-6 <strong>in</strong> section 3.3.1). 4 At the risk ofoversimplify<strong>in</strong>g the situation, it is useful for present purposes to th<strong>in</strong>k of the state4 For a more detailed description of CAM-8, see [24], pp. 219{249.183


space <strong>in</strong> CAM-8 as consist<strong>in</strong>g of 16 parallel \planes" of bits with periodic boundaryconditions. Each cell conta<strong>in</strong>s one bit from each of these planes, and data is shiftedbetween cells by slid<strong>in</strong>g the planes an arbitrary distance relative to the others. Eachcell is updated between shifts by replac<strong>in</strong>g the 16 bits of data <strong>in</strong> each cell with anarbitrary 16-bit function of the orig<strong>in</strong>al data.For a stochastic rule, this typicallymeans us<strong>in</strong>g a few (e.g., N = 3) of the 16 planes as a random number generator andthe rest for the system itself.Once and for all, each of the N bit-planes devoted to randomness is lled withits own density p n =1=F n of 1's (or \particles"). These planes should be separately\kicked" (i.e., shifted) by random amounts every time step to give each cell a newrandom sample. Thus, for each cell, the probability of nd<strong>in</strong>g a particle on one of therandom planes will be given by its correspond<strong>in</strong>g p n . S<strong>in</strong>ce the same set of particleswill be used over and over, one should set exactly h 4MF nibits to one (assum<strong>in</strong>g 4M-bitplanes), where [] denotes the nearest <strong>in</strong>teger. This is the only way to guaranteesatisfaction of the law of large numbers.The update of the system on the other 16 , N planes can now depend on anyone of 2 2Ndierent co<strong>in</strong>s. For N = 3, this translates <strong>in</strong>to a choice of 256 uniformlydistributed probabilities. For many applications, this tunability ofP(f) is eectivelycont<strong>in</strong>uous from 0 to 1. Furthermore, the choice of a co<strong>in</strong> <strong>in</strong> each cell can dependon the rest of the data <strong>in</strong> the cell|the densities <strong>in</strong> the random planes need never bechanged. This would be useful, for example, <strong>in</strong> a physical simulation <strong>in</strong> which variousreactions take place with a large range of branch<strong>in</strong>g ratios depend<strong>in</strong>g on which particlespecies are present.C.4 Discussion and ExtensionsThis section briey discusses some ne po<strong>in</strong>ts which are characteristic of those which<strong>in</strong>evitably come up when deal<strong>in</strong>g with computer-generated random numbers. It alsosuggests some problems for further research. Many of the problems concern thequality of the randomness obta<strong>in</strong>ed, while still others address practical considerations184


<strong>in</strong> the application of the technique. F<strong>in</strong>ally, an algorithm for extend<strong>in</strong>g the idea tomultiple branches is presented.Computer-generated randomness will always conta<strong>in</strong> some residual correlationswhich could conceivably throw o the results of Monte Carlo simulations. An importantextension of this work, therefore, would be to <strong>in</strong>vestigate the correlations <strong>in</strong>the co<strong>in</strong> tosses and their eects on the reliability of CA experiments. In CAM-8 forexample, the same spatial distribution of random bits will occur over and over aga<strong>in</strong>as each plane of randomness is merely shifted around. Could this cause a spurious\resonance" with the dynamics under <strong>in</strong>vestigation?A mathematical problem along these l<strong>in</strong>es would be to nd a good \random" sequenceof kicks which m<strong>in</strong>imizes the degree of repetition <strong>in</strong> the spatial distributionof co<strong>in</strong> ips. Truly random kicks would give good results, but a determ<strong>in</strong>istic, anticorrelatedsequence could possibly be better. The optimal solution may resemble a\Knights Tour" or \8-Queens" conguration on a chess board.One way to enhance the randomness would be to use extra bit planes to stiror modulate the particles. Stirr<strong>in</strong>g would require an \ergodic," particle conserv<strong>in</strong>grule with short relaxation times|perhaps a lattice gas would do. Modulation couldtake the form of logical comb<strong>in</strong>ations of planes (such as `and' or `exclusive or'). Onthe other hand, one could save storage of randomness <strong>in</strong> the cell states by us<strong>in</strong>g anexternal random number generator as <strong>in</strong>puts to the processor (the lookup table). Theproblem would be to build a fast, hardwired source of probability 1=F n random bits.A practical problem is to nd a good way to throw down, at random, exactly agiven number of particles. A \physical" way to do this would be to put down thedesired number of particles <strong>in</strong> a non-random way and then use the mach<strong>in</strong>e to stir theparticles. Hav<strong>in</strong>g a xed number of particles <strong>in</strong> a plane <strong>in</strong>troduces mild correlations,but they become negligible as the size of the system is <strong>in</strong>creased.Note that there are severe correlations between the various co<strong>in</strong>s <strong>in</strong> a s<strong>in</strong>gle cell.So while co<strong>in</strong>s are virtually <strong>in</strong>dependent from cell to cell, one cannot, <strong>in</strong> general, usemore than one at a time from a s<strong>in</strong>gle cell and expect good results. By look<strong>in</strong>g atseveral of these co<strong>in</strong>s, one can never get more than I Nbits of randomness per cell,185


whereXI N = , N,1(p n log 2 p n + p n log 2 p n )n=0Q N,1n=0+1)= log (22n 2 Q N,1+n=0) (22nN,1Xn=02 n2 2n +1(2 , 2N 1) , 2 , N 1= log 2 + 22N2 (2N ,1)2 , 2N 1= 2 , 2N2 2N , 1 , log 22 2N2 2N , 1!: (C.30)I N approaches 2 bits <strong>in</strong> the limit N !1. While this seems small, it would requireexponentially more perfectly random bits to tune the derived probabilities to thesame extent as given here.The ma<strong>in</strong> drawback of the technique as presented so far is that it is limited to2-way branches.However, I have extended the technique to an arbitrary numberof branches, and the probability of each outcome is drawn from the largest possibleset of probabilities rang<strong>in</strong>g uniformly from 0 to 1. The result<strong>in</strong>g lookup tables take<strong>in</strong> random b<strong>in</strong>ary <strong>in</strong>puts whose weights are all reciprocals of <strong>in</strong>tegers and comb<strong>in</strong>ethem to create \loaded dice" with any number of sides. The common denom<strong>in</strong>atorsof the output probabilities grow more slowly as the number of branches <strong>in</strong>creases,but eventually, they too grow as a double exponential. As before, this gives very necontrol over the exact probabilities of the dierent branches.The extended technique does not yield simple formulas for the lookup table andthe <strong>in</strong>put probabilities as <strong>in</strong> the b<strong>in</strong>ary case, so the solution is given <strong>in</strong> algorithmicform <strong>in</strong>stead|see the subrout<strong>in</strong>e list<strong>in</strong>g at the end of this section. The subrout<strong>in</strong>ecan be used immediately to generate a suitable lookup table whenever appropriateconstra<strong>in</strong>ts are satised. It will also work <strong>in</strong> the b<strong>in</strong>ary case, even if the denom<strong>in</strong>atorsof the p n 's grow more slowly than F n . The theory beh<strong>in</strong>d the algorithm will be thesubject of a future paper.A nal problem along these l<strong>in</strong>es is to understand how to ne tune the outputprobabilities for a particular application by modify<strong>in</strong>g the <strong>in</strong>put weights. The di-186


culty is that the output probabilities do not form a uniform set if the reciprocals ofthe <strong>in</strong>put weights are not <strong>in</strong>tegers or if the <strong>in</strong>tegers grow too fast. While very goodresults can be obta<strong>in</strong>ed by us<strong>in</strong>g only rational probabilities, it may beworthwhile<strong>in</strong> certa<strong>in</strong> circumstances to relax this constra<strong>in</strong>t. Further software will probably benecessary to optimize the probabilities for each application.187


* This subrout<strong>in</strong>e recursively loads a portion of a lookup table <strong>in</strong> order togenerate a s<strong>in</strong>gle random variable as a function of a given set of b<strong>in</strong>ary randomvariables. The function takes on one of F values, f = 0, 1,..., F-2, F-1, andthe probability of each outcome can be varied by swapp<strong>in</strong>g lookup tables withoutchang<strong>in</strong>g the given set of b<strong>in</strong>ary <strong>in</strong>puts. Such tables yield an efficienttechnique for implement<strong>in</strong>g Markov processes <strong>in</strong> situations where the number ofsources of random bits is limited, while their fairness is adjustable (such as<strong>in</strong> <strong>Cellular</strong> <strong>Automata</strong> Mach<strong>in</strong>es). The special characteristics of the randomvariables <strong>in</strong>volved are described below.The bits which form the <strong>in</strong>put address to the lookup table are numbered n = 0,1,..., N-2, N-1 (<strong>in</strong> order of <strong>in</strong>creas<strong>in</strong>g significance) and can be viewed as be<strong>in</strong>gdrawn from a set of N "bit planes." The bits so taken are considered to be<strong>in</strong>dependent b<strong>in</strong>ary random variables with probabilities p_n = 1/d_n, where eachd_n is an <strong>in</strong>teger >= 2. An array of these <strong>in</strong>teger plane factors is given as<strong>in</strong>put to the subrout<strong>in</strong>e <strong>in</strong> order to specify the <strong>in</strong>put probabilities that will beused. The N low order bits <strong>in</strong> the lookup table <strong>in</strong>dex passed <strong>in</strong>to the subrout<strong>in</strong>emust be set to zero. The high order bits of the lut<strong>in</strong>dex determ<strong>in</strong>e whichsubtable will be loaded, and can also be used to represent the current state ofa Markov cha<strong>in</strong> (i.e., the table can vary from state to state).The F possible outcomes may be <strong>in</strong>terpreted differently depend<strong>in</strong>g on the currentstate of the Markov process, and the probability of the next state <strong>in</strong> turndepends on certa<strong>in</strong> branch<strong>in</strong>g ratios. These branch<strong>in</strong>g ratios are proportional tononnegative <strong>in</strong>teger branch<strong>in</strong>g factors, S(f), which are specified by an arraygiven as <strong>in</strong>put to the subrout<strong>in</strong>e. The probability of a particular output of thetable is given by the ratio of the correspond<strong>in</strong>g branch factor to the product ofall of the plane factors. S<strong>in</strong>ce the branch<strong>in</strong>g ratios must add up to one, thebranch factors must add up to the product of the plane factors, and the actualnumber of degrees of freedom is therefore one less than the number of branches.Interpreted geometrically, the branch<strong>in</strong>g ratios are rational numbers which lieon a f<strong>in</strong>e lattice <strong>in</strong> a delta-dimensional simplex, where delta = F-1. Thesubrout<strong>in</strong>e works by recursively decompos<strong>in</strong>g the vector of numerators <strong>in</strong>to a sumof major and m<strong>in</strong>or components ly<strong>in</strong>g on coarser and coarser sublattices(actually, a common factor of d_n-1 has been cancelled from the list of majorcomponents). The denom<strong>in</strong>ator at each stage is D_n, which is the product of allthe plane factors up to and <strong>in</strong>clud<strong>in</strong>g the current plane (that is, for all planesnumbered


*Source: /im/smith/programs/randlut/randlut.cAuthor: Mark Andrew SmithLast Modified: June 3, 1993*/randlut(<strong>in</strong>t branches, /* Number of possible outcomes = F. */<strong>in</strong>t branch_factors[], /* Numerators, S(f), of branch<strong>in</strong>g probabilities. */<strong>in</strong>t planes, /* Number of planes of random bits = N. */<strong>in</strong>t plane_factors[], /* Inverse probabilities, d_n, for each plane. */<strong>in</strong>t lut<strong>in</strong>dex, /* Specifies which subtable is be<strong>in</strong>g filled. */<strong>in</strong>t lut[]) /* Lookup table to be filled. */{<strong>in</strong>t plane, branch, denom<strong>in</strong>ator;<strong>in</strong>t quotients[branches], rema<strong>in</strong>ders[branches];<strong>in</strong>t quotient_total, rema<strong>in</strong>der_total;<strong>in</strong>t quotient_excess, quotient_decrement;if(planes == 0) /* Base case. */{for(branch = 0; branch < branches; branch++){if(branch_factors[branch] == 1) /* Only rema<strong>in</strong><strong>in</strong>g outcome. */{lut[lut<strong>in</strong>dex] = branch;break;}}}else /* Recursive case. */{planes--; /* Cont<strong>in</strong>ue with the next most significant bit plane. *//* F<strong>in</strong>d the required total for the constituent branch<strong>in</strong>g factors. */for(denom<strong>in</strong>ator = 1, plane = 0; plane < planes; plane++)denom<strong>in</strong>ator *= plane_factors[plane];/* Compute the major components of the branch<strong>in</strong>g factors and their sum. */for(quotient_total = 0, branch = 0; branch < branches; branch++)quotient_total += quotients[branch] = branch_factors[branch] /(plane_factors[planes]-1);/* Cut the quotient total down until it is equal to denom<strong>in</strong>ator. */quotient_excess = quotient_total - denom<strong>in</strong>ator;for(branch = 0; quotient_excess > 0; branch++){quotient_decrement = quotients[branch] < quotient_excess ?quotients[branch] : quotient_excess;quotients[branch] -= quotient_decrement;quotient_excess -= quotient_decrement;}189


}}/* Compute the m<strong>in</strong>or components of the branch<strong>in</strong>g factors and their sum. */for(rema<strong>in</strong>der_total = 0, branch = 0; branch < branches; branch++)rema<strong>in</strong>der_total += rema<strong>in</strong>ders[branch] = branch_factors[branch] -quotients[branch]*(plane_factors[planes]-1);/* Check to see if the rema<strong>in</strong>der total is what it should be. */if(rema<strong>in</strong>der_total > denom<strong>in</strong>ator)fpr<strong>in</strong>tf(stderr, "Overflow: I=%d d=%d D=%d r=%d\n", lut<strong>in</strong>dex,plane_factors[planes], denom<strong>in</strong>ator, rema<strong>in</strong>der_total);if(rema<strong>in</strong>der_total < denom<strong>in</strong>ator)fpr<strong>in</strong>tf(stderr, "Underflow: I=%d d=%d D=%d r=%d\n", lut<strong>in</strong>dex,plane_factors[planes], denom<strong>in</strong>ator, rema<strong>in</strong>der_total);/* Recursively decompose the quotient and rema<strong>in</strong>der vectors. */randlut(branches, quotients, planes, plane_factors, lut<strong>in</strong>dex, lut);lut<strong>in</strong>dex |= 1


Appendix DDierential Analysis of aRelativistic Diusion LawThis appendix expands on some mathematical details of the model of relativisticdiusion presented <strong>in</strong> chapter 4. The symmetries of the problem suggest underly<strong>in</strong>gconnections between a physical CA lattice model and the geometrical nature of thecorrespond<strong>in</strong>g set of dierential equations. Solv<strong>in</strong>g the equations rounds out theanalysis and serves to make contact with some standard techniques <strong>in</strong> mathematicalphysics.The Lorentz <strong>in</strong>variance of the model can be expla<strong>in</strong>ed and generalized by adopt<strong>in</strong>ga description <strong>in</strong> terms of dierential geometry. In order to establish a commonunderstand<strong>in</strong>g of this branch of mathematics as it is used <strong>in</strong> physics, a brief digressionis made to lay out some of the fundamental concepts and term<strong>in</strong>ology. Furtherterm<strong>in</strong>ology will be <strong>in</strong>troduced as needed. Us<strong>in</strong>g this language, the <strong>in</strong>variance of thesystem under conformal rescal<strong>in</strong>gs and the conformal group is demonstrated.The general solution to the equations <strong>in</strong> the case of a uniform background canbe written as a convolution of the <strong>in</strong>itial data with a diusive kernel, and a simplederivation of the kernel is given. Just as symmetry and conservation laws are powerfultools for problem solv<strong>in</strong>g, the <strong>in</strong>variance of the equations under the conformal groupcan be used <strong>in</strong> conjunction with this basic solution to solve the equations <strong>in</strong> the mostgeneral case.191


D.1 Elementary Dierential Geometry, Notation,and ConventionsThe study of dierential equations <strong>in</strong>volv<strong>in</strong>g general elds and arbitrary spacetimesrequires the use of dierential geometry. Consequently, the sections below serve asamore or less self-conta<strong>in</strong>ed <strong>in</strong>troduction to the mathematics needed to elucidate the<strong>in</strong>variances of the relativistic diusion law. The presentation is meant tobe<strong>in</strong>tuitiveand readily absorbed, so no great attempt is made to be rigorous. Instead, the termsare used rather loosely, and many logical shortcuts are taken. The reader who requiresmore detail can consult any number of references [7, 16, 96]. The rst section coversthose aspects of geometry that do not require any notion of distance|<strong>in</strong> particular,manifolds and tensor elds. In section D.1.2, further geometric structure is added by<strong>in</strong>troduc<strong>in</strong>g a metric tensor. F<strong>in</strong>ally, the special-case denitions used <strong>in</strong> chapter 4 aregiven <strong>in</strong> section D.1.3.D.1.1Scalar, Vector, and Tensor FieldsDierential geometry starts with the concept of a manifold which is the mathematicalname and generalization of the physical notion of a space or spacetime, andthese terms will be used <strong>in</strong>terchangeably. For purposes of this section, a manifold issmooth, has a denite dimensionality, and a xed global topology, but is otherwiseunconstra<strong>in</strong>ed. In what follows, a po<strong>in</strong>t on an arbitrary manifold will be denotedby x, and the dimension will be denoted by n; however, the discussion will often bespecialized to an ord<strong>in</strong>ary, two-dimensional spacetime.After manifolds comes the analysis of smooth functions on manifolds (a.k.a. elds<strong>in</strong> physics). Specically, the concepts and operations of dierential calculus can beextended to non-Cartesian spaces and multicomponent objects. Consideration of thedierential structure of a manifold leads to the notion of vectors and vector elds. Thealgebra of vectors leads to higher rank vectors (i.e., elements of vector spaces) calledtensors, and the algebra of tensors is the ultimate result of this section. The reason192


for construct<strong>in</strong>g all of this mach<strong>in</strong>ery it that tensor-valued functions of spacetimeconstitute the classical elds which are found <strong>in</strong> physics. 1The simplest k<strong>in</strong>d of eld is a scalar (rank 0 tensor) which merely assigns a numberto each po<strong>in</strong>t <strong>in</strong> the space, e.g., f(x). An important class of scalar functions are thecoord<strong>in</strong>ate functions. Each set of n coord<strong>in</strong>ate functions is called a coord<strong>in</strong>ate systemand will be <strong>in</strong>dexed by Greek letters, e.g., x , where 2f0;1;2;:::;n, 1g. Ingeneral, specify<strong>in</strong>g a value for each of the n functions <strong>in</strong> a coord<strong>in</strong>ate system uniquelyspecies a po<strong>in</strong>t on the manifold which <strong>in</strong> turn species the values of the coord<strong>in</strong>atefunctions <strong>in</strong> any other system. Hence there is a functional relationship between oneset of coord<strong>in</strong>ates and any other, and any one of them can be taken as a doma<strong>in</strong> of<strong>in</strong>dependent coord<strong>in</strong>ate variables on the manifold.The relationships between two coord<strong>in</strong>ate systems (unprimed and primed) willnow be used to develop the dierential properties of the manifold. Two complementarytypes of vector (rank 1 tensor) elds on the manifold can <strong>in</strong> turn be expressed<strong>in</strong> terms of directional derivatives and coord<strong>in</strong>ate dierentials respectively. This approachto represent<strong>in</strong>g physical quantities illustrates the sense <strong>in</strong> which the elds ofphysics are rooted <strong>in</strong> the geometry of spacetime. However, it should be stressed atthis po<strong>in</strong>t that the elds that ultimately make their way <strong>in</strong>to the fundamental lawsof physics should not depend on a particular coord<strong>in</strong>ate system <strong>in</strong> order to complywith the pr<strong>in</strong>ciple of relativity.A directional derivative is dened by its action on scalar functions, but it canbe written as an operator without explicitly specify<strong>in</strong>g a function. Thus the cha<strong>in</strong>rule for partial derivatives with respect to coord<strong>in</strong>ate variables (with the others heldconstant) can be written@ 0 = @x@x 0 @ and @ = @x0@x @ 0;(D.1)where by the summation convention, there is an implicit sum over any <strong>in</strong>dex thatoccurs twice <strong>in</strong> the same term (unless otherwise noted). An <strong>in</strong>dex that occurs once1 The exception, sp<strong>in</strong>or elds, will not be covered here.193


<strong>in</strong> every term <strong>in</strong> a formula is a free <strong>in</strong>dex, one that occurs twice and is summed over<strong>in</strong> a term is a dummy <strong>in</strong>dex (because any other unused letter could take its place),and one that occurs more than twice <strong>in</strong> a term is probably a mistake.Similarly, the total dierentials of a coord<strong>in</strong>ate <strong>in</strong> one set with respect to dierentialsof coord<strong>in</strong>ates <strong>in</strong> the other set can be writtendx 0 = @x0@x dxand dx = @x@x 0 dx 0 :(D.2)The above formulas must be consistent under the reverse transformation, so @x0@x and @x@x 0must be <strong>in</strong>verses of each other:@x 0 @x = @x @x 0@x @x 0 ; and@x 0 @x = 0 0;(D.3)where is 1 if = and 0 otherwise. This so-called Kronecker delta is an exampleof a rank 2 tensor and is sometimes called the substitution tensor because its presence<strong>in</strong> a term has the eect of replac<strong>in</strong>g a dummy <strong>in</strong>dex for the other <strong>in</strong>dex. Also notethat the summation convention implies = 0 0= n. The 's can be representedas an identity matrix <strong>in</strong> any coord<strong>in</strong>ate system <strong>in</strong> any number of dimensions. Forexample,[ ] [ 02 0] 64 1 00 1<strong>in</strong> two dimensions, where \" denotes a numerical equivalence.375 (D.4)The above relationships can be used to dene vector quantities on the manifoldthat have an existence which is<strong>in</strong>dependent of any coord<strong>in</strong>ate system. For example,the essence of \a quantity with magnitude and direction" can be rigorously capturedwith directional derivatives. An arbitrary eld of directional derivatives can be writtenas a l<strong>in</strong>ear comb<strong>in</strong>ation of coord<strong>in</strong>ate derivatives, v = v @ , where the v 's canbe any set of n scalar functions on the manifold. In order for v to be a quantitywhich doesn't refer to a particular coord<strong>in</strong>ate system, it must also be the case thatv can be written as v = v 0 @ 0for some other set of functions, v 0 . However, from194


equation (D.1) we havev @ =v @x0@x @ 0and @xv0 0@ 0 = v @ :@x 0(D.5)Therefore, the sets of component functions of v must transform accord<strong>in</strong>g tov 0 = @x0@x v ;and v = @x@x 0 v 0 :(D.6)A quantity that obeys this transformation law is called a contravariant vector.The other type of vector whose existence is <strong>in</strong>dependent ofany coord<strong>in</strong>ate systemis called a covariant vector (also called a covector or a 1-form). Such avector can bethought of as \a quantity with slope and orientation" and its essence can be rigorouslycaptured with dierentials. An arbitrary eld of 1-forms can be written as a l<strong>in</strong>earcomb<strong>in</strong>ation of coord<strong>in</strong>ate dierentials, ! = ! dx , where the ! 's can be any setof n scalar functions on the manifold. In order for ! to be a quantity which doesn'trefer to a particular coord<strong>in</strong>ate system, it must also be the case that ! can be writtenas ! = ! 0dx 0havefor some other set of functions, ! 0.However, from equation (D.2) we! dx = ! @x @x 0dx 0 ; and ! 0dx 0 = ! @x 0 0@x dx :(D.7)Therefore, the sets of component functions of ! must transform accord<strong>in</strong>g to! 0 = @x@x 0 ! ;and ! = @x0@x ! 0:(D.8)Note the dierences and similarities between the transformation laws for @ , dx ,v , and ! given by equations (D.1), (D.2), (D.6), and (D.8) respectively. In particular,the transformation law isentirely determ<strong>in</strong>ed by the name and position of the<strong>in</strong>dex: an upper <strong>in</strong>dex is always summed aga<strong>in</strong>st a lower <strong>in</strong>dex and vice versa. Thename of the free <strong>in</strong>dex determ<strong>in</strong>es the <strong>in</strong>dex on the new component, and it is <strong>in</strong> thesame position as on the orig<strong>in</strong>al component (contravariant components transform tocontravariant components, etc.). Furthermore, the primes are written on the <strong>in</strong>dicesbecause it determ<strong>in</strong>es <strong>in</strong> which coord<strong>in</strong>ate system the components are taken while195


the actual vector be<strong>in</strong>g represented is always the same, <strong>in</strong>dependent of coord<strong>in</strong>atesystem.These transformation laws can be extended to elds of higher rank tensors|that is, multicomponent vectors which \have more <strong>in</strong>dices." The number of upperand lower <strong>in</strong>dices <strong>in</strong>dicates the type of the tensor, sometimes written (n u ;n l ). Forexample, the components of a type (1; 2) tensor T transform accord<strong>in</strong>g toT 0 0 0= @x @x @x 0@x 0 @x 0 @x T (D.9)The fact that a multicomponent object transforms accord<strong>in</strong>g to this law is what makesit a tensor, not merely that it has a certa<strong>in</strong> number of components.The components of a tensor are taken with respect to a basis made of a tensorproduct of basis vectors. For example, T is the component of the tensor T <strong>in</strong>the coord<strong>in</strong>ate basis, @ dx dx . The tensor product is associative, distributiveover addition, but not commutative, so the <strong>in</strong>dices must be understood to have someparticular order which must be ma<strong>in</strong>ta<strong>in</strong>ed. Summ<strong>in</strong>g over all basis tensors givesT = T @ dx dx . This basis decomposition, along with the transformationlaws above, shows that the tensor is a geometrical object with an existence <strong>in</strong>dependentofany coord<strong>in</strong>ate system. However, <strong>in</strong> physics, one usually only deals withthe components directly without reference to the basis tensors and their underly<strong>in</strong>gorig<strong>in</strong> <strong>in</strong> the dierential structure of a manifold. Once an order for the <strong>in</strong>dices isunderstood, one can build up higher rank tensors componentwise by tak<strong>in</strong>g ord<strong>in</strong>aryproducts of components of lower rank tensors. For example, it can be veried thatT v ! are components of a type (2; 3) tensor.In addition to the tensor or outer product of tensors it is possible to dene an <strong>in</strong>nerproduct of a contravariant and a covariant vector through the relation h@ ;dx i .It follows from l<strong>in</strong>earity of the <strong>in</strong>ner product that hv; !i = v ! . This product is<strong>in</strong>dependent of coord<strong>in</strong>ates as is shown by the follow<strong>in</strong>g calculation:v ! = v ! = v @x0@x @x @x 0 ! = v 0 ! 0:(D.10)196


The operation of equat<strong>in</strong>g an upper and lower <strong>in</strong>dex <strong>in</strong> a term and summ<strong>in</strong>g is knownas contraction, and it maps a type (n u ;n l ) tensor to a type (n u , 1;n l ,1) tensor.It is often useful to th<strong>in</strong>k of tensors as multil<strong>in</strong>ear mapp<strong>in</strong>gs on vectors to lowerrank tensors via the operation of contraction with the vector components. As shownabove, contraction is a coord<strong>in</strong>ate <strong>in</strong>variant operation because the contravariant andcovariant components transform <strong>in</strong>versely to each other. Note, however, that we don'tyet have a coord<strong>in</strong>ate <strong>in</strong>variant way of tak<strong>in</strong>g an <strong>in</strong>ner product of two vectors of thesame type.As a nal topic of basic dierential geometry, we<strong>in</strong>troduce the notion of <strong>in</strong>tegrationof dierential forms. A type (0;p) tensor (p n) that is totally antisymmetric<strong>in</strong>all its <strong>in</strong>dices is called an p-form (also called a dierential form or simply a form). Anexample <strong>in</strong> the usual coord<strong>in</strong>ate basis for p = n = 2 can be represented as a matrix:[ ] 2640 1,1 0375 : (D.11)Dierential forms are important because they can be used to dene a coord<strong>in</strong>ate<strong>in</strong>dependent notion of <strong>in</strong>tegration on p-dimensional (sub)manifolds. In the currentexample,Zf =Zf(x) dx dx Z f(x) dx 0 dx 1 ;(D.12)where f(x) isany scalar function. The antisymmetry along with the transformationlaw (D.2) guarantees that, under a coord<strong>in</strong>ate transformation, one recovers the standardJacobian formula for chang<strong>in</strong>g variables <strong>in</strong> <strong>in</strong>tegration. Therefore, the <strong>in</strong>tegralof a form is <strong>in</strong>dependent of coord<strong>in</strong>ate system, just as the form itself.Throughout this discussion, noth<strong>in</strong>g has been said about the \shape" of the manifold.Roughly speak<strong>in</strong>g, the manifold can be smoothly deformed and noth<strong>in</strong>g thathas been presented so far is aected. This will not be the case <strong>in</strong> the next sectionwhere the manifold will be made \rigid" with the specication of distance betweenthe po<strong>in</strong>ts of the manifold.197


D.1.2Metric GeometryUp to this po<strong>in</strong>t, our space has had no notion of distance, angles, volume, or anyof the other th<strong>in</strong>gs that one usually associates with geometry. All of these th<strong>in</strong>gsare obta<strong>in</strong>ed by specify<strong>in</strong>g a preferred metric, which is an arbitrary nondegenerate,symmetric, type (0; 2) tensor eld, denoted by g .The primary eect of a metric is to determ<strong>in</strong>e the squared <strong>in</strong>terval between\nearby" po<strong>in</strong>ts on the manifold:ds 2 = g dx dx :(D.13)The <strong>in</strong>terval can be thought of as an <strong>in</strong>nitesimal distance or proper time, depend<strong>in</strong>gon the application. The net <strong>in</strong>terval between arbitrary po<strong>in</strong>ts depends on the pathtaken between them and is the <strong>in</strong>tegral of the <strong>in</strong>nitesimal <strong>in</strong>tervals. Thus, the total<strong>in</strong>terval along a parameterized curve, x (), is given bys =Zds =Z s g dx ddx d d:(D.14)An equation for the shortest distance (or maximum proper time) between any twopo<strong>in</strong>ts <strong>in</strong> spacetime can be found by tak<strong>in</strong>g the variation of s with respect to x ()and sett<strong>in</strong>g it to zero:sx =0 ) d2 x dx dx d 2 +, d d =0:(D.15)Solutions to this geodesic equation are called geodesics, and they generalize the conceptof straight l<strong>in</strong>es to arbitrary manifolds. The , are called the Christoel symbols,and they are given by the general formula, = 1 2 g (g ; + g ; , g ; ); (D.16)where an <strong>in</strong>dex follow<strong>in</strong>g a comma denotes the correspond<strong>in</strong>g partial derivative, (e.g.,f ; = @ f), and g is dened as the unique matrix <strong>in</strong>verse, g g = . However,198


it is often easier to compute the components of the Christoel symbols directly byvariation of the argument of the square root <strong>in</strong> equation (D.14).Despite appearances, the Christoel symbols are are not the components of atensor because they don't obey the tensor transformation law exemplied by equation(D.9). Nor is the ord<strong>in</strong>ary derivative ofavector a tensor because the derivativedoes not commute with the transformation matrix:@ 0v 0 = @x @x 0@ @x 0 @x v = @x @x 0@x 0 @x @ v + @x @ 2 x 0 @x 0 @x @x v :(D.17)However, these elements can be used together to dene a covariant derivative whichdoes yield a tensor.The denition of a derivative requires a tak<strong>in</strong>g a dierencebetween elds at dierent po<strong>in</strong>ts, and , serves as a connection, which tells howtensors at dierent po<strong>in</strong>ts are to be transported to the same po<strong>in</strong>t where they can besubtracted. In any event, the covariant derivative of a contravariant vector is denedby(rv) r v @ v +, v :Similarly, the covariant derivative ofacovariant vector is dened by(D.18)(r!) r ! @ ! ,, ! :(D.19)The covariant derivative can be extended to higher rank tensors by add<strong>in</strong>g (or subtract<strong>in</strong>g)analogous terms for each <strong>in</strong>dex. By direct substitution, a calculation suchasequation (D.17) shows that the nontensorial terms cancel under a coord<strong>in</strong>ate transformation.The metric can also be used to dene an <strong>in</strong>ner product on vectors of the sametype. For contravariant vectors, we have(u;v)g u v , and for covariant vectors,(; !) g ! . In direct analogy with the ord<strong>in</strong>ary dot product, this <strong>in</strong>ner productcan be used to dene the magnitude of a vector as well as the angle between twovectors: (v; v) =jvj 2 and (u; v) =jujjvj cos , etc.The metric also gives a natural isomorphism between vectors and forms; i.e.,199


a l<strong>in</strong>ear bijection that doesn't depend on the choice of a basis, but rather on the<strong>in</strong>variant structure imposed by the metric. In particular, <strong>in</strong> order for the two k<strong>in</strong>dsof <strong>in</strong>ner product dened above (contraction and dot) to agree, it must be the casethat v = g v and ! = g ! . The operation of contraction with the metric toconvert from covariant tocontravariant components and vice versa by is referred toas rais<strong>in</strong>g and lower<strong>in</strong>g <strong>in</strong>dices respectively. In an entirely analogous manner, onecan also use the metric to raise and lower <strong>in</strong>dices on higher rank tensors, but caremust be exercised to ma<strong>in</strong>ta<strong>in</strong> a consistent order<strong>in</strong>g of the <strong>in</strong>dices.F<strong>in</strong>ally, s<strong>in</strong>ce we nowhave denite notions of distance and angles, it seems onlynatural that there should be a unique notion of volume, and <strong>in</strong>deed this is the case.Specically, the determ<strong>in</strong>ant of the metric (when viewed as a matrix), g det(g )=1=det(g ), gives a denite scale to dierential forms. By consider<strong>in</strong>g an orthonormalset of 1-forms, it can be shown that the magnitude of each component of the preferredvolume form <strong>in</strong> the coord<strong>in</strong>ate basis must beqjgj. 2 For example, <strong>in</strong> two dimensionsthe volume form, " ,isgiven by[" ] q jgj [ ] q jgj2640 1,1 0375 : (D.20)By rais<strong>in</strong>g the <strong>in</strong>dices, one obta<strong>in</strong>s the contravariant version:[" ] [g g " ] sgn(g) qjgj2640 1,1 0375 ; (D.21)where sgn(g) is the sign of the determ<strong>in</strong>ant. Also note that " " = 2! sgn(g).D.1.3M<strong>in</strong>kowski SpaceThis section specializes the discussion above to the case of ord<strong>in</strong>ary two-dimensionalM<strong>in</strong>kowski space. It conta<strong>in</strong>s the basic denitions needed to understand the manifestcovariance of the relativistic diusion law under Lorentz transformations. The2 The choice of sign is arbitrary, but a positive sign will denote a right-handed coord<strong>in</strong>ate system.200


notation will also be used <strong>in</strong> deriv<strong>in</strong>g the solution <strong>in</strong> section D.3.Two coord<strong>in</strong>ate systems are particularly useful for the description and analysis ofthis model, and the formulas developed above allow us to transform back and forth.The unprimed coord<strong>in</strong>ates are the usual space and time coord<strong>in</strong>ates, x =(x 0 ;x 1 )(x; t), and the primed coord<strong>in</strong>ates are the so-called light cone-coord<strong>in</strong>ates, x 0 =(x 00 ;x 10 ) (x + ;x , ), where x 1 p 2(t x). The <strong>in</strong>verse coord<strong>in</strong>ate transformationlooks similar: t = 1 p2(x + + x , ), and x = 1 p2(x + , x , ).In cases such as this where the coord<strong>in</strong>ate transformation is l<strong>in</strong>ear, the componenttransformation matrix is constant throughout spacetime:"@x 0@x #"@x#2@x p 1 60 24 1 11 ,1375: (D.22)Thus, @ = 1 p 2(@ t @ x ), @ t = 1 p 2(@ + + @ , ), and @ x = 1 p 2(@ + , @ , ). Furthermore, theold notion of a displacement be<strong>in</strong>g a vector is also mean<strong>in</strong>gful, and the coord<strong>in</strong>atefunctions are related by the vector transformation law:x 0 = @x0@x x ;and x = @x@x 0 x 0 :(D.23)In the unprimed coord<strong>in</strong>ate system, the metric can be written as[g ] [g ] 264 1 00 ,1375 : (D.24)Us<strong>in</strong>g this metric to raise and lower <strong>in</strong>dices of a vector, v, gives v 0 = v 0 , and v 1 = ,v 1 .Us<strong>in</strong>g the above transformation matrix, the metric <strong>in</strong> the light-cone coord<strong>in</strong>ates canbe written[g 0 0] [g0 0 ]=264 0 11 0375: (D.25)The rule for rais<strong>in</strong>g and lower<strong>in</strong>g <strong>in</strong>dices <strong>in</strong> the new system is then: v = v . Ofcourse, this is consistent with rais<strong>in</strong>g and lower<strong>in</strong>g <strong>in</strong>dices before transform<strong>in</strong>g coord<strong>in</strong>ates.201


The metric is important for the relativistic diusion law because it enters <strong>in</strong>tothe expressions for the covariant derivative and the preferred volume form. S<strong>in</strong>ce themetric is constant <strong>in</strong> both coord<strong>in</strong>ate systems, , , 0 0 0, and the covariant0derivative reduces to an ord<strong>in</strong>ary derivative: r = @ and r 0 = @ 0. S<strong>in</strong>ce g = ,1,the preferred volume forms can be written[" ] [," 0 0] 2640 1,1 0375 : (D.26)The volume form <strong>in</strong> the primed system diers by a m<strong>in</strong>us sign because the light-conecoord<strong>in</strong>ate system has the opposite orientation than the orig<strong>in</strong>al coord<strong>in</strong>ate system(i.e., the new coord<strong>in</strong>ate axes have been <strong>in</strong>terchanged, not just rotated|see g. (4-1)).By rais<strong>in</strong>g the <strong>in</strong>dices we nd that[" ] [," 0 0 ] 264 0 ,11 0375 (D.27)where the sign dierence from the last equation reects the sign of the determ<strong>in</strong>antof the metric.The subject of this appendix is the relativistic diusion law, so here we reproducethe central equations (4.7){(4.10) for convenience:@ J = 0 (D.28)(@ + )" J = 0 (D.29)@ = 0 (D.30)@ " = 0: (D.31)This form of the equations is valid <strong>in</strong> any coord<strong>in</strong>ate system that is l<strong>in</strong>early relatedto the standard spacetime coord<strong>in</strong>ates because the transformation matrix is a constant.In particular, the coord<strong>in</strong>ate systems which correspond to physically mean<strong>in</strong>gfulframes of reference are related by Lorentz transformations. Hence the equations202


written <strong>in</strong> this form are manifestly covariant under Lorentz transformations, and thediusion law obeys the pr<strong>in</strong>ciple of relativity.D.2 Conformal InvarianceEquations (D.28){(D.31) can be rewritten <strong>in</strong> terms of completely general tensors byreplac<strong>in</strong>g ord<strong>in</strong>ary partial derivatives with covariant derivatives so that they are valid<strong>in</strong> any coord<strong>in</strong>ate system:r J = 0 (D.32)(r + )" J = 0 (D.33)r = 0 (D.34)r " = 0: (D.35)This form of the equations is also the proper generalization for curved spacetimesand is appropriate for study<strong>in</strong>g their properties under general coord<strong>in</strong>ate and metrictransformations.D.2.1Conformal TransformationsA conformal transformation is a change of metric result<strong>in</strong>g from a rescal<strong>in</strong>g of theorig<strong>in</strong>al: ^g (x) = 2 (x)g (x). Such a transformation may ormay not be derivedfrom a mapp<strong>in</strong>g of the space to itself (as <strong>in</strong> the next section), but for now, 2 (x)is just an arbitrary, positive scalar eld. This section shows that equations (D.32){(D.35) are conformally <strong>in</strong>variant, which means that under a conformal transformationand a suitable correspond<strong>in</strong>g change <strong>in</strong> the tensor elds, the equations take onthesame form as before. Conformal <strong>in</strong>variance is of substantial <strong>in</strong>terest <strong>in</strong> eld theoryand implies that the eld is composed of massless particles (though the conversenot true). This is reected <strong>in</strong> the CA model s<strong>in</strong>ce the particles always move at thespeed of light. While the existence of a maximum speed of propagation <strong>in</strong> all CA issuggestive, the full mathematical consequences of this fact are unknown.203


A metric rescal<strong>in</strong>g changes the covariant derivative, the volume form, and possiblythe eld variables, so it is necessary to evaluate these with respect to the new metric:^, = 1 2^g (^g ; +^g ; , ^g ; )= 1 2 ,2 g ( 2 g ; + 2 g ; , 2 g ;+2g ; +2g ; , 2g ; )= , + ,1 ( ; + ; , g g ; ): (D.36)Contraction gives^, = , + ,1 (n ; + ; , ; )= , + n ,1 ; : (D.37)One must allow for the possibility that the elds have a nonzero conformal weight,s, so the scaled eld is dened as ^J = s J , and the left hand side of equation (D.32)becomes^r ^J= ^r s J = s @ ^J + s^, J + s s,1 ; J = r s J + n s,1 ; J + s s,1 ; J = r s J if s = ,n (= ,2 <strong>in</strong>2d)= 0: (D.38)Therefore, r J = 0 is conformally <strong>in</strong>variant if ^J = ,2 J . Similarly, r =0isconformally <strong>in</strong>variant if^ = ,2 . In other words, the conformal weight ofJ and must be s = ,2.Equations (D.32) and (D.35) <strong>in</strong>volve the covariant components of the elds, andthe <strong>in</strong>dex must be lowered with the new metric:^ =^g ^ = 2 g ,2 = :(D.39)204


Therefore, (and likewise, J ) has a conformal weight of zero. In general, lower<strong>in</strong>gan <strong>in</strong>dex <strong>in</strong>creases the conformal weight bytwo and vice-versa.Equations (D.32) and (D.35) also <strong>in</strong>volve the volume form, " , which mayhavesome nonzero conformal weight, s: ^" = s " , and by rais<strong>in</strong>g the <strong>in</strong>dices, ^" = s,4 " . S<strong>in</strong>ce ^" ^" = 2! sgn(g) is the same constant for any metric, one obta<strong>in</strong>s^" ^" = s,4 " s " = 2s,4 " " = " " ) s =2: (D.40)Hence, the volume changes as ^" = 2 " and ^" = ,2 " , which is<strong>in</strong>tuitivelyclear s<strong>in</strong>ce the eect of the metric rescal<strong>in</strong>g is to <strong>in</strong>crease all lengths by a factor of .The volume form also appears <strong>in</strong>side a derivative; however,0 = r " " =2" r " ) r " =0; (D.41)because all the relevant terms <strong>in</strong> " r " are the same and " is nonzero. Rais<strong>in</strong>gthe <strong>in</strong>dices gives r " = 0. Therefore, the volume form can be moved through thecovariant derivative.The right hand side of equation (D.35) then becomes^r ^" ^ = ^r ^" =^" ^r = ^" (@ + ^, )=^" @ = ^" (@ +, )=^" r = ,2 " r = ,2 r " = 0; (D.42)where the contraction of the volume form with the connection vanishes by antisymmetry.Therefore, r " = 0 is conformally <strong>in</strong>variant. Similarly,( ^r +^ )^" ^J =(^r + )^" J = ,2 (r + )" J =0; (D.43)205


so (r + )" J = 0 is also conformally <strong>in</strong>variant. Thus, it has been shown thatthe entire system of equations, (D.32){(D.35), is conformally <strong>in</strong>variant.The system of equations can also be written with a compact, <strong>in</strong>dex-free (and thereforecoord<strong>in</strong>ate-<strong>in</strong>variant) notation 3 which sheds some light on the issue of conformal<strong>in</strong>variance. The covariant components of the elds, J and , are the components of1-forms, J and , so equations (D.32) and (D.35) can be expressed purely <strong>in</strong> termsof exterior derivatives and products:" r =0 ,r [ ] =0 , (d) =0 , d =0: (D.44)Also," (r + )J =0 ,r [ J ] + [ J ] =0 , dJ + ^ J =0: (D.45)S<strong>in</strong>ce the exterior derivative, d, and the exterior product, ^, don't depend on themetric, these equations are automatically conformally <strong>in</strong>variant.On the other hand, equations (D.32) and (D.34) can be written asr J =0 , J =0 (D.46)r =0 , =0: (D.47)The operator does depend on the metric, so these equations require a conformalrescal<strong>in</strong>g of the contravariant components of the elds <strong>in</strong> order to be conformally<strong>in</strong>variant.D.2.2The Conformal GroupThe set of smooth mapp<strong>in</strong>gs of a spacetime to itself that result <strong>in</strong> a rescal<strong>in</strong>g ofthe metric is called the conformal group, and it also happens to be the group thatpreserves the causal structure dened by the light cones (i.e., it maps null vectors to3 See [16] for denitions of the operators d, ^, and .206


null vectors). The picture of mapp<strong>in</strong>g the space to itself is the active po<strong>in</strong>t of view,but the conformal group can also be viewed as a change of coord<strong>in</strong>ates, which isthepassive po<strong>in</strong>t of view. The later viewpo<strong>in</strong>t, which is adopted here, is perhaps morephysical because the space rema<strong>in</strong>s the same: only the description of the po<strong>in</strong>ts <strong>in</strong>the space changes.The purpose of this section is to show that the orig<strong>in</strong>al equations (D.28){(D.31)are <strong>in</strong>variant under the conformal group. In addition to a change of coord<strong>in</strong>ates, theelds may need to be rescaled as before. In n 2 spacetime dimensions, the conformalgroup has (n + 1)(n +2)=2 dimensions, but for n = 2, it has an <strong>in</strong>nite number ofdimensions. The later can be seen by imag<strong>in</strong><strong>in</strong>g an arbitrary local scal<strong>in</strong>g betweentwo sets of light-cone coord<strong>in</strong>ates, x =(x + ;x , ) and x 0 =(x +0 ;x ,0 ), which canbe written as x 0= f (x ) for any strictly monotone functions f . This enormousfreedom <strong>in</strong> two dimensions is related to the fact that the light cone consists of twodisconnected branches.The transformation matrix <strong>in</strong> this case consists of two elements which will beabbreviated asDf dfdx (x )= @x0@x :Then @ =(Df )@ 0, and the metric transformation is simply[g 0 0]= 1(Df + )(Df , ) [g ] =21 64 0 1(Df + )(Df , ) 1 0(D.48)375 : (D.49)The metric <strong>in</strong> the new coord<strong>in</strong>ate system can be rescaled, ^g 0 0 =2 g 0 0where 2 (Df + )(Df , ), to give the orig<strong>in</strong>al metric:[^g 0 0]=(Df + )(Df , )[g 0 0]=[g ] =264 0 11 0375: (D.50)The elds scale as <strong>in</strong> the previous section: ^J 0 = ,2 J 0 ,^ 0 = ,2 0 , and ^ 0 = 0.207


To see how all of this helps, consider the follow<strong>in</strong>g sequence of transformations:@ J = 0 (given) (D.51))r J = 0 (constant g ) , =0) (D.52))r 0J 0 = 0 (by tensor transformation) (D.53)) ^r 0^J 0 = 0 (by conformal <strong>in</strong>variance) (D.54)) @ 0^J 0 = 0 (constant ^g 0 00)^, 0 0= 0). (D.55)Therefore, by rescal<strong>in</strong>g the elds, one can oset the eect of a transformation of theconformal group.This can be shown more explicitly <strong>in</strong> light-cone coord<strong>in</strong>ates as follows:J 0 = @x0@x J ) J = J0(Df ) = 2 ^J 0(Df ) =(Df ) ^J 0 :(D.56)Similarly, =(Df )^ 0 and =(Df ) 0 =(Df )^ 0. Equations (D.28){(D.31) (i.e., without covariant derivatives) also apply <strong>in</strong> the orig<strong>in</strong>al light-cone coord<strong>in</strong>atesas dened <strong>in</strong> section D.1.3 because the metric is constant and the connectionvanishes. Us<strong>in</strong>g the fact that " J (,J + ;J , ) gives:@ + J + + @ , J , = 0 (D.57)@ + J + , @ , J , + + J + , , J , = 0 (D.58)@ + + + @ , , = 0 (D.59)@ + , + @ , , = 0: (D.60)Substitution of the scaled and transformed elds gives(Df + )@ + 0(Df , ) ^J +0 +(Df , )@ , 0(Df + ) ^J ,0 = 0 (D.61)(Df + )@ + 0(Df , ) ^J , +0 (Df , )@ , 0(Df + ,0) ^J (D.62)+(Df + )^ + 0(Df , ) ^J +0 , (Df , )^ , 0(Df + ) ^J ,0 = 0 (D.63)(Df + )@ + 0(Df , )^ +0 +(Df , )@ , 0(Df + )^ ,0 = 0 (D.64)208


(Df + )@ + 0(Df , )^ +0 , (Df , )@ , 0(Df + )^ ,0 = 0; (D.65)which become (s<strong>in</strong>ce Df doesn't depend on x 0 ) 2 +(@ + 0^J 0 ,+ @ , 0^J 0 ) = 0 (D.66) 2 +(@ + 0^J , 0 ,@ , 0^J 0 +^ 0 + 0^J+ ,^ , 0^J, 0 ) = 0 (D.67) 2 (@ + 0 ^ +0 + @ , 0 ^ ,0 ) = 0 (D.68) 2 (@ + 0 ^ , +0 @ , 0 ^ ,0 ) = 0: (D.69)Add<strong>in</strong>g and subtract<strong>in</strong>g the last two equations gives @ + 0 ^ +0 = 0 and @ + 0 + = 0 whichcan be <strong>in</strong>tegrated immediately to give arbitrary functions ^ +0 =^ +0 (x ,0 ) and ^ ,0 =^ ,0 (x +0 ). The background eld, ^ 0, can be transformed to a constant bychoos<strong>in</strong>gcoord<strong>in</strong>ates so that =(Df ) 0 . This makes ^ 0 = 0 (as well as ^ 0 = 0 ). Theequation for the transformed and scaled currents then become@ + 0^J+ 0 + @ , 0^J, 0 = 0 (D.70)@ + 0^J+ 0 , @ , 0^J, 0 + 0 ( ^J+ 0 , ^J, 0 ) = 0: (D.71)As a nal remark, note that it is completely clear from gure 4-1 that the processdescribed by the orig<strong>in</strong>al CA is <strong>in</strong>variant under arbitrary rescal<strong>in</strong>g of the light-conecoord<strong>in</strong>ates. In other words, the visual representation aorded by CA allows one tobypass all of the above formal development <strong>in</strong> order to draw signicant conclusionsabout the properties of the model. This illustrates the latent power of CA as amathematical framework for describ<strong>in</strong>g the essential aspects of physical phenomena.D.3 Analytic SolutionThis section shows how to derive the complete solution to equations (D.28){(D.31).Given the symmetries outl<strong>in</strong>ed above, it makes sense to do the analysis <strong>in</strong> lightconecoord<strong>in</strong>ates which results <strong>in</strong> the equivalent equations (D.57){(D.60). It is clear209


from the above discussion that (D.59) and (D.60) can be solved completely to give + = + (x , ) and , = , (x + ); furthermore, without loss of generality, they can berescaled to a constant, 0 .Add<strong>in</strong>g and subtract<strong>in</strong>g equations (D.57) and (D.58) with = 0 gives2@ + J + + 0 (J + , J , ) = 0 (D.72)2@ , J , + 0 (J , , J + ) = 0: (D.73)pS<strong>in</strong>ce 0 is related to the mean free path by 0 = 2=, it is convenient p to rescalethe problem by <strong>in</strong>troduc<strong>in</strong>g dimensionless coord<strong>in</strong>ates z = x = 2. This gives p 2 @ = @ z . Us<strong>in</strong>g the fact that J is proportional to (<strong>in</strong> fact, J = p 2 ),the above equations can be expressed <strong>in</strong> terms of the densities as@ z + + + + , , = 0 (D.74)@ z , , + , , + = 0: (D.75)These also could have been written down immediately from the orig<strong>in</strong>al transportequations, (4.1) and (4.2).The general solution can be written <strong>in</strong> terms of Green's functions as a superpositionof solutions, each one of which starts from an isolated pulse mov<strong>in</strong>g right or leftfrom a given position. S<strong>in</strong>ce the problem is <strong>in</strong>variant under translation and parity, itsuces to nd the solution start<strong>in</strong>g from a s<strong>in</strong>gle pulse at the orig<strong>in</strong> mov<strong>in</strong>g to theright. The Green's function for the right and left mov<strong>in</strong>g particles will be denoted by% (x; t). The <strong>in</strong>itial conditions are therefore% + (x; t =0) = (x)=(t,x) (D.76)% , (x; t =0) = 0: (D.77)From physical considerations, it is clear that the elds vanish outside the light cone.The boundaries can therefore be rotated to light-cone coord<strong>in</strong>ates to give the condi-210


~f(s)s ~ f(s) , f(0)~f(s + )f(z)df(z) dze ,z f(z)1 (z)1s+e =sse =s , 1e ,zI 0 (2 p z)qz I 1(2 p z)Table D.1: A table of Laplace transforms used <strong>in</strong> the solution of the relativisticdiusion equation.tions% + (z + =0;z , ) = ( p 2x , )=(2z , )= 12 (z, )(D.78)% , (z + ;z , =0) = 0: (D.79)S<strong>in</strong>ce the equations are l<strong>in</strong>ear and have constant coecients, they can be treatedwith <strong>in</strong>tegral transforms. Furthermore, by us<strong>in</strong>g the Laplace transform, the <strong>in</strong>itialboundary values can be absorbed <strong>in</strong>to the transformed equations. Accord<strong>in</strong>gly, theLaplace transform is dened by~f(s) Lff(z)g Z 10f(z)e ,sz dz;(D.80)where table D.1 gives a complete list of the transforms that are needed <strong>in</strong> this section[17].The equations are transformed term by term, and each term can be transformedone variable at a time. For example, apply<strong>in</strong>g the transform parallel to the z , axisgives~% (z + ;s , )=Z 10% (z + ;z , )e ,s,z, dz , ; (D.81)211


and transform<strong>in</strong>g this <strong>in</strong>termediate function parallel to the z + axis gives~% (s + ;s , ) ==Z 10Z 1 Z 10 0~% (z + ;s , )e ,s+z+ dz +% (z + ;z , )e ,s+z+ ,s ,z , dz + dz , : (D.82)The nontrivial boundary condition on % + enters through the @ z + derivative term whichtransforms asL , L + f@ z +% g + = L , fs , ~% + (s + ;z , ),% + (z + =0;z , )g= s , ~% + (s + ;s , ), Z 1= s , ~% + (s + ;s , ), 12 :012 (z, )e ,s,z, dz ,(D.83)Thus, the fully transformed equations ares + ~% + + ~% + , ~% , = 12(D.84)s , ~% , + ~% , , ~% + = 0: (D.85)Solv<strong>in</strong>g these algebraic equations for ~% + and ~% , gives~% + = 12 1s + + s,s ,+1(D.86)~% , = 1 1 1: (D.87)2 s , +1 s + + s,s ,+1The <strong>in</strong>verse transforms are also done one variable at a time. Invert<strong>in</strong>g with respectto s + gives~% + = 12 e, s , z+s , +1~% , = 12 1s , +1 e,s , z+s , +1= " #e,z+e z+s , +1, 1+12 e z+s , +12 s , +1 := e,z+(D.88)(D.89)Invert<strong>in</strong>g with respect to s , (with an extra factor of e ,z,from the shift theorem212


applied to s , + 1) gives% + = e,z+ ,z ,22s4z += e,(x+ +x , )= p 22% , = e,z+ ,z ,2= e,(x+ +x , )= p 22p z , I 1(2 z + z , ) 5e ,z++2 (z, )2s0 s 134x +x , I @x + x ,1 2 A2 2I 0 (2 p z + z , )I 00@ 2s31x + x ,A :2 25 + e,x + = p 2 ( p 2 x , ) (D.90)(D.91)Us<strong>in</strong>g the fact that x + x , =(t 2 ,x 2 )=2aswell as x + = p 2 t when t = x gives thefundamental result:s% + (x; t) = e,t= t + x2 t , x I 1% , (x; t) = e,t=2 I 0pt2, x 2pt2, x 2!!+ e ,t= (t,x) (D.92): (D.93)These can be added and subtracted to give (x; t) and j(x; t) respectively.The kernel for a pulse <strong>in</strong>itially mov<strong>in</strong>g to the left can be found by <strong>in</strong>terchang<strong>in</strong>gx $,x(<strong>in</strong>clud<strong>in</strong>g % + $ % , ) <strong>in</strong> the solutions above. The solution for arbitrary <strong>in</strong>itialconditions can then be written as a convolution: + (x; t) = , (x; t) =Z h + (x 0 ; 0)% (x, + x 0 ;t)+ , (x 0 ;0)% , (x 0 , i x; t) dx 0Z hi + (x 0 ; 0)% , (x, x 0 ;t)+ , (x 0 ;0)% + (x 0 , x; t)dx 0 :(D.94)(D.95)If necessary, the rescal<strong>in</strong>g given <strong>in</strong> the last section can be applied to give the solutionfor arbitrary + (x + ) and , (x , ). In this case, the complete solution will no longerbe a simple convolution; rather, the Green's functions <strong>in</strong> the above <strong>in</strong>tegral should<strong>in</strong>stead be written as % (x; t; x 0 ) s<strong>in</strong>ce they will not be translation <strong>in</strong>variant but willvary from po<strong>in</strong>t to po<strong>in</strong>t.213


214


Appendix EBasic Polymer Scal<strong>in</strong>g LawsThis appendix gives a simple, <strong>in</strong>tuitive derivation of the basic polymer scal<strong>in</strong>g lawsseen <strong>in</strong> chapter 5. It follows <strong>in</strong> the spirit of the highly physical arguments givenby deGennes [21]. While there has been a great deal of sophisticated work done onpolymer statistics <strong>in</strong>clud<strong>in</strong>g eld-theoretic and renormalization group calculations,no great eort is made here to be physically or mathematically rigorous. Instead, itis <strong>in</strong>cluded for completeness and because it reveals a considerable amount about thephysics of complex systems for such a small calculation. It is also notable for purposesof justication of physical model<strong>in</strong>g with CA, <strong>in</strong> that such universal phenomena canarise out of an abstract model <strong>in</strong> discrete space and time.The goal is to obta<strong>in</strong> a measure of the characteristic radius R of an isolatedpolymer and the associated relaxation time . We are primarily <strong>in</strong>terested <strong>in</strong> theirdependence on the degree of polymerization N and the dimensionality d, althoughthey also depend on the bond length a (or lattice spac<strong>in</strong>g) and on the eective excludedvolume of a monomer v. In particular, all macroscopic quantities grow asapower of N (which depends on d) because the system displays a self-similarity with<strong>in</strong>creas<strong>in</strong>g polymer length. In the present case, this scal<strong>in</strong>g requires that the polymeris <strong>in</strong> a good solvent and feels only short-ranged <strong>in</strong>teractions, i.e., it doesn't stick toitself and is not charged.In what follows, the symbol \ =" will be used for approximations where numericalfactors may be omitted. Furthermore, the symbol \" will be used when dimensional215


factors have also been dropped <strong>in</strong> order to simplify the relationships and to emphasizethe scal<strong>in</strong>g dependence for large N. F<strong>in</strong>ally, the expected values of all macroscopiclengths (end-to-end distance, radius of gyration, Flory radius, etc.) are proportional,so any of them can be denoted simply by R.E.1 Radius of GyrationThe scal<strong>in</strong>g law for the characteristic radius of a polymer <strong>in</strong> a dilute solution with agood solvent was orig<strong>in</strong>ally given by Flory [29]. The nontrivial behavior results froma competition between entropy and repulsion among the monomers. On one hand,the polymer would like to contract for entropic reasons to become an ideal randomwalk (also called a Gaussian cha<strong>in</strong>). On the other hand, the cha<strong>in</strong> cannot collapsethat far because the monomers would start to overlap. The strategy of the calculationthen, is to m<strong>in</strong>imize the total free energy consist<strong>in</strong>g of a sum of contributions fromstatistical and repulsive forces.The elastic energy of an ideal polymer is determ<strong>in</strong>ed by the number of possiblerandom walks between its end po<strong>in</strong>ts. The probability of a random walk with stepsof length a end<strong>in</strong>g at a position R relative to its beg<strong>in</strong>n<strong>in</strong>g is a Gaussian distributionwith a standard deviation given by =pNa. The number of random walks out toa radius R is therefore proportional to = R d,1 e ,R2 =Na 2 :(E.1)With the temperature T given <strong>in</strong> energy units, this leads to a free energy ofF el = E , TS =,T ln =TR 2,(d,1)T ln R R2Na 2 N, ln R; (E.2)where all polymer congurations have zero energy.The energy due to repulsion of the monomers can be estimated by count<strong>in</strong>g thenumber of monomer overlaps <strong>in</strong> a volume of R d us<strong>in</strong>g a mean eld approximation tothe local concentration, c = N=R d . The number of overlaps is therefore approximately216


cvN=2, where v is an eective excluded volume parameter which may depend on thetemperature, and the factor of two prevents double count<strong>in</strong>g. The correspond<strong>in</strong>g freeenergy is thenF rep =12 Tv(T)N2 R d N2R d:A solvent is considered to be good when v>0.(E.3)Neglect<strong>in</strong>g the logarithmic contribution to the free energy for now gives the totaldependence on N and R:F R2N + N 2R d :M<strong>in</strong>imiz<strong>in</strong>g this with respect to R at constant N gives(E.4)@F@R R N , N2R d+1 0;(E.5)orR N 3d+2 N : (E.6)Thus, the Flory exponent isgiven by 3d +2 :(E.7)This result is valid for 1 d 4 and is well veried by simulations.DiscussionNote that the exponent drops below the ideal value of 1=2 for d>4. Clearly this isunphysical, and we can see the orig<strong>in</strong> of the problem if we <strong>in</strong>clude the logarithmicterm <strong>in</strong> the free energy:andF R2N , ln R + N 2R d :@F@R R N , 1 R , N2R d+1 0:(E.8)(E.9)217


As N and R scale, the middle term becomes more signicant than the last one ford>4, andR N 1=2 :(E.10)In other words, the overlap energy becomes negligible and the cha<strong>in</strong>s are ideal.Another <strong>in</strong>terest<strong>in</strong>g po<strong>in</strong>t is that the overlap energy can also be viewed as entirelyentropic. Consider the reduction <strong>in</strong> the volume of conguration space which resultsfrom the excluded volume of the monomers. In the orig<strong>in</strong>al calculation, the monomersare allowed to reside anywhere with<strong>in</strong> a volume of R d .However, if the monomers areadded to the volume one by one, the volume available to the n th monomer is reducedto R d , nv. Thus, the volume of conguration space is reduced by the factor 0 = Rd (R d , v)(R d , 2v)(R d ,(N,1)v)(R d ) N (E.11)= 1 1 , v R d 1, (N,1)vN,1Y=n=0The total free energy is then aga<strong>in</strong>R d ! N,1exp ,nvX= exp ,vR dn=0(E.12)! !n = exp ,v N 2: (E.13)R d 2R dF = ,T ln 0 = F el , T ln 0 = T R2 N2+ Tv Na2 2R d:(E.14)In the case of our lattice models, the monomers can never really overlap, and the<strong>in</strong>ternal energy is constant. The free energy comes entirely from the entropy, and thetemperature doesn't matter: the model is \athermal."F<strong>in</strong>ally, note that noth<strong>in</strong>g <strong>in</strong> the above argument assumes anyth<strong>in</strong>g about theconnected topology of the polymers. In other words, the polymers could just as well be\phantom cha<strong>in</strong>s" which are allowed to pass through each other while still ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>gan excluded volume, and the scal<strong>in</strong>g law would be the same. I have veried this witha simulation us<strong>in</strong>g a variation of the bond-uctuation algorithm that uses bonds longenough to allow the polymers to pass through each other. Furthermore, if the checkfor excluded volume is elim<strong>in</strong>ated, ideal cha<strong>in</strong> behavior results.218


E.2 Rouse Relaxation TimeIn general, dynamic scal<strong>in</strong>g laws are not as universal and are not as well understoodas static scal<strong>in</strong>g laws, but for our <strong>in</strong>dividual lattice polymers, the situation is greatlysimplied by the absence of hydrodynamic eects, overlapp<strong>in</strong>g cha<strong>in</strong>s, shear, and thelike. We are <strong>in</strong>terested <strong>in</strong> nd<strong>in</strong>g the characteristic time that it takes for the radiusof gyration to change, sometimes called the Rouse relaxation time.The relaxation of the polymer cha<strong>in</strong> proceeds by the relative diusion of one partof the cha<strong>in</strong> with respect to another, e.g., the two halves of the cha<strong>in</strong>. Fluctuations <strong>in</strong>R are themselves proportional to R, so the relevant time scale will be proportional tothe time needed for the entire cha<strong>in</strong> to diuse across its own width. S<strong>in</strong>ce a diusionlength x is related to a diusion time t by x 2 Dt, where D is the diusion constant,the relaxation time we wish to calculate is given by R 2 =D.The diusion constant for the polymer scales like D 1=N which can be understoodas follows. In equilibrium, each monomer will move <strong>in</strong> a random direction someaverage distance per time step. These random displacements will add up as <strong>in</strong> arandom walk to give a total moment of =pN. Hence, the center of mass of theentire polymer moves an average distance =N = =pN <strong>in</strong> one time step. After tsuch steps, the center of mass moves p t times this amount. On the other hand, <strong>in</strong> ttime steps, the center of mass will diuse a distance proportional to p Dt. Compar<strong>in</strong>gthese results gives D 1=N.Comb<strong>in</strong><strong>in</strong>g the above scal<strong>in</strong>g laws gives the relaxation time R2D (N ) 21=N N 2+1 (E.15)where2 +1= d+8d+2 : (E.16)This result also compares favorably with the scal<strong>in</strong>g of the relaxation times found <strong>in</strong>the simulations.219


220


Appendix FDierential Forms for <strong>Cellular</strong><strong>Automata</strong>This appendix discusses how some of the mach<strong>in</strong>ery presented <strong>in</strong> appendix D mightbe extended to CA. Eventually it should be possible to develop rigorous denitions ofthe concepts <strong>in</strong>troduced here and to recapitulate the eld of analysis <strong>in</strong> these terms.A lot of work is still left to be done as this is just a prelim<strong>in</strong>ary attempt at br<strong>in</strong>g<strong>in</strong>gtogether a few mathematical ideas for captur<strong>in</strong>g physical systems <strong>in</strong> CA.F.1 <strong>Cellular</strong> <strong>Automata</strong> Representations of PhysicalFieldsThe fundamental laws of physics do not depend on a particular coord<strong>in</strong>ate system noron the choice of a basis. Similarly, the properties of a CA model of a physical eldshould not depend on the way the model is coord<strong>in</strong>atized [81]. Thus, we would likeour CA elds to follow a true geometry and not have them be a mere, discretized approximationof components <strong>in</strong> some special basis. The ultimate goal <strong>in</strong> this directionis to pattern the analysis after a geometrical approach tophysics [16].Topology is also an important consideration <strong>in</strong> represent<strong>in</strong>g physical spaces andelds. The ma<strong>in</strong> properties from topology that we are concerned with are connected-221


ness and cont<strong>in</strong>uity. Roughly speak<strong>in</strong>g, connectedness tells us how our spaces (bothspacetime lattices and sets of cell values) are woven together, and cont<strong>in</strong>uity tells usthat mapp<strong>in</strong>gs between spaces respect this connectivity. One way to discretize anymanifold is to embed it <strong>in</strong> a high dimensional space which has been nely tiled withcells: the discretized manifold is then comprised of the cells which conta<strong>in</strong> the orig<strong>in</strong>almanifold. For example, a sphere can be approximated by the 26 states given by the11 surface cubes of a 33 cube. Connectivity is then dened by adjacency <strong>in</strong> theorig<strong>in</strong>al til<strong>in</strong>g. A conguration of cell states is then dened to be cont<strong>in</strong>uous if thevalues <strong>in</strong> adjacent cells dier by at most one with respect to a cyclic order<strong>in</strong>g of thestates.Many of the CA models of physical systems that one sees are composed of dist<strong>in</strong>ctlyidentiable particles as <strong>in</strong> a lattice gas. A possible alternative to this particlepicture is a eld picture where it may not possible to unambiguously dene a particle.Both lattice gases and elds have many degrees of freedom, but they dier <strong>in</strong> theirk<strong>in</strong>ematic descriptions and <strong>in</strong> degree of cont<strong>in</strong>uity they convey. In the rst case positionis a function of a particle <strong>in</strong>dex, and <strong>in</strong> the later case, amplitude is a functionof a position <strong>in</strong>dex. It would be <strong>in</strong>terest<strong>in</strong>g to trace the similarities and dierencesbetween the particle and eld pictures <strong>in</strong> CA and quantum eld theory.F.2 Scalars and One-FormsThe simplest eld, and probably the easiest one to model, is a scalar, i.e., a real orcomplex function that doesn't change under transformations of spacetime. This doesnot <strong>in</strong>volve any dierential properties of space, so it is acceptable to use the values<strong>in</strong> the cells directly. These values can be smeared for <strong>in</strong>terpretation (\measured") byconvolution with a test function (averaged on a per cell basis). One might also wantto take the limit of a sequence of simulations by lett<strong>in</strong>g the lattice spac<strong>in</strong>g and thetime step go to zero. Such limit<strong>in</strong>g procedures, while not strictly necessary for theCA rule per se, are useful for us to get a cont<strong>in</strong>uum approximation of the behavior(if one exists).222


Another closely related way to do this is to use a unary representation as is donefor density <strong>in</strong> lattice gases. This means that one counts the number of \particles" <strong>in</strong> aregion and takes the mean (averaged on a per area basis). Tooli [85] gives a generaldiscussion of how to do this along with other ways <strong>in</strong> which CA might be viewed asan alternative mathematical structure for physics. One th<strong>in</strong>g to be stressed is thataverag<strong>in</strong>g representations <strong>in</strong> this way automatically gives a k<strong>in</strong>d of cont<strong>in</strong>uity|thisis good <strong>in</strong> general, but might be a disadvantage <strong>in</strong> certa<strong>in</strong> situations.A scalar eld can also be represented by its contours. Contours are unbroken l<strong>in</strong>es(or hypersurfaces <strong>in</strong> higher dimensions) that do not cross and never end. They canbe represented <strong>in</strong> any way which has these properties and consistently species whichside of each contour is higher. The magnitude of the eld is <strong>in</strong>versely proportionalto the \distance" between contours. The implementation used <strong>in</strong> g. 3-8 encodes thepotential very eciently by digitiz<strong>in</strong>g it and then only stor<strong>in</strong>g the lowest bit. In thiscase, it is a harmonic potential, 1 2 m!2 r 2 , <strong>in</strong> real space or alternatively, the classicalk<strong>in</strong>etic energy, p 2 =2m, <strong>in</strong> momentum space. The entire potential can be recovered(up to a constant) by <strong>in</strong>tegration. Note that the overall slope of the potential is onlydiscernible by look<strong>in</strong>g at a relatively large region. This illustrates the multiple-cellcharacter of this representation.One-forms are geometrical quantities very much like vectors. Like vectors, theyare rigorously described <strong>in</strong> terms of <strong>in</strong>nitesimals of space. Unlikevectors, they cannotalways be pictured as arrows. A better picture of a one-form is that of a separatecontour map at each po<strong>in</strong>t. If the maps t together to make a complete contourmap, then the one-form eld is said to be exact. In this case, it can be written as agradient, dV . The scalar eld that it is the gradient ofisapotential, V . Potentialsare important <strong>in</strong>physics because they create forces; <strong>in</strong> this case, F i dx i = ,dV .The contour map method for one-forms could also be modied <strong>in</strong> several ways.First, they don't have to be made exact: the contours could be jo<strong>in</strong>ed <strong>in</strong> such awaythat is globally <strong>in</strong>compatible with an underly<strong>in</strong>g function, e.g., gure F-1. Second,they could, by at, be weighted by one of the above representations of scalar functions.F<strong>in</strong>ally, they could be \added" by cycl<strong>in</strong>g between two or more congurations. These223


Figure F-1: Conguration from a CA model of an oscillatory chemical reaction. Thecells assume eight dierent values, and the values change gradually between neighbor<strong>in</strong>gcells. The centers of the spirals are topological defects.modications taken together might form a suitable scheme for represent<strong>in</strong>g generalone-forms.F.3 IntegrationDierential forms constitute the basis of <strong>in</strong>tegration on manifolds (see section D.1.1),while this section discusses the topic of <strong>in</strong>tegration <strong>in</strong> CA. The \w<strong>in</strong>dows" over whichthe counts are taken play the role of dierential forms. Similar ideas occur <strong>in</strong> theeld of image process<strong>in</strong>g under the name count measures [95].Consider a til<strong>in</strong>g of the Cartesian plane with simply connected doma<strong>in</strong>s. Eachsquare cell <strong>in</strong> the space is labeled with the number of the doma<strong>in</strong> to which it belongsor with zero if it is <strong>in</strong> the no-man's land between doma<strong>in</strong>s. The problem is to assignto each doma<strong>in</strong> an area and a circumference which closely approximate those of thecont<strong>in</strong>uum limit as the size of the doma<strong>in</strong>s grows without bound. Furthermore, wewould like to make these assignments by <strong>in</strong>tegrat<strong>in</strong>g a local function of the cells.224


F.3.1AreaThe area of a numbered doma<strong>in</strong> will simply be the count of the cells hav<strong>in</strong>g thatnumber. As will be expla<strong>in</strong>ed below, it sometimes makes sense to subtract 1=2 fromthis value.F.3.2W<strong>in</strong>d<strong>in</strong>g NumberW<strong>in</strong>d<strong>in</strong>g number refers to any topological quantity which isgiven by the number ofcomplete turns made by mapp<strong>in</strong>gs between a circle and a plane. An archetype tokeep <strong>in</strong> m<strong>in</strong>d is provided by the function of a complex variable, w = f(z) = z n .This maps the circle, z = re i ; 0 < 2, around the po<strong>in</strong>t w = 0 a total ofn times. The term<strong>in</strong>ology comes by analogy with the pr<strong>in</strong>ciple of the argument <strong>in</strong>complex analysis, which gives the number of zeros m<strong>in</strong>us the number of poles (of ameromorphic function) surrounded by a contour. This number is the number of timesthe image of the contour w<strong>in</strong>ds around the orig<strong>in</strong>.A w<strong>in</strong>d<strong>in</strong>g number can be associated with a set of doma<strong>in</strong>s <strong>in</strong> two-dimensions(see g. F-2). It is the net number of turns made by follow<strong>in</strong>g all the boundaries(taken with the same orientation) of all the doma<strong>in</strong>s. The orientation of a boundaryis determ<strong>in</strong>ed by whether the <strong>in</strong>terior of a doma<strong>in</strong> is to the right or to the left of theboundary as it is traversed. This number is the number of doma<strong>in</strong>s m<strong>in</strong>us the numberof holes <strong>in</strong> the doma<strong>in</strong>s and can be shown to be the same as the Euler number of theset. See [36] for a more complete mathematical treatment of these topics.In the discrete case (as for CA), the plane is tiled with cells. A connected group ofoccupied cells (or tiles) constitutes a doma<strong>in</strong>. If the sides of the tiles are straight, theboundaries of the doma<strong>in</strong>s only turn where three or more cells meet at a po<strong>in</strong>t (the setof all such po<strong>in</strong>ts form the vertex set of the lattice dual to the orig<strong>in</strong>al lattice). Thenet number of turns is simply the sum of these angles (cells=360 ) taken over all thecells of the dual lattice. Hence it is possible to dene a density whose <strong>in</strong>tegral givesthe w<strong>in</strong>d<strong>in</strong>g number. This connection between a topological number and a dierentialquantity is surpris<strong>in</strong>g and important.225


Figure F-2: Magnetic doma<strong>in</strong>s (<strong>in</strong> black) taken from an Is<strong>in</strong>g model with 64K sp<strong>in</strong>s.Each black cell can be thought of as a particle. The w<strong>in</strong>d<strong>in</strong>g number is 1357, which issomewhat less than the actual number of doma<strong>in</strong>s. The average number of particlesper doma<strong>in</strong> is approximately 7.9.The w<strong>in</strong>d<strong>in</strong>g number density on the dual lattice is dened to be zero unless thereis a boundary pass<strong>in</strong>g though the vertex. In this case, it is 180 m<strong>in</strong>us the anglesubtended by the cells constitut<strong>in</strong>g the <strong>in</strong>terior of the cluster. This is just the anglethat the boundary bends through. On a square lattice, the w<strong>in</strong>d<strong>in</strong>g number densityis assigned as shown <strong>in</strong> g. F-3. Note that this quantity depends on correlations <strong>in</strong> agroup of cells, and that the groups overlap.The w<strong>in</strong>d<strong>in</strong>g number density can be taken as a many-body potential <strong>in</strong> a determ<strong>in</strong>isticIs<strong>in</strong>g model. The potential can thus be used to bias the curvature of thephase boundary <strong>in</strong> models of droplet growth. The w<strong>in</strong>d<strong>in</strong>g number then provides anestimate of the number of droplets. In the low-density limit, the doma<strong>in</strong>s becomesimply connected (no holes), and the correspondence between w<strong>in</strong>d<strong>in</strong>g number andthe number of doma<strong>in</strong>s becomes exact. In the case of droplet growth, it can be usedto nd an estimate of the average droplet size as a function of time.In order to nd the average doma<strong>in</strong> size, one needs to count the number of occurrencesof cases (b), (c), and (e) <strong>in</strong> g. F-3 as well as the total number of occupied226


(a) 0 (b) +90(a) 0, +180 _(d) 0 (e) -90 (f) 0Figure F-3: Contributions to the w<strong>in</strong>d<strong>in</strong>g number from various boundary congurations.cells. Fig. F-2 has 7380 90 angles, 2310 ,90 angles, 179 180 angles, and a total of10,749 particles. The built-<strong>in</strong> counter <strong>in</strong> CAM-6 makes do<strong>in</strong>g these counts over the64K cells very fast. F<strong>in</strong>d<strong>in</strong>g and trac<strong>in</strong>g out doma<strong>in</strong>s one by one requires a relativelyslow, complicated procedure, whereas nd<strong>in</strong>g the average doma<strong>in</strong> size on CAM-6 onlytakes four steps or 1 of a second; hence, this is a practical method to use while do<strong>in</strong>g15real-time simulations.Another form of w<strong>in</strong>d<strong>in</strong>g number is illustrated by g. F-1. The w<strong>in</strong>d<strong>in</strong>g numberof a closed loop of cells is the net number of times the cell states go through the cycleas the loop is traversed <strong>in</strong> a counterclockwise direction. Any loop with a nonzerow<strong>in</strong>d<strong>in</strong>g number is said to conta<strong>in</strong> a defect. The defects have a topological characterbecause the w<strong>in</strong>d<strong>in</strong>g number of a loop cannot be changed by modify<strong>in</strong>g the state ofone cell at a time while still ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g cont<strong>in</strong>uity. The centers of the spirals are thetopological defects.Analogous topological objects are important <strong>in</strong> several discipl<strong>in</strong>es. The mathematicalstudy of these objects falls under eld of algebraic topology. Their physicalrelevance stems from the fact that, depend<strong>in</strong>g on the dynamical laws and the overalltopology of spacetime, most elds can form \knots"|cont<strong>in</strong>uity and energy conservationforbid such congurations of elds from be<strong>in</strong>g untied. Two physical <strong>in</strong>stances oftopological charges which have been postulated to exist (but not denitely observed)are magnetic monopoles and cosmic str<strong>in</strong>gs.227


F.3.3PerimeterThe circumference presents more of a problem s<strong>in</strong>ce the boundary has jagged edgeswhose lengths persist <strong>in</strong> the cont<strong>in</strong>uum limit. The coarsest approximation would be tojust count the number of cells which haveany nearest-neighbor boundary. However,<strong>in</strong> the case of a diagonal (\staircase") p boundary, this procedure would give an answerwhich istoolowby a factor of 2. A more detailed approximation would be tocount the number of cell boundaries themselves, but aga<strong>in</strong>, <strong>in</strong> the case p of a diagonalboundary, this would give an answer which is too high by a factor of 2.Clearly, wewould like tohave someth<strong>in</strong>g <strong>in</strong> between{<strong>in</strong> particular, the length ofa smooth curve which encloses a similar area and which is best approximated bythe jagged boundary. The approach taken here is a third approximation which takes<strong>in</strong>to account the number of next-nearest-neighbor (diagonal) boundaries as well. Toobta<strong>in</strong> the length as a l<strong>in</strong>ear function of the counts, they will have tobeweightedappropriately as shown below.Assume wehave counted the number of nearest- and next-nearest-neighbor boundariesfor a given doma<strong>in</strong>. Call these counts A and B respectively, and call the associatedweights a and b. Thus, l = aA + bB. The weights will be determ<strong>in</strong>ed bylook<strong>in</strong>g at two representative cases: horizontal (or vertical) boundaries, and diagonalboundaries.A s<strong>in</strong>gle cell <strong>in</strong> a horizontal boundary has one nearest-neighbor boundary and twonext-nearest-neighbor boundaries. The neighbor relation can be <strong>in</strong>dicated by l<strong>in</strong>esegments (or \bonds") which connect pairs of cells, one <strong>in</strong>side and one outside thedoma<strong>in</strong>:In this case, we want the contribution to the length to be unity, i.e., 1 = a +2b.Similarly, the basic unit along a diagonal has two nearest-neighbor boundaries and228


two next-nearest-neighbor boundaries:p pIn this case, we want the contribution to the length p to be 2, i.e., 2=2a+2b.Solv<strong>in</strong>g the two simultaneous equations gives a = 2 , p 1 and b =1,1= 2.The boundary counts are local <strong>in</strong> the sense that they can be determ<strong>in</strong>ed by look<strong>in</strong>gat 2x2 \w<strong>in</strong>dows" of cells. Consider a block of four such cells, where some of thecells may be <strong>in</strong>side a given doma<strong>in</strong>, and some may be outside. Each pair of cellshas the potential to be a boundary, either horizontal and vertical (nearest-neighborboundaries) or diagonal (next-nearest-neighbor boundaries). If the numbers <strong>in</strong> a pairof cells dier, then each of the respective numbered doma<strong>in</strong>s has a correspond<strong>in</strong>gboundary. By look<strong>in</strong>g at all possible 2x2 blocks, we will encompass all pairs of cells.In order to avoid double count<strong>in</strong>g of bonds, we only look at four of the six possiblepairs with<strong>in</strong> a block asshown:Summ<strong>in</strong>g over all possible 2x2 blocks gives the total number of bonds of eachtype. Furthermore, the counts for each doma<strong>in</strong> can by tallied at the same time byus<strong>in</strong>g the numbers <strong>in</strong> the cells as counter <strong>in</strong>dices: each bond contributes to the twodoma<strong>in</strong>s dened by the two numbers <strong>in</strong> the pair of cells.With the above weight<strong>in</strong>g scheme, a s<strong>in</strong>gle number, or measure, represent<strong>in</strong>glength can be assigned to each possible boundary conguration of a block. Thisassignment ofanumber to each block can be thought of as a dierential form for arclength, and the <strong>in</strong>tegral of this form gives the total length of the boundary.This is all well and good if all we have is one of the eight types of straight boundaries,but what about turn<strong>in</strong>g corners? We will see that the above procedure still229


gives very reasonable results. For example, the follow<strong>in</strong>g shapehas 28 nearest-neighbor p bonds and 44 next-nearest-neighbor bonds, and the formulagives 16+6 2. This is exactly the same as the perimeter of its smoothed counterpartdened by the surround<strong>in</strong>g solid l<strong>in</strong>e. The smooth<strong>in</strong>g is done by cutt<strong>in</strong>g cornersdened by the midpo<strong>in</strong>ts of the sides of the cells which jut out or angle <strong>in</strong>.In general, given any simply connected doma<strong>in</strong> of cells, one can construct a newdoma<strong>in</strong> by cutt<strong>in</strong>g o convex corners and ll<strong>in</strong>g <strong>in</strong> concave corners. The formulaapplied to the orig<strong>in</strong>al shape gives identically the perimeter of the new shape. Thiscan be proven <strong>in</strong>ductively by build<strong>in</strong>g up the doma<strong>in</strong>s one square at a time alongnearest-neighbor boundaries, while ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g simple connectivity.This new shape will have a slightly smaller area than the orig<strong>in</strong>al doma<strong>in</strong>. Thisis a topological correction due to the fact that the boundary forms a closed curve.S<strong>in</strong>ce the boundary of the doma<strong>in</strong> turns through a full 360 , there will be four morecorners cut o than lled <strong>in</strong>. The area of the four corners is exactly one half of a cell.Hence the rule for nd<strong>in</strong>g area given above could be modied to subtract 1=2 fromthe count of cells <strong>in</strong> the doma<strong>in</strong> to make a more consistent scheme overall.The current scheme does not give the right length for boundaries at arbitrary angles.In fact, it will be proved below that no purely local cellular <strong>in</strong>tegration schemecan yield the cont<strong>in</strong>uum limit. However, better and better approximations can bedeveloped by look<strong>in</strong>g at larger and larger w<strong>in</strong>dows. The idea is that a better t toa smooth curve can be made with more <strong>in</strong>formation. The situation is analogous tothat <strong>in</strong> nite-dierence methods for <strong>in</strong>tegration (and dierentiation), where betterapproximations are given by look<strong>in</strong>g at larger and larger templates. The topologi-230


cal correction mentioned above is similar to the end po<strong>in</strong>t corrections of numerical<strong>in</strong>tegration.In light of this limitation, we can makean<strong>in</strong>terest<strong>in</strong>g observation <strong>in</strong> regard to theproper generalization of a circle. Note that all the sides of the new shape are alwaysat one of eight angles, and <strong>in</strong> the cont<strong>in</strong>uum limit, we can talk about all polygonsconstructed with sides at these angles. Now, what is the largest area of such a polygonone can have with a given perimeter? First, it must be convex, s<strong>in</strong>ce the area can be<strong>in</strong>creased by fold<strong>in</strong>g out any concavities. Second, it must be an octagon, s<strong>in</strong>ce aftereight (convex) 45 degree turns, the boundary must close on itself. F<strong>in</strong>ally, all thesides must be the same length because the perimeter could be reduced by shav<strong>in</strong>garea from a shorter side and putt<strong>in</strong>g it on a longer side. Thus, the shape with themaximum area for a given perimeter (or equivalently, the m<strong>in</strong>imum perimeter for agiven area) is a regular octagon. A dimensionless way to quantify deviations <strong>in</strong> theboundary of a shape is to calculate the ratio of the perimeter squared to the area.For a regular octagon, this ratio is 32( p 2 , 1) = 13:25, while <strong>in</strong> comparison, for acircle, it is 4 = 12:57. These are optimal values <strong>in</strong> the Cartesian and cont<strong>in</strong>uumcases respectively.Now we will prove a basic limitation of lattice approximations to cont<strong>in</strong>uum mathematics:Theorem: No cellular <strong>in</strong>tegration scheme which looks at a xed w<strong>in</strong>dow of cells candeterm<strong>in</strong>e the length of smooth contours <strong>in</strong> all cases.Proof: Let the <strong>in</strong>tegration w<strong>in</strong>dowhave a diameter d, and assume that we can recoverthe cont<strong>in</strong>uum limit as the subdivision of cells becomes ner and ner. Consider astraight l<strong>in</strong>e with a small slope, 0


Hence the value of the <strong>in</strong>tegral must p be D(1 + s). As D !1, this will have theright limit if and only if (1 + s) = 1+s 2 .However this is not identically true forall s which contradicts our hypothesis.pAbout the best we can do is p to make =( 2,1)=d, so that the maximumrelative error is approximately (3 2,2)=(2d 2 ). This error is small, and of course, itcould be made arbitrarily small by <strong>in</strong>creas<strong>in</strong>g the size of the w<strong>in</strong>dow without bound.However, the above specication of a cellular dierential form does not provide anunambiguous recipe for extend<strong>in</strong>g the procedure to larger w<strong>in</strong>dows.232


Bibliography[1] Milton Abramowitz and Irene A. Stegun, editors. Handbook of <strong>Mathematical</strong>Functions. Dover, New York, December 1972.[2] Y. Bar-Yam, Y. Rab<strong>in</strong>, and M. A. Smith. <strong>Cellular</strong> automaton approach topolymer simulations. Macromolecules Reports, 25:2985{2986, 1992.[3] Charles H. Bennett and G. Gr<strong>in</strong>ste<strong>in</strong>. Role of irreversibility <strong>in</strong> stabiliz<strong>in</strong>g complexand nonergodic behavior <strong>in</strong> locally <strong>in</strong>teract<strong>in</strong>g discrete systems. PhysicalReview Letters, 55(7):657{660, August 1985.[4] Elwyn R. Berlekamp, John H. Conway, and Richard K. Guy. W<strong>in</strong>n<strong>in</strong>g Ways forYour <strong>Mathematical</strong> Plays, volume 2, chapter 25. Academic Press, New York,1982.[5] Kurt B<strong>in</strong>der, editor. Monte Carlo <strong>Methods</strong> <strong>in</strong> Statistical <strong>Physics</strong>, volume 7 ofTopics <strong>in</strong> current physics. Spr<strong>in</strong>ger-Verlag, Berl<strong>in</strong>, second edition, 1986.[6] Kurt B<strong>in</strong>der, editor. Applications of Monte Carlo <strong>Methods</strong> <strong>in</strong> Statistical <strong>Physics</strong>,volume 36 of Topics <strong>in</strong> current physics. Spr<strong>in</strong>ger-Verlag, Berl<strong>in</strong>, second edition,1987.[7] Richard L. Bishop and Samuel I. Goldberg. Tensor Analysis on Manifolds.Dover, New York, 1980.[8] Bruce M. Boghosian. Computational physics on the connection mach<strong>in</strong>e. Computers<strong>in</strong> <strong>Physics</strong>, 4(1):14{33, Jan/Feb 1990.233


[9] Authur Walter Burks, editor. Essays on <strong>Cellular</strong> <strong>Automata</strong>. University ofIll<strong>in</strong>ois Press, Urbana, Ill<strong>in</strong>ois, 1970.[10] Andrea Califano, Norman Margolus, and Tommaso Tooli. CAM-6: A High-Performance <strong>Cellular</strong> <strong>Automata</strong> Mach<strong>in</strong>e User's Guide.[11] I. Carmes<strong>in</strong> and Kurt Kremer. The bond uctuation method: A new eective algorithmfor the dynamics of polymers <strong>in</strong> all spatial dimensions. Macromolecules,21(9):2819{2823, 1988.[12] I. Carmes<strong>in</strong> and Kurt Kremer. Static and dynamic properties of twodimensionalpolymer melts. Journal de Physique, 51(10):915{932, Mai 1990.[13] Hue Sun Chan and Ken A. Dill. The prote<strong>in</strong> fold<strong>in</strong>g problem. <strong>Physics</strong> Today,46(2):24{32, February 1993.[14] Bastien Chopard. A cellular automata model of large scale mov<strong>in</strong>g objects.Journal of <strong>Physics</strong> A, 23:1671{1687, 1990.[15] Bastien Chopard. Str<strong>in</strong>gs: A cellular automata model of mov<strong>in</strong>g objects. InPierre Manneville, N<strong>in</strong>o Boccara, Gerard Y. Vichniac, and Roger Bidaux, editors,<strong>Cellular</strong> <strong>Automata</strong> and Model<strong>in</strong>g of Complex Physical Systems, volume 46of Spr<strong>in</strong>ger proceed<strong>in</strong>gs <strong>in</strong> physics, pages 246{256, Berl<strong>in</strong>, 1990. Centre dephysique des Houches, Spr<strong>in</strong>ger-Verlag. Proceed<strong>in</strong>gs of the w<strong>in</strong>ter school, held<strong>in</strong> February, 1989.[16] Yvonne Choquet-Bruhat, Cecile DeWitt-Morette, and Margaret Dillard-Bleick.Analysis, Manifolds and <strong>Physics</strong>. North-Holland, Amsterdam, 1982.[17] J. Cossar and A. Erdelyi. Dictionary of Laplace Transforms. The Admiralty,London, 1944. Ref. No. SRE/ACS.53.[18] J. Theodore Cox and David Grieath. Recent results for the stepp<strong>in</strong>g stonemodel.In Harry Kesten, editor, Percolation Theory and Ergodic Theory ofInnite Particle Systems, volume 8 of The IMA Volumes <strong>in</strong> Mathematics andits Applications, pages 73{83. Spr<strong>in</strong>ger-Verlag, Berl<strong>in</strong>, 1987.234


[19] Michael Creutz. Microcanonical Monte Carlo simulation. Physical Review Letters,50(19):1411{1414, 1983.[20] Michael Creutz. Determ<strong>in</strong>istic is<strong>in</strong>g dynamics. Annals of <strong>Physics</strong>, 167:62{72,1986.[21] Pierre-Gilles de Gennes. Scal<strong>in</strong>g Concepts <strong>in</strong> Polymer <strong>Physics</strong>. Cornell UniversityPress, Ithaca, NY, 1979.[22] Richard Earl Dickerson and Irv<strong>in</strong>g Geis. The Structure and Action of Prote<strong>in</strong>s.Harper & Row, New York, 1969.[23] M. Doi and S. F. Edwards. The Theory of Polymer Dynamics, volume 73 ofInternational series of monographs on physics. Clarendon Press, Oxford, 1986.[24] Gary D. Doolen, editor. Lattice Gas <strong>Methods</strong> for Partial Dierential Equations,volume 4 of Santa Fe Institute Studies <strong>in</strong> the Sciences of Complexity. Addison-Wesley, Redwood City, California, 1990. Workshop on Large Nonl<strong>in</strong>ear Systemsheld at Los Alamos National Laboratory, Los Alamos, New Mexico, August1987.[25] Gary D. Doolen, editor. Lattice Gas <strong>Methods</strong> for PDE's: Theory, Applicationsand Hardware. MIT Press, Cambridge, Massachusetts, 1991. NATO AdvancedResearch Workshop held at the Center for Nonl<strong>in</strong>ear Studies, Los Alamos NationalLaboratory, Los Alamos, New Mexico, September 6{8, 1989.[26] J. M. Duetsch. Dynamic Monte Carlo simulation of an entangled many-polymersystem. Physical Review Letters, 49(13):926{929, 1982.[27] Doyne Farmer, Tommaso Tooli, and Stephen Wolfram, editors. <strong>Cellular</strong> <strong>Automata</strong>.North-Holland, Amsterdam, 1984. Proceed<strong>in</strong>gs of an Interdiscipl<strong>in</strong>aryWorkshop held at Los Alamos National Laboratory, Los Alamos, New Mexico,March 7{11, 1983.235


[28] I. E. Farquhar. Ergodic Theory <strong>in</strong> Statistical Mechanics,volume 7 of Monographs<strong>in</strong> Statistical <strong>Physics</strong> and Thermodynamics. Interscience Publishers, London,1964.[29] Paul J. Flory. Pr<strong>in</strong>ciples of Polymer Chemistry. The George Fisher Bakernon-resident lectureship <strong>in</strong> chemistry at Cornell University. Cornell UniversityPress, Ithaca, NY, 1953.[30] Georey C. Fox and Steve W. Otto. Algorithms for concurrent processors.<strong>Physics</strong> Today, pages 50{59, May 1984.[31] Hans Frauenfelder and Peter G. Wolynes. Biomolecules: Where the physics ofcomplexity and simplicity meet. <strong>Physics</strong> Today, 47(2):58{64, February 1994.[32] Uriel Frisch, Brosl Hasslacher, and Yves Pomeau. Lattice-gas automata for thenavier-stokes equation. Physical Review Letters, 56(16):1505{1508, April 1986.[33] Mart<strong>in</strong> Gardner. The fantastic comb<strong>in</strong>ations of john conway's new solitairegame \life". Scientic American, 223(4):120{123, October 1970.[34] Mart<strong>in</strong> Gardner. On cellular automata, self-reproduction, the garden of edenand the game of \life". Scientic American, 224(2):112{115, February 1971.[35] S. Goldste<strong>in</strong>. On diusion by discont<strong>in</strong>uous movements, and on the telegraphequation. Quarterly Journal of Mechanics and Applied Mathematics, IV(2):129{156, 1951.[36] Stephen B. Gray. Local properties of b<strong>in</strong>ary images <strong>in</strong> two dimensions. IEEETransactions on Computers, C-20(5):551{561, May 1971.[37] Gary S. Grest, Kurt Kremer, S. T. Milner, and T. A. Witten. Relaxationof self-entangled many-arm star polymers. Macromolecules, 22(4):1904{1910,1989.236


[38] Howard Gutowitz, editor. <strong>Cellular</strong> <strong>Automata</strong>: Theory and Experiment. MITPress, Cambridge, Massachusetts, 1991. Proceed<strong>in</strong>g of the Conference on <strong>Cellular</strong><strong>Automata</strong> held at the Center for Nonl<strong>in</strong>ear Studies, Los Alamos NationalLaboratory, Los Alamos, New Mexico, September 9{12, 1989.[39] Brosl Hasslacher. Discrete uids. Los Alamos Science, Special Issue (15):175{217, 1987.[40] Michael G. Hluchyj, editor. IEEE Infocom: The Conference on Computer Communications,Los Alamitos, California, March 1993. Institute of Electrical andElectronics Eng<strong>in</strong>eers, IEEE Computer Society Press. Twelfth Annual Jo<strong>in</strong>tConference of the IEEE Computer and Communications Societies, Network<strong>in</strong>g:Foundation for the Future.[41] John H. Holland. Adaptation <strong>in</strong> Natural and Artical Systems: an IntroductoryAnalysis with Applications to Biology, Control, and Articial Intelligence.Complex Adaptive Systems. MIT Press, Cambridge, Massachusetts, rst edition,1992.[42] Hrvoje Hrgovcic. personal communication, 1988.[43] John David Jackson. Classical Electrodynamics. Wiley, New York, secondedition, 1975.[44] Edw<strong>in</strong> T. Jaynes. Information theory and statistical mechanics. In Kenneth W.Ford, editor, Statistical <strong>Physics</strong>, volume 3 of Brandeis Lectures <strong>in</strong> Theoretical<strong>Physics</strong>, pages 181{218. W. A. Benjam<strong>in</strong>, New York, 1963. Lectures of the 1962Summer Institute.[45] Edw<strong>in</strong> T. Jaynes. E. T. Jaynes: Papers on Probability, Statistics, and Statistical<strong>Physics</strong>. D. Reidel, Dordrecht, Holland, 1983.[46] Leo P. Kadano and Jack Swift. Transport coecients near the critical po<strong>in</strong>t:A master-equation approach. Physical Review, 165(1):310{322, 1968.237


[47] Amnon Katz. Pr<strong>in</strong>ciples of Statistical Mechanics: The Information TheoryApproach. W.H.Freeman, San Francisco, 1967.[48] Stuart A. Kaufmann. The Orig<strong>in</strong>s of Order: Self-Organization and Selection <strong>in</strong>Evolution. Oxford University Press, Oxford, 1993.[49] Don C. Kelly. Diusion: A relativistic appraisal. American Journal of <strong>Physics</strong>,36(7):585{591, July 1968.[50] Motoo Kimura and George H. Weiss. The stepp<strong>in</strong>g stone model of populationstructure and the decrease of genetic correlation with distance. Genetics,49:561{576, April 1964.[51] Kurt Kremer and Gary S. Grest. Dynamics of entangled l<strong>in</strong>ear polymer melts: Amolecular dynamics simulation. Journal of Chemical <strong>Physics</strong>, 92(8):5057{5086,April 1990.[52] Christopher G. Langton, editor. Articial Life, volume 6 of Santa Fe InstituteStudies <strong>in</strong> the Sciences of Complexity. Addison-Wesley, Read<strong>in</strong>g, Massachusetts,1989. Proceed<strong>in</strong>gs of the <strong>in</strong>terdiscipl<strong>in</strong>ary workshop on the synthesisand simulation of liv<strong>in</strong>g systems, held September, 1987.[53] Christopher G. Langton, Charles Taylor, J. Doyne Farmer, and Steen Rasmussen,editors. Articial Life II, volume 10 of Santa Fe Institute Studies <strong>in</strong>the Sciences of Complexity. Addison-Wesley, Read<strong>in</strong>g, Massachusetts, 1991.Proceed<strong>in</strong>gs of the 2nd <strong>in</strong>terdiscipl<strong>in</strong>ary workshop on the synthesis and simulationof liv<strong>in</strong>g systems, held February, 1990.[54] Elliott H. Lieb and Daniel C. Mattis, editors. <strong>Mathematical</strong> <strong>Physics</strong> <strong>in</strong> OneDimension: Exactly Soluble Models of Interact<strong>in</strong>g Particles. Perspectives <strong>in</strong>physics. Academic Press, New York, 1966.[55] Norman Margolus, Tommaso Tooli, and Gerard Vichniac. <strong>Cellular</strong>-automatasupercomputers for uid-dynamics model<strong>in</strong>g.56(16):1694{1696, April 1986.Physical Review Letters,238


[56] Norman H. Margolus. <strong>Physics</strong>-like models of computation. Physica D, 10:81{95,1984.[57] Norman H. Margolus. personal communication, 1986.[58] Norman H. Margolus. <strong>Physics</strong> and Computation. PhD thesis, MassachusettsInstitute of Technology, May 1987.[59] Norman H. Margolus et al. CAM-6 software. Systems Concepts, San Francisco,CA, 1987.cMassachusetts Institute of Technology.[60] Norman H. Margolus et al. CAM-PC software. Automatrix, Rexford, NY, 1991.cMassachusetts Institute of Technology.[61] J. Andrew McCammon and Stephen C. Harvey. Dynamics of Prote<strong>in</strong>s andNucleic Acids. Cambridge University Press, Cambridge, 1987.[62] Nicholas Metropolis, Arianna W. Rosenbluth, Marshall N. Rosenbluth, AugustaH. Teller, and Edward Teller. Equation of state calculations by fast comput<strong>in</strong>gmach<strong>in</strong>es. Journal of Chemical <strong>Physics</strong>, 21(6):1087{1092, June 1953.[63] Michael Murat and Gary S. Grest. Structure of a grafted polymer brush: Amolecular dynamics simulation. Macromolecules, 22(10):4054{4059, 1989.[64] Edward Nelson. Derivation of the schrod<strong>in</strong>ger equation from newtonian mechanics.Physical Review, 150(4):1079{1085, October 1966.[65] G. Nicolis and Ilya Prigog<strong>in</strong>e. Self-Organization <strong>in</strong> Nonequilibrium Systems:From Dissipative Structures to Order through Fluctuations. Wiley, New York,1977.[66] Gregoire Nicolis and Ilya Prigog<strong>in</strong>e. Explor<strong>in</strong>g Complexity: An Introduction.W. H. Freeman, New York, 1989.[67] B. Ostrovsky, M. A. Smith, M. Biafore, Y. Bar-Yam, Y. Rab<strong>in</strong>, and and T. ToffoliN. Margolus. Massively parallel architectures and polymer simulation. In239


Richard F. S<strong>in</strong>covec, David E. Keyes, Michael R. Leuze, L<strong>in</strong>da R. Petzold, andDaniel A. Reed, editors, Proceed<strong>in</strong>gs of the Sixth SIAM Conference on ParallelProcess<strong>in</strong>g for Scientic Comput<strong>in</strong>g, vol. 1, pages 193{202, Philadelphia, 1993.Society for Industrial and Applied Mathematics. Held <strong>in</strong> Norfolk, VA, March22{24, 1993.[68] Boris Ostrovsky and Yaneer Bar-Yam. Irreversible polymer collapse by MonteCarlo simulations. Computational Polymer Science, 3(1&2):9{13, 1993.[69] Ilya Prigog<strong>in</strong>e. Introduction to Thermodynamics of Irreversible Processes. IntersciencePublishers, New York, third edition, 1967.[70] Ilya Prigog<strong>in</strong>e. From Be<strong>in</strong>g to Becom<strong>in</strong>g. W. H. Freeman and Company, SanFrancisco, 1980.[71] Yitzhak Rab<strong>in</strong>. personal communication.[72] Yitzhak Rab<strong>in</strong>, Boris Ostrovsky, Mark A. Smith, and Yaneer Bar-Yam. Interpenetration<strong>in</strong> polymer solutions <strong>in</strong> two dimensions. In preparation, 1993.[73] Alastair Michael Rucklidge. Phase transitions <strong>in</strong> cellular automata mixtures.Master's thesis, Massachusetts Institute of Technology, February 1988.[74] David C. Schwartz and Charles R. Cantor. Separation of yeast chromosomesizeddnas by pulsed eld gradient gel electrophoresis.1984.Cell, 37:67{75, May[75] Claude E. Shannon and Warren Weaver. The <strong>Mathematical</strong> Theory of Information.University of Ill<strong>in</strong>ois Press, Urbana, Ill<strong>in</strong>ois, 1949.[76] Cassandra L. Smith. Separation and analysis of DNA by electrophoresis. CurrentOp<strong>in</strong>ion <strong>in</strong> Biotechnology, 2:86{91, 1991.[77] M. A. Smith and Y. Bar-Yam. Pulsed eld gel electrophoresis simulations <strong>in</strong>the diusive regime.In Proceed<strong>in</strong>gs of the 2nd International Conference on240


Bio<strong>in</strong>formatics, Supercomput<strong>in</strong>g and Complex Genome Analysis, 1992. Held <strong>in</strong>St. Petersburg, FL, June 4{7, 1992.[78] M. A. Smith and Y. Bar-Yam. <strong>Cellular</strong> automaton simulation of pulsed eldgel electrophoresis. Electrophoresis, 14:337{343, 1993.[79] M. A. Smith, Y. Bar-Yam, Y. Rab<strong>in</strong>, N. Margolus, T. Tooli, and C.H. Bennett.<strong>Cellular</strong> automaton simulation of polymers. In Eric B. Sirota, David Weitz, TomWitten, and Jacob Israelachvili, editors, Complex Fluids, volume 248, pages483{488, Pittsburgh, Pennsylvania, 1992. Materials Research Society, MaterialsResearch Society symposium proceed<strong>in</strong>gs. Held <strong>in</strong> Boston, MA, December 2{6,1991.[80] M. A. Smith, Y. Bar-Yam, Y. Rab<strong>in</strong>, B. Ostrovsky, C. H. Bennett, N. Margolus,and T. Tooli. Parallel-process<strong>in</strong>g simulation of polymers. ComputationalPolymer Science, 2(4):165{171, 1992.[81] Mark A. Smith. Representations of geometrical and topological quantities <strong>in</strong>cellular automata. Physica D, 45:271{277, 1990.[82] Sun and Dill. Prote<strong>in</strong> fold<strong>in</strong>g. <strong>Physics</strong> Today, 46(2):24{32, March 1994.[83] Systems Concepts, San Francisco, California. CAM-6: A High-Performance<strong>Cellular</strong> <strong>Automata</strong> Mach<strong>in</strong>e Hardware Manual, 1987.[84] Tommaso Tooli. <strong>Cellular</strong> <strong>Automata</strong> Mechanics. PhD thesis, University ofMichigan, November 1977. Technical Report No. 208.[85] Tommaso Tooli. <strong>Cellular</strong> automata as an alternative to (rather than an approximationof) dierential equations <strong>in</strong> model<strong>in</strong>g physics. Physica D, 10:117{127,1984.[86] Tommaso Tooli. Four topics <strong>in</strong> lattice gases: Ergodicity; relativity; <strong>in</strong>formationow; and rule compression for parallel lattice-gas mach<strong>in</strong>es. In Discrete K<strong>in</strong>eticTheory, Lattice Gas Dynamics and Foundations of Hydrodynamics,Tur<strong>in</strong>, Italy,September 1988. Institute for Scientic Interchange.241


[87] Tommaso Tooli. Information transport obey<strong>in</strong>g the cont<strong>in</strong>uity equation. IBMJournal of Research and Development, 32(1):29{36, January 1988.[88] Tommaso Tooli. How cheap can mechanics' rst pr<strong>in</strong>ciples be? In WojciechH.Zurek, editor, Complexity, Entropy, and the <strong>Physics</strong> of Information, volume 8of Santa Fe Institute Studies <strong>in</strong> the Sciences of Complexity, pages 301{318,Redwood City, California, 1990. Santa Fe Institute, Addison-Wesley, The AdvancedBook Program. Workshop on Complexity, Entropy, and the <strong>Physics</strong> ofInformation, held May-June 1989.[89] Tommaso Tooli and Norman Margolus. <strong>Cellular</strong> <strong>Automata</strong> Mach<strong>in</strong>es: A NewEnvironment for Model<strong>in</strong>g. MIT Press Series <strong>in</strong> Scientic Computation. MITPress, Cambridge, Massachusetts, 1987.[90] Tommaso Tooli and Norman H. Margolus. Invertible cellular automata: Areview. Physica D, 45:229{253, 1990.[91] Tommaso Tooli and Norman H. Margolus. Programmable matter. Physica D,47:263{272, 1991.[92] Gerard Y. Vichniac. Instability <strong>in</strong> discrete algorithms and exact reversibility.SIAM Journal on Algebraic and Discrete <strong>Methods</strong>, 5(4):596{602, December1984.[93] Gerard Y. Vichniac. Simulat<strong>in</strong>g physics with cellular automata. Physica D,10:96{116, 1984.[94] John von Neumann. Theory of Self-Reproduc<strong>in</strong>g <strong>Automata</strong>. University of Ill<strong>in</strong>oisPress, Urbana, Ill<strong>in</strong>ois, 1966. Edited and completed by Authur W. Burks.[95] Klaus Voss. Discrete Images, Objects, and Functions <strong>in</strong> Z n . Number 11 <strong>in</strong>Algorithms and Comb<strong>in</strong>atorics. Spr<strong>in</strong>ger-Verlag, Berl<strong>in</strong>, 1993.[96] Robert M. Wald. General Relativity. University of Chicago Press, Chicago,1984.242


[97] M. Mitchel Waldrop. Complexity: The Emerg<strong>in</strong>g Science at the Edge of Orderand Chaos. Simon and Schuster, New York, 1992.[98] Hans-Peter Wittmann and Kurt Kremer. Vectorized version of the bond uctuationmethod for lattice polymers. Computer <strong>Physics</strong> Communications, 61:309{330, 1990.[99] Stephen Wolfram, editor. Theory and Applications of <strong>Cellular</strong> <strong>Automata</strong>, volume1 of World Scientic Advanced Series on Complex Systems. World Scientic,Philadelphia, 1986.[100] Steven Wolfram. Statistical mechanics of cellular automata. Reviews of Modern<strong>Physics</strong>, 55:601{644, 1983.[101] Steven Wolfram. Universality and complexity <strong>in</strong> cellular automata. Physica D,10:1{35, 1984.[102] Jeery Yepez. A lattice-gas with long-range <strong>in</strong>teractions coupled to a heatbath. In A. Lawniczak and R. Kapral, editors, Pattern Formation and Latticegas<strong>Automata</strong>. American <strong>Mathematical</strong> Society, 1994.[103] Dmitrii Nikolaevich Zubarev. Nonequilibrium Statistical Thermodynamics.Studies <strong>in</strong> Soviet Science. Consultants Bureau, New York, 1974. Translatedfrom Russian by P. J. Shepherd. Edited by P. J. Shepherd and P. Gray.243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!