betaFeedback

WorksMathematics

Recurrent two-dimensional sequences over three and four letters simulating von Neumann constructions of finite ordinals

Abstract

We study three recurrent double sequences whose colored diagrams encode mirrored versions of the finite-ordinal construction. Two sequences use three letters and realize variants with two and three initial symbols. A four-letter sequence realizes the von Neumann construction from one initial symbol. For each sequence we describe its cells explicitly and identify the ordered nesting of its rectangles. For four letters, we distinguish ordinary and virtual boxes and prove their assembly rules. The proofs proceed by induction along antidiagonals. For the constructions with one and three initial symbols, we reduce the recurrence to finite sets of local configurations and verify those sets by computer. We derive formulas for the numbers of nested boxes, including arithmetic-term representations, and we prove that none of the three sequences is kk-automatic for any integer k≥2k \geq 2.

Introduction

A recurrent double sequence over a finite set AA is a function t:N2→At : \mathbb{N}^{2} \to A determined by its values on the two axes and by a rule t(x,y)=f(t(x−1,y),t(x−1,y−1),t(x,y−1))t(x,y) = f(t(x - 1,y),t(x - 1,y - 1),t(x,y - 1)) for x,y≥1x,y \ge1, where f:A3→Af : A^{3} \to A. Read along the anti-diagonals x+y=sx + y = s, such a sequence is the space-time diagram of a one-dimensional cellular automaton with a boundary [8, 21]. This paper studies two sequences over F3={0,1,2}\mathbb{F}_{3} = \{0,1,2\} whose pictures encode constructions from two and three initial symbols, and one sequence over four letters whose picture encodes the construction from one initial symbol, which is John von Neumann’s construction of the finite ordinals.

Previous work

Recurrent double sequences over finite sets can simulate Turing machines, so their global behaviour is undecidable in general: there is no algorithm that decides whether such a sequence is ultimately zero [9], an analogue of the undecidability of tiling the plane [19]. When the rule ff is linear over a finite field, the sequence is automatic in the sense of Cobham and of Allouche and Shallit [6, 1, 2, 3], and more generally Fp\mathbb{F}_p-affine recurrent sequences over Fq\mathbb{F}_q are pp-automatic [15]. Linear rules produce self-similar sequences generated by systems of substitutions, as shown for linear rules over finite fields [10], for homomorphisms of finite abelian pp-groups [12], for linear rules over the matrix ring M2(F2)M_2(\mathbb{F}_2) [13], and for the Pascal rule modulo 2 with Thue–Morse boundary values [14]. Some non-linear rules are self-similar as well, and [11] proves that a recurrent double sequence which agrees on a large enough initial square with a sequence produced by context-free substitutions agrees with it everywhere. Other sequences are not automatic at all, and [16] gives such a sequence with values in {0,1}\{0,1\}, whose rows are periodic with periods that grow with the row. Between these two ends lie sequences whose structure is recursive but not self-similar in the sense of substitutions. According to its abstract, the preprint [17] displays sequences over {0,1,2}\{0,1,2\} with constant boundary values that model binary counting, the successor function and the finite ordinals, and observes that three values suffice for these purposes.

The constructions that are simulated

From one initial symbol ∅\emptyset, define the words

s0=∅,sn=(sn−1⋯s0∣s0⋯sn−1)(n≥1).s_0=\emptyset,\qquad s_n=(s_{n-1}\cdots s_0\mid s_0\cdots s_{n-1})\quad(n\ge1).

For p∈{2,3}p\in\{2,3\}, start instead with pp distinct atoms si=∅is_i=\emptyset_i for 1≤i≤p1\le i\le p and put

sn=(sn−p⋯s1∣s1⋯sn−p)(n>p).s_n=(s_{n-p}\cdots s_1\mid s_1\cdots s_{n-p})\quad(n>p).

These are the mirrored ordinals with one, two and three initial symbols. Ignoring order, repetition and the bar in the first construction gives the von Neumann ordinals n={0,…,n−1}n=\{0,\ldots,n-1\} [20, 5].

The occurrence tree of a word has the word as its root. Each occurrence in the defining list gives a separate child, in the listed order, and each child is expanded by the same rule. Atoms are leaves. A sequence realises a construction if the ordered tree of its bordered rectangles inside each main rectangle is isomorphic to the occurrence tree of the corresponding word. Our examples are tt (three letters, two initial symbols), ρ\rho (three letters, three initial symbols), and τ\tau (four letters, one initial symbol).

