A state of the Rule 184 automaton consists of a one-dimensional array of cells, each containing a binary value (0 or 1). In each step of its evolution, the Rule 184 automaton applies the following rule to each of the cells in the array, simultaneously for all cells, to determine the new state of the cell:3
An entry in this table defines the new state of each cell as a function of the previous state and the previous values of the neighboring cells on either side. The name for this rule, Rule 184, is the Wolfram code describing the state table above: the bottom row of the table, 10111000, when viewed as a binary number, is equal to the decimal number 184.4
The rule set for Rule 184 may also be described intuitively, in several different ways:
From the descriptions of the rules above, two important properties of its dynamics may immediately be seen. First, in Rule 184, for any finite set of cells with periodic boundary conditions, the number of 1s and the number of 0s in a pattern remains invariant throughout the pattern's evolution. Rule 184 and its reflection are the only nontrivial7 elementary cellular automata to have this property of number conservation.8 Similarly, if the density of 1s is well-defined for an infinite array of cells, it remains invariant as the automaton carries out its steps.9 And second, although Rule 184 is not symmetric under left-right reversal, it does have a different symmetry: reversing left and right and at the same time swapping the roles of the 0 and 1 symbols produces a cellular automaton with the same update rule.
Patterns in Rule 184 typically quickly stabilize, either to a pattern in which the cell states move in lockstep one position leftwards at each step, or to a pattern that moves one position rightwards at each step. Specifically, if the initial density of cells with state 1 is less than 50%, the pattern stabilizes into clusters of cells in state 1, spaced two units apart, with the clusters separated by blocks of cells in state 0. Patterns of this type move rightwards. If, on the other hand, the initial density is greater than 50%, the pattern stabilizes into clusters of cells in state 0, spaced two units apart, with the clusters separated by blocks of cells in state 1, and patterns of this type move leftwards. If the density is exactly 50%, the initial pattern stabilizes (more slowly) to a pattern that can equivalently be viewed as moving either leftwards or rightwards at each step: an alternating sequence of 0s and 1s.10
The majority problem is the problem of constructing a cellular automaton that, when run on any finite set of cells, can compute the value held by a majority of its cells. In a sense, Rule 184 solves this problem, as follows. if Rule 184 is run on a finite set of cells with periodic boundary conditions, with an unequal number of 0s and 1s, then each cell will eventually see two consecutive states of the majority value infinitely often, but will see two consecutive states of the minority value only finitely many times.11 The majority problem cannot be solved perfectly if it is required that all cells eventually stabilize to the majority state12 but the Rule 184 solution avoids this impossibility result by relaxing the criterion by which the automaton recognizes a majority.
If one interprets each 1-cell in Rule 184 as containing a particle, these particles behave in many ways similarly to automobiles in a single lane of traffic: they move forward at a constant speed if there is open space in front of them, and otherwise they stop. Traffic models such as Rule 184 and its generalizations that discretize both space and time are commonly called particle-hopping models.13 Although very primitive, the Rule 184 model of traffic flow already predicts some of the familiar emergent features of real traffic: clusters of freely moving cars separated by stretches of open road when traffic is light, and waves of stop-and-go traffic when it is heavy.14
It is difficult to pinpoint the first use of Rule 184 for traffic flow simulation, in part because the focus of research in this area has been less on achieving the greatest level of mathematical abstraction and more on verisimilitude: even the earlier papers on cellular automaton based traffic flow simulation typically make the model more complex in order to more accurately simulate real traffic. Nevertheless, Rule 184 is fundamental to traffic simulation by cellular automata. Wang, Kwong & Hui (1998), for instance, state that "the basic cellular automaton model describing a one-dimensional traffic flow problem is rule 184." Nagel (1996) writes "Much work using CA models for traffic is based on this model." Several authors describe one-dimensional models with vehicles moving at multiple speeds; such models degenerate to Rule 184 in the single-speed case.15 Gaylord & Nishidate (1996) extend the Rule 184 dynamics to two-lane highway traffic with lane changes; their model shares with Rule 184 the property that it is symmetric under simultaneous left-right and 0-1 reversal. Biham, Middleton & Levine (1992) describe a two-dimensional city grid model in which the dynamics of individual lanes of traffic is essentially that of Rule 184.16 For an in-depth survey of cellular automaton traffic modeling and associated statistical mechanics, see Maerivoet & De Moor (2005) and Chowdhury, Santen & Schadschneider (2000).
When viewing Rule 184 as a traffic model, it is natural to consider the average speed of the vehicles. When the density of traffic is less than 50%, this average speed is simply one unit of distance per unit of time: after the system stabilizes, no car ever slows. However, when the density is a number ρ greater than 1/2, the average speed of traffic is 1 − ρ ρ {\displaystyle {\tfrac {1-\rho }{\rho }}} . Thus, the system exhibits a second-order kinetic phase transition at ρ = 1/2. When Rule 184 is interpreted as a traffic model, and started from a random configuration whose density is at this critical value ρ = 1/2, then the average speed approaches its stationary limit as the square root of the number of steps. Instead, for random configurations whose density is not at the critical value, the approach to the limiting speed is exponential.17
As shown in the figure, and as originally described by Krug & Spohn (1988),18 Rule 184 may be used to model deposition of particles onto a surface. In this model, one has a set of particles that occupy a subset of the positions in a square lattice oriented diagonally (the darker particles in the figure). If a particle is present at some position of the lattice, the lattice positions below and to the right, and below and to the left of the particle must also be filled, so the filled part of the lattice extends infinitely downward to the left and right. The boundary between filled and unfilled positions (the thin black line in the figure) is interpreted as modeling a surface, onto which more particles may be deposited. At each time step, the surface grows by the deposition of new particles in each local minimum of the surface; that is, at each position where it is possible to add one new particle that has existing particles below it on both sides (the lighter particles in the figure).
To model this process by Rule 184, observe that the boundary between filled and unfilled lattice positions can be marked by a polygonal line, the segments of which separate adjacent lattice positions and have slopes +1 and −1. Model a segment with slope +1 by an automaton cell with state 0, and a segment with slope −1 by an automaton cell with state 1. The local minima of the surface are the points where a segment of slope −1 lies to the left of a segment of slope +1; that is, in the automaton, a position where a cell with state 1 lies to the left of a cell with state 0. Adding a particle to that position corresponds to changing the states of these two adjacent cells from 1,0 to 0,1, so advancing the polygonal line. This is exactly the behavior of Rule 184.19
Related work on this model concerns deposition in which the arrival times of additional particles are random, rather than having particles arrive at all local minima simultaneously.20 These stochastic growth processes can be modeled as an asynchronous cellular automaton.
Ballistic annihilation describes a process by which moving particles and antiparticles annihilate each other when they collide. In the simplest version of this process, the system consists of a single type of particle and antiparticle, moving at equal speeds in opposite directions in a one-dimensional medium.21
This process can be modeled by Rule 184, as follows. The particles are modeled as points that are aligned, not with the cells of the automaton, but rather with the interstices between cells. Two consecutive cells that both have state 0 model a particle at the space between these two cells that moves rightwards one cell at each time step. Symmetrically, two consecutive cells that both have state 1 model an antiparticle that moves leftwards one cell at each time step. The remaining possibilities for two consecutive cells are that they both have differing states; this is interpreted as modeling a background material without any particles in it, through which the particles move. With this interpretation, the particles and antiparticles interact by ballistic annihilation: when a rightwards-moving particle and a leftwards-moving antiparticle meet, the result is a region of background from which both particles have vanished, without any effect on any other nearby particles.22
The behavior of certain other systems, such as one-dimensional cyclic cellular automata, can also be described in terms of ballistic annihilation.23 There is a technical restriction on the particle positions for the ballistic annihilation view of Rule 184 that does not arise in these other systems, stemming from the alternating pattern of the background: in the particle system corresponding to a Rule 184 state, if two consecutive particles are both of the same type they must be an odd number of cells apart, while if they are of opposite types they must be an even number of cells apart. However this parity restriction does not play a role in the statistical behavior of this system.
Pivato (2007) uses a similar but more complicated particle-system view of Rule 184: he not only views alternating 0–1 regions as background, but also considers regions consisting solely of a single state to be background as well. Based on this view he describes seven different particles formed by boundaries between regions, and classifies their possible interactions. See Chopard & Droz (1998, pp. 188–190) for a more general survey of the cellular automaton models of annihilation processes.
In his book A New Kind of Science, Stephen Wolfram points out that rule 184, when run on patterns with density 50%, can be interpreted as parsing the context-free language describing strings formed from nested parentheses. This interpretation is closely related to the ballistic annihilation view of rule 184: in Wolfram's interpretation, an open parenthesis corresponds to a left-moving particle while a close parenthesis corresponds to a right-moving particle.24
E.g. see Fukś (1997). - Fukś, Henryk (1997). "Solution of the density classification problem with two similar cellular automata rules". Physical Review E. 55 (3): R2081 – R2084. arXiv:comp-gas/9703001. Bibcode:1997PhRvE..55.2081F. doi:10.1103/PhysRevE.55.R2081. S2CID 118954791. https://arxiv.org/abs/comp-gas/9703001 ↩
One can find many later papers that, when mentioning Rule 184, cite the early papers of Stephen Wolfram. However, Wolfram's papers consider only automata that are symmetric under left-right reversal, and therefore do not describe Rule 184. /wiki/Stephen_Wolfram ↩
This rule table is already given in a shorthand form in the name "Rule 184", but it can be found explicitly e.g. in Fukś (1997). - Fukś, Henryk (1997). "Solution of the density classification problem with two similar cellular automata rules". Physical Review E. 55 (3): R2081 – R2084. arXiv:comp-gas/9703001. Bibcode:1997PhRvE..55.2081F. doi:10.1103/PhysRevE.55.R2081. S2CID 118954791. https://arxiv.org/abs/comp-gas/9703001 ↩
For the definition of this code, see Wolfram (2002), p.53. For the calculation of this code for Rule 184, see e.g. Boccara & Fukś (1998). - Wolfram, Stephen (2002). A New Kind of Science. Wolfram Media. ↩
See, e.g., Boccara & Fukś (1998). - Boccara, Nino; Fukś, Henryk (1998). "Cellular automaton rules conserving the number of active sites". Journal of Physics A: Mathematical and General. 31 (28): 6007–6018. arXiv:adap-org/9712003. Bibcode:1998JPhA...31.6007B. doi:10.1088/0305-4470/31/28/014. S2CID 14807539. https://arxiv.org/abs/adap-org/9712003 ↩
Li (1992). Li used this interpretation as part of a generalization of Rule 184 to nonlocal neighborhood structures. - Li, Wentian (1992). "Phenomenology of nonlocal cellular automata". Journal of Statistical Physics. 68 (5–6): 829–882. Bibcode:1992JSP....68..829L. CiteSeerX 10.1.1.590.1708. doi:10.1007/BF01048877. S2CID 17337112. https://ui.adsabs.harvard.edu/abs/1992JSP....68..829L ↩
Rules 170, 204, and 240 trivially exhibit this property, as in each of these rules, every cell is simply copied from one of the three cells above it on each step. ↩
Boccara & Fukś (1998); Alonso-Sanz (2011). - Boccara, Nino; Fukś, Henryk (1998). "Cellular automaton rules conserving the number of active sites". Journal of Physics A: Mathematical and General. 31 (28): 6007–6018. arXiv:adap-org/9712003. Bibcode:1998JPhA...31.6007B. doi:10.1088/0305-4470/31/28/014. S2CID 14807539. https://arxiv.org/abs/adap-org/9712003 ↩
Boccara & Fukś (1998) have investigated more general automata with similar conservation properties, as has Moreira (2003). - Boccara, Nino; Fukś, Henryk (1998). "Cellular automaton rules conserving the number of active sites". Journal of Physics A: Mathematical and General. 31 (28): 6007–6018. arXiv:adap-org/9712003. Bibcode:1998JPhA...31.6007B. doi:10.1088/0305-4470/31/28/014. S2CID 14807539. https://arxiv.org/abs/adap-org/9712003 ↩
Li (1987). - Li, Wentian (1987). "Power spectra of regular languages and cellular automata" (PDF). Complex Systems. 1: 107–130. Archived from the original (PDF) on 2007-10-07. https://web.archive.org/web/20071007061217/http://www.nslij-genetics.org/wli/pub/cs87-no-figure.pdf ↩
Capcarrere, Sipper & Tomassini (1996); Fukś (1997); Sukumar (1998). - Capcarrere, Mathieu S.; Sipper, Moshe; Tomassini, Marco (1996). "Two-state, r = 1 cellular automaton that classifies density" (PDF). Physical Review Letters. 77 (24): 4969–4971. Bibcode:1996PhRvL..77.4969C. doi:10.1103/PhysRevLett.77.4969. PMID 10062680. http://www.cs.bgu.ac.il/~sipper/papabs/twostater1.pdf ↩
Land & Belew (1995). - Land, Mark; Belew, Richard (1995). "No perfect two-state cellular automata for density classification exists". Physical Review Letters. 74 (25): 1548–1550. Bibcode:1995PhRvL..74.5148L. doi:10.1103/PhysRevLett.74.5148. PMID 10058695. https://ui.adsabs.harvard.edu/abs/1995PhRvL..74.5148L ↩
Nagel (1996); Chowdhury, Santen & Schadschneider (2000). - Nagel, Kai (1996). "Particle hopping models and traffic flow theory". Physical Review E. 53 (5): 4655–4672. arXiv:cond-mat/9509075. Bibcode:1996PhRvE..53.4655N. doi:10.1103/PhysRevE.53.4655. PMID 9964794. S2CID 20466753. https://arxiv.org/abs/cond-mat/9509075 ↩
Tadaki & Kikuchi (1994). - Tadaki, Shin-ichi; Kikuchi, Macato (1994). "Jam phases in a two-dimensional cellular automaton model of traffic flow". Physical Review E. 50 (6): 4564–4570. arXiv:patt-sol/9409004. Bibcode:1994PhRvE..50.4564T. doi:10.1103/PhysRevE.50.4564. PMID 9962535. S2CID 17516156. https://arxiv.org/abs/patt-sol/9409004 ↩
For several models of this type see Nagel & Schreckenberg (1992), Fukui & Ishibashi (1996), and Fukś & Boccara (1998). Nagel (1996) observes the equivalence of these models to rule 184 in the single-speed case and lists several additional papers on this type of model. - Nagel, Kai; Schreckenberg, Michael (1992). "A cellular automaton model for freeway traffic". Journal de Physique I. 2 (12): 2221–2229. Bibcode:1992JPhy1...2.2221N. doi:10.1051/jp1:1992277. S2CID 37135830. https://hal.archives-ouvertes.fr/jpa-00246697/document ↩
See also Tadaki & Kikuchi (1994) for additional analysis of this model. - Tadaki, Shin-ichi; Kikuchi, Macato (1994). "Jam phases in a two-dimensional cellular automaton model of traffic flow". Physical Review E. 50 (6): 4564–4570. arXiv:patt-sol/9409004. Bibcode:1994PhRvE..50.4564T. doi:10.1103/PhysRevE.50.4564. PMID 9962535. S2CID 17516156. https://arxiv.org/abs/patt-sol/9409004 ↩
Fukś & Boccara (1998). - Fukś, Henryk; Boccara, Nino (1998). "Generalized deterministic traffic rules" (PDF). International Journal of Modern Physics C. 9 (1): 1–12. arXiv:adap-org/9705003. Bibcode:1998IJMPC...9....1F. doi:10.1142/S0129183198000029. S2CID 119938282. Archived from the original (PDF) on 27 September 2007. https://web.archive.org/web/20070927215541/http://www.tjhsst.edu/~ekoniecz/fuks.pdf ↩
See also Belitsky & Ferrari (1995) and Chopard & Droz (1998, p. 29). - Belitsky, Vladimir; Ferrari, Pablo A. (1995). "Ballistic annihilation and deterministic surface growth". Journal of Statistical Physics. 80 (3–4): 517–543. Bibcode:1995JSP....80..517B. CiteSeerX 10.1.1.4.7901. doi:10.1007/BF02178546. S2CID 16293185. https://ui.adsabs.harvard.edu/abs/1995JSP....80..517B ↩
Krug & Spohn (1988). - Krug, J.; Spohn, H. (1988). "Universality classes for deterministic surface growth". Physical Review A. 38 (8): 4271–4283. Bibcode:1988PhRvA..38.4271K. doi:10.1103/PhysRevA.38.4271. PMID 9900880. https://ui.adsabs.harvard.edu/abs/1988PhRvA..38.4271K ↩
Also discussed by Krug & Spohn (1988). - Krug, J.; Spohn, H. (1988). "Universality classes for deterministic surface growth". Physical Review A. 38 (8): 4271–4283. Bibcode:1988PhRvA..38.4271K. doi:10.1103/PhysRevA.38.4271. PMID 9900880. https://ui.adsabs.harvard.edu/abs/1988PhRvA..38.4271K ↩
Redner (2001). - Redner, Sidney (2001). "8.5 Ballistic Annihilation". A Guide to First-Passage Processes. Cambridge University Press. p. 288. ISBN 9780521652483. https://books.google.com/books?id=xtsqMh3VC98C&pg=PA288 ↩
Krug & Spohn (1988); Belitsky & Ferrari (1995). - Krug, J.; Spohn, H. (1988). "Universality classes for deterministic surface growth". Physical Review A. 38 (8): 4271–4283. Bibcode:1988PhRvA..38.4271K. doi:10.1103/PhysRevA.38.4271. PMID 9900880. https://ui.adsabs.harvard.edu/abs/1988PhRvA..38.4271K ↩
Belitsky & Ferrari (1995). - Belitsky, Vladimir; Ferrari, Pablo A. (1995). "Ballistic annihilation and deterministic surface growth". Journal of Statistical Physics. 80 (3–4): 517–543. Bibcode:1995JSP....80..517B. CiteSeerX 10.1.1.4.7901. doi:10.1007/BF02178546. S2CID 16293185. https://ui.adsabs.harvard.edu/abs/1995JSP....80..517B ↩
Wolfram (2002, pp. 989, 1109). - Wolfram, Stephen (2002). A New Kind of Science. Wolfram Media. ↩