Freezing, Bounded-Change and Convergent Cellular Automata
Nicolas Ollinger (LIFO), Guillaume Theyssier (I2M)

TL;DR
This paper explores three classes of cellular automata—freezing, bounded-change, and convergent—analyzing how constraints affect their computational power and complexity across different dimensions and problems.
Contribution
It provides a comprehensive complexity analysis of these cellular automata classes, revealing how constraints influence universality, predictability, and decidability in various settings.
Findings
All classes can achieve computational universality.
Predictability ranges from NLOGSPACE to P-complete depending on the setting.
Decidability of nilpotency varies with dimension and class.
Abstract
This paper studies three classes of cellular automata from a computational point of view: freezing cellular automata where the state of a cell can only decrease according to some order on states, cellular automata where each cell only makes a bounded number of state changes in any orbit, and finally cellular automata where each orbit converges to some fixed point. Many examples studied in the literature fit into these definitions, in particular the works on cristal growth started by S. Ulam in the 60s. The central question addressed here is how the computational power and computational hardness of basic properties is affected by the constraints of convergence, bounded number of change, or local decreasing of states in each cell. By studying various benchmark problems (short-term prediction, long term reachability, limits) and considering various complexity measures and scales (LOGSPACE…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\publicationdetails
242022125734
Freezing, Bounded-Change and Convergent Cellular Automata††thanks: This work has been supported by ECOS Sud – CONICYT project C12E05
Nicolas Ollinger\affiliationmark1
Guillaume Theyssier\affiliationmark2
Univ. Orléans, INSA Centre Val de Loire, LIFO EA 4022, Orléans, France
Institut de Mathématiques de Marseille (Université Aix Marseille, CNRS, Centrale Marseille), France
(2019-09-01; 2020-02-13, 2021-04-22; 2021-12-24)
Abstract
This paper studies three classes of cellular automata from a computational point of view: freezing cellular automata where the state of a cell can only decrease according to some order on states, cellular automata where each cell only makes a bounded number of state changes in any orbit, and finally cellular automata where each orbit converges to some fixed point. Many examples studied in the literature fit into these definitions, in particular the works on cristal growth started by S. Ulam in the 60s. The central question addressed here is how the computational power and computational hardness of basic properties is affected by the constraints of convergence, bounded number of change, or local decreasing of states in each cell. By studying various benchmark problems (short-term prediction, long term reachability, limits) and considering various complexity measures and scales (LOGSPACE vs. PTIME, communication complexity, Turing computability and arithmetical hierarchy) we give a rich and nuanced answer: the overall computational complexity of such cellular automata depends on the class considered (among the three above), the dimension, and the precise problem studied. In particular, we show that all settings can achieve universality in the sense of Blondel-Delvenne-Kůrka, although short term predictability varies from NLOGSPACE to P-complete. Besides, the computability of limit configurations starting from computable initial configurations separates bounded-change from convergent cellular automata in dimension 1, but also dimension 1 versus higher dimensions for freezing cellular automata. Another surprising dimension-sensitive result obtained is that nilpotency becomes decidable in dimension 1 for all the three classes, while it stays undecidable even for freezing cellular automata in higher dimension.
keywords:
freezing cellular automata, convergent cellular automata, complexity, computability
1 Introduction and Formal Setting
Cellular automata (CA for short) are a well-studied model appearing in different research areas under different points of view. It is widely used as a modeling tool of fundamental physical phenomena [8] or high-level phenomena from other disciplines [1, 33, 12]. It is a rich class of symbolic dynamical systems[20] extensively studied both from the topological [25] and ergodic point of view [38]. It is a computational model very close to Turing machines but with a massively parallel feature: this translates into a specific algorithmic complexity theory [41], into universal computational power and existence of universal objects [35], but also into the ubiquity of undecidability and computational hardness in most of the properties and problems concerning them [23, 9, 24, 16]. These points of view can have interactions. For instance, the computational power of several classes of CA defined by dynamical features inspired by physics has been studied [32, 31, 13].
Here we follow that line of research and focus on the overall computational complexity of a class of CA defined by a very simple dynamical property: point-wise convergence. More precisely, we study three classes which form a hierarchy by inclusion: freezing CA (i.e. CA which are locally decreasing according to some order on states), bounded-change CA (i.e. CA with a global bound on the number of state changes a cell can make in any orbit), and the general class of point-wise convergent CA. One of our inspiration is the profusion of examples in the literature, from the seminal works of S. Ulam [42] to the recent and fast development of self-assembly models [44], which all share the convergence property: a larger and larger zone of the configuration gets frozen by the dynamics while changes continue outside the zone. On the other hand, some previous works explicitly studied the class of freezing CA [14, 3] or bounded-change CA [43] and established that universal computation is possible in any dimension but “slowed down” by the bounded-change constraint in dimension 1. This was done by studying the short-term prediction problem on one hand, and by giving an explicit encoding of Minsky machines into such CA on the other hand.
The present paper is an extension111In particular, we give complete detailed proofs of all results of [14], some of which were only sketched in this preliminary paper. of [14] with two new ingredients. First, we extend the benchmark problems used to evaluate computational complexity and include long-term topological reachability as in the notion of universality of [10], but also limit fixed points and their dependence on the initial configuration. Second, we consider the whole class of point-wise convergent CA through the same approach, which to our knowledge is completely new. Our main results show that the overall computational complexity varies both within the hierarchy of the three classes and with the dimension considered (see Section 6 for a synthetic view). In particular, convergent CA are generally more powerful than bounded-change CA, while freezing and bounded-change CA have the same overall computational complexity. However, we show that even the most constrained setting (freezing 1D CA) can achieve universality in the sense of [10] (Theorem 4.33). This is counterbalanced by the fact that such CA cannot produce uncomputable limit points starting from computable initial configurations (Theorem 5.43), while convergent CA in dimension 1 can (Theorem 5.49). Concerning dimension sensitiveness, we show that various aspects are affected: the capacity to efficiently compute or the capacity to produce uncomputable limit points from computable initial configuration for bounded-change CA, and the decidability of nilpotency for all the three classes.
Organization of the paper.
The classical definitions and formal setting for CA in general is recalled in the next paragraph. In section 2 we introduce the three classes of CA considered in this paper together with several examples. In section 3 we focus on dynamical properties of such CA including nilpotency. Section 4 is devoted to the computational complexity of two canonical problems of CA theory: short-term prediction and long term reachability. In section 5 we study problems specific to convergent CA concerning limit fixed-point reached from a given configuration. Finally, section 6 gives a brief recap of our main results.
Formal setting.
For any finite set (the alphabet or set of states) and positive integer (the dimension), we consider the symbolic space , i.e. the set of maps called configurations giving a state from to each position in . The state of configuration at position will be denoted either or .
For any , we define as the set of positions of of norm (maximum of absolute values of coordinates) at most :
[TABLE]
Then for any bounded configuration of radius , we define the cylinder set centered on cell 0 by:
[TABLE]
In particular, every state can be considered as a bounded configuration of radius [math] inducing a cylinder of every configuration with .
The cylinder sets can be chosen as a base of open sets of the space endowing it with a compact (and totally disconnected) topology [25]. Equivalently, it can be defined by the following metric:
[TABLE]
often called the Cantor metric.
A cellular automaton of dimension and state set is a map acting on the set of configuration in a continuous and translation invariant way. Equivalently (Curtis-Lyndon-Hedlund theorem [20]), it can be defined locally by a neighborhood (a finite subset of ) and a local transition function as follows:
[TABLE]
where {{\left.\kern-1.2ptc\vphantom{\big{|}}\right|_{z+V}}} is the map . The radius of is the smallest integer such that where is some neighborhood for which there is a local map defining as above. induces an action on finite patterns as follows. For any and any , is the finite pattern obtained by application of on at each position from , i.e. such that
[TABLE]
We will frequently use the so called von Neumann neighborhood which is the following subset of : .
Finally, we will use the following standard complexity classes:
- •
is the set of problems which can be solved by a deterministic Turing machine in polynomial time;
- •
is the set of problems which can be solved by a deterministic Turing machine in logarithmic space;
- •
is the set of problems which can be solved by a non-deterministic Turing machine in logarithmic space.
Without explicit mention, and in particular when speaking about P-completeness, we consider LOGSPACE reductions.
2 Main Definitions, with Examples
Definition 1
A CA is a freezing CA if, for some (partial) order on states, the state of any cell can only decrease, i.e.
[TABLE]
for any configuration and any cell .
For any and states , denote by the fact that in some context a cell can change from state to in one step. If is a freezing CA, then the transitive and reflexive closure of is a (partial) order satisfying the condition of Definition 1. Conversely, if is acyclic then is freezing for the order given by the reflexive and transitive closure of . This gives a polynomial time algorithm (in the size of the transition table, the list of every possible output of a local map defining ) to test whether a given CA is freezing: build and test its acyclicity.
Fact 1
There is an algorithm to decide whether a given CA is freezing that runs in time where is its number of states and is its neighborhood.
Our purpose is to study freezing cellular automata as a class and give general results for it, as started in [14]. However, many particular freezing cellular automata have already been considered in the literature. We give below several examples showing the variety of possible behaviors within this class (see Figure 1).
Example 1
It turns out that one of the very first defined CA is a freezing CA. Indeed in [42], as an attempt to study models of cristal growth, the following CA over alphabet is defined:
[TABLE]
where is the von Neumann neighborhood and denotes the number of occurrences of in the finite pattern .
Example 2
The threshold growth models in 2D [17] are CA with states where [math] becomes if the number of s in the neighborhood is above some threshold, and s stay unchanged forever. They were in particular considered as theoretical models of bootstrap percolation and a lot of work was dedicated to the experimental and rigorous analysis of the phase transitions they exhibit (see for instance [21]). The fact that these examples are monotone (with respect to the order extended to configurations) is to be taken into account when studying their computational complexity [15, 3].
Example 3
By taking any CA on alphabet and endowing with some order , one can define a freezing CA as follows:
[TABLE]
There is a priori no relation to expect between and , but this construction is a source of examples. For instance a freezing 2D CA with 2 states called “life without death” received a lot of attention and it was in particular shown that the problem of predicting such a CA for a finite amount of time is -complete [18]: it is where is the “game of life” CA.
Example 4
SIR epidemic propagation models [12], in their simplest form, are states freezing CA: a Susceptible person can become Infected, and then Recover and acquire immunity so that it neither goes back to susceptible or infected states. A similar CA was also considered to model222Technically, the CA contains a probabilistic part describing a rate of tree growth. Setting this parameter to [math] gives a deterministic freezing CA. forest fire propagation [2]. These examples are in fact multi-state versions of the threshold rules from Example 2.
Example 5
Self-assembly tilings [36, 44], and more precisely the so called abstract tile assembly model (aTAM), consists in a set of Wang tiles where each edge has a color and a bond strength. They are classically studied as asynchronous non-deterministic systems where tiles are added one by one to the current assembly, starting from a single tile (the seed) and according to the following rule: a tile can be added if the sum of strengths values of edges with a color matching the corresponding neighbor is above some threshold. An important property of this model (no longer true for some of its generalizations like mismatch-free [4] or negative glue [11, 37]), is that if a tile can be added at some position in some context, then it can also be added in the context where new tiles are added at empty neighboring positions. Fomally, an aTAM system can be seen as follows:
- •
* is the alphabet, endowed with the order such that for all ;*
- •
* is the seed tile;*
- •
* where is the von Neumann neighborhood ;*
- •
* is the local compatibility rule333Here we forget about the details of the aTAM model involving bond strength and threshold, we simply observe that it can be represented as a local compatibility relation. Of course not all such relations correspond to an aTAM model. which is monotone with respect to (extended to ), i.e. if and then , and verifies for all (not adding a tile is always possible).*
For two configurations we write if and differ at position , and . We denote by the reflexive and transitive closure of . An assembly is a configuration with where is the configuration everywhere equal to except in position where it is . A terminal assembly is a configuration such that and for any with we have . From such a system we can define a freezing cellular automaton with ordered alphabet and neighborhood as follows:
[TABLE]
In particular, for any finite configuration , . We will come back to this simple translation of aTAM systems to freezing CAs in subsection 5.3.
In a freezing CA, a cell can change at most a finite number of time during its evolutions, precisely at most times for a CA with states. This property is our second main definition.
Definition 2
A CA is k-change if the number of state change of any cell in any orbit is at most , formally:
[TABLE]
A CA is bounded-change if it is -change for some .
Bounded-change CA have been studied previously [43] as language recognizers. CA with bounded communications have also been considered [27] (again from the language recognition point of view) and are very close: after a bounded communication a cell do no longer depends on its neighbors and must enter a temporal cycle bounded by the number of states, which means that some power of the CA is bounded-change — simply ensure that transitions without communication in are the identity.
A CA is nilpotent if there is such that is a constant map. Any nilpotent CA is bounded-change.
Example 6
A bounded-change CA is not necessarily freezing. For instance, the following one-dimensional nilpotent CA over with neighborhood is not freezing:
[TABLE]
because both and are possible state changes in one cell (but after 2 steps all cells are in state ).
If is bounded-change and is any configuration then for any cell there is some time such that the state of cell does no longer change after time when starting from . Then for any finite set of cells , the states of cells in does no longer change after time . Said differently, the sequence is convergent. This property is our third main definition.
Definition 3
A CA is convergent if, for any configuration , the sequence is convergent. In this case, the limit configuration reached is denoted by:
[TABLE]
Moreover, given an initial configuration and a cell , we call freezing time the first time after which cell no longer changes its state, formally:
[TABLE]
The next example gives a construction technique to produce convergent CA that are not bounded-change. The idea is to divide the configuration into working zones and ensure the presence of at most one working head per zone. Each head permanently bounces between the two extremities of its zone and shrinks the zone by one cell at each bounce. With this behavior, each finite working zone gets completely shrinked in finite time and converges to a fixed point. There is no way to check locally that a working zone is finite, but there is no problem of convergence with infinite zones because the head will escape towards infinity after at most one bounce and leaves a fixed point behind. Additionally, the head can do some computation at each pass without breaking the convergence property. In the following example, working zones contain two layers of states from a given CA interpreted as old state and new state respectively. The head sequentially updates these states to simulate a parallel synchronous application of at each pass.
Example 7** (Shrinking zone construction)**
Let be any 1D CA on alphabet with radius and local map . We define on alphabet with and radius as follows:
- •
, the error state, is a spreading state: any cell with in its neighborhood turns into state ; a configuration is valid if never appears in its orbit;
- •
, the blank state, never changes except in presence of the error state; becomes except in presence of the error state;
- •
a maximal connected component of cells in state is a working zone;
- •
in a working zone, patterns of the form , or , or with , or or with , are forbidden and generate an state when detected; therefore in a valid configuration and in each working zone there is at most one occurrence of a state of the form called the head;
- •
a cell without forbidden pattern (from previous item) and without head in its neighborhood doesn’t change its state;
- •
the movements and actions of the heads are as follows:
- –
inside a working zone, the head in state moves left, the head in state moves right; the local map is only applied when the head moves left to right; precisely we have the following transitions:
[TABLE]
- –
when a boundary of the working zone is reached, the head bounces, changes direction and the working zone get shrinked by one cell; precisely we have the following transitions:
[TABLE]
(note the swap between and in the third transition above to initialize the sequential application of )
- –
finally the head disappears in a working zone of size , precisely:
[TABLE]
for any .
Given two configurations and any we define the valid configuration as follows:
[TABLE]
Lemma 1
For any , the CA is convergent but not bounded-change. Moreover for any configuration of any and any and any with it holds:
[TABLE]
where . Moreover, for any and for any , is either or , or there is some such that it is of the form with .
Proof 2.1**.**
First we show that is convergent. To see this let’s consider any configuration and show that {\bigl{(}F^{t}(c)_{0}\bigr{)}_{t\in\mathbb{N}}} is convergent. We have the following cases:
- •
if is not valid then for any large enough ;
- •
if is valid and then for any ;
- •
finally, if is valid and then:
- –
either cell [math] belongs to an infinite working zone and the head will no longer be in its neighborhood after some finite time its state will no longer change;
- –
or cell [math] belongs to some finite zone with no head and its state will never change;
- –
or cell [math] belongs to some finite zone containing a head and after some finite time the zone has shrinked to size and doesn’t change anymore, so that cell [math] stays in state or some state forever.
To see that is not bounded-change it is sufficient to check that, for any , cell [math] changes more than times in the orbit of whatever .
Finally, it is straightforward to check that where is defined by:
[TABLE]
and then . The formula on follows by induction, and the last point of the lemma follows by definition of in working zones.
From the discussion above we have the following strict hierarchy.
Fact 1**.**
* freezing bounded-change convergent.*
Contrary to the freezing property which is easy to check (Fact 1), being bounded-change or convergent are undecidable properties.
Theorem 2.2**.**
The following holds in any dimension:
- •
nilpotent CA are recursively inseparable from non-convergent CA;
- •
given convergent, it is undecidable whether it is bounded-change.
Proof 2.3**.**
In the following we do the proof for dimension 1, but the result follows straightforwardly for any dimension. In both cases we prove a reduction from the nilpotency problem for 1D CA of radius with a spreading state. This problem was shown undecidable in [22]. Consider any of radius on alphabet with spreading state and local map , and construct the following CAs:
- •
* on alphabet with transition map:*
[TABLE]
It is straightforward to check that is bounded-change (and more precisely nilpotent) if is nilpotent and non-convergent else. The first item of the theorem follows;
- •
* is with the following modification (using notation of Example 7): whenever a state with appears in the neighborhood of cell it turns into state . is always convergent by Lemma 1, and so is because for any initial configuration , either and produce the same orbit, or is invalid for (i.e., the orbit converges to ). Moreover a straightforward adaptation of Lemma 1 shows that: for any configuration of any and any it holds:*
[TABLE]
where is the time constant from Lemma 1. First if is not nilpotent, then there is a configuration whose orbit does not contain state . Therefore, for any , has an orbit under with at least changes for cell [math]. This shows that is not bounded-change in this case. If on the contrary is nilpotent, then there is such that for any and any . Therefore any cell in any working zone of becomes after passes of the working head. This implies that a cell’s state can change at most times while staying in (* times head entering/leaving the cell). Since the other possible state changes are , , and , we deduce that is -change and the second item of the theorem follows.*
3 Dynamical Properties
The convergence property has obviously strong consequences on the dynamics. This can be seen through the trace or column factor which is a well-studied object [25, 19].
For any finite and any CA , the trace of of base starting from is the following sequence:
[TABLE]
Lemma 3.4**.**
Let be any non-empty finite set. A CA is convergent if and only if is eventually constant for any configuration . Moreover, in that case, there is always a fixed point (i.e. ) such that and are eventually equal.
This does not imply that the limit set is made of fixed points, however we can prove the following proposition which is not true for CA in general.
Proposition 3.5**.**
Let be a convergent CA which is not nilpotent. Then it possesses two distinct fixed points.
Proof 3.6**.**
First, any convergent CA must have a fixed-point which is uniform: for some and any . Now suppose that is the unique fixed-point, then by Lemma 3.4 is asymptotically--nilpotent, meaning that for any and any , the trace is eventually constant and equal to . By Theorem 2 of [40] this implies that is nilpotent. The proposition follows.
As a corollary, we get the following dimension-sensitive decidability result.
Theorem 3.7**.**
The nilpotency problem is:
- •
decidable (in time polynomial in the size of the transition table) for 1D convergent CA;
- •
undecidable for freezing CA in higher dimension.
Proof 3.8**.**
First, in dimension and more, the classical proof of undecidability of nilpotency (see [22]) works without any modification for freezing CA: given a Wang tile set, we build a freezing CA with a spreading error state, that checks locally if the configuration is a valid tiling and produces the error state in case of local error detection. This CA is nilpotent if and only if the tile set does not tile the plane. The undecidability follows from [5].
In dimension , from Proposition 3.5, we know that nilpotency is equivalent to the property of having a single fixed-point. By the classical construction of De Bruijn graph, the existence of at least two fixed-points is easy to decide in polynomial time. Precisely, and for the sake of completeness, suppose has radius and local transition map and let be the edge-labeled digraph with and
- •
{E=\{\bigl{(}(q_{-r},\ldots,q_{r-1}),(q_{-r+1},\ldots,q_{r})\bigr{)}:f(q_{-r},\ldots,q_{r})=q_{0}\}},
- •
{\lambda\bigl{(}(q_{-r},\ldots,q_{r-1}),(q_{-r+1},\ldots,q_{r})\bigr{)}=q_{0}.}**
Since necessarily possesses a uniform fixed point , testing if possesses at least two amounts to check whether there is a circuit in with at least one edge not labeled by . This can be done in time polynomial in .
Convergence also implies some kind of topological regularity as shown in the following proposition.
Proposition 3.9**.**
No convergent CA is sensitive to initial conditions, whatever the dimension.
Proof 3.10**.**
Suppose by contradiction that on is convergent and sensitive to initial conditions: there is such that for any and any there exists such that {{\left.\kern-1.2ptc\vphantom{\big{|}}\right|_{\mathcal{B}({p})}}={\left.\kern-1.2ptc^{\prime}\vphantom{\big{|}}\right|_{\mathcal{B}({p})}}} and {{\left.\kern-1.2ptF^{t}(c)\vphantom{\big{|}}\right|_{\mathcal{B}({N})}}\neq{\left.\kern-1.2ptF^{t}(c^{\prime})\vphantom{\big{|}}\right|_{\mathcal{B}({N})}}} for some . Consider any configuration and . By sensitivity there is and such that either or is non-constant on time interval . Denote by the one among and that corresponds to the non-constant trace. Let where is the radius of . Applying sensitivity again on and we know there exist and such that:
- •
* and are identical on ;*
- •
therefore, by choice of , and coincide on interval ;
- •
* and differ at time .*
So one of or , denoted , is such that is not constant on interval . Going on with the same reasoning we construct a converging sequence of configurations such that is not constant on each interval for . Taking we get a trace which is not eventually constant contradicting Lemma 3.4.
The convergence behavior is intrinsically irreversible except in the trivial case of the identity, more precisely there is no surjective convergent CA appart from the identity. It was shown in [14] for freezing cellular automata by an elementary proof. In fact, as pointed to us by V. Salo, it is an immediate consequence of the Poincaré recurrence theorem for all convergent CA: if a CA is not the identity, then their is some local context in which a cell changes its state, but the Poincaré recurrence theorem implies that in a surjective CA there must be an orbit where is recurrent which yields infinitely many states change and contradicts convergence. Without going into details about measures and cellular automata which are out of the scope of the present paper (see [38]), we give a rather self-contained proof of this fact in the following proposition.
Proposition 3.11**.**
If a convergent CA is surjective, then it is the identity map.
Proof 3.12**.**
Let be surjective and convergent and let denote the uniform product measure on configurations of . By the balance theorem [29], is preserved under : for any measurable set (see [6] for a more general result). If we suppose that is not the identity map, then there is a word such that for all it holds . We claim that there is a configuration such that for infinitely many . From this claim we deduce that is not convergent because the orbit of is not convergent. The proposition follows. To prove the claim, let us denote and . By definition is the set of configurations whose orbit visits infinitely many times and we want to show that . We actually show that . Since for all we have . Moreover so we deduce that since . Finally, by Boole’s inequality we have so since .
4 Computational Complexity and Universality
Computational complexity and universality in cellular automata is a very well-studied topic and the general ability for cellular automata to do any Turing computation is now considered as an obvious fact. In this section, we shall show how the three definitions of section 2 affect this computational power and how it also depends on the dimension.
4.1 Canonical Problems
We start by defining two classical problems associated to any CA which will serve as a canonical measurement of the computational complexity of the considered CA. They are very different and complementary.
The first one is about short-term predictability and provides a fine-grained complexity measurement within the class .
Definition 4.13**.**
Let be any CA of radius and alphabet . The prediction problem is defined as follows:
- •
input: and and
- •
output: decide whether .
The second one is about long-term reachability and provides a coarse-grained complexity measure that can go (and is expected to go) beyond the decidable. It is inspired by the notion of universality for dynamical symbolic systems from [10].
Definition 4.14**.**
Let be any CA of radius and dimension . The cylinder reachability problem is defined as follows:
- •
input: two bounded configurations and .
- •
output: decide whether there is and such that .
For CA in general, hard examples of both problems are well-known. Let us fix a 1D CA of radius such that is P-complete, for instance rule 110 [34], and a 1D CA of radius such that is undecidable. More precisely, we suppose that there is a fixed state of such that the following sub-problem of , that we will denote , is also undecidable: given a bounded configuration , decide whether there is and such that . Such an can be obtained by adapting the example of [10, section 6.1]. When restricting to freezing CA, and provided the dimension is at least 2, one can find hard examples for both problems. Note that “life without death” is known to have a P-complete problem [18] but the hardness of is not clear.
Proposition 4.15**.**
There exists a 2D freezing CA such that is P-complete and is undecidable.
Proof 4.16**.**
Any 1D CA with states and neighborhood can be simulated by a 2D freezing CA with states as follow. Let . A cell in a state from never changes. A cell in state looks at cells in its neighborhood: if they are all in a state from then it updates to the state given by applying on them, otherwise it stays in . Starting from a all- configuration except on one horizontal line where it is in a -configuration , this 2D freezing CA will compute step by step the space-time diagram of on configuration . Applying this construction to , we obtain a 2D freezing CA such that reduces to as follows: given and (of dimension 1), we compute (of dimension 2) defined by
[TABLE]
By definition of it holds: .
We now apply essentially the same construction to to obtain , but with two additional tweaks that allow a reduction from to : when simulates by progressively building successive configuration of the orbit of as successive rows in direction , it also propagates back any state appearing in the simulation in direction ; moreover, a special state is added whose role is to appear and spread in any ill-formed configuration. With these tweaks, to any cylinder for we can associate a cylinder for such that is reachable from in if and only if is reachable from is . To do so, the construction above is applied with the following modifications:
- •
* has neighborhood which is large enough to have since has radius ;*
- •
* as an additional state that never changes whatever the context, and that propagates downwards and to the left and to the right;*
- •
if a cell in a state from has a left or right neighbor not in , it becomes ;
- •
if a cell in state has a neighbor which is not in and not in state then it becomes ;
- •
if none of the above cases holds and cell is in a state from and cell is in state then cell turns into state .
Then reduces to as follows: given a bounded configuration of radius , we compute defined by
[TABLE]
Then by definition of we have that for some and if and only for and . Indeed, if then and therefore where is obtained from as is from . For the other direction, implies that there is some with and it can only be possible if for all and for all and (because no can be produced close to at first step). We deduce that there is a configuration with for all for which it holds . The reduction from to follows.
To conclude, the product cellular automaton that acts independently as and on both components of the product configuration set with set of states , fulfills the conditions of the proposition because since both and have a quiescent state, then reduces to and reduces to .
Proposition 4.17**.**
There exists a 1D convergent CA such that is P-complete and is undecidable.
Proof 4.18**.**
This proof relies on construction from Example 7 which we apply on automata and mentioned above in this section. We claim that has the desired property. Indeed, on one hand reduces to as follows: given and , we compute from Lemma 1 with and such that {u^{\prime}={\left.\kern-1.2pt\lambda_{t_{n},c,c}\vphantom{\big{|}}\right|_{\mathcal{B}({t_{n}})}}} where {{\left.\kern-1.2ptc\vphantom{\big{|}}\right|_{\mathcal{B}({t})}}=u} and is constant outside . Lemma 1 shows that the first component of state is precisely . The reduction follows. On the other hand truth-table reduces to as follows: there is and with if and only if there is and with where
- •
{u^{\prime}_{z}=\bigl{(}u_{z},u_{z},r\bigr{)}}* and and have same domain;*
- •
* is one of the (finite number of) bounded configurations of the form {v^{\prime}_{z}=\bigl{(}h,x,y\bigr{)}}.*
Indeed, if for some then Lemma 1 shows that for and some as above and we have . Conversely if for some as above and , then necessarily contains a working zone that (possibly) extends and survives at least steps. Then, either this zone contains no head and then states don’t change inside the zone which implies and therefore , or the orbit of coincides during steps with that of some with and Lemma 1 implies that . To conclude that has the desired property, it is enough to remark that both and have a quiescent state so that reduces to and reduces to .
The following result was essentially present in [43] using the formalism of bounded-change CA seen as language recognizers and therefore focusing on the complexity of recognizable languages rather than prediction problems.
Proposition 4.19**.**
Let be any 1D bounded-change CA. Then . Moreover, if in addition the neighborhood of is “one-way”, i.e. if or then .
Proof 4.20**.**
Consider a -change CA of radius and alphabet . Given some , the following non-deterministic algorithm allows to compute :
for each with do:
- (a)
guess some column vector of states of height whose first state is : with ; 2. (b)
if then check that is compatible with i.e.
- •
for each with check that
[TABLE]
where is the local map of . 2. 2.
return
The key observation is that in a -change CA a column of states of height at most appearing in a valid space-time diagram can be represented in space as a list of at most pairs (state,duration) describing the sequence of state changes and the duration of the intervals between them. Therefore, the above algorithm can be implemented in non-deterministic logspace by keeping in memory only columns to . The compatibility test (loop on ) can be done directly on the compact representation of columns since can be retrieved by a bounded number of comparisons and sums of small integers. This shows .
If we suppose that , then the compatibility test only involves column to . Moreover, there is a unique possible column compatible with the given columns which can be computed by . Again this can be realized using compact representation using space. We deduce in this case that .
Under the hypothesis , bounded-change CA have simpler prediction problems than convergent CA. The goal of the next two subsections is to show that the same happens when considering the communication complexity of prediction problems, but that freezing CA can have undecidable cylinder reachability. Hence the difference between bounded-change and convergent CA is in the short-term prediction complexity rather than in the long-term reachability complexity.
4.2 Communication complexity
Communication complexity was introduced by Yao [45] to study distributed computing. We first briefly recall the classical definition of communication complexity for any function (see [26] for general reference), and then apply it to the prediction problem of cellular automata as it was done in [16]. The goal of this section is to show that bounded-change CA have a lower communication complexity than CA in general.
Consider a function where , and are finite sets. The communication complexity of is the amount of information (number of bits) that need to be exchanged in the worst case between two parties (say Alice and Bob) in order to decide the value when one of the parties knows only and the other only (both know and they have unlimited computing power).
More precisely, a communication protocol is a finite rooted binary tree where each leaf holds a value from and each internal node holds either a map (Alice speaks) or a map (Bob speaks). The run of on input is the path starting from the root and defined by the following descent in the tree until reaching a leaf: when at node , go to left child if (resp. ) and to right child otherwise. The output of the protocol on input is the value held by the leaf reached by . The cost of on input is the length of . A protocol solves if on all inputs . Finally, the communication complexity of is
[TABLE]
For any CA we consider the communication complexity of the prediction problem by dividing the space into two roughly equal parts through an hyperplane (we extend the definition of [16] to any dimension). Precisely, given any we define and as follows:
[TABLE]
where denotes the projection on the first coordinate. The proof idea in Theorem 4.23 below works for other choices of hyperplane, but we prefer to keep notations simple.
For any alphabet let denote the concatenation map defined as the inverse map of {w\in Q^{\mathcal{B}({n})}\mapsto\bigl{(}{\left.\kern-1.2ptw\vphantom{\big{|}}\right|_{A_{n}}},{\left.\kern-1.2ptw\vphantom{\big{|}}\right|_{B_{n}}}\bigr{)}}. Given a CA of radius , we then define for each the communication problem associated to as follows:
[TABLE]
and we consider
the communication complexity of prediction of through the following map:
[TABLE]
Clearly for any of dimension since it is always possible to apply the trivial protocol where Alice sends all its input to Bob and Bob then knows all the information to answer. Let us first recall that general CAs can reach maximal communication complexity (this is a straightforward extension of [16] which is written in the one-dimensional setting). The intuition is that a -dimension CA in time can test equality between pairs of bits, one in the Alice region, one in the Bob region, and have the conjunction of all these tests readable at a given position.
Proposition 4.21**.**
For any , there is a CA of dimension with and it can be chosen of radius 1.
Proof 4.22**.**
Let and define of neighborhood on alphabet as follows:
[TABLE]
Consider configurations satisfying the following property :
- •
* if ,*
- •
* if ,*
- •
* else.*
We call such configurations correct. For any , consider . Let be the set of correct configurations such that for all . It is straightforward to show that for it holds that if and only if for all . If we now consider the problem , we deduce a fooling set of size , i.e. a set of input such that for all it holds . This implies (see [26]).
Bounded-change CA are intrinsically limited in communication complexity compared to general CA as shown by the following theorem.
Theorem 4.23**.**
For any bound-change CA of dimension , we have {CC_{F}\in O\bigl{(}n^{d-1}\log(n)\bigr{)}}.
Proof 4.24**.**
Let be the radius of and be such that is -change. Fix some . We distinguish two zones of the space that play an important role:
[TABLE]
These zones are such that Alice (resp. Bob) only needs to know the configuration on (resp. ) to know the configuration after one step of on (resp. ). The protocol is as follows: first, as an initialization step, Alice and Bob exchange the content of the and and initialize their time counter at [math]. Then, they repeat as much as necessary the following loop:
Alice (resp. Bob) separately compute the evolution step by step on (resp. ) supposing that nothing changes in (resp. ) and until a state change is observed in (resp. ); 2. 2.
Alice (resp. Bob) send the time counter at which her change was observed; let be the minimum of the time value between Alice and Bob; 3. 3.
if Alice (resp. Bob) has a time counter equal to then she sends a “diff report” which contains the list of cell changes that occurred inside (resp. ) between the previous time counter value and ; 4. 4.
Alice (and symmetrically for Bob) possibly receives the other “diff report” and updates its knowledge as follows:
- •
updates her knowledge of according to the diff report (if received);
- •
if its time counter value is strictly larger than , then revert its knowledge of her half-space to what it was at time (which she can do without any further information from Bob).
- •
sets its time counter as ;
This protocol allows Alice and Bob to correctly compute the evolution of during steps (without even supposing that it is bounded-change) and thus solves . Indeed, the fact that they retrospectively jump back in time to the step of the first change in zones ensures that the hypothesis of no change in is correct for all the retained computation steps.
Let us now upper bound the cost of this protocol:
- •
the initialization costs (the sizes of and are );
- •
the total communication for time counters is since the main loop of the protocol is executed at most times;
- •
each diff report with cell changes costs at most : for the time step, for communicating the position of each cell, to describe the new state;
The protocol is such that each cell change of each diff report sent corresponds to a real state change in during the first steps of the evolution of . Since is -change, the total number of changes in is less than . Therefore the total cost of the protocol is at most {O\bigl{(}n^{d-1}\log(n)\bigr{)}}.
Convergent CA in general require higher communication complexity as shown in the following proposition.
Proposition 4.25**.**
There exists a 1D convergent CA with .
Proof 4.26**.**
Let be any 1D CA of radius 1 such that (it exists by Proposition 4.21). We claim that is such that . To see this consider for any the communication problem associated to on some input and let {(u^{\prime},v^{\prime})=({\left.\kern-1.2ptc^{\prime}\vphantom{\big{|}}\right|_{A_{\tau_{n}}}},{\left.\kern-1.2ptc^{\prime}\vphantom{\big{|}}\right|_{B_{\tau_{n}}}})} where and is the constant from Lemma 1 that guarantees
[TABLE]
This transformation from to is a reduction of the communication problem to since (resp. ) can be computed from only (resp. only), so we have . Since for some we deduce that {CC_{\mathcal{Z}_{G}}(n)\geq CC_{G}\bigl{(}\sqrt{n/k}\bigr{)}}. The proposition follows from the hypothesis on .
4.3 Minsky machines simulation by 1D freezing CA
In this section we show that any -counter Minsky machine [30] can be simulated by a 1D freezing CA where the evolution of both the state and counter values are encoded by signals moving through the space-time diagram, one transition per space unit. The instant configuration (state + counters) of the counter machine at time is represented by the temporal column (trace) of cell of the cellular automaton, where the value of counters is encoded in unary as the (temporal) distance between occurrences of two special states of the CA.
More precisely, the control of the machine is represented as a signal of equation where both cells in column carry the state of the counter machine and an emptiness flag for each counter at time . A counter can easily be tested for equality to zero. Incrementation corresponds to a local deceleration of the signal and decrementation to a local acceleration. Incrementation, decrementation or no-operations decisions are carried from the control to the counter as a simple vertical signal.
This encoding scheme, already presented in [14] and detailed more recently in [7], can convince the reader that 1D freezing CA are ’Turing-universal’ devices. However, our goal is to prove undecidability results about problem and the maximal number of state change per cell in a freezing CA, so we present a construction with additional technical details useful for our goals.
Definition 4.27**.**
A (deterministic) -counter Minsky machine is a -tuple where are the initial and halting states and is its transition map, which verifies . A configuration of is an element of . changes any configuration in one step into configuration where . halts on input if there is a time such that .
Minsky machines might be slow, but they have the features of an acceptable computational model and in particular have an undecidable halting problem.
Theorem 4.28**.**
[30]** There is a -counter machine such that it is undecidable to know whether halts on a given input. It is also undecidable whether some given -counter machine halts on the empty input (all counters equal to zero).
We now detail our construction that transforms any -counter machine into a 1D freezing CA that simulates it. Its neighborhood is and its state set is
[TABLE]
where:
- •
is a “blank” symbol used to fill a configuration and leave room for a computation to expand spatially,
- •
is a “wall” state to protect computation zones and avoid back propagation of wrong halting information,
- •
is the counter alphabet used to encode the value of one counter and the elementary operation to be applied on it,
- •
is the control alphabet used to encode the state of M (an element of ) and (possibly) an elementary operation per counter,
- •
is a “large enough” ordered set serving as a bounded countdown before initializing a computation of on an empty input in such a way that it maximizes the number of state changes in a cell; in practice we fix .
Before giving the transition rule of , let us give the (pre-)order on ensuring that it is a freezing CA together with some useful intuitions about the behavior of :
- •
for any ( is used to propagate the halting information of an halting computation of back to the cell where it started),
- •
for any ( can be triggered from any state),
- •
if for all i where (a counter is represented as a sequence of 1s terminated by the sequence , used to adjust the offset of the next counter value on the next column, and carrying an invariable operation),
- •
for any (the “normal sequence” of state changes is: blank, then control state, then control state plus instruction, then counter),
- •
and (the special sequences with state changes to initialize a computation on an empty input).
The transition rule of is defined as follows (Figure 2 illustrates almost all transitions below):
[TABLE]
where is the counter update map defined by:
[TABLE]
and is a counter positivity test map defined by:
[TABLE]
and is a counter copy map defined by:
[TABLE]
A simple verification on the transition rule gives the following.
Fact 2**.**
* is freezing for the order .*
As said above, the encoding of the counter values of in is in the time interval between two particular state changes, more precisely: for any initial configuration of , the (possibly infinite) value of counter () at position is defined by
[TABLE]
For this definition to be useful in we need some hypotheses on the sequence of states at the considered position: we say that the trace at is valid if it contains for each counter the subsequence and does not contain the state .
The -state at position starting from is where is the unique occurrence at cell of a state from (uniqueness comes from the freezing order and case 8 of the transition rule), and it is undefined if there is no such occurrence.
The next lemma shows that on well-formed columns, correctly computes a transition of from one column to the next, via the above encoding.
Lemma 4.29** (Correct simulation).**
Let be a configuration of and such that and and the trace at is valid. Let {(q,(\delta_{i})_{1\leq i\leq k})=\tau\bigl{(}Q(c,z),(\min(1,V_{i}(c,z)))_{1\leq i\leq k}\bigr{)}}. Then the trace at is valid, is well-defined and equal to and we have
[TABLE]
for all .
Proof 4.30**.**
* and (by case 2 of ). Then by case 7 of and where for each :*
- •
either and thus , but the definition of ensures that either and , or and ;
- •
or and then case 6 of the definition of and the validity of the trace at ensures that counter at position will turn into state at times where is the time of occurrence of in counter at position (by definition of the map ).
In any case we have a valid trace at and .
Lemma 4.31** (Correct halting information).**
Let be a configuration of and a position such that and and the trace at is valid. Then for some implies that the counter machine halts on input .
Proof 4.32**.**
Suppose that doesn’t halt on input . Using Lemma 4.29, we prove by induction on that if traces at position are valid then . Indeed it is true for and by induction we prove that if has a valid trace then (otherwise case 4 would produce state contradicting validity). It implies that case 2 cannot produce state at position , and therefore appears at position only if it appears at position (case 1 is the only remaining case of to produce ). So if all traces for are valid then there is no such that . Suppose now that some trace is not valid and take minimum so that the trace at is not valid. Since the trace at is valid and has a well-defined it means that there is some such that . Then there are two cases:
- •
either but then Lemma 4.29 would apply to configuration and position showing that the trace is valid at position which contradicts the hypothesis on ;
- •
or so by case 4 of we would have for all showing that does not appear at position .
The lemma follows.
Theorem 4.33**.**
There exists a 1D freezing CA such that is undecidable.
Proof 4.34**.**
Let be the machine from Theorem 4.28. We claim that is undecidable because the halting problem of on a given input reduces to it. Indeed, given an input , let and define by:
[TABLE]
where is if and else. One can check that for any and any position with the trace at in is valid: it follows from the definition of for (case 5 at and 6 elsewhere) and for it follows from Lemma 4.29. Moreover, by choice of and for any (), we have and for all by a straightforward induction. Therefore we have and by choice of . We deduce from Lemma 4.31 that cylinder can be reached from cylinder only if halts on input . Finally, by choosing such that for , it follows from Lemma 4.29 that if halts on then for some . This proves the reduction of the halting problem of to and the theorem follows.
The same construction allows to prove the following result which might seem surprising at first: even if it is easy to check that a CA is freezing (Fact 1), and if an immediate bound on the number of changes in a freezing CA is given by the size of the alphabet, it is still undecidable to determine what is the actual maximal number of changes.
Theorem 4.35**.**
There exists such that it is undecidable to determine whether a given freezing CA is -change.
Proof 4.36**.**
Let be any counter machine and the associated freezing CA. It follows from the freezing order that the unique sequence of state changes giving changes is (repetition of a same state removed):
[TABLE]
and any other sequence compatible with has strictly less state changes. Indeed, it is the longest among the sequences containing and the choice of ensures that all -admissible sequences without occurrence of have strictly fewer than changes.
Consider a configuration of such that the maximal sequence of state changes above occurs at cell [math]. By case 9, must be such that for any otherwise would appear (by case 12) at position [math]. Moreover, we must have and otherwise we would have . Therefore we have and (by cases 10 and 12). Moreover cases 11 and 3 force . Finally, Lemma 4.31 can be applied at position [math] of configuration showing that appears at position [math] only if halts on empty input (because the state change sequence at position [math] is such that for any ). Conversely, if halts on the empty input and if we consider configuration such that for and for , it is easy to check (using Lemma 4.29) that the sequence of state changes at position [math] in is exactly the above sequence. We conclude that halts on the empty input if and only if is not -change. The theorem follows.
5 Limit Fixed-Point Computability
In the previous section we studied canonical problems of prediction and reachability defined for any cellular automaton. Here we consider problems related to the convergence property. We can first consider the limit value of a cell, and the time its takes to reach this limit given an initial configuration.
Definition 5.37**.**
Let be any convergent CA. The limit value problem is defined as follows:
- •
input: a computable configuration (given as a Turing machine);
- •
output: .
The freezing time problem is defined as follows:
- •
input: a computable configuration (given as a Turing machine);
- •
output: the freezing time of cell [math] starting from .
Remark 5.38**.**
Problems and are Turing-equivalent for any freezing CA since we have and .
Theorem 5.39**.**
There is a freezing CA such that both and are uncomputable.
Proof 5.40**.**
From the remark above it is sufficient to prove uncomputability of . The example of Theorem 4.33 has the desired property and the proof of the theorem actually shows it because:
- •
it shows undecidabilty of reachability of cylinder where is an invariable state of , therefore it shows that given some bounded configuration it is undecidable whether there is such that ;
- •
there is in fact a canonical computable (actually ultimately constant) configuration such that is reachable from if and only if .
In the following subsection we are going to consider a non-uniform problem on the limit fixed-point for which a difference between bounded-change and convergent CA will appear. Let us first give some computability upper bounds for such limit fixed-points.
Given a configuration and a state , denote by the set of positions in which are in state in :
[TABLE]
The following proposition gives immediate upper-bounds on such characteristic sets for limit fixed points in terms of the arithmetical hierarchy [39].
Proposition 5.41**.**
Let be a convergent CA and be any computable configuration. For any state the set is a arithmetical set. Moreover, if is freezing with order then:
- •
* is recursively enumerable if is -minimal;*
- •
* is co-recursively enumerable if is -maximal.*
Proof 5.42**.**
First for a convergent CA we have
[TABLE]
and also
[TABLE]
which shows that . When is freezing with order and is -minimal we have
[TABLE]
and if is -maximal then
[TABLE]
5.1 1D bounded-change CA
In dimension 1, bounded-change CA are too much restricted to produce uncomputable limits from computable initial configurations. The argument in the following theorem is due to G. Richard.
Theorem 5.43**.**
For any 1D bounded-change and any computable configuration , is computable.
Proof 5.44**.**
First we can suppose without loss of generality that has radius (if has radius and alphabet one can consider of radius and alphabet obtained from by grouping cells by blocks of size , computability of configuration is not affected by this grouping operation). Now let be a fixed computable configuration and denote by the number of changes occurring at position in the orbit of :
[TABLE]
We claim that there is an algorithm that, given and and , correctly computes . Indeed, knowing and , we can compute with the first time such that and (it is sufficient to compute more and more time steps until having observed changes at and changes at ). Then, since the states of cells and do not change after time , and since has radius , only depends on and more precisely if is -change.
Let us define the following constants, depending444They can depend on in a non-recursive way. In fact the remainder of the proof shows that they cannot depend recursively on otherwise it would contradict Theorem 5.39. on , which are the maximal number of changes occurring infinitely often to the left/right respectively, and the positions beyond which these maxima are bounds on the number of changes:
[TABLE]
The algorithm to compute given is the following: compute larger and larger portions of the space-time diagram around position until finding and such that:
* and ,* 2. 2.
the state of has changed times before time and the state of has changed times before time .
By definition of , such values and can always be found for any and we have and . Then it is sufficient to apply the algorithm of the above claim to compute and therefore obtain .
5.2 1D convergent CA
Contrary to bounded-change CA, convergent CA can have arbitrarily many changes at a given cell depending on the context. This is enough to obtain uncomputable limit fixed point from computable initial configurations as shown by the following CA . Intuitively, is a 1D CA that simulates progressively all Turing machines for more and more time steps and, each time a machine halts, the head travels to a predetermined computable position to write a mark, and then goes back to the simulation zone and goes on simulating other Turing machines. Any position would ultimately contain the information of whether machine halts or not. The Turing simulation is done in a finite zone that grows as needed but also that moves regularly to the right, therefore any given cell is out of this active computation zone after a finite time. The position map is increasing so that less than positions lie to the left of , which means that will be crossed at most times by the marking mechanism. This intuitive description is probably enough to be convinced that there is a CA and a computable configuration such that {\bigl{(}F^{t}(c)\bigr{)}_{t}} converges to an uncomputable configuration. However, we want to be a convergent CA, i.e. we want the convergence of {\bigl{(}F^{t}(c)\bigr{)}_{t}} for any inital configuration , which requires a much more careful design of . In what follows it is important to keep in mind that the construction is not sensitive to details in the implementation of the Turing machines: in fact the property of being convergent is independent of the actual Turing computation. That’s why we focus on the marking process.
The general idea is to implement an addressing mechanism working in unary: positions to be marked are special zones of a certain length, and the marking process consists in a ’snake’ of some length moving to the left until it reaches a special zone of matching length. The convergence is guaranteed by a counter on each special zone that allow only a bounded number of successive ’snakes’ to cross the zone. A key aspect of the construction to help the analysis and the proof of convergence is the presence of a unique global head that can either work on the Turing computation or be the ’head of the snake’ in the marking process. Essentially all state changes occur in the neighborhood of the head, so convergence is guaranteed by the fact that this global head never visits infinitely often the same cell.
Global structure.
has alphabet where is a special error state that spreads over the entire configuration as soon as it appears, and all normal states have four components:
- •
the Turing component which holds the simulation of Turing machines;
- •
the marker component which is used to mark predetermined positions for halting machines ;
- •
the addressing component which is used to handle the low level mechanism for the marking head to stop at the correct position;
- •
the global head component which ensures unicity of a global head and controls the succession of phases of Turing simulation and marking process.
The global head is not the Turing head which is encoded by states in .
Addressing component.
This component is a kind of “conveyor belt” with zigzags that globally shift information as follows:
- •
A zigzag is any maximal connected zone in state . More precisely, states from correspond to a simple belt and states from correspond to three layers of belt forming a zigzag (plus a fourth layer used as a passage counter for the zigzag). Each position in this virtual belt has a well-defined predecessor and successor as depicted in Figure 3. Note that in some degenerate cases, this virtual belt has several connected components but always finite ( in the case where all cells with possibly finite exceptions are in a state from in their addressing component, in any other case).
- •
The default dynamics of on this addressing component is simply that each bit at any position in the virtual belt is shifted to its successor’s position. This default dynamics can be changed only when the global head is near (details below).
Validity checks and computation cycle.
We call valid a configuration whose orbit contains no occurrence of . By the spreading behavior of we have that any orbit which is not valid is convergent. constantly checks and maintains the following conditions and produces the error state in case of violation:
- •
in Turing component the following patterns are forbidden: , , , , so that a valid configuration contains at most one connected zone in alphabet , called Turing zone;
- •
in head component the following patterns are forbidden: , , , , , so that a valid configuration contains at most one state in ;
- •
in the addressing component the following patterns are forbidden: , so that in a valid configuration the fourth layer of any zigzag holds the unary representation of a counter (distance of the first 0 to the rightmost position of the zigzag) between 0 and the length of the zigzag, called zigzag counter;
- •
in the addressing component, when a position in the virtual belt is in state [math] then its predecessor must also be in state [math], except if the head is present on the predecessor’s position (precise definition below); therefore each connected component of the virtual belt seen as a bi-infinite binary word contains a single connected component of s;
- •
in the addressing component, no zigzag can accept a too long connected component of entering the zigzag, concretely: if there is a 1 in the third layer of the rightmost position of a zigzag, then there must be a 0 on the first layer at the same position, otherwise error state is generated; this prevents any connected component of s of length initially to the right of a zigzag of length to cross it.
The state of the unique global head (if present) is one of the following:
[TABLE]
Each one corresponds to a a specific phase of the behavior of with additional validity checks that generate in case of failure. Intuitively, and correspond to back and forth movements inside the Turing zone producing one step of Turing computation at each back and forth. Then states , and Return correspond to an interruption of the Turing computation to do a marking cycle: preparation of marking address, movement and marking at the correct position, return to Turing computation. The precise position of the head on the virtual belt is as follows: if the head is in state or then it is on layer of the belt in the cell, otherwise it is on layer . In a valid configuration the sequence of states taken by the global head is always a subword of the language
[TABLE]
- •
: the global head moves back to the leftmost position of the Turing zone; the head must be inside the Turing zone; when this leftmost position is reached, the global head turns into state ; moreover, if during the crossing of the Turing zone a special interruption state of the Turing head is encountered (in ), then the global head turns into state if the position is inside a zigzag and else;
- •
: the global head runs through the entire Turing zone from left to right while shifting it one cell to the right, and applying one step of the Turing computation, and adding one more cell to the zone at the right end; the global head must be inside the Turing zone; when the right end is reached and the new cell added to the Turing zone, the global head turns into state ;
- •
: the global head starts to write s on the addressing component while moving two cells left at each step and until it meets the left boundary of the Turing zone; more precisely, when in state it writes s onto the first layer if inside a zigzag and onto the third when in state ; outside zigzags it always write on the unique layer present555Note that due to the checks done on the addressing component (see above), this stage can generate an state: for instance if the head in state exits a zigzag and later enters into a new one, the s written on the virtual belt will no longer be connected. This kind of degenerate behavior can easily be avoided by a sufficient spacing between zigzags.; the global head must be inside the Turing zone and when it reaches the left boundary of the Turing zone, it turns into state ; the purpose of this stage is to write a connected component of s of length onto the virtual belt where is the distance between the global head and the leftmost position of the Turing zone when the global state changes from to ;
- •
: the global heads moves along the virtual belt from a position to its successor; when inside a zigzag the indicates which of the layers of the belt the global head is currently on; the position on the belt preceding that of the global head must contain a and the successor must contain a [math], this forces a connected component of 1s that moves along the belt behind the head which can be seen as a unary value called the address value; when inside a zigzag the global head does the following:
- –
when entering a zigzag it checks that the zigzag counter is not [math] otherwise the error state is generated;
- –
when reaching the rightmost position of the second layer (state ), it checks whether the address value is exactly twice the width of the zigzag, precisely: if the first layer contains a 1 at its position and the cell immediately to its right contains value [math], then it enters into state Return and a 1 is written on the marker component;
- –
when in state on the first layer of a zigzag and at the position of the leftmost 1 of the zigzag counter, the zigzag counter is decremented by 1 by changing the state 1 at the current position into a 0;
- •
Return: the global head moves along the virtual belt backward (from a position to its predecessor) and transforms all 1s into 0s until it reaches the left boundary of the Turing zone at which point it turns into state .
Given a valid configuration , we say that a component is convergent if {\bigl{(}\pi\circ F^{t}(c)\bigr{)}_{t\in\mathbb{N}}} is convergent where is the projection of states onto the considered component. is convergent when all components are convergent.
Lemma 5.45**.**
If is a valid configuration such that the global head state changes only a finite number of times in its orbit, then is convergent.
Proof 5.46**.**
We can suppose without loss of generality that the global state never change (otherwise consider configuration where is the time when the last state change occurs). Given the hypothesis we have the following possible cases:
- •
* and the Turing zone extends infinitely to the right: in this case the head moves to the right forever so the Turing component and the global head component are clearly convergent. The marker component is also convergent since it can only change when the global head state changes from to Return. Finally, the addressing component contains a single connected component of 1s per connected component of the virtual belt (because is valid). Each cell either stays forever inside such a connected component of 1s, or stays forever outside after a finite time. In any case, the addressing component is convergent.*
- •
* and the Turing zone extends infinitely to the left: this case is symmetric to the previous one.*
- •
* and the Turing zone extends infinitely to the left: the Turing component and the marker component don’t change so they are convergent. Moreover the global head moves to the left forever, so the global head component is also convergent. The global head in this case constantly extends to the left a connected component of 1s while moving to the left. Therefore, for any cell, after a finite time the global head is on the left and will never come back leaving a similar situation as above: the addressing component is again convergent.*
- •
: the global head moves to the left (* or ) or to the right () forever followed by a (possibly infinite) snake of 1s. The situation is similar to the above cases and the convergence follows for the same reasons: the global heads moves towards infinity, nothing is changed on the Turing, head and marker components, and the addressing component converges because of the uniqueness of the component of 1s (per connected component of the virtual belt).*
- •
: the global head moves backward on the virtual belt, so it visits each cell a finite number of times (at most in the case of a cell inside a finite zigzag). After this finite number of visits the state of a cell converges because nothing is changed on the Turing, head and marker components, and the addressing component converges as in the previous case.
Lemma 5.47**.**
If is a configuration such that the global head state changes infinitely many times, then is convergent.
Proof 5.48**.**
Consider any position , we will show that {\bigl{(}F^{t}(c)_{z}\bigr{)}_{t\in\mathbb{N}}} is convergent. First remark that such a must be valid. Moreover the Turing component is convergent because:
- •
either states and do not occur after some finite time in which case the Turing component becomes constant;
- •
or there are infinitely many state changes from to or from Return to which implies infinitely many shifts to the right of the computation zone;
- •
other cases are impossible by the hypothesis on .
Considering the sequence of global head states, we must be in one of the following situations:
- •
finitely many : in this case after some finite time , the global head is restricted to the Turing zone which moves constantly to the right, therefore the marker and global head components are convergent. Moreover, the addressing component evolves independently of the global head after time and, since is valid, there is only one connected component of 1s per connected component of the virtual belt. The convergence follows.
- •
the state of the global head eventually stays in : in this case, after some finite time the global head moves along the virtual belt forever. It cannot be inside or enter an infinite zigzag (otherwise it would eventually stay in a fixed state forever), so it escapes to the left, precisely after some time it stays forever to the left of position . This shows that the Turing, marking and global head components are convergent at . By validity of and the same reasoning as above about connected components of 1s, the addressing component converges at .
- •
infinitely many changes from to Return: the global head can only do such state changes inside finite zigzags, because on one hand this state change can only occur at the right boundary of a zigzag, and, on the other hand, if the head turns into state Return inside a zigzag which extends infinitely to the left then it could never come back to the leftmost position of the Turing zone, contradicting the infinite state changes hypothesis. The global head can visit only finitely many times each such finite zigzags, therefore after some time it will stay forever to the right of position . With the same reasoning as in the previous case, all components are convergent at position .
Theorem 5.49**.**
There is a convergent CA and a computable configuration such that is uncomputable.
Proof 5.50**.**
Lemma 5.45 and 5.47 show that the construction technique above always produces convergent CA whatever the behavior of the Turing component. Let’s define as the above construction applied to a Turing machine that does the following when started on the empty tape:
- •
- •
- •
loop forever:
- –
- –
wait steps
- –
- –
for each do:
simulate steps of machine
- *
if has halted during the simulation then
2. 2.
place the Turing head at distance from the left boundary of the computation zone 3. 3.
turn into special interruption state to launch a marking process
This Turing machine has the following properties:
- •
it launches a marking process with address value666The Turing head placement is cells away from the left boundary of the computation zone when the interruption launches the marking process; then the preparing stage produce a sequence of 1s of length .* if and only if machine halts on empty input, and it launches it at most once;*
- •
the simulation of machine starts after strictly more than steps, therefore the marking process with address value cannot be launched before time step .
Now consider the following computable configuration :
- •
the Turing component corresponds to an empty tape with machine head in initial state at position [math];
- •
the marker component is uniformly [math];
- •
the global head component is in state with head at position [math];
- •
the addressing component is the concatenation for all of a zigzag of length with counter at value followed by cells of simple belt, concretely:
[TABLE]
where the first zigzag (of length 1) is at position [math].
We claim that the marker component of contains a at position (the rightmost position of zigzag of length ) if and only if machine halts on empty input. This shows that is uncomputable and concludes the theorem. To prove the claim, it is sufficient to check that each marking process launched by the Turing computation described above works properly and maintains the validity of the configuration. Starting from , the definition of ensures that the marking process with address value will be launched (if ever launched) after more than Turing steps and therefore in a configuration where the left boundary of the Turing zone will be at a position (because the Turing zone moves one cell to the right at each Turing step). This guarantees that the stage of the marking process will work properly since at such a position zigzags are of length greater than , and the global head will therefore enter or leave a zigzag at most once before turning into state . Then, during the stage, the zigzag counter will never be [math] when the global head enters because in the zigzag of length has only zigzags to its left and will therefore be crossed (or entered in) at most times in total. Finally the Return stages poses no problem.
5.3 2D+ freezing CA
Let us first remark that in dimension 2 and more, it is very easy to produce uncomputable limit fixed point from computable initial configurations.
Proposition 5.51**.**
Let be the freezing CA defined over alphabet by:
[TABLE]
There is a computable configuration such that is uncomputable.
Proof 5.52**.**
Consider the configuration defined by:
[TABLE]
It is straighforward to check that if and only if machine halts on the empty input.
We can actually obtain much stronger and meaningful results on the uncomputability of limit fixed-points for freezing CA by requiring a finite initial configuration. Let us recall that an aTAM system is directed if there is a unique terminal assembly. Taking the notations of example 5, it means in particular that this unique terminal assembly is . Then the following result on the computational power of directed aTAM systems is directly related to our concern (we use again notations of example 5 to state the theorem).
Theorem 5.53** (Main construction of [28]).**
There exists a computable function such that for any recursively enumerable set there exists a directed aTAM whose unique terminal assembly is such that for any :
[TABLE]
where is some fixed tile of the system.
From Proposition 5.41, the above result is optimal since, in directed aTAM systems and the corresponding freezing CA, each state is either minimal or maximal with respect to the order, so sets are at most at level one of the arithmetical hierarchy. However for freezing CA in general we can do more as shown below.
Corollary 5.54**.**
There exists a 2D freezing CA , a finite configuration , and a state such that is neither recursively enumerable nor co-recursively enumerable.
Proof 5.55**.**
Fix some computable bijection and consider the two following recursively enumerable sets:
[TABLE]
where and are the projections on first and second components and is the halting set. From Theorem5.53 we get two directed aTAM to which correspond two freezing CA and whose limit fixed-point starting from the respective seed configurations and verify:
[TABLE]
for or . Consider now the freezing CA (with the product order), the configuration whose first component is and second component is , and the state . One can check that if and only if where and . The corollary follows.
6 Recap of results
We give in the following table a synthesis of results showing differences between freezing, bounded-change and convergent CA together with dimension sensitiveness. The table mixes different kinds of results, among which: lower bounds L which must be read as “there exists such that property L holds”, and upper bounds U to be read as “for all property U holds”.
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Alekseyevskaya, T., Malenkov, A.: Mathematical model of the initiation of near weekly fluctuations in tissue (cellular automata). Biophysics 36(2), 356–360 (1991)
- 2[2] Bak, P., Chen, K., Tang, C.: A forest-fire model and some thoughts on turbulence. Physics Letters A 147(5-6), 297–300 (1990), https://doi.org/10.1016/0375-9601(90)90451-S · doi ↗
- 3[3] Becker, F., Maldonado, D., Ollinger, N., Theyssier, G.: Universality in freezing cellular automata. In: Ci E 2018. Lecture Notes in Computer Science, vol. 10936, pp. 50–59. Springer (2018), https://doi.org/10.1007/978-3-319-94418-0_5 · doi ↗
- 4[4] Becker, F., Meunier, P.: It’s a tough nanoworld: in tile assembly, cooperation is not (strictly) more powerful than competition. Co RR abs/1502.05558 (2015), http://arxiv.org/abs/1502.05558
- 5[5] Berger, R.: The undecidability of the domino problem. Memoirs of the American Mathematical Society 66 (1966)
- 6[6] Capobianco, S., Guillon, P., Kari, J.: Surjective cellular automata far from the garden of eden. Discrete Mathematics & Theoretical Computer Science 15(3), 41–60 (2013), http://dmtcs.episciences.org/618
- 7[7] Carton, O., Guillon, B., Reiter, F.: Counter machines and distributed automata - A story about exchanging space and time. In: AUTOMATA 2018. Lecture Notes in Computer Science, vol. 10875, pp. 13–28. Springer (2018), https://doi.org/10.1007/978-3-319-92675-9_2 · doi ↗
- 8[8] Chopard, B., Droz, M.: Cellular Automata Modeling of Physical Systems. Cambridge University Press (2005)