Results

Each of the sequences tt, ρ\rho and τ\tau uses a finite alphabet AA, a rule f:A3→Af:A^3\to A and a constant boundary value c∈Ac\in A. The corresponding sequence α:N2→A\alpha:\mathbb{N}^2\to A is defined by

α(x,0)=α(0,y)=c(x,y≥0),α(x,y)=f(α(x−1,y),α(x−1,y−1),α(x,y−1))(x,y≥1).\begin{aligned} \alpha(x,0)&=\alpha(0,y)=c &&(x,y\ge0),\\ \alpha(x,y)&=f\bigl(\alpha(x-1,y),\alpha(x-1,y-1),\alpha(x,y-1)\bigr) &&(x,y\ge1). \end{aligned}

Theorem 11 describes t(x,y)t(x,y) from its coordinates independently of the cell recurrence. § 6 states the description after the necessary definitions. To prove the description, we check that has the prescribed boundary values and satisfies the recurrence at each cell. Induction along the anti-diagonals then gives equality with tt, because each cell depends only on the two preceding anti-diagonals. § 7 divides the recurrence check into finitely many cases, each requiring a single evaluation of ff.

In coordinates, Theorem 20 lists the vertices of all white-bordered rectangles, main and nested, the position of the switching square inside each rectangle, and the structure of the transition zones between consecutive rectangles. Its Corollary 21 identifies the ordered box trees with the occurrence trees of the words (sn)(s_n).

The rule ff itself is the subject of Theorem 25. Only 23 of the 27 triples of F33\mathbb{F}_3^3 occur as arguments of ff in the computation of tt, so ff can be changed on the other 4 triples without changing tt. This gives 81 functions, and 27 symmetric ones, that generate the same sequence, and no smaller set of triples determines tt.

The finite claims that were also verified by computer are stated in § 13 together with the ranges verified. The proofs in § 7–§ 9 do not depend on these computations.

§ 10 gives the construction with three initial symbols. Its polynomial rule and its description differ from those of tt, but the proof follows the same induction along anti-diagonals. Lemma 27 reduces its local recurrence check to a finite catalogue, which is verified by computer.

§ 11 treats the construction with one initial symbol. Theorem 38 gives a sequence over four letters whose white-bordered rectangles realise this construction, and describes all its cells. Theorem 30 excludes the prescribed arrangement over three letters within the stated finite windows, for symmetric rules with constant boundary values and the stated density and nesting conditions.

The boxes of the four-letter sequence are built recursively. A box of level n≥2n \ge2 contains two ordinary boxes of level n−1n-1 and, between them, a virtual box of the same level whose walls are dashed. At level 1, the middle region is the entirely white virtual box of level 0 (Proposition 39). Unfolding the recursion gives the children Sn−1,…,S0,S0,…,Sn−1S_{n-1},\ldots,S_0,S_0,\ldots,S_{n-1} of a box of level nn. Along the diagonal, the main boxes begin with two boxes of level 1. For each j≥0j \ge0, the next group consists of the children of a virtual box VjV_j of level 3j+33j+3, followed by ordinary boxes of levels 3j+33j+3 and 3j+43j+4 (Proposition 40).

As for tt, the proof of Theorem 38 proceeds by induction along the anti-diagonals. The recursive structure reduces the recurrence check to the local configurations in a bounded region, where they were verified by computer.

In all three constructions the nesting gives short recurrences for the number of boxes, with the closed expressions of Corollaries 22, 29 and 42. For three initial symbols, Corollary 29 gives both a binomial sum and an arithmetic term obtained by extracting a coefficient from the generating function.

Theorem 47 shows that none of tt, ρ\rho and τ\tau is kk-automatic for any k≥2k \ge2. For each sequence, we choose a letter on the line y=x+1y=x+1 whose gaps are unbounded but have length at most a constant times the logarithm of their starting position, for sufficiently large starting positions. An automatic sequence cannot have this gap behaviour.

Three letters and two initial symbols

Throughout, t:N2→F3t:\mathbb{N}^{2}\to\mathbb{F}_{3} is the recurrent double sequence with t(x,0)=t(0,y)=1t(x,0)=t(0,y)=1 for all x,y≥0x,y\geq0 and

t(x,y)=f(t(x−1,y),t(x−1,y−1),t(x,y−1)),t(x,y)=f\bigl(t(x-1,y),t(x-1,y-1),t(x,y-1)\bigr),
f(x,y,z)=x2y2+y2z2+y2+xz+2y+2in F3.f(x,y,z)=x^{2}y^{2}+y^{2}z^{2}+y^{2}+xz+2y+2\quad\text{in }\mathbb{F}_{3}.

We call the value 0 white, 1 red and 2 blue. Figure 1 shows the corner and the first five main rectangles, with a monochrome view of their borders beside it. Figure 2 shows the fifth rectangle in more detail.

The cells of the three-letter sequence and a monochrome view of their borders

Figure 1. The cells (x,y)(x,y) with 0≤x,y<1280\leq x,y<128 of the three-letter sequence tt. Left: white 0, red 1 and blue 2. Right: the same cells, with red and blue drawn in black. The main rectangles S1,…,S5S_{1},\ldots,S_{5} are shown completely. The opening of S6S_{6} enters at the bottom right. The monochrome view displays the white borders and their nesting.

Figure 2. Left: the cells (x,y)(x,y) with 50≤x,y<13250 \le x,y < 132, where white is 0, red is 1 and blue is 2. The main rectangle S5S_5 occupies the middle, and the squares at its two ends are the transition squares T4T_4 and T5T_5 of Proposition 24. Right: the same rectangle in the rotated coordinates of § 3, with the anti-diagonal index s=x+ys=x+y grouped into successive pairs from left to right and the position d=y−xd=y-x increasing from top to bottom. Each displayed column pp interleaves the two successive anti-diagonals s=2ps=2p and s=2p+1s=2p+1, using the first at even dd and the second at odd dd. Reading down a column therefore visits the two anti-diagonals alternately, tracing a staircase in the original (x,y)(x,y) grid. The long white lines are the walls of S5S_5, the short vertical white lines are opening and closing edges, and the diamond of red cells in the middle is the switching square of Theorem 20(iv).

The rule and the rotated coordinates

For a cell c=(x,y)c=(x,y) with x,y≥1x,y\geq1 we write

cx=(x−1,y),cy=(x−1,y−1),cz=(x,y−1)c_{x}=(x-1,y),\qquad c_{y}=(x-1,y-1),\qquad c_{z}=(x,y-1)

for its three parents, so that t(c)=f(t(cx),t(cy),t(cz))t(c)=f\bigl(t(c_{x}),t(c_{y}),t(c_{z})\bigr).

Lemma 1. For x,y,z∈F3x,y,z\in\mathbb{F}_{3},

f(x,y,z)={(x−z)2−yif y≠0,xz+2if y=0.f(x,y,z)= \begin{cases} (x-z)^{2}-y & \text{if }y\ne0,\\ xz+2 & \text{if }y=0. \end{cases}

Explicitly, f(x,1,z)f(x,1,z) is 2 if x=zx=z and 0 otherwise, f(x,2,z)f(x,2,z) is 1 if x=zx=z and 2 otherwise, and f(x,0,z)f(x,0,z) is 2 if xz=0xz=0, 0 if x=z≠0x=z\ne0, and 1 if {x,z}={1,2}\{x,z\}=\{1,2\}.

Proof. If y≠0y \ne0 then y2=1y^2 = 1, so f=x2+z2+xz+2y+3=(x−z)2+3xz+2y+3=(x−z)2−yf = x^2 + z^2 + xz + 2y + 3 = (x-z)^2 + 3xz + 2y + 3 = (x-z)^2-y in F3\mathbb{F}_3. If y=0y = 0 then f=xz+2f = xz + 2. □\square

Since f(x,y,z)=f(z,y,x)f(x,y,z) = f(z,y,x), induction on x+yx+y shows that t(x,y)=t(y,x)t(x,y) = t(y,x) for all x,yx,y.

Rotated coordinates

For a cell (x,y)(x,y) put s=x+ys = x+y and d=y−xd = y-x, and write [s,d][s,d] for the cell (s−d2,s+d2)\left(\frac{s-d}{2},\frac{s+d}{2}\right). A pair (s,d)(s,d) is a cell if and only if ∣d∣≤s|d| \le s and s≡d(mod2)s \equiv d \pmod{2}. We call the set of cells with a fixed ss the row ss, since the induction runs over ss, and we think of ss as time and of dd as position. On odd rows all positions are odd, and on even rows all positions are even. For c=[s,d]c = [s,d] with ∣d∣≤s−2|d| \le s-2,

References

  1. [1]J.-P. Allouche, J. Shallit, Automatic Sequences. Theory, Applications, Generalizations, Cambridge University Press, Cambridge, 2003.
  2. [2]J.-P. Allouche, F. von Haeseler, H.-O. Peitgen, G. Skordev, Linear cellular automata, finite automata and Pascal’s triangle, Discrete Appl. Math. 66 (1996), no. 1, 1–22. doi:10.1016/0166-218X(94)00132-WDOI
  3. [3]J.-P. Allouche, F. von Haeseler, H.-O. Peitgen, A. Petersen, G. Skordev, Automaticity of double sequences generated by one-dimensional linear cellular automata, Theoret. Comput. Sci. 188 (1997), no. 1–2, 195–209. doi:10.1016/S0304-3975(96)00298-8DOI
  4. [4]G. Cantor, Ueber unendliche, lineare Punktmannichfaltigkeiten. 5. Fortsetzung, Math. Ann. 21 (1883), no. 4, 545–591. doi:10.1007/BF01446819
  5. [5]G. Cantor, Beiträge zur Begründung der transfiniten Mengenlehre (Zweiter Artikel), Math. Ann. 49 (1897), no. 2, 207–246. doi:10.1007/BF01444205
  6. [6]A. Cobham, Uniform tag sequences, Math. Systems Theory 6 (1972), no. 1–2, 164–192. doi:10.1007/BF01706087DOI
  7. [7]J. E. Hutchinson, Fractals and self-similarity, Indiana Univ. Math. J. 30 (1981), no. 5, 713–747. doi:10.1512/iumj.1981.30.30055DOI
  8. [8]J. Kari, Theory of cellular automata: a survey, Theoret. Comput. Sci. 334 (2005), no. 1–3, 3–33. doi:10.1016/j.tcs.2004.11.021DOI
  9. [9]M. Prunescu, An undecidable property of recurrent double sequences, Notre Dame J. Formal Logic 49 (2008), no. 2, 143–151. doi:10.1215/00294527-2008-004DOI
  10. [10]M. Prunescu, Self-similar carpets over finite fields, European J. Combin. 30 (2009), no. 4, 866–878. doi:10.1016/j.ejc.2008.08.002DOI
  11. [11]M. Prunescu, Recurrent double sequences that can be produced by context-free substitutions, Fractals 18 (2010), no. 1, 65–73. doi:10.1142/S0218348X10004701DOI
  12. [12]M. Prunescu, Recurrent two-dimensional sequences generated by homomorphisms of finite abelian p-groups with periodic initial conditions, Fractals 19 (2011), no. 4, 431–442. doi:10.1142/S0218348X1100552X
  13. [13]M. Prunescu, Linear recurrent double sequences with constant border in M₂(F₂) are classified according to their geometric content, Symmetry 3 (2011), no. 3, 402–442. doi:10.3390/sym3030402
  14. [14]M. Prunescu, The Thue–Morse–Pascal double sequence and similar structures, C. R. Math. Acad. Sci. Paris 349 (2011), no. 17–18, 939–942. doi:10.1016/j.crma.2011.07.022
  15. [15]M. Prunescu, Fₚ-affine recurrent n-dimensional sequences over Fq are p-automatic, European J. Combin. 34 (2013), no. 2, 260–284. doi:10.1016/j.ejc.2012.07.004
  16. [16]M. Prunescu, A two-valued recurrent double sequence that is not automatic, Theoret. Comput. Sci. 528 (2014), 32–39. doi:10.1016/j.tcs.2014.02.002
  17. [17]M. Prunescu, Recurrent 2-dimensional sequences can encode counting, preprint, 2015, ResearchGate publication no. 281557015.
  18. [18]M. Prunescu, L. Sauras-Altuzarra, On the representation of C-recursive integer sequences by arithmetic terms, Journal of Difference Equations and their Applications, 31(9) (2025), 1263 – 1285.
  19. [19]R. M. Robinson, Undecidability and nonperiodicity for tilings of the plane, Invent. Math. 12 (1971), 177–209. doi:10.1007/BF01418780
  20. [20]J. von Neumann, Zur Einführung der transfiniten Zahlen, Acta Litt. Sci. Szeged 1 (1923), 199–208.
  21. [21]S. J. Willson, Cellular automata can generate fractals, Discrete Appl. Math. 8 (1984), no. 1, 91–99. doi:10.1016/0166-218X(84)90082-9DOI

Paper details

vlnc:W_m98yrkef
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.

  • Mathematics

AI assistants

View statement
Looking for related papers…
Contents