Introduction
A recurrent double sequence over a finite set A A A is a function t : N 2 → A t : \mathbb{N}^{2} \to A t : N 2 → 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)) t ( x , y ) = f ( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 )) for x , y ≥ 1 x,y \ge1 x , y ≥ 1 , where f : A 3 → A f : A^{3} \to A f : A 3 → A . Read along the anti-diagonals x + y = s x + y = s x + 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 F 3 = { 0 , 1 , 2 } \mathbb{F}_{3} = \{0,1,2\} 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 f f f 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 F p \mathbb{F}_p F p -affine recurrent sequences over F q \mathbb{F}_q F q are p p p -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 p p p -groups [12 ] , for linear rules over the matrix ring M 2 ( F 2 ) M_2(\mathbb{F}_2) M 2 ( 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\} { 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\} { 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
s 0 = ∅ , s n = ( s n − 1 ⋯ s 0 ∣ s 0 ⋯ s n − 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). s 0 = ∅ , s n = ( s n − 1 ⋯ s 0 ∣ s 0 ⋯ s n − 1 ) ( n ≥ 1 ) .
For p ∈ { 2 , 3 } p\in\{2,3\} p ∈ { 2 , 3 } , start instead with p p p distinct atoms s i = ∅ i s_i=\emptyset_i s i = ∅ i for 1 ≤ i ≤ p 1\le i\le p 1 ≤ i ≤ p and put
s n = ( s n − p ⋯ s 1 ∣ s 1 ⋯ s n − p ) ( n > p ) . s_n=(s_{n-p}\cdots s_1\mid s_1\cdots s_{n-p})\quad(n>p). s n = ( s n − p ⋯ s 1 ∣ s 1 ⋯ s n − p ) ( 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\} n = { 0 , … , 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 t t t (three letters, two initial symbols), ρ \rho ρ (three letters, three initial symbols), and τ \tau τ (four letters, one initial symbol).
Results
Each of the sequences t t t , ρ \rho ρ and τ \tau τ uses a finite alphabet A A A , a rule f : A 3 → A f:A^3\to A f : A 3 → A and a constant boundary value c ∈ A c\in A c ∈ A . The corresponding sequence α : N 2 → A \alpha:\mathbb{N}^2\to A α : N 2 → 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} α ( x , 0 ) α ( x , y ) = α ( 0 , y ) = c = f ( α ( x − 1 , y ) , α ( x − 1 , y − 1 ) , α ( x , y − 1 ) ) ( x , y ≥ 0 ) , ( x , y ≥ 1 ) .
Theorem 11 describes t ( x , y ) 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 t t t , 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 f f f .
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 ( s n ) (s_n) ( s n ) .
The rule f f f itself is the subject of Theorem 25 . Only 23 of the 27 triples of F 3 3 \mathbb{F}_3^3 F 3 3 occur as arguments of f f f in the computation of t t t , so f f f can be changed on the other 4 triples without changing t t t . This gives 81 functions, and 27 symmetric ones, that generate the same sequence, and no smaller set of triples determines t t t .
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 t t t , 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 ≥ 2 n \ge2 n ≥ 2 contains two ordinary boxes of level n − 1 n-1 n − 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 S n − 1 , … , S 0 , S 0 , … , S n − 1 S_{n-1},\ldots,S_0,S_0,\ldots,S_{n-1} S n − 1 , … , S 0 , S 0 , … , S n − 1 of a box of level n n n . Along the diagonal, the main boxes begin with two boxes of level 1. For each j ≥ 0 j \ge0 j ≥ 0 , the next group consists of the children of a virtual box V j V_j V j of level 3 j + 3 3j+3 3 j + 3 , followed by ordinary boxes of levels 3 j + 3 3j+3 3 j + 3 and 3 j + 4 3j+4 3 j + 4 (Proposition 40 ).
As for t t t , 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 t t t , ρ \rho ρ and τ \tau τ is k k k -automatic for any k ≥ 2 k \ge2 k ≥ 2 . For each sequence, we choose a letter on the line y = x + 1 y=x+1 y = 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 : N 2 → F 3 t:\mathbb{N}^{2}\to\mathbb{F}_{3} t : N 2 → F 3 is the recurrent double sequence with t ( x , 0 ) = t ( 0 , y ) = 1 t(x,0)=t(0,y)=1 t ( x , 0 ) = t ( 0 , y ) = 1 for all x , y ≥ 0 x,y\geq0 x , y ≥ 0 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), t ( x , y ) = f ( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 ) ) ,
f ( x , y , z ) = x 2 y 2 + y 2 z 2 + y 2 + x z + 2 y + 2 in F 3 . f(x,y,z)=x^{2}y^{2}+y^{2}z^{2}+y^{2}+xz+2y+2\quad\text{in }\mathbb{F}_{3}. f ( x , y , z ) = x 2 y 2 + y 2 z 2 + y 2 + x z + 2 y + 2 in 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.
Figure 1. The cells ( x , y ) (x,y) ( x , y ) with 0 ≤ x , y < 128 0\leq x,y<128 0 ≤ x , y < 128 of the three-letter sequence t t t . Left: white 0, red 1 and blue 2. Right: the same cells, with red and blue drawn in black. The main rectangles S 1 , … , S 5 S_{1},\ldots,S_{5} S 1 , … , S 5 are shown completely. The opening of S 6 S_{6} S 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) ( x , y ) with 50 ≤ x , y < 132 50 \le x,y < 132 50 ≤ x , y < 132 , where white is 0, red is 1 and blue is 2. The main rectangle S 5 S_5 S 5 occupies the middle, and the squares at its two ends are the transition squares T 4 T_4 T 4 and T 5 T_5 T 5 of Proposition 24 . Right: the same rectangle in the rotated coordinates of § 3 , with the anti-diagonal index s = x + y s=x+y s = x + y grouped into successive pairs from left to right and the position d = y − x d=y-x d = y − x increasing from top to bottom. Each displayed column p p p interleaves the two successive anti-diagonals s = 2 p s=2p s = 2 p and s = 2 p + 1 s=2p+1 s = 2 p + 1 , using the first at even d d d and the second at odd d d d . Reading down a column therefore visits the two anti-diagonals alternately, tracing a staircase in the original ( x , y ) (x,y) ( x , y ) grid. The long white lines are the walls of S 5 S_5 S 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) c = ( x , y ) with x , y ≥ 1 x,y\geq1 x , y ≥ 1 we write
c x = ( x − 1 , y ) , c y = ( x − 1 , y − 1 ) , c z = ( x , y − 1 ) c_{x}=(x-1,y),\qquad c_{y}=(x-1,y-1),\qquad c_{z}=(x,y-1) c x = ( x − 1 , y ) , c y = ( x − 1 , y − 1 ) , c z = ( x , y − 1 )
for its three parents, so that t ( c ) = f ( t ( c x ) , t ( c y ) , t ( c z ) ) t(c)=f\bigl(t(c_{x}),t(c_{y}),t(c_{z})\bigr) t ( c ) = f ( t ( c x ) , t ( c y ) , t ( c z ) ) .
Lemma 1. For x , y , z ∈ F 3 x,y,z\in\mathbb{F}_{3} x , y , z ∈ F 3 ,
f ( x , y , z ) = { ( x − z ) 2 − y if y ≠ 0 , x z + 2 if y = 0. f(x,y,z)=
\begin{cases}
(x-z)^{2}-y & \text{if }y\ne0,\\
xz+2 & \text{if }y=0.
\end{cases} f ( x , y , z ) = { ( x − z ) 2 − y x z + 2 if y = 0 , if y = 0. Explicitly, f ( x , 1 , z ) f(x,1,z) f ( x , 1 , z ) is 2 if x = z x=z x = z and 0 otherwise, f ( x , 2 , z ) f(x,2,z) f ( x , 2 , z ) is 1 if x = z x=z x = z and 2 otherwise, and f ( x , 0 , z ) f(x,0,z) f ( x , 0 , z ) is 2 if x z = 0 xz=0 x z = 0 , 0 if x = z ≠ 0 x=z\ne0 x = z = 0 , and 1 if { x , z } = { 1 , 2 } \{x,z\}=\{1,2\} { x , z } = { 1 , 2 } .
Proof. If y ≠ 0 y \ne0 y = 0 then y 2 = 1 y^2 = 1 y 2 = 1 , so f = x 2 + z 2 + x z + 2 y + 3 = ( x − z ) 2 + 3 x z + 2 y + 3 = ( x − z ) 2 − y f = x^2 + z^2 + xz + 2y + 3 = (x-z)^2 + 3xz + 2y + 3 = (x-z)^2-y f = x 2 + z 2 + x z + 2 y + 3 = ( x − z ) 2 + 3 x z + 2 y + 3 = ( x − z ) 2 − y in F 3 \mathbb{F}_3 F 3 . If y = 0 y = 0 y = 0 then f = x z + 2 f = xz + 2 f = x z + 2 . □ \square □
Since f ( x , y , z ) = f ( z , y , x ) f(x,y,z) = f(z,y,x) f ( x , y , z ) = f ( z , y , x ) , induction on x + y x+y x + y shows that t ( x , y ) = t ( y , x ) t(x,y) = t(y,x) t ( x , y ) = t ( y , x ) for all x , y x,y x , y .
Rotated coordinates
For a cell ( x , y ) (x,y) ( x , y ) put s = x + y s = x+y s = x + y and d = y − x d = y-x d = y − x , and write [ s , d ] [s,d] [ s , d ] for the cell ( s − d 2 , s + d 2 ) \left(\frac{s-d}{2},\frac{s+d}{2}\right) ( 2 s − d , 2 s + d ) . A pair ( s , d ) (s,d) ( s , d ) is a cell if and only if ∣ d ∣ ≤ s |d| \le s ∣ d ∣ ≤ s and s ≡ d ( m o d 2 ) s \equiv d \pmod{2} s ≡ d ( mod 2 ) . We call the set of cells with a fixed s s s the row s s s , since the induction runs over s s s , and we think of s s s as time and of d d d as position. On odd rows all positions are odd, and on even rows all positions are even. For c = [ s , d ] c = [s,d] c = [ s , d ] with ∣ d ∣ ≤ s − 2 |d| \le s-2 ∣ d ∣ ≤ s − 2 ,
c x = [ s − 1 , d + 1 ] , c y = [ s − 2 , d ] , c z = [ s − 1 , d − 1 ] , c_x = [s-1,d+1], \qquad c_y = [s-2,d], \qquad c_z = [s-1,d-1], c x = [ s − 1 , d + 1 ] , c y = [ s − 2 , d ] , c z = [ s − 1 , d − 1 ] ,
and the cells with ∣ d ∣ = s |d| = s ∣ d ∣ = s are the cells on the axes, with value 1 1 1 . We write T [ s , d ] = t ( s − d 2 , s + d 2 ) T[s,d] = t\left(\frac{s-d}{2},\frac{s+d}{2}\right) T [ s , d ] = t ( 2 s − d , 2 s + d ) . The main diagonal x = y x=y x = y is the line d = 0 d=0 d = 0 , and the symmetry ( x , y ) ↦ ( y , x ) (x,y) \mapsto(y,x) ( x , y ) ↦ ( y , x ) is d ↦ − d d \mapsto-d d ↦ − d .
Lemma 2 (uniqueness). Let D D D be a function on cells with D [ s , ± s ] = 1 D[s,\pm s] = 1 D [ s , ± s ] = 1 for all s s s and D ( c ) = f ( D ( c x ) , D ( c y ) , D ( c z ) ) D(c) = f(D(c_x),D(c_y),D(c_z)) D ( c ) = f ( D ( c x ) , D ( c y ) , D ( c z )) for every cell c = [ s , d ] c = [s,d] c = [ s , d ] with ∣ d ∣ ≤ s − 2 |d| \le s-2 ∣ d ∣ ≤ s − 2 . Then D = T D = T D = T .
Proof. Both D D D and T T T satisfy the same recurrence with the same boundary values, so they agree on row s s s if they agree on rows s − 1 s-1 s − 1 and s − 2 s-2 s − 2 . Induction on s s s . □ \square □
We say that D D D is correct at c c c if D ( c ) = f ( D ( c x ) , D ( c y ) , D ( c z ) ) D(c) = f(D(c_x),D(c_y),D(c_z)) D ( c ) = f ( D ( c x ) , D ( c y ) , D ( c z )) . If D D D is symmetric, that is D [ s , − d ] = D [ s , d ] D[s,-d] = D[s,d] D [ s , − d ] = D [ s , d ] , then D D D is correct at [ s , d ] [s,d] [ s , d ] if and only if it is correct at [ s , − d ] [s,-d] [ s , − d ] , because f f f is symmetric in x x x and z z z . On the diagonal d = 0 d=0 d = 0 the parents c x c_x c x and c z c_z c z are mirror images, so D ( c x ) = D ( c z ) D(c_x) = D(c_z) D ( c x ) = D ( c z ) for a symmetric D D D .
The three lattices
Definition 3. For ε ∈ { 0 , 2 } \varepsilon\in\{0,2\} ε ∈ { 0 , 2 } and a cell [ s , d ] [s,d] [ s , d ] let
Λ ε [ s , d ] = { 1 if s is odd and s ≡ ∣ d ∣ + ε ( m o d 4 ) , 2 otherwise , \Lambda_\varepsilon[s,d] =
\begin{cases}
1 & \text{if } s \text{ is odd and } s \equiv|d|+\varepsilon\pmod{4},\\
2 & \text{otherwise},
\end{cases} Λ ε [ s , d ] = { 1 2 if s is odd and s ≡ ∣ d ∣ + ε ( mod 4 ) , otherwise ,
Γ [ s , d ] = { 1 if s is even and s ≡ d ( m o d 4 ) , 2 otherwise . \Gamma[s,d] =
\begin{cases}
1 & \text{if } s \text{ is even and } s \equiv d \pmod{4},\\
2 & \text{otherwise}.
\end{cases} Γ [ s , d ] = { 1 2 if s is even and s ≡ d ( mod 4 ) , otherwise .
In the coordinates ( x , y ) (x,y) ( x , y ) , Γ \Gamma Γ is red on the cells with x x x and y y y both even and blue elsewhere. We call Γ \Gamma Γ the central lattice . Λ 2 \Lambda_2 Λ 2 is red on the cells with x x x even and y y y odd in the region y < x y<x y < x and on the cells with x x x odd and y y y even in the region y > x y>x y > x , because s − ∣ d ∣ = 2 y s-|d|=2y s − ∣ d ∣ = 2 y for y < x y<x y < x and s − ∣ d ∣ = 2 x s-|d|=2x s − ∣ d ∣ = 2 x for $y>x. Λ 0 \Lambda_0 Λ 0 is red on the complementary cells of the odd rows. We call Λ 2 \Lambda_2 Λ 2 the normal environment and Λ 0 \Lambda_0 Λ 0 the reversed environment . On even rows both are blue, and on odd rows Λ 0 \Lambda_0 Λ 0 is red where Λ 2 \Lambda_2 Λ 2 is blue and conversely.
Lemma 4. Let c = [ s , d ] c = [s,d] c = [ s , d ] and let Π \Pi Π be one of Γ , Λ 0 , Λ 2 \Gamma,\Lambda_0,\Lambda_2 Γ , Λ 0 , Λ 2 . Put v = f ( Π ( c x ) , Π ( c y ) , Π ( c z ) ) v = f(\Pi(c_x),\Pi(c_y),\Pi(c_z)) v = f ( Π ( c x ) , Π ( c y ) , Π ( c z )) .
(a) If Π = Γ \Pi= \Gamma Π = Γ then v = Γ ( c ) v = \Gamma(c) v = Γ ( c ) .
(b) If Π = Λ ε \Pi= \Lambda_{\varepsilon} Π = Λ ε and d ≠ 0 d \ne0 d = 0 then v = Λ ε ( c ) v = \Lambda_{\varepsilon}(c) v = Λ ε ( c ) .
(c) If Π = Λ ε \Pi= \Lambda_{\varepsilon} Π = Λ ε and d = 0 d = 0 d = 0 then v = 1 v = 1 v = 1 , while Λ ε ( c ) = 2 \Lambda_{\varepsilon}(c) = 2 Λ ε ( c ) = 2 .
Proof. (a) Let s s s be even. Then c x c_x c x and c z c_z c z lie on an odd row, so both are blue, and f ( 2 , y , 2 ) = 1 f(2,y,2)=1 f ( 2 , y , 2 ) = 1 if and only if y = 2 y=2 y = 2 by Lemma 1 . Now Γ ( c y ) = 2 \Gamma(c_y)=2 Γ ( c y ) = 2 if and only if s − 2 ≢ d ( m o d 4 ) s-2 \not\equiv d \pmod{4} s − 2 ≡ d ( mod 4 ) , which, as s − d s-d s − d is even, is equivalent to s ≡ d ( m o d 4 ) s \equiv d \pmod{4} s ≡ d ( mod 4 ) , that is to Γ ( c ) = 1 \Gamma(c)=1 Γ ( c ) = 1 . Let s s s be odd. Exactly one of s − 1 − ( d + 1 ) s-1-(d+1) s − 1 − ( d + 1 ) and s − 1 − ( d − 1 ) s-1-(d-1) s − 1 − ( d − 1 ) is divisible by 4, so one of c x , c z c_x,c_z c x , c z is red and the other blue, c y c_y c y is blue because s − 2 s-2 s − 2 is odd, and f ( x , 2 , z ) = 2 f(x,2,z)=2 f ( x , 2 , z ) = 2 for x ≠ z x \ne z x = z , which agrees with Γ ( c ) = 2 \Gamma(c)=2 Γ ( c ) = 2 .
(b) Let s s s be odd. Then c x c_x c x and c z c_z c z are blue and f ( 2 , y , 2 ) = 1 f(2,y,2)=1 f ( 2 , y , 2 ) = 1 if and only if y = 2 y=2 y = 2 , that is if and only if s − 2 ≢ ∣ d ∣ + ε ( m o d 4 ) s-2 \not\equiv|d|+\varepsilon\pmod{4} s − 2 ≡ ∣ d ∣ + ε ( mod 4 ) , which is equivalent to s ≡ ∣ d ∣ + ε s \equiv|d|+\varepsilon s ≡ ∣ d ∣ + ε , that is to Λ ε ( c ) = 1 \Lambda_{\varepsilon}(c)=1 Λ ε ( c ) = 1 . Let s s s be even and d ≠ 0 d \ne0 d = 0 . Then ∣ d ∣ ≥ 2 |d| \ge2 ∣ d ∣ ≥ 2 , so ∣ d + 1 ∣ |d+1| ∣ d + 1∣ and ∣ d − 1 ∣ |d-1| ∣ d − 1∣ are ∣ d ∣ + 1 |d|+1 ∣ d ∣ + 1 and ∣ d ∣ − 1 |d|-1 ∣ d ∣ − 1 in some order, one of the two odd-row parents is red and the other blue, c y c_y c y is blue, and f ( x , 2 , z ) = 2 f(x,2,z)=2 f ( x , 2 , z ) = 2 for x ≠ z x \ne z x = z .
(c) If d = 0 d=0 d = 0 then c x c_x c x and c z c_z c z have the same value and c y c_y c y is blue, so v = 1 v=1 v = 1 .
Part (c) explains why the diagonal is never covered by an environment: at d = 0 d=0 d = 0 the two lattices of the regions y < x y<x y < x and y > x y>x y > x meet and the recurrence produces a red cell instead of the blue cell of the lattice.
Boxes
For n ≥ 1 n \ge1 n ≥ 1 put
w n = 2 n − 1 , L n = 2 n + 2 − 6. w_n = 2n - 1, \qquad L_n = 2^{n+2} - 6. w n = 2 n − 1 , L n = 2 n + 2 − 6.
Definition 5. For n ≥ 1 n \ge1 n ≥ 1 and odd e ≥ w n e \ge w_n e ≥ w n , the box of level n n n opening at time e e e is the set of cells
B ( n , e ) = { [ s , d ] : e ≤ s ≤ e + L n , ∣ d ∣ ≤ w n } . B(n,e) = \{[s,d] : e \le s \le e + L_n,\ |d| \le w_n\}. B ( n , e ) = {[ s , d ] : e ≤ s ≤ e + L n , ∣ d ∣ ≤ w n } . Its border consists of the two walls ∣ d ∣ = w n |d| = w_n ∣ d ∣ = w n , the opening edge s = e s = e s = e and the closing edge s = e + L n s = e + L_n s = e + L n . The other cells form its interior . Its midpoint is μ = e + L n / 2 = e + 2 n + 1 − 3 \mu= e + L_n/2 = e + 2^{n+1} - 3 μ = e + L n /2 = e + 2 n + 1 − 3 , its half-width is w n w_n w n , and its vertex is A = ( u , v ) = ( e − w n 2 , e + w n 2 ) A = (u,v) = \left(\frac{e-w_n}{2},\frac{e+w_n}{2}\right) A = ( u , v ) = ( 2 e − w n , 2 e + w n ) .
In the coordinates ( x , y ) (x,y) ( x , y ) , B ( n , e ) B(n,e) B ( n , e ) is the closed rectangle with vertices ( u , v ) (u,v) ( u , v ) , ( u + k , v + k ) (u+k,v+k) ( u + k , v + k ) , ( v + k , u + k ) (v+k,u+k) ( v + k , u + k ) and ( v , u ) (v,u) ( v , u ) , where k = L n / 2 = 2 n + 1 − 3 k = L_n/2 = 2^{n+1} - 3 k = L n /2 = 2 n + 1 − 3 . Its two edges parallel to the diagonal have k + 1 = 2 n + 1 − 2 k + 1 = 2^{n+1} - 2 k + 1 = 2 n + 1 − 2 cells each and its two other edges have v − u + 1 = 2 n v-u+1 = 2n v − u + 1 = 2 n cells each.
Definition 6 (children). A box of level 1 or 2 has no children. For n ≥ 3 n \ge3 n ≥ 3 the children of B ( n , e ) B(n,e) B ( n , e ) are the 2 ( n − 2 ) 2(n-2) 2 ( n − 2 ) boxes
B ( k , e + p n , k ) and B ( k , e + q n , k ) , 1 ≤ k ≤ n − 2 , B(k,e+p_{n,k}) \quad\text{and} \quad B(k,e+q_{n,k}), \qquad1 \le k \le n-2, B ( k , e + p n , k ) and B ( k , e + q n , k ) , 1 ≤ k ≤ n − 2 , where
p n , k = 2 n + 1 − 2 k + 3 − 2 ( n − k ) + 8 , q n , k = L n − L k − p n , k = 2 n + 1 + 2 k + 2 + 2 ( n − k ) − 8. p_{n,k} = 2^{n+1} - 2^{k+3} - 2(n-k) + 8,\qquad q_{n,k} = L_n - L_k - p_{n,k} = 2^{n+1} + 2^{k+2} + 2(n-k) - 8. p n , k = 2 n + 1 − 2 k + 3 − 2 ( n − k ) + 8 , q n , k = L n − L k − p n , k = 2 n + 1 + 2 k + 2 + 2 ( n − k ) − 8. In time order the children are the boxes of levels n − 2 , n − 3 , … , 1 n-2,n-3,\ldots,1 n − 2 , n − 3 , … , 1 , which form the first half , followed by the boxes of levels 1 , 2 , … , n − 2 1,2,\ldots,n-2 1 , 2 , … , n − 2 , which form the second half .
Definition 7. The main boxes are S n = B ( n , e n ) S_n = B(n,e_n) S n = B ( n , e n ) with e n = 2 n + 2 − 2 n + 3 e_n = 2^{n+2} - 2n + 3 e n = 2 n + 2 − 2 n + 3 for n ≥ 1 n \ge1 n ≥ 1 . The family B \mathcal{B} B consists of the main boxes and of all boxes obtained from them by taking children repeatedly.
Lemma 8. Let B ( n , e ) ∈ B B(n,e) \in\mathcal{B} B ( n , e ) ∈ B , w = w n w = w_n w = w n , L = L n L = L_n L = L n and μ = e + L / 2 \mu= e + L/2 μ = e + L /2 .
(a) e ≡ w ( m o d 4 ) e \equiv w \pmod{4} e ≡ w ( mod 4 ) . Consequently e e e is odd, e + L ≡ w + 2 ( m o d 4 ) e + L \equiv w + 2 \pmod{4} e + L ≡ w + 2 ( mod 4 ) and μ ≡ w + 1 ( m o d 4 ) \mu\equiv w + 1 \pmod{4} μ ≡ w + 1 ( mod 4 ) .
(b) Let n ≥ 3 n \ge3 n ≥ 3 . The first child opens at e + 4 e + 4 e + 4 . Each child except the first copy of S 1 S_1 S 1 and the last child closes 4 rows before the next child opens. The first copy of S 1 S_1 S 1 closes at c g a p = μ − 2 n − 1 c_{\mathrm{gap}} = \mu- 2n - 1 c gap = μ − 2 n − 1 , and the second copy opens at e g a p = μ + 2 n + 1 e_{\mathrm{gap}} = \mu+ 2n + 1 e gap = μ + 2 n + 1 . These times bound the switching gap. The last child closes at e + L − 4 e + L - 4 e + L − 4 . The main box S n S_n S n closes at e n + 1 − 4 e_{n+1} - 4 e n + 1 − 4 .
(c) The children lie in the region e + 4 ≤ s ≤ e + L − 4 e + 4 \le s \le e + L - 4 e + 4 ≤ s ≤ e + L − 4 , ∣ d ∣ ≤ w − 4 |d| \le w - 4 ∣ d ∣ ≤ w − 4 . The first half lies in s ≤ μ − 2 n − 1 s \le\mu- 2n - 1 s ≤ μ − 2 n − 1 and the second half in s ≥ μ + 2 n + 1 s \ge\mu+ 2n + 1 s ≥ μ + 2 n + 1 . Two boxes of B \mathcal{B} B are either nested or disjoint, and two disjoint boxes are separated by at least 4 rows.
(d) Every cell of every box of B \mathcal{B} B satisfies ∣ d ∣ ≤ s − 8 |d| \le s - 8 ∣ d ∣ ≤ s − 8 .
Proof. (a) For a main box, e n = 2 n + 2 − 2 n + 3 ≡ 3 − 2 n ≡ 2 n − 1 ( m o d 4 ) e_n = 2^{n+2} - 2n + 3 \equiv3 - 2n \equiv2n - 1 \pmod{4} e n = 2 n + 2 − 2 n + 3 ≡ 3 − 2 n ≡ 2 n − 1 ( mod 4 ) . For n ≥ 3 n \ge3 n ≥ 3 and 1 ≤ k ≤ n − 2 1 \le k \le n - 2 1 ≤ k ≤ n − 2 we have p n , k ≡ q n , k ≡ 2 ( n − k ) ( m o d 4 ) p_{n,k} \equiv q_{n,k} \equiv2(n-k) \pmod{4} p n , k ≡ q n , k ≡ 2 ( n − k ) ( mod 4 ) and L n ≡ L k ≡ 2 ( m o d 4 ) L_n \equiv L_k \equiv2 \pmod{4} L n ≡ L k ≡ 2 ( mod 4 ) , so a child of level k k k of a box opening at e ≡ 2 n − 1 e \equiv2n - 1 e ≡ 2 n − 1 opens at a time ≡ 2 n − 1 + 2 ( n − k ) ≡ 2 k − 1 ( m o d 4 ) \equiv2n - 1 + 2(n-k) \equiv2k - 1 \pmod{4} ≡ 2 n − 1 + 2 ( n − k ) ≡ 2 k − 1 ( mod 4 ) . The other congruences follow from L ≡ 2 L \equiv2 L ≡ 2 and L / 2 = 2 n + 1 − 3 ≡ 1 ( m o d 4 ) L/2 = 2^{n+1} - 3 \equiv1 \pmod{4} L /2 = 2 n + 1 − 3 ≡ 1 ( mod 4 ) .
(b) p n , n − 2 = 4 p_{n,n-2} = 4 p n , n − 2 = 4 and p n , k − 1 − p n , k = 2 k + 2 − 2 = L k + 4 p_{n,k-1} - p_{n,k} = 2^{k+2} - 2 = L_k + 4 p n , k − 1 − p n , k = 2 k + 2 − 2 = L k + 4 . The second half is the mirror image of the first half in time, because q n , k + L k = L n − p n , k q_{n,k} + L_k = L_n - p_{n,k} q n , k + L k = L n − p n , k . The first copy of S 1 S_1 S 1 closes at e + p n , 1 + 2 = e + 2 n + 1 − 2 n − 4 = μ − 2 n − 1 e + p_{n,1} + 2 = e + 2^{n+1} - 2^{n} - 4 = \mu- 2^{n-1} e + p n , 1 + 2 = e + 2 n + 1 − 2 n − 4 = μ − 2 n − 1 , and by the mirror symmetry the second copy opens at μ + 2 n + 1 \mu+ 2^{n} + 1 μ + 2 n + 1 . Finally e n + L n + 4 = 2 n + 3 − 2 n + 1 = e n + 1 e_n + L_n + 4 = 2^{n+3} - 2n + 1 = e_{n+1} e n + L n + 4 = 2 n + 3 − 2 n + 1 = e n + 1 .
(c) Children have half-width w k ≤ w n − 2 = w − 4 w_k \le w_{n-2} = w - 4 w k ≤ w n − 2 = w − 4 , and the time bounds follow from (b) by induction over the nesting.
(d) A cell of a box inside S n S_n S n satisfies s − ∣ d ∣ ≥ e n − w n = 2 n + 2 − 4 n + 4 ≥ 8 s - |d| \ge e_n - w_n = 2^{n+2} - 4n + 4 \ge8 s − ∣ d ∣ ≥ e n − w n = 2 n + 2 − 4 n + 4 ≥ 8 .
Definition 9 (edges and hosts). An edge is a pair ( e , a ) (e,a) ( e , a ) of a time and a half-width. For a box H = B ( n , e ) ∈ B H = \mathrm{B}(n,e) \in\mathcal{B} H = B ( n , e ) ∈ B , the set E ( H ) \mathcal{E}(H) E ( H ) consists of the edges ( e , w n ) (e,w_n) ( e , w n ) and ( e + L n , w n ) (e + L_n,w_n) ( e + L n , w n ) of H H H and of the edges ( e ′ , w k ) (e',w_k) ( e ′ , w k ) and ( e ′ + L k , w k ) (e' + L_k,w_k) ( e ′ + L k , w k ) of each child B ( k , e ′ ) \mathrm{B}(k,e') B ( k , e ′ ) of H H H . For the global host ∗ \ast ∗ ,
E ( ∗ ) = { ( 3 , 1 ) } ∪ { ( e n , w n ) , ( e n + L n , w n ) : n ≥ 1 } . \mathcal{E}(\ast) = \{(3,1)\} \cup\{(e_n,w_n),(e_n + L_n,w_n): n \ge1\}. E ( ∗ ) = {( 3 , 1 )} ∪ {( e n , w n ) , ( e n + L n , w n ) : n ≥ 1 } . The pair ( 3 , 1 ) (3,1) ( 3 , 1 ) , which we call the virtual edge , stands for the two white cells t ( 1 , 2 ) t(1,2) t ( 1 , 2 ) and t ( 2 , 1 ) t(2,1) t ( 2 , 1 ) . The host of a cell c c c is the smallest box of B \mathcal{B} B whose interior contains c c c , and ∗ \ast ∗ if there is no such box.
By Lemma 8, two consecutive elements of E ( H ) \mathcal{E}(H) E ( H ) are 4 rows apart, with four exceptions.
The opening and closing edges of a box of level 1 are 2 rows apart.
The opening and closing edges of a box of level 2 are 10 rows apart.
In a box of level n ≥ 3 n \ge3 n ≥ 3 , the first copy of S 1 S_1 S 1 closes 4 n + 2 4n + 2 4 n + 2 rows before the second copy opens. We call this interval the switching gap .
The edges ( 3 , 1 ) (3,1) ( 3 , 1 ) and ( 9 , 1 ) (9,1) ( 9 , 1 ) of E ( ∗ ) \mathcal{E}(\ast) E ( ∗ ) are 6 rows apart.
When two consecutive edges ( e , a ) (e,a) ( e , a ) and ( e + 4 , b ) (e + 4,b) ( e + 4 , b ) are 4 rows apart, one of the five cases of Table 1 holds.
Table 1. The five cases of two consecutive edges ( e , a ) (e,a) ( e , a ) and ( e + 4 , b ) (e + 4,b) ( e + 4 , b ) of a set E ( H ) \mathcal{E}(H) E ( H ) that are 4 rows apart, and the half-width b b b of the second edge in terms of the half-width a a a of the first.
The description of the sequence
Definition 10 (the description D D D ). For a cell c = [ s , d ] c=[s,d] c = [ s , d ] , the value D ( c ) D(c) D ( c ) is given by the first of the following rules that applies.
(D0) If ∣ d ∣ = s |d|=s ∣ d ∣ = s , then D ( c ) = 1 D(c)=1 D ( c ) = 1 . If ∣ d ∣ = s − 2 ≥ 1 |d|=s-2\ge1 ∣ d ∣ = s − 2 ≥ 1 , then D ( c ) = 0 D(c)=0 D ( c ) = 0 .
(D1) If c c c lies on the border of a box of B \mathbb{B} B , then D ( c ) = 0 D(c)=0 D ( c ) = 0 .
Otherwise let H H H be the host of c c c .
(D2) If s = e ± 1 s=e\pm1 s = e ± 1 and ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 for some ( e , a ) ∈ E ( H ) (e,a)\in\mathcal{E}(H) ( e , a ) ∈ E ( H ) , then D ( c ) = Γ ( c ) D(c)=\Gamma(c) D ( c ) = Γ ( c ) .
(D3) If s = e ± 2 s=e\pm2 s = e ± 2 and ∣ d ∣ ≤ a − 2 |d|\le a-2 ∣ d ∣ ≤ a − 2 for some ( e , a ) ∈ E ( H ) (e,a)\in\mathcal{E}(H) ( e , a ) ∈ E ( H ) , then D ( c ) = 1 D(c)=1 D ( c ) = 1 .
(D4) If H = B ( n , e ) H=\mathrm{B}(n,e) H = B ( n , e ) with n ≥ 2 n\ge2 n ≥ 2 and ∣ s − μ H ∣ + ∣ d ∣ ≤ w n − 3 |s-\mu_H|+|d|\le w_n-3 ∣ s − μ H ∣ + ∣ d ∣ ≤ w n − 3 , then D ( c ) = Γ ( c ) D(c)=\Gamma(c) D ( c ) = Γ ( c ) .
(D5) Otherwise D ( c ) = Λ 0 ( c ) D(c)=\Lambda_0(c) D ( c ) = Λ 0 ( c ) if H H H is a box and s < μ H s<\mu_H s < μ H , and D ( c ) = Λ 2 ( c ) D(c)=\Lambda_2(c) D ( c ) = Λ 2 ( c ) if H = ∗ H=\ast H = ∗ or s ≥ μ H s\ge\mu_H s ≥ μ H .
The cells of (D2) and (D3) are the transition cells . Those of (D2) lie on even rows next to an edge, and those of (D3) are the red cells on odd rows two steps from an edge. The set of (D4) is the switching diamond of H H H , of radius r H = w n − 3 r_H=w_n-3 r H = w n − 3 around [ μ H , 0 ] [\mu_H,0] [ μ H , 0 ] . In the coordinates ( x , y ) (x,y) ( x , y ) it is a square with sides parallel to the axes. The cells of (D5) are the environment cells . Rules (D0) and (D1) never apply to the same cell, by Lemma 8 (d). Rule (D2) concerns only even rows, since e e e is odd, and rule (D3) only odd rows. The diamond is at distance at least 5 from every edge of E ( H ) \mathcal{E}(H) E ( H ) . The function D D D is symmetric under d ↦ − d d\mapsto-d d ↦ − d .
Theorem 11. For all x , y ≥ 0 x,y\ge0 x , y ≥ 0 , t ( x , y ) = D [ x + y , y − x ] t(x,y)=D[x+y,y-x] t ( x , y ) = D [ x + y , y − x ] .
The picture has red axes, white lines x = 1 x=1 x = 1 and y = 1 y=1 y = 1 , and the normal environment Λ 2 \Lambda_2 Λ 2 away from the diagonal. The main boxes S 1 , S 2 , … S_1,S_2,\ldots S 1 , S 2 , … lie along the diagonal. For n ≥ 3 n\ge3 n ≥ 3 , the interior of S n S_n S n contains copies of S n − 2 , … , S 1 S_{n-2},\ldots,S_1 S n − 2 , … , S 1 in the reversed environment Λ 0 \Lambda_0 Λ 0 , followed by a switching square and copies of S 1 , … , S n − 2 S_1,\ldots,S_{n-2} S 1 , … , S n − 2 in the normal environment. The first two boxes have no children. Each transition cell lies one or two rows before or after an edge.
The phase of the environment inside a box does not depend on the depth of nesting: the reversed environment fills the first half of each box and the normal environment the second half. Remark 18 explains why this makes all copies of S k S_k S k inside larger boxes translates of the main box S k S_k S k .
Proof of Theorem 11
By Lemma 2 and rule (D0) it suffices to prove that D D D is correct at every cell c = [ s , d ] c=[s,d] c = [ s , d ] with ∣ d ∣ ≤ s − 2 |d|\le s-2 ∣ d ∣ ≤ s − 2 . Each case below is one evaluation of f f f by Lemma 1 . We write the triple ( D ( c x ) , D ( c y ) , D ( c z ) ) (D(c_x),D(c_y),D(c_z)) ( D ( c x ) , D ( c y ) , D ( c z )) followed by its image under f f f . By the symmetry of D D D we may assume d ≥ 0 d\ge0 d ≥ 0 whenever convenient.
Preliminary facts
Throughout, B = B ( n , e ) ∈ B B = B(n,e) \in\mathcal{B} B = B ( n , e ) ∈ B , w = w n w = w_n w = w n , L = L n L = L_n L = L n , and B ′ B' B ′ is the parent of B B B in B \mathcal{B} B , or ∗ * ∗ if B B B is a main box. All congruences are modulo 4, and Lemma 8(a) is used without further mention.
(P1) D ( c ) = 0 D(c) = 0 D ( c ) = 0 if and only if c c c is on a border or on a line ∣ d ∣ = s − 2 ≥ 1 |d| = s - 2 \ge1 ∣ d ∣ = s − 2 ≥ 1 . Even rows contain no border cells.
(P2) The columns beside a wall are blue. Inside B, D [ s , ± ( w − 1 ) ] = 2 D[s,\pm(w-1)] = 2 D [ s , ± ( w − 1 )] = 2 for even s ∈ [ e + 1 , e + L − 1 ] s \in[e+1,e+L-1] s ∈ [ e + 1 , e + L − 1 ] . Outside B, D [ s , ± ( w + 1 ) ] = 2 D[s,\pm(w+1)] = 2 D [ s , ± ( w + 1 )] = 2 for even s ∈ [ e − 1 , e + L + 1 ] s \in[e-1,e+L+1] s ∈ [ e − 1 , e + L + 1 ] .
Inside: the host is B, because children have half-width at most w − 4 w-4 w − 4 . Among the edges of E ( B ) \mathcal{E}(B) E ( B ) only the two edges of B itself reach ∣ d ∣ = w − 1 |d| = w-1 ∣ d ∣ = w − 1 in rule (D2), at the rows e + 1 ≡ w + 1 e+1 \equiv w+1 e + 1 ≡ w + 1 and e + L − 1 ≡ w + 1 e+L-1 \equiv w+1 e + L − 1 ≡ w + 1 , where Γ [ s , w − 1 ] = 2 \Gamma[s,w-1] = 2 Γ [ s , w − 1 ] = 2 . The diamond has radius w − 3 w-3 w − 3 , and rule (D5) gives 2 on even rows. Outside: the host is B ′ B' B ′ , and by Lemma 8(c) the only elements of E ( B ′ ) \mathcal{E}(B') E ( B ′ ) in the time interval [ e − 2 , e + L + 2 ] [e-2,e+L+2] [ e − 2 , e + L + 2 ] are the two edges of B, whose half-width w w w is smaller than w + 2 w+2 w + 2 . The diamond of B ′ B' B ′ lies in the switching gap of B ′ B' B ′ , and rule (D5) gives 2.
(P3) The transition rows. Around the opening edge, D [ e ± 1 , d ] = Γ [ e ± 1 , d ] D[e\pm1,d] = \Gamma[e\pm1,d] D [ e ± 1 , d ] = Γ [ e ± 1 , d ] for ∣ d ∣ ≤ w − 1 |d| \le w-1 ∣ d ∣ ≤ w − 1 and D [ e ± 2 , d ] = 1 D[e\pm2,d] = 1 D [ e ± 2 , d ] = 1 for ∣ d ∣ ≤ w − 2 |d| \le w-2 ∣ d ∣ ≤ w − 2 . The same holds around the closing edge with e e e replaced by e + L e+L e + L . For the virtual edge, D [ 2 , 0 ] = 2 D[2,0] = 2 D [ 2 , 0 ] = 2 and D [ 4 , 0 ] = 1 D[4,0] = 1 D [ 4 , 0 ] = 1 .
These cells are on no border, since the nearest other edges and walls are at least 4 rows or columns away. The host of each transition cell is B ′ B' B ′ before the opening and after the closing, and B between the edges, because children open 4 rows after B. The relevant edge belongs to E \mathcal{E} E of that host, so rule (D2) applies on even rows and rule (D3) on odd rows.
(P4) D [ e − 2 , ± w ] = 1 D[e-2,\pm w] = 1 D [ e − 2 , ± w ] = 1 , that is, the two cells two rows before the corners of an opening edge are red. The host is B ′ B' B ′ and the row is odd. If B is in the first half of B ′ B' B ′ , the element of E ( B ′ ) \mathcal{E}(B') E ( B ′ ) preceding ( e , w ) (e,w) ( e , w ) is ( e − 4 , w + 4 ) (e-4,w+4) ( e − 4 , w + 4 ) in case J1 or ( e − 4 , w + 2 ) (e-4,w+2) ( e − 4 , w + 2 ) in case J2, and rule (D3) applies. Otherwise rule (D3) gives 1 if it applies, and rule (D5) gives Λ 2 [ e − 2 , w ] = 1 \Lambda_2[e-2,w] = 1 Λ 2 [ e − 2 , w ] = 1 because e − 2 ≡ w + 2 e-2 \equiv w+2 e − 2 ≡ w + 2 .
(P5) D [ e + L + 2 , ± w ] = 1 D[e+L+2,\pm w] = 1 D [ e + L + 2 , ± w ] = 1 , that is, the two cells two rows after the corners of a closing edge are red. If B is in the first half of B ′ B' B ′ , so that the closing is followed by case J2 or by the switching gap, rule (D5) gives Λ 0 [ e + L + 2 , w ] = 1 \Lambda_0[e+L+2,w] = 1 Λ 0 [ e + L + 2 , w ] = 1 because e + L + 2 ≡ w e+L+2 \equiv w e + L + 2 ≡ w . Otherwise the next edge is ( e + L + 4 , b ) (e+L+4,b) ( e + L + 4 , b ) with b ∈ { w + 2 , w + 4 } b \in\{w+2,w+4\} b ∈ { w + 2 , w + 4 } , by cases J3, J4 and J5, and rule (D3) applies.
Border cells
Proposition 12. D D D is correct at every border cell.
Proof. Wall cells c = [ s , w ] c = [s,w] c = [ s , w ] with e + 2 ≤ s ≤ e + L e+2 \le s \le e+L e + 2 ≤ s ≤ e + L , which include the closing corner. By (P1) the parent c y c_y c y is white, and by (P2) the parents c x c_x c x and c z c_z c z are blue, so the triple is ( 2 , 0 , 2 ) (2,0,2) ( 2 , 0 , 2 ) and f ( 2 , 0 , 2 ) = 0 f(2,0,2) = 0 f ( 2 , 0 , 2 ) = 0 .
Inner cells of the opening edge, c = [ e , d ] c = [e,d] c = [ e , d ] with ∣ d ∣ < w − 2 |d| < w-2 ∣ d ∣ < w − 2 . The parent c y = [ e − 2 , d ] c_y = [e-2,d] c y = [ e − 2 , d ] is red and c x , c z c_x,c_z c x , c z are the Γ \Gamma Γ -cells of row e − 1 e-1 e − 1 by (P3), of which one is red and the other blue. The triple is ( 1 , 1 , 2 ) (1,1,2) ( 1 , 1 , 2 ) or ( 2 , 1 , 1 ) (2,1,1) ( 2 , 1 , 1 ) , and f = 0 f = 0 f = 0 . Opening corner c = [ e , w ] c=[e,w] c = [ e , w ] . The parent c y = [ e − 2 , w ] c_y=[e-2,w] c y = [ e − 2 , w ] is red by (P4), the parent c z = [ e − 1 , w − 1 ] c_z=[e-1,w-1] c z = [ e − 1 , w − 1 ] has Γ = 1 \Gamma=1 Γ = 1 because e − 1 ≡ w − 1 e-1\equiv w-1 e − 1 ≡ w − 1 , and the parent c x = [ e − 1 , w + 1 ] c_x=[e-1,w+1] c x = [ e − 1 , w + 1 ] is blue by (P2). The triple is ( 2 , 1 , 1 ) (2,1,1) ( 2 , 1 , 1 ) and f = 0 f=0 f = 0 .
Inner cells of the closing edge , c = [ e + L , d ] c=[e+L,d] c = [ e + L , d ] with ∣ d ∣ ≤ w − 2 |d|\le w-2 ∣ d ∣ ≤ w − 2 . As for the opening edge, using the rows e + L − 1 e+L-1 e + L − 1 and e + L − 2 e+L-2 e + L − 2 of (P3).
Transition cells
Proposition 13. D D D is correct at every transition cell.
Proof. Let ( e , a ) ∈ E ( H ) (e,a)\in\mathcal{E}(H) ( e , a ) ∈ E ( H ) be the edge responsible for c c c in rule (D2) or (D3).
Rule (D2) after an edge: c = [ e + 1 , d ] c=[e+1,d] c = [ e + 1 , d ] with ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 . The parents c x c_x c x and c z c_z c z lie on the edge and are white, and c y = [ e − 1 , d ] c_y=[e-1,d] c y = [ e − 1 , d ] has the value Γ ( c y ) \Gamma(c_y) Γ ( c y ) by (P3). By Lemma 1, f ( 0 , 1 , 0 ) = 2 f(0,1,0)=2 f ( 0 , 1 , 0 ) = 2 and f ( 0 , 2 , 0 ) = 1 f(0,2,0)=1 f ( 0 , 2 , 0 ) = 1 . Since Γ ( c y ) = 2 \Gamma(c_y)=2 Γ ( c y ) = 2 if and only if e + 1 ≡ d e+1\equiv d e + 1 ≡ d , which is the condition Γ ( c ) = 1 \Gamma(c)=1 Γ ( c ) = 1 , we get D ( c ) = Γ ( c ) D(c)=\Gamma(c) D ( c ) = Γ ( c ) . The cell [ 4 , 0 ] [4,0] [ 4 , 0 ] is of this kind, with the virtual edge.
Rule (D2) before an edge: c = [ e − 1 , d ] c=[e-1,d] c = [ e − 1 , d ] with ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 , and c c c is not of the previous kind. Then ( e , a ) (e,a) ( e , a ) is the opening of a child of H H H , or the closing of H H H , in which case H H H has level at least 2. The cell [ 2 , 0 ] [2,0] [ 2 , 0 ] , before the virtual edge, is treated directly: its parents are the axis cells [ 1 , ± 1 ] [1,\pm1] [ 1 , ± 1 ] and [ 0 , 0 ] [0,0] [ 0 , 0 ] , so the triple is ( 1 , 1 , 1 ) (1,1,1) ( 1 , 1 , 1 ) and f = 2 = Γ [ 2 , 0 ] f=2=\Gamma[2,0] f = 2 = Γ [ 2 , 0 ] . In the remaining cases we distinguish the position of c c c .
(i) ∣ d ∣ ≤ a − 3 |d|\le a-3 ∣ d ∣ ≤ a − 3 . Then c x c_x c x and c z c_z c z are red by (P3) applied to row e − 2 e-2 e − 2 , and f ( 1 , y , 1 ) f(1,y,1) f ( 1 , y , 1 ) is 2 , 1 , 0 2,1,0 2 , 1 , 0 for y = 1 , 2 , 0 y=1,2,0 y = 1 , 2 , 0 . It therefore suffices to show D ( c y ) = Γ ( c y ) D(c_y)=\Gamma(c_y) D ( c y ) = Γ ( c y ) for c y = [ e − 3 , d ] c_y=[e-3,d] c y = [ e − 3 , d ] . In cases J1, J2, J3 and J5 the cell c y c_y c y is a (D2)-cell after the previous edge ( e − 4 , a ′ ) (e-4,a') ( e − 4 , a ′ ) , and a ′ ≥ a − 2 a'\ge a-2 a ′ ≥ a − 2 . In case J4 the same holds for ∣ d ∣ ≤ a − 5 |d|\le a-5 ∣ d ∣ ≤ a − 5 , and for ∣ d ∣ = a − 3 |d|=a-3 ∣ d ∣ = a − 3 (P2) gives D ( c y ) = 2 = Γ ( c y ) D(c_y)=2=\Gamma(c_y) D ( c y ) = 2 = Γ ( c y ) , since e − 3 ≡ a − 1 e-3\equiv a-1 e − 3 ≡ a − 1 . Before the closing of a box of level 2, c y = [ μ + 2 , 0 ] c_y=[\mu+2,0] c y = [ μ + 2 , 0 ] has D ( c y ) = 2 D(c_y)=2 D ( c y ) = 2 by class (E1) below and Γ ( c y ) = 2 \Gamma(c_y)=2 Γ ( c y ) = 2 .
(ii) ∣ d ∣ = a − 1 |d|=a-1 ∣ d ∣ = a − 1 with d ≥ 0 d\ge0 d ≥ 0 , and ( e , a ) (e,a) ( e , a ) is an opening. The parent c x = [ e − 2 , a ] c_x=[e-2,a] c x = [ e − 2 , a ] is red by (P4). The parent c z = [ e − 2 , a − 2 ] c_z=[e-2,a-2] c z = [ e − 2 , a − 2 ] is red, by (P3) if a ≥ 3 a\ge3 a ≥ 3 and as the mirror image of c x c_x c x if a = 1 a=1 a = 1 . The parent c y = [ e − 3 , a − 1 ] c_y=[e-3,a-1] c y = [ e − 3 , a − 1 ] is blue. In cases J1 and J2, this follows from (P3) because Γ = 2 \Gamma=2 Γ = 2 as e − 3 ≡ a + 1 e-3\equiv a+1 e − 3 ≡ a + 1 . In cases J3 and J5, use (P2). After the switching gap, c y = [ μ + w H − 1 , 0 ] c_y=[\mu+w_H-1,0] c y = [ μ + w H − 1 , 0 ] , and for S 1 S_1 S 1 at e = 9 e=9 e = 9 , c y = [ 6 , 0 ] c_y=[6,0] c y = [ 6 , 0 ] . Both cells are blue by class (E1) below. The triple is ( 1 , 2 , 1 ) (1,2,1) ( 1 , 2 , 1 ) , so f = 1 = Γ ( c ) f=1=\Gamma(c) f = 1 = Γ ( c ) , since e − 1 ≡ a − 1 e-1\equiv a-1 e − 1 ≡ a − 1 .
(iii) ∣ d ∣ = a − 1 |d|=a-1 ∣ d ∣ = a − 1 with d ≥ 0 d\ge0 d ≥ 0 , and ( e , a ) (e,a) ( e , a ) is the closing of H H H , so a ≥ 3 a\ge3 a ≥ 3 . The parent c x = [ e − 2 , a ] c_x=[e-2,a] c x = [ e − 2 , a ] is a wall cell, c z c_z c z is red by (P3), and c y c_y c y is blue by (P2). The triple is ( 0 , 2 , 1 ) (0,2,1) ( 0 , 2 , 1 ) , so f = 2 = Γ ( c ) f=2=\Gamma(c) f = 2 = Γ ( c ) , since e − 1 ≡ a + 1 e-1\equiv a+1 e − 1 ≡ a + 1 .
Rule (D3) after an edge: c = [ e + 2 , d ] c=[e+2,d] c = [ e + 2 , d ] with ∣ d ∣ ≤ a − 2 |d|\le a-2 ∣ d ∣ ≤ a − 2 . The parent c y c_y c y is on the edge, and c x , c z c_x,c_z c x , c z are Γ \Gamma Γ -cells of row e + 1 e+1 e + 1 , one red and one blue. The triple is ( 1 , 0 , 2 ) (1,0,2) ( 1 , 0 , 2 ) or ( 2 , 0 , 1 ) (2,0,1) ( 2 , 0 , 1 ) , and f = 1 f=1 f = 1 .
Rule (D3) before an edge, not of the previous kind: c = [ e − 2 , d ] c=[e-2,d] c = [ e − 2 , d ] with ∣ d ∣ ≤ a − 2 |d|\le a-2 ∣ d ∣ ≤ a − 2 . This happens in three situations. In cases J3 and J5 with ∣ d ∣ = a − 2 |d|=a-2 ∣ d ∣ = a − 2 , and in case J4 with ∣ d ∣ = a − 4 |d|=a-4 ∣ d ∣ = a − 4 , the cell belongs to class (E3) below and is treated there. In case J4 with ∣ d ∣ = a − 2 |d|=a-2 ∣ d ∣ = a − 2 , the parent c y = [ e − 4 , a − 2 ] c_y=[e-4,a-2] c y = [ e − 4 , a − 2 ] has A 2 = 2 A_2=2 A 2 = 2 , since e − 4 ≡ a + 2 e-4\equiv a+2 e − 4 ≡ a + 2 , and c x , c z c_x,c_z c x , c z are blue by (P2), so the triple is ( 2 , 2 , 2 ) (2,2,2) ( 2 , 2 , 2 ) and f = 1 f=1 f = 1 . Before the closing of a box B ( 2 , e ′ ) B(2,e') B ( 2 , e ′ ) of level 2, c = [ e ′ + 8 , ± 1 ] c=[e'+8,\pm1] c = [ e ′ + 8 , ± 1 ] , the parent
c y = [ e ′ + 6 , 1 ] c_y = [e' + 6, 1] c y = [ e ′ + 6 , 1 ] has Λ 2 = 2 \Lambda_2 = 2 Λ 2 = 2 , the parent c z = [ e ′ + 7 , 0 ] c_z = [e' + 7, 0] c z = [ e ′ + 7 , 0 ] is blue by class (E1), and c x c_x c x is blue by (P2), so the triple is ( 2 , 2 , 2 ) (2, 2, 2) ( 2 , 2 , 2 ) and f = 1 f = 1 f = 1 .
Switching diamonds
Proposition 14. D D D is correct at every cell of a switching diamond.
Proof. Let H = B ( n , e ) H = \mathrm{B}(n,e) H = B ( n , e ) with n ≥ 2 n \ge2 n ≥ 2 , μ = μ H \mu= \mu_H μ = μ H , r = w n − 3 r = w_n - 3 r = w n − 3 , and let δ ( c ) = ∣ s − μ ∣ + ∣ d ∣ \delta(c) = \lvert s - \mu\rvert+ \lvert d\rvert δ ( c ) = ∣ s − μ ∣ + ∣ d ∣ . Then δ \delta δ takes even values only and μ − r ≡ 0 \mu- r \equiv0 μ − r ≡ 0 .
If the three parents of c c c lie in the diamond, Lemma 4(a) applies. For s > μ s > \mu s > μ the parents satisfy δ ≤ δ ( c ) \delta\le\delta(c) δ ≤ δ ( c ) , and for s ≤ μ s \le\mu s ≤ μ and δ ( c ) ≤ r − 2 \delta(c) \le r - 2 δ ( c ) ≤ r − 2 they satisfy δ ≤ δ ( c ) + 2 ≤ r \delta\le\delta(c) + 2 \le r δ ≤ δ ( c ) + 2 ≤ r . It remains to treat the cells with s ≤ μ s \le\mu s ≤ μ and δ ( c ) = r \delta(c) = r δ ( c ) = r , for which s ≡ ∣ d ∣ ( m o d 4 ) s \equiv\lvert d\rvert\pmod{4} s ≡ ∣ d ∣ ( mod 4 ) .
The parents of such a cell that lie outside the diamond lie on rows ≥ μ − r − 2 \ge\mu- r - 2 ≥ μ − r − 2 , later than the transition rows of the edge that precedes the diamond, so they are environment cells with value Λ 0 \Lambda_0 Λ 0 . Take d ≥ 0 d \ge0 d ≥ 0 . If s s s is even, then Γ ( c ) = 1 \Gamma(c) = 1 Γ ( c ) = 1 , the parent c x = [ s − 1 , d + 1 ] c_x = [s - 1, d + 1] c x = [ s − 1 , d + 1 ] has Λ 0 = 2 \Lambda_0 = 2 Λ 0 = 2 because s ≠ d + 2 s \ne d + 2 s = d + 2 , the parent c y c_y c y is blue because its row is even, and c z c_z c z is a diamond cell on an odd row if d ≥ 2 d \ge2 d ≥ 2 and the mirror image of c x c_x c x if d = 0 d = 0 d = 0 , so blue in both cases. The triple is ( 2 , 2 , 2 ) (2, 2, 2) ( 2 , 2 , 2 ) and f = 1 f = 1 f = 1 . If s s s is odd, then Γ ( c ) = 2 \Gamma(c) = 2 Γ ( c ) = 2 , the parent c x c_x c x is blue because its row is even, the parent c z = [ s − 1 , d − 1 ] c_z = [s - 1, d - 1] c z = [ s − 1 , d − 1 ] is in the diamond with Γ = 1 \Gamma= 1 Γ = 1 , and c y = [ s − 2 , d ] c_y = [s - 2, d] c y = [ s − 2 , d ] has Λ 0 = 2 \Lambda_0 = 2 Λ 0 = 2 because s − 2 ≠ d s - 2 \ne d s − 2 = d . The triple is ( 2 , 2 , 1 ) (2, 2, 1) ( 2 , 2 , 1 ) and f = 2 f = 2 f = 2 .
Environment cells
Let c = [ s , d ] c = [s, d] c = [ s , d ] be an environment cell with host H H H . Its phase ε \varepsilon ε is 0 if H H H is a box and s ≤ μ H s \le\mu_H s ≤ μ H , and 2 otherwise. On the even row s = μ H s = \mu_H s = μ H both lattices give 2, so the convention does not change any value. A parent p p p of c c c is irregular if D ( p ) ≠ Λ ε ( p ) D(p) \ne\Lambda_\varepsilon(p) D ( p ) = Λ ε ( p ) . If d ≠ 0 d \ne0 d = 0 and no parent is irregular, D D D is correct at c c c by Lemma 4(b). The successors of a cell [ s ′ , d ′ ] [s', d'] [ s ′ , d ′ ] are the cells [ s ′ + 1 , d ′ ± 1 ] [s' + 1, d' \pm1] [ s ′ + 1 , d ′ ± 1 ] and [ s ′ + 2 , d ′ ] [s' + 2, d'] [ s ′ + 2 , d ′ ] , which have it as a parent.
Lemma 15. Let c c c be an environment cell and p p p a parent of c c c that is not white. Then p p p has the same host as c c c .
Proof. Suppose first that p p p lies in the interior of a box X X X whose interior does not contain c c c . If p = c y p = c_y p = c y , then e X < s − 2 < e X + L X e_X < s - 2 < e_X + L_X e X < s − 2 < e X + L X and ∣ d ∣ < w X \lvert d\rvert< w_X ∣ d ∣ < w X . Since c c c is not white, c c c is not on the border of X X X , so s > e X + L X s > e_X + L_X s > e X + L X , hence s = e X + L X + 1 s = e_X + L_X + 1 s = e X + L X + 1 and c c c is a (D2)-cell after the closing of X X X , not an environment cell. If p = c x p = c_x p = c x or p = c z p = c_z p = c z , then ∣ d ∣ ≤ ∣ d ± 1 ∣ + 1 ≤ w X \lvert d\rvert\le\lvert d \pm1\rvert+ 1 \le w_X ∣ d ∣ ≤ ∣ d ± 1 ∣ + 1 ≤ w X and e X < s ≤ e X + L X e_X < s \le e_X + L_X e X < s ≤ e X + L X , so c c c lies in X X X , and since c c c is not white it lies in the interior of X X X , a contradiction.
Suppose next that c c c lies in the interior of a box X X X and p p p does not. Then p p p is on the border of X X X and white, or p = c y p = c_y p = c y with s − 2 < e X s - 2 < e_X s − 2 < e X , in which case s = e X + 1 s = e_X + 1 s = e X + 1 and c c c is a (D2)-cell after the opening of X X X .
Lemma 16. Let c c c be an environment cell that has an irregular parent or lies on the diagonal d = 0 d = 0 d = 0 . Then c c c belongs to one of the classes (E1) to (E6) listed in the proof of Proposition 17.
Proof. By Lemma 15, an irregular parent p p p of c c c is white, or lies in the host H H H of c c c and is one of the following: a cell of an axis, a transition cell, a diamond cell, or an environment cell of the other phase. We go through the successors of each kind of cell and keep those successors that are environment cells.
Axis cells. The successors of [ s ′ , ± s ′ ] [s',\pm s'] [ s ′ , ± s ′ ] lie on the axes or on the white lines.
White lines. The successors of [ s ′ , s ′ − 2 ] [s',s'-2] [ s ′ , s ′ − 2 ] are [ s ′ + 1 , s ′ − 1 ] [s'+1,s'-1] [ s ′ + 1 , s ′ − 1 ] on the white line, and [ s ′ + 1 , s ′ − 3 ] [s'+1,s'-3] [ s ′ + 1 , s ′ − 3 ] and [ s ′ + 2 , s ′ − 2 ] [s'+2,s'-2] [ s ′ + 2 , s ′ − 2 ] , which have ∣ d ∣ = s − 4 |d|=s-4 ∣ d ∣ = s − 4 and are [ 4 , 0 ] [4,0] [ 4 , 0 ] , a (D2)-cell, or cells of class (E6).
Walls. Let p = [ s ′ , w ] p=[s',w] p = [ s ′ , w ] be a wall cell of B = B ( n , e ) B=B(n,e) B = B ( n , e ) with s ′ ∈ [ e , e + L ] s'\in[e,e+L] s ′ ∈ [ e , e + L ] . The successor [ s ′ + 1 , w + 1 ] [s'+1,w+1] [ s ′ + 1 , w + 1 ] lies outside B B B on a row of [ e + 1 , e + L + 1 ] [e+1,e+L+1] [ e + 1 , e + L + 1 ] and belongs to class (E2). The successor [ s ′ + 1 , w − 1 ] [s'+1,w-1] [ s ′ + 1 , w − 1 ] is a (D2)-cell of B B B if s ′ + 1 s'+1 s ′ + 1 is e + 1 e+1 e + 1 or e + L − 1 e+L-1 e + L − 1 , a (D2)-cell after the closing if s ′ + 1 = e + L + 1 s'+1=e+L+1 s ′ + 1 = e + L + 1 , and otherwise belongs to class (E2). The successor [ s ′ + 2 , w ] [s'+2,w] [ s ′ + 2 , w ] is a wall cell unless s ′ = e + L s'=e+L s ′ = e + L , in which case it belongs to class (E3).
Inner edge cells. The successors of an inner cell [ e ′ , d ′ ] [e',d'] [ e ′ , d ′ ] , ∣ d ′ ∣ ≤ a − 2 |d'|\le a-2 ∣ d ′ ∣ ≤ a − 2 , of an edge ( e ′ , a ) (e',a) ( e ′ , a ) are (D2)-cells and (D3)-cells after that edge.
Transition cells of an edge ( e , a ) ∈ E ( H ) (e,a)\in\mathcal{E}(H) ( e , a ) ∈ E ( H ) . The successors of the cells before the edge, on rows e − 1 e-1 e − 1 and e − 2 e-2 e − 2 , lie on the rows e − 1 e-1 e − 1 with ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 , e e e with ∣ d ∣ ≤ a |d|\le a ∣ d ∣ ≤ a , and e + 1 e+1 e + 1 with ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 , so they are (D2)-cells, edge cells, or (D2)-cells after the edge. The successors of the cells after the edge, on rows e + 1 e+1 e + 1 and e + 2 e+2 e + 2 , lie on the rows e + 2 e+2 e + 2 with ∣ d ∣ ≤ a |d|\le a ∣ d ∣ ≤ a , e + 3 e+3 e + 3 with ∣ d ∣ ≤ a − 1 |d|\le a-1 ∣ d ∣ ≤ a − 1 and e + 4 e+4 e + 4 with ∣ d ∣ ≤ a − 2 |d|\le a-2 ∣ d ∣ ≤ a − 2 . On row e + 2 e+2 e + 2 the cells with ∣ d ∣ ≤ a − 2 |d|\le a-2 ∣ d ∣ ≤ a − 2 are (D3)-cells and the cells [ e + 2 , ± a ] [e+2,\pm a] [ e + 2 , ± a ] are wall cells if ( e , a ) (e,a) ( e , a ) is an opening and cells of class (E3) if it is a closing. For the rows e + 3 e+3 e + 3 and e + 4 e+4 e + 4 let ( e + g , b ) (e+g,b) ( e + g , b ) be the next element of E ( H ) \mathcal{E}(H) E ( H ) .
In cases J3, J4 and J5, where g = 4 g=4 g = 4 and b ≥ a + 2 b\ge a+2 b ≥ a + 2 , the rows e + 3 e+3 e + 3 with ∣ d ∣ ≤ b − 1 |d|\le b-1 ∣ d ∣ ≤ b − 1 and e + 4 e+4 e + 4 with ∣ d ∣ ≤ b |d|\le b ∣ d ∣ ≤ b consist of (D2)-cells and edge cells.
In case J2, where b = a − 2 b=a-2 b = a − 2 , the only remaining cells on row e + 3 e+3 e + 3 are ∣ d ∣ = a − 1 |d|=a-1 ∣ d ∣ = a − 1 , of class (E4), and on row e + 4 e+4 e + 4 all cells with ∣ d ∣ ≤ a − 2 = b |d|\le a-2=b ∣ d ∣ ≤ a − 2 = b are edge cells.
In case J1, where b = a − 4 b=a-4 b = a − 4 , the remaining cells are [ e + 3 , ± ( a − 3 ) ] [e+3,\pm(a-3)] [ e + 3 , ± ( a − 3 )] of class (E4), [ e + 3 , ± ( a − 1 ) ] [e+3,\pm(a-1)] [ e + 3 , ± ( a − 1 )] of class (E2), and [ e + 4 , ± ( a − 2 ) ] [e+4,\pm(a-2)] [ e + 4 , ± ( a − 2 )] of class (E4).
After the opening of a box of level 2, where a = 3 a=3 a = 3 , row e + 3 e+3 e + 3 gives [ e + 3 , 0 ] [e+3,0] [ e + 3 , 0 ] of class (E1) and [ e + 3 , ± 2 ] [e+3,\pm2] [ e + 3 , ± 2 ] of class (E2). Row e + 4 e+4 e + 4 gives [ e + 4 , ± 1 ] [e+4,\pm1] [ e + 4 , ± 1 ] , whose non-white parents on rows e + 2 e+2 e + 2 and $e+3 are regular, because D [ e + 2 , ± 1 ] = 1 = Λ 0 D[e+2,\pm1]=1=\Lambda_0 D [ e + 2 , ± 1 ] = 1 = Λ 0 as e + 2 ≡ 1 e+2\equiv1 e + 2 ≡ 1 , and D [ e + 3 , 0 ] = D [ e + 3 , ± 2 ] = 2 D[e+3,0]=D[e+3,\pm2]=2 D [ e + 3 , 0 ] = D [ e + 3 , ± 2 ] = 2 .
After the opening of a box of level 1, where a = 1 a=1 a = 1 , the rows e + 1 e+1 e + 1 and e + 2 e+2 e + 2 belong to the box, and the next cell [ e + 3 , 0 ] [e+3,0] [ e + 3 , 0 ] is a (D2)-cell after its closing.
After the closing of the first copy of S 1 S_1 S 1 , before the switching gap, row e + 3 e+3 e + 3 gives [ e + 3 , 0 ] [e+3,0] [ e + 3 , 0 ] of class (E1). There are no (D3)-cells after an edge of half-width 1. The cells [ e + 2 , ± 1 ] [e+2,\pm1] [ e + 2 , ± 1 ] are regular, with value 1 = Λ 0 1=\Lambda_0 1 = Λ 0 by (P5), so their successors on row e + 4 e+4 e + 4 give no further case.
For the virtual edge ( 3 , 1 ) (3,1) ( 3 , 1 ) , the successors of [ 4 , 0 ] [4,0] [ 4 , 0 ] are [ 5 , ± 1 ] [5,\pm1] [ 5 , ± 1 ] of class (E6) and [ 6 , 0 ] [6,0] [ 6 , 0 ] of class (E1).
Diamond cells. Let p p p be in the diamond of H H H , so δ ( p ) ≤ r = w n − 3 \delta(p)\le r=w_n-3 δ ( p ) ≤ r = w n − 3 in the notation of Proposition 14, and let c c c be a successor of p p p outside the diamond. If c c c lies on a row ≤ μ \le\mu ≤ μ , then δ ( c ) ≤ δ ( p ) \delta(c) \le\delta(p) δ ( c ) ≤ δ ( p ) , which is impossible, so s > μ s > \mu s > μ . Then δ ( c ) ≤ δ ( p ) + 2 ≤ r + 2 \delta(c) \le\delta(p) + 2 \le r + 2 δ ( c ) ≤ δ ( p ) + 2 ≤ r + 2 , and since δ \delta δ is even and δ ( c ) > r \delta(c) > r δ ( c ) > r , we get δ ( c ) = r + 2 = w n − 1 \delta(c) = r + 2 = w_n - 1 δ ( c ) = r + 2 = w n − 1 , which is class (E5).
Other phase. With our convention, a parent of the other phase occurs only for c c c on row μ + 1 \mu+ 1 μ + 1 with c y c_y c y on row μ − 1 \mu- 1 μ − 1 . Outside the diamond, row μ + 1 \mu+ 1 μ + 1 contains only the cells ∣ d ∣ = w n − 2 |d| = w_n - 2 ∣ d ∣ = w n − 2 , which belong to class (E5).
The diagonal. Let c = [ s , 0 ] c = [s, 0] c = [ s , 0 ] be an environment cell with host H = B ( n , e ) H = B(n,e) H = B ( n , e ) , so that s s s is not in the time span of a child. In a gap of 4 rows between consecutive elements ( e ′ , ⋅ ) (e', \mathord\cdot) ( e ′ , ⋅ ) and ( e ′ + 4 , ⋅ ) (e' + 4, \mathord\cdot) ( e ′ + 4 , ⋅ ) of E ( H ) \mathcal{E}(H) E ( H ) , the rows e ′ + 1 e' + 1 e ′ + 1 and e ′ + 3 e' + 3 e ′ + 3 are (D2)-rows that reach d = 0 d = 0 d = 0 . In the switching gap ( c g a p , e g a p ) (c_{\mathrm{gap}}, e_{\mathrm{gap}}) ( c gap , e gap ) , or in the gap ( e , e + 10 ) (e, e + 10) ( e , e + 10 ) for n = 2 n = 2 n = 2 , the even rows are the (D2)-rows c g a p + 1 c_{\mathrm{gap}} + 1 c gap + 1 and e g a p − 1 e_{\mathrm{gap}} - 1 e gap − 1 , the diamond rows from μ − r \mu- r μ − r to μ + r \mu+ r μ + r , and the two rows c g a p + 3 = μ − w n + 1 c_{\mathrm{gap}} + 3 = \mu- w_n + 1 c gap + 3 = μ − w n + 1 and e g a p − 3 = μ + w n − 1 e_{\mathrm{gap}} - 3 = \mu+ w_n - 1 e gap − 3 = μ + w n − 1 , whose diagonal cells belong to class (E1). In a box of level 1 the only such row is a (D2)-row. For H = ∗ H = * H = ∗ the gaps between consecutive edges are gaps of 4 rows, except the gap ( 3 , 9 ) (3, 9) ( 3 , 9 ) , whose even rows 2, 4, 8 are (D2)-rows and whose row 6 gives [ 6 , 0 ] [6, 0] [ 6 , 0 ] of class (E1).
Proposition 17. D D D is correct at every environment cell.
Proof. By Lemma 16 it suffices to treat the classes (E1) to (E6). All other environment cells are covered by Lemma 4(b).
(E1) Environment cells on the diagonal. These are [ μ − w n + 1 , 0 ] [\mu- w_n + 1, 0] [ μ − w n + 1 , 0 ] and [ μ + w n − 1 , 0 ] [\mu+ w_n - 1, 0] [ μ + w n − 1 , 0 ] in each box of level n ≥ 2 n \ge2 n ≥ 2 , and the cell [ 6 , 0 ] [6, 0] [ 6 , 0 ] . For n ≥ 3 n \ge3 n ≥ 3 , [ μ − w n + 1 , 0 ] = [ c g a p + 3 , 0 ] [\mu- w_n + 1, 0] = [c_{\mathrm{gap}} + 3, 0] [ μ − w n + 1 , 0 ] = [ c gap + 3 , 0 ] , where c g a p c_{\mathrm{gap}} c gap is the closing time of the first copy of S 1 S_1 S 1 . Its parents are [ c g a p + 2 , ± 1 ] [c_{\mathrm{gap}} + 2, \pm1] [ c gap + 2 , ± 1 ] , red by (P5), and [ c g a p + 1 , 0 ] [c_{\mathrm{gap}} + 1, 0] [ c gap + 1 , 0 ] , which has Γ = 1 \Gamma= 1 Γ = 1 since c g a p ≡ 3 c_{\mathrm{gap}} \equiv3 c gap ≡ 3 . The triple is ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) and f = 2 = Λ 0 f = 2 = \Lambda_0 f = 2 = Λ 0 . For n = 2 n = 2 n = 2 the same triple arises, using (P3). The cell [ μ + w n − 1 , 0 ] [\mu+ w_n - 1, 0] [ μ + w n − 1 , 0 ] belongs to class (E5). For [ 6 , 0 ] [6, 0] [ 6 , 0 ] the parents [ 5 , ± 1 ] [5, \pm1] [ 5 , ± 1 ] have Λ 2 = 2 \Lambda_2 = 2 Λ 2 = 2 and [ 4 , 0 ] [4, 0] [ 4 , 0 ] is red, so the triple is ( 2 , 1 , 2 ) (2, 1, 2) ( 2 , 1 , 2 ) and f = 2 f = 2 f = 2 .
(E2) Next to walls. Inside: c = [ s , w − 1 ] c = [s, w - 1] c = [ s , w − 1 ] with s s s even and e + 3 ≤ s ≤ e + L − 3 e + 3 \le s \le e + L - 3 e + 3 ≤ s ≤ e + L − 3 . The parent c x c_x c x is a wall cell, c y c_y c y is blue by (P2), and c z c_z c z is not white, so f ( 0 , 2 , z ) = 2 f(0, 2, z) = 2 f ( 0 , 2 , z ) = 2 for z ≠ 0 z \ne0 z = 0 , which is D ( c ) D(c) D ( c ) . Outside: c = [ s , w + 1 ] c = [s, w + 1] c = [ s , w + 1 ] with s s s even and e + 1 ≤ s ≤ e + L + 1 e + 1 \le s \le e + L + 1 e + 1 ≤ s ≤ e + L + 1 . The parent c z c_z c z is a wall cell or a corner, c y c_y c y is blue by (P2), and c x c_x c x is not white, so f ( x , 2 , 0 ) = 2 f(x, 2, 0) = 2 f ( x , 2 , 0 ) = 2 for x ≠ 0 x \ne0 x = 0 , which is D ( c ) D(c) D ( c ) by (P2).
(E3) After a closing corner: c = [ e + L + 2 , w ] c = [e + L + 2, w] c = [ e + L + 2 , w ] , with D ( c ) = 1 D(c) = 1 D ( c ) = 1 by (P5). The parent c y c_y c y is the corner and white, c x c_x c x is blue by (P2), and c z = [ e + L + 1 , w − 1 ] c_z = [e + L + 1, w - 1] c z = [ e + L + 1 , w − 1 ] has Γ = 1 \Gamma= 1 Γ = 1 since e + L + 1 ≡ w − 1 e + L + 1 \equiv w - 1 e + L + 1 ≡ w − 1 . The triple is ( 2 , 0 , 1 ) (2, 0, 1) ( 2 , 0 , 1 ) and f = 1 f = 1 f = 1 .
(E4) Behind transition rows. In case J1, with the opening of H H H at e e e and a = w a = w a = w , the cell c = [ e + 3 , w − 3 ] c = [e + 3, w - 3] c = [ e + 3 , w − 3 ] has the parents [ e + 2 , w − 2 ] [e + 2, w - 2] [ e + 2 , w − 2 ] and [ e + 2 , w − 4 ] [e + 2, w - 4] [ e + 2 , w − 4 ] , both red, and [ e + 1 , w − 3 ] [e + 1, w - 3] [ e + 1 , w − 3 ] with Γ = 1 \Gamma= 1 Γ = 1 . The triple is ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) and f = 2 f = 2 f = 2 . Next, c = [ e + 4 , w − 2 ] c = [e + 4, w - 2] c = [ e + 4 , w − 2 ] has the parents [ e + 3 , w − 1 ] [e + 3, w - 1] [ e + 3 , w − 1 ] and [ e + 3 , w − 3 ] [e + 3, w - 3] [ e + 3 , w − 3 ] , both blue, and [ e + 2 , w − 2 ] [e + 2, w - 2] [ e + 2 , w − 2 ] , red. The triple is ( 2 , 1 , 2 ) (2, 1, 2) ( 2 , 1 , 2 ) and f = 2 = Λ 0 f = 2 = \Lambda_0 f = 2 = Λ 0 , since e + 4 ≡ w e + 4 \equiv w e + 4 ≡ w . The cell [ e + 3 , w − 1 ] [e + 3, w - 1] [ e + 3 , w − 1 ] belongs to class (E2). In case J2, with the opening of a child X X X at c 0 c_0 c 0 and half-width a a a , the cell c = [ c 0 + 3 , a − 1 ] c = [c_0 + 3, a - 1] c = [ c 0 + 3 , a − 1 ] has the parents [ c 0 + 2 , a ] [c_0 + 2, a] [ c 0 + 2 , a ] , red by (P5), [ c 0 + 2 , a − 2 ] [c_0 + 2, a - 2] [ c 0 + 2 , a − 2 ] , red, and [ c 0 + 1 , a − 1 ] [c_0 + 1, a - 1] [ c 0 + 1 , a − 1 ] with Γ = 1 \Gamma= 1 Γ = 1 . The triple is ( 1 , 1 , 1 ) (1, 1, 1) ( 1 , 1 , 1 ) and f = 2 f = 2 f = 2 . In cases J3, J4 and J5 the rows behind the transition rows are transition rows or edges of the next edge, so there is nothing to check. After the opening of a box of level 2 and in the switching gap, the cells in question belong to classes (E1) and (E2).
(E5) Below a diamond: c c c with s > μ s > \mu s > μ and ( s − μ ) + ∣ d ∣ = w n − 1 (s - \mu) + |d| = w_n - 1 ( s − μ ) + ∣ d ∣ = w n − 1 , with d ≥ 0 d \ge0 d ≥ 0 . If s s s is even, then s ≡ d + 2 s \equiv d + 2 s ≡ d + 2 , the parent c y c_y c y is in the diamond with Γ = 1 \Gamma= 1 Γ = 1 , the parent c x c_x c x has Λ 2 = 2 \Lambda_2 = 2 Λ 2 = 2 , and c z c_z c z is a diamond cell on an odd row, or the mirror image of c x c_x c x when d = 0 d = 0 d = 0 , so blue in both cases. The triple is ( 2 , 1 , 2 ) (2, 1, 2) ( 2 , 1 , 2 ) and f = 2 = Λ 2 ( c ) f = 2 = \Lambda_2(c) f = 2 = Λ 2 ( c ) . If s s s is odd, then s ≡ d s \equiv d s ≡ d , the parent c z c_z c z is in the diamond with Γ = 1 \Gamma= 1 Γ = 1 , the parent c x c_x c x is blue, and c y c_y c y is a diamond cell on an odd row if s ≥ μ + 3 s \ge\mu+ 3 s ≥ μ + 3 , while for s = μ + 1 s = \mu+ 1 s = μ + 1 it is the environment cell [ μ − 1 , w n − 2 ] [\mu- 1, w_n - 2] [ μ − 1 , w n − 2 ] with Λ 0 = 2 \Lambda_0 = 2 Λ 0 = 2 . The triple is ( 2 , 2 , 1 ) (2, 2, 1) ( 2 , 2 , 1 ) and f = 2 = Λ 2 ( c ) f = 2 = \Lambda_2(c) f = 2 = Λ 2 ( c ) .
(E6) Next to the white lines: c = [ s , ± ( s − 4 ) ] c = [s, \pm(s - 4)] c = [ s , ± ( s − 4 )] with s ≥ 5 s \ge5 s ≥ 5 , that is, x = 2 x = 2 x = 2 or y = 2 y = 2 y = 2 . The parents c x c_x c x and c y c_y c y are on the white line, so f ( 0 , 0 , z ) = 2 = Λ 2 ( c ) f(0, 0, z) = 2 = \Lambda_2(c) f ( 0 , 0 , z ) = 2 = Λ 2 ( c ) .
The white lines
For c = [ s , s − 2 ] c = [s, s - 2] c = [ s , s − 2 ] with s ≥ 4 s \ge4 s ≥ 4 , the parents c x c_x c x and c y c_y c y are on the red axis and c z c_z c z is on the white line, so the triple is ( 1 , 1 , 0 ) (1, 1, 0) ( 1 , 1 , 0 ) and f = 0 f = 0 f = 0 . For c = [ 3 , 1 ] c = [3, 1] c = [ 3 , 1 ] , the parent c z = [ 2 , 0 ] c_z = [2, 0] c z = [ 2 , 0 ] is blue, so the triple is ( 1 , 1 , 2 ) (1, 1, 2) ( 1 , 1 , 2 ) and f = 0 f = 0 f = 0 .
Propositions 12 to 17 and the white lines cover every cell with ∣ d ∣ ≤ s − 2 |d| \le s - 2 ∣ d ∣ ≤ s − 2 , so D D D is correct everywhere and Theorem 11 follows from Lemma 2.
Remark 18 (why inner boxes are exact copies). The recurrence determines the interior of a box B ( n , e ) B(n, e) B ( n , e ) from its opening edge and the neighbouring cells. By (P3), the preceding row [ e − 1 , d ] [e - 1, d] [ e − 1 , d ] , ∣ d ∣ ≤ w − 1 |d| \le w - 1 ∣ d ∣ ≤ w − 1 , is coloured by the central lattice Γ \Gamma Γ . By (P2), the columns ∣ d ∣ = w ± 1 |d| = w \pm1 ∣ d ∣ = w ± 1 are blue. These conditions do not depend on the position of the box, so every box of level k k k in B \mathcal{B} B is a translate of S k S_k S k . In particular, the environment inside a box has the same phase at every depth of nesting.
The structure in coordinates
An ordinal of a double sequence is a set of cells that forms a closed rectangle with vertices ( u , v ) (u, v) ( u , v ) , ( u + k , v + k ) (u + k, v + k) ( u + k , v + k ) , ( v + k , u + k ) (v + k, u + k) ( v + k , u + k ) and ( v , u ) (v, u) ( v , u ) , where u < v u < v u < v and k ≥ 1 k \ge1 k ≥ 1 , all of whose border cells are white.
Corollary 19 (ordinals are boxes). The ordinals of t t t are the boxes of B \mathcal{B} B . The ordinals contained in no other are the main boxes S n S_n S n , n ≥ 1 n \ge1 n ≥ 1 , and the ordinals directly inside a box, with no ordinal in between, are its children.
Proof. Let R R R be an ordinal with half-width W = v − u W = v - u W = v − u and time span from s 0 s_0 s 0 to s 0 + 2 k s_0 + 2k s 0 + 2 k . By (P1) the cells of its walls are border cells of boxes or cells of the white lines. A cell of a white line has no white cell two rows before or after it in the same column, so for k ≥ 1 k \ge1 k ≥ 1 the wall cells are box cells. A wall of R R R cannot contain an inner cell of an edge of a box wider than R R R , because the cells two rows before and after such a cell are red by (P3). So the walls of R R R consist of wall cells of boxes of half-width W W W . Two such boxes are at least 4 rows apart, and the cells between them in the columns ∣ d ∣ = W |d| = W ∣ d ∣ = W are not white by (P4) and (P5), so all wall cells of R R R belong to one box B B B . Inside B B B no row except the two edges is white on all of ∣ d ∣ ≤ W |d| \le W ∣ d ∣ ≤ W , because children have half-width at most W − 4 W - 4 W − 4 , and for W = 1 W = 1 W = 1 the only odd rows of B B B are its edges. Hence R = B R = B R = B .
Theorem 20 (structure). The sequence t t t is symmetric and consists of the following parts.
(i) The axes x = 0 x = 0 x = 0 and y = 0 y = 0 y = 0 are red. The lines x = 1 x = 1 x = 1 and y = 1 y = 1 y = 1 are white except for t ( 1 , 0 ) = t ( 0 , 1 ) = 1 t(1, 0) = t(0, 1) = 1 t ( 1 , 0 ) = t ( 0 , 1 ) = 1 and t ( 1 , 1 ) = 2 t(1, 1) = 2 t ( 1 , 1 ) = 2 .
(ii) The main ordinal S n S_n S n , n ≥ 1 n \ge1 n ≥ 1 , has vertices A n A_n A n , B n B_n B n , σ ( B n ) \sigma(B_n) σ ( B n ) , σ ( A n ) \sigma(A_n) σ ( A n ) with σ ( u , v ) = ( v , u ) \sigma(u,v)=(v,u) σ ( u , v ) = ( v , u ) and
A n = ( 2 n + 1 − 2 n + 2 , 2 n + 1 + 1 ) , B n = ( 2 n + 2 − 2 n − 1 , 2 n + 2 − 2 ) . A_n=(2^{n+1}-2n+2,\ 2^{n+1}+1),\qquad B_n=(2^{n+2}-2n-1,\ 2^{n+2}-2). A n = ( 2 n + 1 − 2 n + 2 , 2 n + 1 + 1 ) , B n = ( 2 n + 2 − 2 n − 1 , 2 n + 2 − 2 ) .
Its edges parallel to the diagonal have 2 n + 1 − 2 2^{n+1}-2 2 n + 1 − 2 cells and its other edges have 2 n 2n 2 n cells. The vertices of every ordinal have coordinates congruent to ( 0 , 1 ) (0,1) ( 0 , 1 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 0 , 1 ) (0,1) ( 0 , 1 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) modulo 2 2 2 . S n + 1 S_{n+1} S n + 1 follows S n S_n S n with B n = A n + 1 − ( 1 , 3 ) B_n=A_{n+1}-(1,3) B n = A n + 1 − ( 1 , 3 ) .
(iii) Let an ordinal of level n ≥ 3 n \ge3 n ≥ 3 have vertex A = ( u , v ) A=(u,v) A = ( u , v ) . Its children are translates of S k S_k S k , 1 ≤ k ≤ n − 2 1 \le k \le n-2 1 ≤ k ≤ n − 2 , with vertices
A + ( 2 n − 2 k + 2 + 4 , 2 n − 2 k + 2 − 2 ( n − k ) + 4 ) (first half) , A+\left(2^n-2^{k+2}+4,\ 2^n-2^{k+2}-2(n-k)+4\right) \qquad\text{(first half)}, A + ( 2 n − 2 k + 2 + 4 , 2 n − 2 k + 2 − 2 ( n − k ) + 4 ) (first half) ,
A + ( 2 n + 2 k + 1 + 2 ( n − k ) − 4 , 2 n + 2 k + 1 − 4 ) (second half) . A+\left(2^n+2^{k+1}+2(n-k)-4,\ 2^n+2^{k+1}-4\right) \qquad\text{(second half)}. A + ( 2 n + 2 k + 1 + 2 ( n − k ) − 4 , 2 n + 2 k + 1 − 4 ) (second half) .
(iv) An ordinal of level n ≥ 2 n \ge2 n ≥ 2 with vertex ( u , v ) (u,v) ( u , v ) contains the switching square [ u + 2 n , u + 2 n + 2 n − 4 ] 2 [u+2^n,u+2^n+2n-4]^2 [ u + 2 n , u + 2 n + 2 n − 4 ] 2 of side 2 n − 3 2n-3 2 n − 3 , coloured by the central lattice: a cell of the square is red if and only if both its coordinates are even. Each side of the square contains n − 1 n-1 n − 1 red and n − 2 n-2 n − 2 blue cells. The two diagonal cells ( u + 2 n − 2 , u + 2 n − 2 ) (u+2^n-2,u+2^n-2) ( u + 2 n − 2 , u + 2 n − 2 ) and ( u + 2 n + 2 n − 2 , u + 2 n + 2 n − 2 ) (u+2^n+2n-2,u+2^n+2n-2) ( u + 2 n + 2 n − 2 , u + 2 n + 2 n − 2 ) are red. For S n S_n S n the switching square is [ 3 ⋅ 2 n − 2 n + 2 , 3 ⋅ 2 n − 2 ] 2 [3\cdot2^n-2n+2,3\cdot2^n-2]^2 [ 3 ⋅ 2 n − 2 n + 2 , 3 ⋅ 2 n − 2 ] 2 .
(v) Outside the main ordinals, cells ( x , y ) (x,y) ( x , y ) with min ( x , y ) ≥ 2 \min(x,y)\ge2 min ( x , y ) ≥ 2 have the colour Λ 2 \Lambda_2 Λ 2 , except in the transition squares T n T_n T n of Proposition 24 and at ( 2 , 2 ) (2,2) ( 2 , 2 ) and ( 4 , 4 ) (4,4) ( 4 , 4 ) . Inside an ordinal of level n ≥ 3 n\ge3 n ≥ 3 , exclude its children, its transition squares, its switching square and the two red diagonal cells of (iv). The remaining cells have the colour Λ 0 \Lambda_0 Λ 0 before the switching square and Λ 2 \Lambda_2 Λ 2 after the square.
(vi) The white cells of t t t are the borders of the ordinals and the two white lines.
Proof. All parts restate Theorem 11 in the coordinates ( x , y ) (x,y) ( x , y ) . For (ii), A n = ( e n − w n 2 , e n + w n 2 ) A_n=\left(\frac{e_n-w_n}{2},\frac{e_n+w_n}{2}\right) A n = ( 2 e n − w n , 2 e n + w n ) and B n = A n + ( 2 n + 1 − 3 ) ( 1 , 1 ) B_n=A_n+(2^{n+1}-3)(1,1) B n = A n + ( 2 n + 1 − 3 ) ( 1 , 1 ) , and the parities follow from Lemma 8 (a), since u = ( e − w ) / 2 u=(e-w)/2 u = ( e − w ) /2 is even, v = u + w v=u+w v = u + w is odd and k = L / 2 k=L/2 k = L /2 is odd. For (iii), the vertex of a child opening at e + p e+p e + p with half-width w k w_k w k is A + ( p 2 + ( n − k ) , p 2 − ( n − k ) ) A+\left(\frac{p}{2}+(n-k),\frac{p}{2}-(n-k)\right) A + ( 2 p + ( n − k ) , 2 p − ( n − k ) ) , and one inserts p = p n , k p=p_{n,k} p = p n , k or q n , k q_{n,k} q n , k . For (iv), the diamond of rule (D4) has centre μ / 2 = u + 2 n + n − 2 \mu/2=u+2^n+n-2 μ /2 = u + 2 n + n − 2 on the diagonal and half-side r / 2 = n − 2 r/2=n-2 r /2 = n − 2 , and u u u is even. The two red diagonal cells are the (D2)-cells [ μ − 2 n , 0 ] [\mu-2n,0] [ μ − 2 n , 0 ] and [ μ + 2 n , 0 ] [\mu+2n,0] [ μ + 2 n , 0 ] , which are red because μ ± 2 n ≡ 0 ( m o d 4 ) \mu\pm2n\equiv0\pmod{4} μ ± 2 n ≡ 0 ( mod 4 ) . For (v), the cells in question are given by rules (D2), (D3) and (D5), and Lemma 23 below places all (D2)- and (D3)-cells in transition squares, apart from the cells named. Part (vi) is (P1).
Corollary 21 (the mirrored ordinals). For each n ≥ 1 n\ge1 n ≥ 1 , the boxes contained in S n S_n S n , including S n S_n S n itself, form an ordered rooted tree under the child relation. This tree is isomorphic to the occurrence tree of s n s_n s n : the root corresponds to the whole word and each child to its particular occurrence in the defining list. The family B \mathcal{B} B is the disjoint union of these trees over the main boxes. In a box of level at least 3 3 3 , the switching square corresponds to the bar of its composite word.
Proof. By Definition 6, the children of a box of level n ≥ 3 n\ge3 n ≥ 3 are, in time order, boxes of levels n − 2 , … , 1 , 1 , … , n − 2 n-2,\ldots,1,1,\ldots,n-2 n − 2 , … , 1 , 1 , … , n − 2 , and boxes of level 1 and 2 have no children, which is the definition of s n s_n s n with s 1 = ∅ 1 s_1=\varnothing_1 s 1 = ∅ 1 and s 2 = ∅ 2 s_2=\varnothing_2 s 2 = ∅ 2 . By Lemma 8 (c), for levels at least 3, the switching square lies between the two copies of S 1 S_1 S 1 .
Corollary 22 (number of boxes). Let N n N_n N n be the number of boxes contained in S n S_n S n , including S n S_n S n itself and all its descendants. Then
N n = 2 n − ( − 1 ) n 3 ( n ≥ 1 ) . N_n = \frac{2^n - (-1)^n}{3} \qquad(n \ge1). N n = 3 2 n − ( − 1 ) n ( n ≥ 1 ) . Proof. The children give N 1 = N 2 = 1 N_1 = N_2 = 1 N 1 = N 2 = 1 and N n = 1 + 2 ∑ k = 1 n − 2 N k N_n = 1 + 2\sum_{k=1}^{n-2} N_k N n = 1 + 2 ∑ k = 1 n − 2 N k for n ≥ 3 n \ge3 n ≥ 3 . Subtracting consecutive equations gives N n = N n − 1 + 2 N n − 2 N_n = N_{n-1} + 2N_{n-2} N n = N n − 1 + 2 N n − 2 for n ≥ 3 n \ge3 n ≥ 3 . The displayed expression has the same initial values and satisfies this recurrence.
Transition squares
Consecutive edges of a host that are 4 rows apart produce a square of cells with a simple structure. A junction is a pair of consecutive elements ( c 0 , a ) (c_0,a) ( c 0 , a ) , a closing, and ( c 0 + 4 , b ) (c_0+4,b) ( c 0 + 4 , b ) , an opening, of some E ( H ) \mathcal{E}(H) E ( H ) , that is, a case J2, J3 or J5. Its transition square is the set
{ [ s , d ] : ∣ s − s J ∣ + ∣ d ∣ ≤ R J } , ( s J , R J ) = { ( c 0 + 1 , a + 1 ) in case J2 , ( c 0 + 3 , a + 3 ) in cases J3 and J5 , \{[s,d]: |s-s_J|+|d|\le R_J\}, \qquad(s_J,R_J)=
\begin{cases}
(c_0+1,a+1) & \text{in case J2},\\
(c_0+3,a+3) & \text{in cases J3 and J5},
\end{cases} {[ s , d ] : ∣ s − s J ∣ + ∣ d ∣ ≤ R J } , ( s J , R J ) = { ( c 0 + 1 , a + 1 ) ( c 0 + 3 , a + 3 ) in case J2 , in cases J3 and J5 ,
which is a square with sides parallel to the axes in the coordinates ( x , y ) (x,y) ( x , y ) . For the junction between S n S_n S n and S n + 1 S_{n+1} S n + 1 this is the square
T n = [ 2 n + 2 − 2 n − 1 , 2 n + 2 + 1 ] 2 T_n = [2^{n+2}-2n-1,2^{n+2}+1]^2 T n = [ 2 n + 2 − 2 n − 1 , 2 n + 2 + 1 ] 2
of side 2 n + 3 2n+3 2 n + 3 , whose top left corner ( u B , u B ) (u_B,u_B) ( u B , u B ) has the first coordinate of B n = ( u B , v B ) B_n=(u_B,v_B) B n = ( u B , v B ) .
Lemma 23. Every transition cell lies in the transition square of some junction, with the following exceptions: the diagonal cells [ c g a p + 1 , 0 ] [c_{\mathrm{gap}}+1,0] [ c gap + 1 , 0 ] and [ e g a p − 1 , 0 ] [e_{\mathrm{gap}}-1,0] [ e gap − 1 , 0 ] on the two sides of each switching gap ( c g a p , e g a p ) (c_{\mathrm{gap}},e_{\mathrm{gap}}) ( c gap , e gap ) , and the three cells [ 2 , 0 ] [2,0] [ 2 , 0 ] , [ 4 , 0 ] [4,0] [ 4 , 0 ] and [ 8 , 0 ] [8,0] [ 8 , 0 ] , which are ( 1 , 1 ) (1,1) ( 1 , 1 ) , ( 2 , 2 ) (2,2) ( 2 , 2 ) and ( 4 , 4 ) (4,4) ( 4 , 4 ) .
Proof. For a junction J J J , let X 0 X_0 X 0 be the box closing at c 0 c_0 c 0 and let Y 0 Y_0 Y 0 be the box opening at c 0 + 4 c_0+4 c 0 + 4 . The closing chain X 0 ⊃ X 1 ⊃ ⋯ X_0 \supset X_1 \supset\cdots X 0 ⊃ X 1 ⊃ ⋯ follows last children, so X j + 1 X_{j+1} X j + 1 is the last child of X j X_j X j as long as X j X_j X j has level at least 3. The opening chain Y 0 ⊃ Y 1 ⊃ ⋯ Y_0 \supset Y_1 \supset\cdots Y 0 ⊃ Y 1 ⊃ ⋯ follows first children in the same way. By Lemma 8(b), X j X_j X j closes at c 0 − 4 j c_0-4j c 0 − 4 j with half-width a − 4 j a-4j a − 4 j , and Y j Y_j Y j opens at c 0 + 4 + 4 j c_0+4+4j c 0 + 4 + 4 j with half-width b − 4 j b-4j b − 4 j .
Every closing edge lies in a closing chain, with one exception. Given a box X X X , go up through the relation last child of until a box Z Z Z is reached that is not a last child. Then Z Z Z is followed by a sibling, which is case J2 or J3, or Z Z Z is a main box, which is case J5, or Z Z Z is the first-half copy of S 1 S_1 S 1 before a switching gap, in which case Z = X Z=X Z = X because S 1 S_1 S 1 has no children. Symmetrically, every opening edge lies in an opening chain, except the opening of the copy of S 1 S_1 S 1 that follows a switching gap and the opening of the main box S 1 S_1 S 1 .
The transition rows of the chain edges lie in the square. In case J2, with s J = c 0 + 1 s_J=c_0+1 s J = c 0 + 1 and R J = a + 1 R_J=a+1 R J = a + 1 , the value of ∣ s − s J ∣ + ∣ d ∣ |s-s_J|+|d| ∣ s − s J ∣ + ∣ d ∣ at the outermost cells of the transition rows is as follows. For the closing of X j X_j X j : a + 1 a+1 a + 1 on the row c 0 − 4 j − 1 c_0-4j-1 c 0 − 4 j − 1 with ∣ d ∣ ≤ a − 4 j − 1 |d|\le a-4j-1 ∣ d ∣ ≤ a − 4 j − 1 , a + 1 a+1 a + 1 on the row c 0 − 4 j − 2 c_0-4j-2 c 0 − 4 j − 2 with ∣ d ∣ ≤ a − 4 j − 2 |d|\le a-4j-2 ∣ d ∣ ≤ a − 4 j − 2 , and at most a − 1 a-1 a − 1 on the rows c 0 − 4 j + 1 c_0-4j+1 c 0 − 4 j + 1 and c 0 − 4 j + 2 c_0-4j+2 c 0 − 4 j + 2 . For the opening of Y j Y_j Y j : a − 1 a-1 a − 1 and a − 3 a-3 a − 3 on the rows c 0 + 3 + 4 j c_0+3+4j c 0 + 3 + 4 j and c 0 + 2 + 4 j c_0+2+4j c 0 + 2 + 4 j , and a + 1 a+1 a + 1 on the rows c 0 + 5 + 4 j c_0+5+4j c 0 + 5 + 4 j with ∣ d ∣ ≤ a − 3 − 4 j |d|\le a-3-4j ∣ d ∣ ≤ a − 3 − 4 j and c 0 + 6 + 4 j c_0+6+4j c 0 + 6 + 4 j with ∣ d ∣ ≤ a − 4 − 4 j |d|\le a-4-4j ∣ d ∣ ≤ a − 4 − 4 j . In cases J3 and J5, with s J = c 0 + 3 s_J=c_0+3 s J = c 0 + 3 , R J = a + 3 R_J=a+3 R J = a + 3 and b = a + 2 b=a+2 b = a + 2 , the same computation gives a + 3 a+3 a + 3 and a + 3 a+3 a + 3 before
the closing of X j X_j X j , a + 1 a+1 a + 1 and at most a a a after it, a + 1 a+1 a + 1 and at most a + 1 a+1 a + 1 before the opening of Y j Y_j Y j , and a + 3 a+3 a + 3 and a + 3 a+3 a + 3 after it. All these values are at most R J R_J R J .
The edges outside these chains account for the exceptions in the statement. Before a switching gap, the closing of the first-half copy of S 1 S_1 S 1 contributes [ c g a p + 1 , 0 ] [c_{\mathrm{gap}}+1,0] [ c gap + 1 , 0 ] . After the gap, the opening of the second copy contributes [ e g a p − 1 , 0 ] [e_{\mathrm{gap}}-1,0] [ e gap − 1 , 0 ] . The opening of the main box S 1 S_1 S 1 contributes [ 8 , 0 ] [8,0] [ 8 , 0 ] , and the virtual edge contributes [ 2 , 0 ] [2,0] [ 2 , 0 ] and [ 4 , 0 ] [4,0] [ 4 , 0 ] . The interior cell of each such copy of S 1 S_1 S 1 is also a transition cell of the other edge of the copy, which lies in a chain.
Proposition 24 (transition squares). Let n ≥ 1 n \ge1 n ≥ 1 .
(a) In T n T_n T n , every odd anti-diagonal is entirely white or entirely red, and white and red alternate. The white anti-diagonals are the closing edges of S n ⊃ S n − 2 ⊃ ⋯ S_n \supset S_{n-2} \supset\cdots S n ⊃ S n − 2 ⊃ ⋯ and the opening edges of S n + 1 ⊃ S n − 1 ⊃ ⋯ S_{n+1} \supset S_{n-1} \supset\cdots S n + 1 ⊃ S n − 1 ⊃ ⋯ , each as wide as T n T_n T n at its row. Every even anti-diagonal of T n T_n T n is coloured by the central lattice.
(b) Consequently, the four corner cells of T n T_n T n are blue. Along the two sides that meet at the top left corner, read from that corner, the colours repeat with period 4 as blue, red, blue, white for n n n even and as blue, white, blue, red for n n n odd. Along the two other sides, read towards the bottom right corner, the colours repeat as blue, white, blue, red. The white cells lie on the diagonal segments joining corresponding cells of the two initial sides, and of the two final sides. The red cells form staircases joining corresponding red cells of the sides, with runs of 2, 3, 3, … \ldots … , 3, 2 cells. All other cells are blue.
Proof. (a) Let c 0 = e n + L n c_0=e_n+L_n c 0 = e n + L n . The rows c 0 − 4 j c_0-4j c 0 − 4 j with j ≥ 0 j \ge0 j ≥ 0 are the closing edges of the chain of last children, of half-width w n − 4 j w_n-4j w n − 4 j , which is the width of T n T_n T n at that row. The rows c 0 + 4 + 4 j c_0+4+4j c 0 + 4 + 4 j are the opening edges of the chain of first children of S n + 1 S_{n+1} S n + 1 , of half-width w n + 2 − 4 j w_n+2-4j w n + 2 − 4 j , again the width of T n T_n T n . The rows c 0 + 2 − 4 j c_0+2-4j c 0 + 2 − 4 j and c 0 + 6 + 4 j c_0+6+4j c 0 + 6 + 4 j are red on their full width in T n T_n T n by rule (D3) of the two neighbouring edges, except at the two outermost cells [ c 0 + 2 , ± ( w n + 2 ) ] [c_0+2,\pm(w_n+2)] [ c 0 + 2 , ± ( w n + 2 )] , which are environment cells with Λ 2 = 1 \Lambda_2=1 Λ 2 = 1 . On even rows, D = Γ D=\Gamma D = Γ by rule (D2), or D = 2 = Γ D=2=\Gamma D = 2 = Γ at the cells that rule (D2) does not reach, which are blue by (P2) or rule (D5) and have Γ = 2 \Gamma=2 Γ = 2 by the congruences of Lemma 8(a). The top and bottom corner cells lie in the interiors of the innermost boxes of the two chains, where D = Γ = 2 D=\Gamma=2 D = Γ = 2 by class (E1) and (P3).
(b) In the coordinates ( x , y ) (x,y) ( x , y ) a red anti-diagonal is joined to the red cells of the central lattice on the two neighbouring even anti-diagonals. At a cell ( x , y ) (x,y) ( x , y ) with x x x even the path turns through ( x , y − 1 ) (x,y-1) ( x , y − 1 ) , and with x x x odd through ( x + 1 , y ) (x+1,y) ( x + 1 , y ) , which produces the staircases with runs of 3 cells, and of 2 cells at the two ends. The colours along the sides follow from (a) and from the congruences c 0 ≡ w n + 2 c_0 \equiv w_n+2 c 0 ≡ w n + 2 and e n + 1 ≡ w n + 2 ( m o d 4 ) e_{n+1} \equiv w_n+2 \pmod4 e n + 1 ≡ w n + 2 ( mod 4 ) .
The same structure occurs at every junction inside a box. Suppose a copy of S k S_k S k with closing vertex ( u B , v B ) (u_B,v_B) ( u B , v B ) is followed 4 rows later by a sibling. If the sibling is a copy of S k + 1 S_{k+1} S k + 1 , the transition square is [ u B , w B + 2 k + 2 ] 2 [u_B,w_B+2k+2]^2 [ u B , w B + 2 k + 2 ] 2 , of side 2 k + 3 2k+3 2 k + 3 . If the sibling is a copy of S k − 1 S_{k-1} S k − 1 , the square is [ u B , u B + 2 k ] 2 [u_B,u_B+2k]^2 [ u B , u B + 2 k ] 2 , of side 2 k + 1 2k+1 2 k + 1 . The proof of (a) applies with the chains of the junction in place of the chains of S n S_n S n and S n + 1 S_{n+1} S n + 1 .
The argument triples
Theorem 25. Let Θ = { ( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 ) ) : x , y ≥ 1 } \Theta= \{(t(x-1,y),t(x-1,y-1),t(x,y-1)):x,y\geq1\} Θ = {( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 )) : x , y ≥ 1 } be the set of triples at which f f f is evaluated in the computation of t t t .
(a) Θ = F 3 3 ∖ { ( 0 , 0 , 0 ) , ( 1 , 0 , 1 ) , ( 0 , 1 , 2 ) , ( 2 , 1 , 0 ) } \Theta= \mathbb{F}_3^3 \setminus\{(0,0,0),(1,0,1),(0,1,2),(2,1,0)\} Θ = F 3 3 ∖ {( 0 , 0 , 0 ) , ( 1 , 0 , 1 ) , ( 0 , 1 , 2 ) , ( 2 , 1 , 0 )} , so Θ \Theta Θ has 23 elements.
(b) For g : F 3 3 → F 3 g:\mathbb{F}_3^3\to\mathbb{F}_3 g : F 3 3 → F 3 , the double sequence with rule g g g and the same boundary values equals t t t if and only if g = f g=f g = f on Θ \Theta Θ . Consequently 3 4 = 81 3^4=81 3 4 = 81 functions generate t t t , of which 3 3 = 27 3^3=27 3 3 = 27 are symmetric in x x x and z z z . Agreement with f f f on a proper subset of Θ \Theta Θ does not force equality of the sequences.
(c) The triples ( 0 , 0 , 1 ) (0,0,1) ( 0 , 0 , 1 ) and ( 1 , 0 , 0 ) (1,0,0) ( 1 , 0 , 0 ) occur at ( 2 , 3 ) (2,3) ( 2 , 3 ) and ( 3 , 2 ) (3,2) ( 3 , 2 ) only. The triples ( 0 , 0 , 2 ) (0,0,2) ( 0 , 0 , 2 ) and ( 2 , 0 , 0 ) (2,0,0) ( 2 , 0 , 0 ) occur at ( 2 , y ) (2,y) ( 2 , y ) with y ≥ 4 y\geq4 y ≥ 4 and at ( x , 2 ) (x,2) ( x , 2 ) with x ≥ 4 x\geq4 x ≥ 4 only. The triples ( 1 , 1 , 0 ) (1,1,0) ( 1 , 1 , 0 ) and ( 0 , 1 , 1 ) (0,1,1) ( 0 , 1 , 1 ) occur at ( 1 , y ) (1,y) ( 1 , y ) with y ≥ 3 y\geq3 y ≥ 3 and at ( x , 1 ) (x,1) ( x , 1 ) with x ≥ 3 x\geq3 x ≥ 3 only. Each of the remaining 17 triples occurs at infinitely many cells with x , y ≥ 3 x,y\geq3 x , y ≥ 3 .
Proof. (a) We first show that the four triples do not occur. By (P1) a white cell is a border cell or a cell of a white line.
The triples ( 0 , 0 , 0 ) (0,0,0) ( 0 , 0 , 0 ) and ( 1 , 0 , 1 ) (1,0,1) ( 1 , 0 , 1 ) require c y c_y c y to be white. If c y c_y c y is on a white line, then c = [ s , ± ( s − 4 ) ] c=[s,\pm(s-4)] c = [ s , ± ( s − 4 )] with s ≥ 5 s\geq5 s ≥ 5 , a cell of class (E6), and the triple is ( 0 , 0 , z ) (0,0,z) ( 0 , 0 , z ) or ( z , 0 , 0 ) (z,0,0) ( z , 0 , 0 ) with z = D [ s − 1 , ± ( s − 5 ) ] ≠ 0 z=D[s-1,\pm(s-5)]\ne0 z = D [ s − 1 , ± ( s − 5 )] = 0 , namely z = 1 z=1 z = 1 for s = 5 s=5 s = 5 and z = 2 z=2 z = 2 for s ≥ 6 s\geq6 s ≥ 6 . If c y c_y c y is a border cell, its row is odd, so c x c_x c x and c z c_z c z lie on an even row and are not white. If c y c_y c y is a wall cell or the corner of a closing edge, then c x c_x c x or c z c_z c z is blue by (P2), and if c y c_y c y is an inner cell of an edge, then c x c_x c x and c z c_z c z are consecutive Γ \Gamma Γ -cells, one red and one blue.
The triple ( 0 , 1 , 2 ) (0,1,2) ( 0 , 1 , 2 ) requires c x c_x c x white, c y c_y c y red and c z c_z c z blue. If c x c_x c x is on a white line, then d + 1 = ± ( s − 3 ) d+1=\pm(s-3) d + 1 = ± ( s − 3 ) . For d + 1 = s − 3 d+1=s-3 d + 1 = s − 3 we have c = [ s , s − 4 ] c=[s,s-4] c = [ s , s − 4 ] , and c y c_y c y is on a white line for s ≥ 5 s\geq5 s ≥ 5 while c y = [ 2 , 0 ] c_y=[2,0] c y = [ 2 , 0 ] is blue for s = 4 s=4 s = 4 . For d + 1 = − ( s − 3 ) d+1=-(s-3) d + 1 = − ( s − 3 ) the cell c c c is on a white line and c z = [ s − 1 , − ( s − 1 ) ] c_z=[s-1,-(s-1)] c z = [ s − 1 , − ( s − 1 )] is red. If c x c_x c x is a wall cell at d + 1 = w d+1=w d + 1 = w , then c y c_y c y is blue by (P2), or c z c_z c z is white, at s = e + 1 s=e+1 s = e + 1 or s = e + L + 1 s=e+L+1 s = e + L + 1 . If c x c_x c x is a wall cell at d + 1 = − w d+1=-w d + 1 = − w , then c y c_y c y is blue by (P2). If c x c_x c x is an inner cell of an edge, then c z c_z c z is white as well. By symmetry ( 2 , 1 , 0 ) (2,1,0) ( 2 , 1 , 0 ) does not occur either.
The other 23 triples occur. Table 2 lists a first occurrence of each.
Table 2. The 23 triples ( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 ) ) (t(x-1,y),t(x-1,y-1),t(x,y-1)) ( t ( x − 1 , y ) , t ( x − 1 , y − 1 ) , t ( x , y − 1 )) that occur in the computation of t t t , the value of f f f at each, a cell ( x , y ) (x,y) ( x , y ) at which the triple first occurs, and the kind of cell at which it occurs. Where two cells are given, the second is the first occurrence with x , y ≥ 3 x,y \ge3 x , y ≥ 3 .
(b) If g = f g=f g = f on Θ \Theta Θ , induction on x + y x+y x + y shows that the two sequences agree. Conversely, suppose that g g g differs from f f f on a nonempty set Θ ′ ⊆ Θ \Theta'\subseteq\Theta Θ ′ ⊆ Θ and let s ∗ s^* s ∗ be the least anti-diagonal on which some triple of Θ ′ \Theta' Θ ′ occurs in t t t . On the anti-diagonals before s ∗ s^* s ∗ the two sequences agree, and at an occurrence of a triple of Θ ′ \Theta' Θ ′ on s ∗ s^* s ∗ they differ. The same argument shows that agreement on a proper subset of Θ \Theta Θ does not force equality. Among the 81 functions that agree with f f f on Θ \Theta Θ , a function is symmetric if and only if it takes the same value at ( 0 , 1 , 2 ) (0,1,2) ( 0 , 1 , 2 ) and ( 2 , 1 , 0 ) (2,1,0) ( 2 , 1 , 0 ) , which leaves 27 choices.
(c) By the proof of (a), c x = c y = 0 c_x=c_y=0 c x = c y = 0 forces c y c_y c y onto a white line with c = [ s , s − 4 ] c=[s,s-4] c = [ s , s − 4 ] and s ≥ 5 s\geq5 s ≥ 5 , that is c = ( 2 , s − 2 ) c=(2,s-2) c = ( 2 , s − 2 ) , which gives ( 0 , 0 , 1 ) (0,0,1) ( 0 , 0 , 1 ) for s = 5 s=5 s = 5 and ( 0 , 0 , 2 ) (0,0,2) ( 0 , 0 , 2 ) for s ≥ 6 s\geq6 s ≥ 6 . The mirror statement gives ( 1 , 0 , 0 ) (1,0,0) ( 1 , 0 , 0 ) and ( 2 , 0 , 0 ) (2,0,0) ( 2 , 0 , 0 ) . For ( 1 , 1 , 0 ) (1,1,0) ( 1 , 1 , 0 ) , the parent c z c_z c z is white and c x , c y c_x,c_y c x , c y are red. If c z c_z c z is a border cell, the analysis of ( 0 , 1 , 2 ) (0,1,2) ( 0 , 1 , 2 ) with x x x and z z z exchanged shows that c y c_y c y is blue or c x c_x c x is white. If c z c_z c z is on a white line with d − 1 = − ( s − 3 ) d-1=-(s-3) d − 1 = − ( s − 3 ) , then c = [ s , − ( s − 4 ) ] c=[s,-(s-4)] c = [ s , − ( s − 4 )] and c y c_y c y is white or blue. Hence d − 1 = s − 3 d-1=s-3 d − 1 = s − 3 , so c c c is on the white line x = 1 x=1 x = 1 , where the triple is ( 1 , 1 , 0 ) (1,1,0) ( 1 , 1 , 0 ) for s ≥ 4 s\geq4 s ≥ 4 . The mirror statement gives ( 0 , 1 , 1 ) (0,1,1) ( 0 , 1 , 1 ) . Each of the remaining 17 triples occurs at a cell of the kind named in the last column of Table 2 . Cells of each listed kind occur inside every main box S n S_n S n with n ≥ 5 n \ge5 n ≥ 5 : at the openings, closings or walls of its children, in its switching square, or in its environment.
Three letters and three initial symbols
The construction with two initial symbols has the following analogue with three. Put
s 1 = ∅ 1 , s 2 = ∅ 2 , s 3 = ∅ 3 , s n = ( s n − 3 ⋯ s 1 ∣ s 1 ⋯ s n − 3 ) ( n ≥ 4 ) . s_1=\varnothing_1,\qquad s_2=\varnothing_2,\qquad s_3=\varnothing_3,\qquad s_n=(s_{n-3}\cdots s_1\mid s_1\cdots s_{n-3})\quad(n\geq4). s 1 = ∅ 1 , s 2 = ∅ 2 , s 3 = ∅ 3 , s n = ( s n − 3 ⋯ s 1 ∣ s 1 ⋯ s n − 3 ) ( n ≥ 4 ) .
The initial symbols are distinct atoms. We give a three-letter sequence whose rectangles, now bordered in red, realise these words.
Let ρ : N 2 → F 3 \rho:\mathbb{N}^2\to\mathbb{F}_3 ρ : N 2 → F 3 have boundary values ρ ( x , 0 ) = ρ ( 0 , y ) = 0 \rho(x,0)=\rho(0,y)=0 ρ ( x , 0 ) = ρ ( 0 , y ) = 0 and recurrence rule
h ( x , y , z ) = ( y − 1 ) 2 ( x 2 + z 2 ) + y ( y + 1 ) ( x + z ) + x z ( x + z + 2 x z ) + 2 y + 1 in F 3 . (1) h(x,y,z)=(y-1)^2(x^2+z^2)+y(y+1)(x+z)+xz(x+z+2xz)+2y+1\quad\text{in }\mathbb{F}_3. \tag*{(1)} h ( x , y , z ) = ( y − 1 ) 2 ( x 2 + z 2 ) + y ( y + 1 ) ( x + z ) + x z ( x + z + 2 x z ) + 2 y + 1 in F 3 . (1)
As before, 0 is white, 1 red and 2 blue. Figure 3 shows the beginning of the sequence. For the proof it is convenient to exchange 0 and 1, fixing 2. Thus u = 1 − ρ u=1-\rho u = 1 − ρ has boundary value 1 and the rule
Figure 3. The cells ( x , y ) (x,y) ( x , y ) with 0 ≤ x , y < 64 0\leq x,y<64 0 ≤ x , y < 64 of ρ \rho ρ . Left: white 0, red 1 and blue 2. Right: red is drawn in white, and the other two colours in black. The first five main boxes are complete, and the sixth begins at the bottom right. The first three boxes have no children. The fourth contains two copies of the first, and the fifth contains copies of the second, first, first and second.
h 0 ( x , y , z ) = 2 + 2 y + 2 y 2 + 2 y 2 ( x 2 + z 2 ) + 2 x z ( x + z ) + x 2 z 2 . (2) h_0(x,y,z)=2+2y+2y^2+2y^2(x^2+z^2)+2xz(x+z)+x^2z^2. \tag*{(2)} h 0 ( x , y , z ) = 2 + 2 y + 2 y 2 + 2 y 2 ( x 2 + z 2 ) + 2 x z ( x + z ) + x 2 z 2 . (2)
Indeed h ( x , y , z ) = 1 − h 0 ( 1 − x , 1 − y , 1 − z ) h(x,y,z)=1-h_0(1-x,1-y,1-z) h ( x , y , z ) = 1 − h 0 ( 1 − x , 1 − y , 1 − z ) in F 3 \mathbb{F}_3 F 3 . All pattern values below refer to u u u . Subtracting these values from 1 in F 3 \mathbb{F}_3 F 3 gives the colours of ρ \rho ρ .
The box patterns
Define their durations by
b 1 = 2 , b 2 = 6 , b 3 = 14 , b n = b n − 1 + 2 b n − 3 + 8 ( n ≥ 4 ) , b_1=2,\qquad b_2=6,\qquad b_3=14,\qquad b_n=b_{n-1}+2b_{n-3}+8\quad(n\geq4), b 1 = 2 , b 2 = 6 , b 3 = 14 , b n = b n − 1 + 2 b n − 3 + 8 ( n ≥ 4 ) ,
and their main opening times by c 1 = 5 c_1=5 c 1 = 5 , c n + 1 = c n + b n + 3 c_{n+1}=c_n+b_n+3 c n + 1 = c n + b n + 3 . The box region of level n n n opening at e e e is
C ( n , e ) = { [ s , d ] : e ≤ s ≤ e + b n , ∣ d ∣ ≤ n } , e ≥ n , e ≡ n ( m o d 2 ) . C(n,e)=\{[s,d]:e\le s\le e+b_n,\ \lvert d\rvert\le n\},\qquad e\ge n,\quad e\equiv n\pmod{2}. C ( n , e ) = {[ s , d ] : e ≤ s ≤ e + b n , ∣ d ∣ ≤ n } , e ≥ n , e ≡ n ( mod 2 ) .
The main regions are C n = C ( n , c n ) C_n=C(n,c_n) C n = C ( n , c n ) . A region of level n ≤ 3 n\le3 n ≤ 3 has no children. For n ≥ 4 n\ge4 n ≥ 4 its children are C ( k , e + α n , k ) C(k,e+\alpha_{n,k}) C ( k , e + α n , k ) and C ( k , e + β n , k ) C(k,e+\beta_{n,k}) C ( k , e + β n , k ) , 1 ≤ k ≤ n − 3 1\le k\le n-3 1 ≤ k ≤ n − 3 , where
α n , k = 3 + ∑ j = k + 1 n − 3 ( b j + 3 ) , β n , k = b n − b k − α n , k . \alpha_{n,k}=3+\sum_{j=k+1}^{n-3}(b_j+3),\qquad\beta_{n,k}=b_n-b_k-\alpha_{n,k}. α n , k = 3 + j = k + 1 ∑ n − 3 ( b j + 3 ) , β n , k = b n − b k − α n , k .
Write H \mathcal{H} H for the main regions and all their descendants.
The first child opens 3 rows after its parent, consecutive children within each half are separated by 3 rows, and the last child closes 3 rows before its parent. The gap between the two children of level 1 has length 2 n + 8 2n+8 2 n + 8 . These statements follow from
b n = 2 ∑ k = 1 n − 3 b k + 8 n − 10 ( n ≥ 3 ) . (3) b_n=2\sum_{k=1}^{n-3}b_k+8n-10\qquad(n\ge3). \tag*{(3)} b n = 2 k = 1 ∑ n − 3 b k + 8 n − 10 ( n ≥ 3 ) . (3)
The sum is empty for n = 3 n=3 n = 3 . Induction also gives
b n ≡ 2 ( m o d 4 ) , c n ≡ n ( m o d 4 ) , α n , k ≡ n − k , β n , k ≡ k − n ( m o d 4 ) , b_n\equiv2\pmod{4},\qquad c_n\equiv n\pmod{4},\qquad\alpha_{n,k}\equiv n-k,\qquad\beta_{n,k}\equiv k-n\pmod{4}, b n ≡ 2 ( mod 4 ) , c n ≡ n ( mod 4 ) , α n , k ≡ n − k , β n , k ≡ k − n ( mod 4 ) ,
and b n / 2 ≡ 2 n + 1 ( m o d 4 ) b_n/2\equiv2n+1\pmod{4} b n /2 ≡ 2 n + 1 ( mod 4 ) for n ≥ 3 n\ge3 n ≥ 3 .
Definition 26 (the pattern H n H_n H n ). Let 0 ≤ r ≤ b n 0\le r\le b_n 0 ≤ r ≤ b n , ∣ d ∣ ≤ n \lvert d\rvert\le n ∣ d ∣ ≤ n and n + r ≡ d ( m o d 2 ) n+r\equiv d\pmod{2} n + r ≡ d ( mod 2 ) . The value H n ( r , d ) H_n(r,d) H n ( r , d ) is given by the first applicable rule below. An edge ( a , k ) (a,k) ( a , k ) means ( 0 , n ) (0,n) ( 0 , n ) or ( b n , n ) (b_n,n) ( b n , n ) , or an opening or closing edge of a child, at relative time a a a and with half-width k k k .
(i) On the border, H n ( r , d ) = 0 H_n(r,d)=0 H n ( r , d ) = 0 .
(ii) In a child of level k k k opening at offset a a a , use H k ( r − a , d ) H_k(r-a,d) H k ( r − a , d ) .
(iii) If 1 ≤ ∣ r − a ∣ ≤ 2 1\le\lvert r-a\rvert\le2 1 ≤ ∣ r − a ∣ ≤ 2 and ∣ d ∣ ≤ k − ∣ r − a ∣ \lvert d\rvert\le k-\lvert r-a\rvert ∣ d ∣ ≤ k − ∣ r − a ∣ for an edge ( a , k ) (a,k) ( a , k ) , use 2.
(iv) If n ≥ 3 n\ge3 n ≥ 3 , d = 0 d=0 d = 0 and ∣ r − b n / 2 ∣ = n + 1 \lvert r-b_n/2\rvert=n+1 ∣ r − b n /2 ∣ = n + 1 , use 0.
(v) If n ≥ 3 n\ge3 n ≥ 3 and ∣ r − b n / 2 ∣ + ∣ d ∣ ≤ n − 1 \lvert r-b_n/2\rvert+\lvert d\rvert\le n-1 ∣ r − b n /2 ∣ + ∣ d ∣ ≤ n − 1 , use 1 for even d d d and 2 for odd d d d .
(vi) Otherwise use 1 if min ( r , b n − r ) + ∣ d ∣ ≡ n − 2 ( m o d 4 ) \min(r,b_n-r)+\lvert d\rvert\equiv n-2\pmod{4} min ( r , b n − r ) + ∣ d ∣ ≡ n − 2 ( mod 4 ) , and 2 otherwise.
Rules (iv) and (v) describe the two exceptional diagonal cells and the switching diamond. For n = 1 , 2 n=1,2 n = 1 , 2 these rules do not apply. In particular the first three patterns, although they contain no child boxes, are distinct.
Define U U U on the whole quadrant as follows. Set U [ 2 , 0 ] = 0 U[2,0]=0 U [ 2 , 0 ] = 0 . Inside C n C_n C n use H n ( s − c n , d ) H_n(s-c_n,d) H n ( s − c n , d ) . Outside the main regions, put U [ s , d ] = 2 U[s,d]=2 U [ s , d ] = 2 if 1 ≤ ∣ s − a ∣ ≤ 2 1\le\lvert s-a\rvert\le2 1 ≤ ∣ s − a ∣ ≤ 2 and ∣ d ∣ ≤ n − ∣ s − a ∣ \lvert d\rvert\le n-\lvert s-a\rvert ∣ d ∣ ≤ n − ∣ s − a ∣ for a main edge ( a , n ) (a,n) ( a , n ) . At every remaining cell put
U [ s , d ] = { 1 , s − ∣ d ∣ ≡ 0 ( m o d 4 ) , 2 , otherwise . U[s,d]=
\begin{cases}
1, & s-\lvert d\rvert\equiv0\pmod{4},\\
2, & \text{otherwise}.
\end{cases} U [ s , d ] = { 1 , 2 , s − ∣ d ∣ ≡ 0 ( mod 4 ) , otherwise .
In particular the axes have value 1.
Lemma 27 (local verification). The function U U U satisfies the recurrence with rule h 0 h_0 h 0 .
Proof. For a centre [ s , d ] [s,d] [ s , d ] with ∣ d ∣ ≤ s − 2 |d| \le s-2 ∣ d ∣ ≤ s − 2 , its ordered window consists of the values at
[ s , d ] , [ s − 1 , d + 1 ] , [ s − 2 , d ] , [ s − 1 , d − 1 ] . [s,d],\quad[s-1,d+1],\quad[s-2,d],\quad[s-1,d-1]. [ s , d ] , [ s − 1 , d + 1 ] , [ s − 2 , d ] , [ s − 1 , d − 1 ] .
We reduce these windows to a finite catalogue and check the catalogue by exact evaluation of Definition 26. Reflection exchanges the two side parents, and h 0 h_0 h 0 is symmetric in those arguments, so it suffices to use centres with d ≥ 0 d \ge0 d ≥ 0 . The reduction has three parts: windows meeting a central diamond or exceptional point, windows meeting a border or transition row, and windows following a single lattice rule.
The five contexts of a box. A level-k k k box is a main box, a child in the first half of its parent’s list, or a child in the second half. In the first half we distinguish the first child, and in the second half the last child. These give the following representatives, all taken from the explicit description U U U :
Table 6 (PDF p. 23).
These representatives also have the required lattice outside the box. If r r r is measured from the child’s opening, substitution of α n , k ≡ n − k \alpha_{n,k}\equiv n-k α n , k ≡ n − k in the parent’s first-half lattice gives value 1 when r + ∣ d ∣ ≡ k − 2 ( m o d 4 ) r+|d|\equiv k-2\pmod{4} r + ∣ d ∣ ≡ k − 2 ( mod 4 ) . Substitution of β n , k ≡ k − n \beta_{n,k}\equiv k-n β n , k ≡ k − n in its second-half lattice gives value 1 when b k − r + ∣ d ∣ ≡ k − 2 ( m o d 4 ) b_k-r+|d|\equiv k-2\pmod{4} b k − r + ∣ d ∣ ≡ k − 2 ( mod 4 ) . The main exterior has the latter phase because c k ≡ k ( m o d 4 ) c_k\equiv k\pmod{4} c k ≡ k ( mod 4 ) . Thus the outside phase depends on the listed context, not on the level of a more distant ancestor.
Windows at the centre of a box. Put h = b n / 2 h=b_n/2 h = b n /2 , u = r − h u=r-h u = r − h and a = ∣ d ∣ a=|d| a = ∣ d ∣ . Suppose a window meets the diamond ∣ u ∣ + a ≤ n − 1 |u|+a\le n-1 ∣ u ∣ + a ≤ n − 1 or one of the points d = 0 d=0 d = 0 , ∣ u ∣ = n + 1 |u|=n+1 ∣ u ∣ = n + 1 , where n ≥ 3 n\ge3 n ≥ 3 . On all four cells of that window the values are given, in the displayed order of priority, by
J n ( u , d ) = { 0 , a = n , 2 , a = 0 , ∣ u ∣ = n + 3 , 0 , a = 0 , ∣ u ∣ = n + 1 , 1 , ∣ u ∣ + a ≤ n − 1 , d even , 2 , ∣ u ∣ + a ≤ n − 1 , d odd , 1 , ∣ u ∣ − a ≡ n − 1 ( m o d 4 ) , 2 , otherwise . J_n(u,d)=
\begin{cases}
0, & a=n,\\
2, & a=0,\ |u|=n+3,\\
0, & a=0,\ |u|=n+1,\\
1, & |u|+a\le n-1,\ d\ \text{even},\\
2, & |u|+a\le n-1,\ d\ \text{odd},\\
1, & |u|-a\equiv n-1\pmod{4},\\
2, & \text{otherwise}.
\end{cases} J n ( u , d ) = ⎩ ⎨ ⎧ 0 , 2 , 0 , 1 , 2 , 1 , 2 , a = n , a = 0 , ∣ u ∣ = n + 3 , a = 0 , ∣ u ∣ = n + 1 , ∣ u ∣ + a ≤ n − 1 , d even , ∣ u ∣ + a ≤ n − 1 , d odd , ∣ u ∣ − a ≡ n − 1 ( mod 4 ) , otherwise .
To verify this formula, the adjacent children of level 1 close and open at u = − ( n + 4 ) u=-(n+4) u = − ( n + 4 ) and u = n + 4 u=n+4 u = n + 4 . Their transition cells at d = 0 d=0 d = 0 , ∣ u ∣ = n + 3 |u|=n+3 ∣ u ∣ = n + 3 have value 2. For n = 3 n=3 n = 3 the same cells are transitions of the box’s own edges. No other child reaches the window. The remaining interior cells follow rule (vi), where min ( r , b n − r ) = h − ∣ u ∣ \min(r,b_n-r)=h-|u| min ( r , b n − r ) = h − ∣ u ∣ and h ≡ 2 n + 1 ( m o d 4 ) h\equiv2n+1\pmod{4} h ≡ 2 n + 1 ( mod 4 ) give the stated congruence. A window can also reach the wall a = n a=n a = n , of value 0, and the exterior column a = n + 1 a=n+1 a = n + 1 . On this exterior column the two possible outside phases agree at the permitted parity, and give the last two lines of the formula.
The possible nonnegative centres satisfy
− n − 1 ≤ u ≤ n + 3 , 0 ≤ d ≤ n , n + 1 + u ≡ d ( m o d 2 ) -n - 1 \le u \le n + 3,\qquad0 \le d \le n,\qquad n + 1 + u \equiv d \pmod{2} − n − 1 ≤ u ≤ n + 3 , 0 ≤ d ≤ n , n + 1 + u ≡ d ( mod 2 )
with at least one of the four cells in the diamond or at an exceptional point. If all four cells lie in the diamond, the parent triple is ( 2 , 1 , 2 ) (2,1,2) ( 2 , 1 , 2 ) or ( 1 , 2 , 1 ) (1,2,1) ( 1 , 2 , 1 ) , giving the required value 1 or 2. For any other such window with n ≥ 16 n \ge16 n ≥ 16 , the following map lowers the level by 4 and preserves all four values:
( n , u , d ) ⟼ { ( n − 4 , u , d − 4 ) , d ≥ 6 , ( n − 4 , u − 4 sgn ( u ) , d ) , d ≤ 5. (n,u,d)\longmapsto
\begin{cases}
(n-4,u,d-4), & d \ge6,\\
(n-4,u-4\operatorname{sgn}(u),d), & d \le5.
\end{cases} ( n , u , d ) ⟼ { ( n − 4 , u , d − 4 ) , ( n − 4 , u − 4 sgn ( u ) , d ) , d ≥ 6 , d ≤ 5.
In the first case all four absolute positions decrease by 4. Their distances from the wall, the diamond inequality and the residues modulo 4 are preserved, and no cell reaches d = 0 d=0 d = 0 . In the second case, a cell outside the diamond implies ∣ u ∣ ≥ n − 7 ≥ 9 |u| \ge n-7 \ge9 ∣ u ∣ ≥ n − 7 ≥ 9 . All four time offsets therefore have the same sign and their absolute values decrease by 4. This preserves the diamond and exceptional-point tests, including the two transition cells in J n J_n J n . All positions are at most 6, below the new wall at n − 4 ≥ 12 n-4 \ge12 n − 4 ≥ 12 . Iteration reduces the check to 3 ≤ n ≤ 15 3 \le n \le15 3 ≤ n ≤ 15 .
Windows near horizontal edges. Exclude the central windows just treated. If an edge at time e e e or one of its transition cells belongs to a window, its centre satisfies − 2 ≤ s − e ≤ 4 -2 \le s-e \le4 − 2 ≤ s − e ≤ 4 . Hence the relevant edge times lie in [ s − 4 , s + 2 ] [s-4,s+2] [ s − 4 , s + 2 ] . Choose the edge of greatest half-width K K K in this interval. Then d ≤ K + 1 d \le K+1 d ≤ K + 1 . Outside the three small patterns, successive nearby edges are separated by 3 rows. The changes in half-width are − 3 -3 − 3 from a parent’s opening to its first child’s opening, − 1 -1 − 1 between siblings in the first half, 1 between siblings in the second half, 3 from the last child’s closing to its parent’s closing, and 1 between successive main boxes. An interval of length 6 meets at most three such edges, whose widths differ by at most 6.
The context table specifies these neighbours. A first or last child has parent level K + 3 K+3 K + 3 , and a nonextreme child has the neighbouring sibling of level K + 1 K+1 K + 1 on the relevant side. The box’s own first and last children have level K − 3 K-3 K − 3 . Further ancestors cannot contribute an edge in this interval without being included in the choice of K K K . Their walls are at least three columns beyond the selected wall, so they cannot reach the window. Their remaining contribution is the outside lattice phase already calculated above. Consequently the five contexts cover all horizontal-edge configurations.
For K ≥ 20 K \ge20 K ≥ 20 , put K ′ = 16 + ( ( K − 16 ) m o d 4 ) K' = 16 + ((K-16)\bmod4) K ′ = 16 + (( K − 16 ) mod 4 ) . Use the same context at level K ′ K' K ′ , preserving the centre’s time offset from the selected opening or closing edge. Replace its position by
d ′ = { d , d ≤ 1 , 2 + ( ( d − 2 ) m o d 4 ) , 2 ≤ d ≤ K − 9 , d − ( K − K ′ ) , d ≥ K − 8. d' =
\begin{cases}
d, & d \le1,\\
2 + ((d-2)\bmod4), & 2 \le d \le K-9,\\
d-(K-K'), & d \ge K-8.
\end{cases} d ′ = ⎩ ⎨ ⎧ d , 2 + (( d − 2 ) mod 4 ) , d − ( K − K ′ ) , d ≤ 1 , 2 ≤ d ≤ K − 9 , d ≥ K − 8.
All relevant levels decrease by K − K ′ K-K' K − K ′ , a multiple of 4. Their edge spacings remain 3, and the endpoint phases remain unchanged because b k ≡ 2 ( m o d 4 ) b_k \equiv2 \pmod4 b k ≡ 2 ( mod 4 ) . In the last case, all four positions decrease by the same amount, preserving wall distances and transition cutoffs. In the first two cases all four original positions are at most K − 8 K-8 K − 8 , within every relevant transition cutoff. The target positions are at most 6, while the smallest target cutoff is at least K ′ − 8 ≥ 8 K'-8 \ge8 K ′ − 8 ≥ 8 . Horizontal rows therefore keep their values. Lattice values keep their residues modulo 4, including the two sides of d = 0 d=0 d = 0 . Thus it suffices to check levels 1 ≤ k ≤ 19 1 \le k \le19 1 ≤ k ≤ 19 in the five contexts, at each opening and closing, with centre offsets − 2 , … , 4 -2,\ldots,4 − 2 , … , 4 and 0 ≤ d ≤ k + 1 0 \le d \le k+1 0 ≤ d ≤ k + 1 .
Windows near a wall. After the central and horizontal-edge cases, a window meeting a wall of half-width k k k has centre d ∈ { k − 1 , k , k + 1 } d \in\{k - 1, k, k + 1\} d ∈ { k − 1 , k , k + 1 } . Its inside and outside cells follow the two lattice phases determined by the context. Children lie at least three columns further in and cannot meet this window. A change between the two inside phases would meet the diamond, since the diamond reaches ∣ d ∣ = k − 1 |d| = k - 1 ∣ d ∣ = k − 1 on the middle row. Thus the only data needed are the side of the middle row, the context, s mod 4 s \mathbin{\operatorname{mod}} 4 s mod 4 and d − k d-k d − k . For k ≥ 6 k \ge6 k ≥ 6 , the same time residue can be represented by a relative row in 6 , … , 9 6,\ldots,9 6 , … , 9 on the first side, or b k − 9 , … , b k − 6 b_k-9,\ldots,b_k-6 b k − 9 , … , b k − 6 on the second side. These rows avoid edges and the middle row. Reducing k ≥ 20 k \ge20 k ≥ 20 to K ′ K' K ′ as above and preserving d − k d-k d − k reduces the width as well. For k ≤ 5 k \le5 k ≤ 5 we include all relative rows 0 , … , b k 0,\ldots,b_k 0 , … , b k in the catalogue.
The remaining windows and the finite check. The initial cell [ 2 , 0 ] [2,0] [ 2 , 0 ] and windows containing it are checked directly, at centres [ 2 , 0 ] [2,0] [ 2 , 0 ] , [ 3 , 1 ] [3,1] [ 3 , 1 ] and [ 4 , 0 ] [4,0] [ 4 , 0 ] , together with their reflections. Any remaining window follows one lattice phase throughout. Indeed, on the diagonal the children, borders and transitions cover the noncentral parts of a box. In the central gap the remaining diagonal cells are the two exceptional points and the diamond. This follows from the gap 2 n + 8 2n+8 2 n + 8 , and is immediate in levels 1, 2, 3 from their definitions. The gaps of length 3 between main boxes are covered by their transitions. Thus no remaining window is centred on the diagonal. Off the diagonal a single lattice phase has parent triple ( 1 , 2 , 2 ) (1,2,2) ( 1 , 2 , 2 ) or ( 2 , 2 , 1 ) (2,2,1) ( 2 , 2 , 1 ) when the value is 1, and ( 2 , 1 , 1 ) (2,1,1) ( 2 , 1 , 1 ) or ( 1 , 1 , 2 ) (1,1,2) ( 1 , 1 , 2 ) when the value is 2. Substitution in (2) verifies these four cases.
For the finite catalogue, discard centres of wrong parity and centres with d > s − 2 d > s - 2 d > s − 2 . Evaluate the four entries from the explicit description, then check that the first equals h 0 h_0 h 0 applied to the last three. This computation checks 7930 horizontal-edge windows, 1570 wall windows and 858 central windows, with no failures. These counts include repeated value quadruples in different contexts. Table 3 summarises the resulting triples by cell type. The reductions above establish coverage at arbitrary levels, so this finite check proves the lemma.
Table 3. The local check for U U U . Here a b c abc ab c denotes the triple ( a , b , c ) (a,b,c) ( a , b , c ) , and reversal means interchanging its first and third entries. Edge and wall cases refer to the smallest box whose border contains the cell.
Theorem 28 (three initial symbols). For all x , y ≥ 0 x,y \ge0 x , y ≥ 0 , ρ ( x , y ) = 1 − U ( [ x + y , y − x ] ) \rho(x,y) = 1 - U([x+y,y-x]) ρ ( x , y ) = 1 − U ([ x + y , y − x ]) in F 3 \mathbb{F}_3 F 3 . The rectangles centred on the diagonal with red borders are exactly the boxes of H \mathcal{H} H . Their main boxes are C 1 , C 2 , … C_1,C_2,\ldots C 1 , C 2 , … , and the boxes directly inside C n C_n C n have levels n − 3 , … , 1 , 1 , … , n − 3 n-3,\ldots,1,1,\ldots,n-3 n − 3 , … , 1 , 1 , … , n − 3 for n ≥ 4 n \ge4 n ≥ 4 .
The first three levels have no children. Consequently their ordered nesting realises the mirrored construction with three initial symbols.
Proof. Lemma 27 and uniqueness of the recurrence give u = U u = U u = U , and the conjugacy of the rules gives ρ = 1 − U \rho= 1 - U ρ = 1 − U .
The zero cells of U U U are precisely the borders in H \mathcal{H} H , the two exceptional diagonal cells in each box of level at least 3, and [ 2 , 0 ] [2,0] [ 2 , 0 ] . The latter cells have d = 0 d = 0 d = 0 , so none can lie on a wall of a rectangle of positive half-width. An interior cell of an edge of half-width n n n has value 2 two rows before and after it in its column. Hence a wall of a zero-bordered rectangle must follow a wall of a box of the same half-width. Distinct such boxes have a nonzero gap in that column: their time separation is at least 3, and the transition and lattice rules give nonzero values between their walls. A wall therefore belongs to a single box. Between its opening and closing, no row of the appropriate parity is entirely zero: for width n ≥ 2 n \ge2 n ≥ 2 the positions ∣ d ∣ = n − 2 \lvert d\rvert= n - 2 ∣ d ∣ = n − 2 are nonzero, and the width-1 box has only its two border rows of that parity. Thus the rectangle is the whole box. The child positions are those used in its definition, so the asserted nesting follows.
Corollary 29 (number of boxes). Let M n M_n M n count all boxes in C n C_n C n , including itself. Then
M 1 = M 2 = M 3 = 1 , M n = M n − 1 + 2 M n − 3 ( n ≥ 4 ) , M_1 = M_2 = M_3 = 1,\qquad M_n = M_{n-1} + 2M_{n-3}\quad(n \ge4), M 1 = M 2 = M 3 = 1 , M n = M n − 1 + 2 M n − 3 ( n ≥ 4 ) , and two representations of these numbers, valid for every n ≥ 1 n \ge1 n ≥ 1 , are
M n = ∑ j = 0 ⌊ ( n − 1 ) / 3 ⌋ 2 j ( n − 1 − 2 j j ) , M n = ⌊ 3 n 2 + 2 n 3 3 n − 3 2 n − 2 ⌋ m o d 3 n . M_n = \sum_{j=0}^{\lfloor(n-1)/3\rfloor} 2^j \binom{n - 1 - 2j}{j},\qquad M_n = \left\lfloor\frac{3^{n^2+2n}}{3^{3n} - 3^{2n} - 2} \right\rfloor\bmod3^n. M n = j = 0 ∑ ⌊( n − 1 ) /3 ⌋ 2 j ( j n − 1 − 2 j ) , M n = ⌊ 3 3 n − 3 2 n − 2 3 n 2 + 2 n ⌋ mod 3 n . The second expression is an arithmetic term, using the least nonnegative remainder.
Proof. The children give M n = 1 + 2 ∑ k = 1 n − 3 M k M_n = 1 + 2\sum_{k=1}^{n-3} M_k M n = 1 + 2 ∑ k = 1 n − 3 M k for n ≥ 4 n \ge4 n ≥ 4 . Subtracting successive equations gives the recurrence, including n = 4 n = 4 n = 4 by the initial values. Its generating function is ∑ n ≥ 1 M n z n − 1 = 1 / ( 1 − z − 2 z 3 ) \sum_{n\ge1} M_n z^{n-1} = 1/(1-z-2z^3) ∑ n ≥ 1 M n z n − 1 = 1/ ( 1 − z − 2 z 3 ) . In the expansion ∑ m ≥ 0 ( z + 2 z 3 ) m \sum_{m\ge0}(z+2z^3)^m ∑ m ≥ 0 ( z + 2 z 3 ) m , choosing j j j factors 2 z 3 2z^3 2 z 3 and n − 1 − 3 j n-1-3j n − 1 − 3 j factors z z z gives the displayed coefficient.
For the arithmetic term, we use the generating-function extraction method of [18 Section 4] . Put M 0 = 0 M_0 = 0 M 0 = 0 , so that G ( z ) = ∑ n ≥ 0 M n z n = z / ( 1 − z − 2 z 3 ) G(z) = \sum_{n\ge0} M_nz^n = z/(1-z-2z^3) G ( z ) = ∑ n ≥ 0 M n z n = z / ( 1 − z − 2 z 3 ) . Induction gives M r ≤ 2 r − 2 M_r \le2^{r-2} M r ≤ 2 r − 2 for r ≥ 2 r \ge2 r ≥ 2 , with strict inequality for r ≥ 3 r \ge3 r ≥ 3 : check r = 2 , 3 , 4 r = 2,3,4 r = 2 , 3 , 4 directly and, for r ≥ 5 r \ge5 r ≥ 5 , use M r ≤ 2 r − 3 + 2 ⋅ 2 r − 5 < 2 r − 2 M_r \le2^{r-3} + 2 \cdot2^{r-5} < 2^{r-2} M r ≤ 2 r − 3 + 2 ⋅ 2 r − 5 < 2 r − 2 . In particular G ( 3 − n ) G(3^{-n}) G ( 3 − n ) converges for n ≥ 1 n \ge1 n ≥ 1 . For an integer A n ≥ 0 A_n \ge0 A n ≥ 0 ,
3 n 2 G ( 3 − n ) = A n 3 n + M n + η n , η n = ∑ i ≥ 1 M n + i 3 n i . 3^{n^2}G(3^{-n}) = A_n3^n + M_n + \eta_n,\qquad\eta_n = \sum_{i\ge1}\frac{M_{n+i}}{3^{ni}}. 3 n 2 G ( 3 − n ) = A n 3 n + M n + η n , η n = i ≥ 1 ∑ 3 ni M n + i .
The tail satisfies
0 ≤ η n < 2 n − 2 ∑ i ≥ 1 ( 2 3 n ) i = 2 n − 1 3 n − 2 ≤ 1 , 0 \le\eta_n < 2^{n-2}\sum_{i\ge1}\left(\frac{2}{3^n}\right)^i = \frac{2^{n-1}}{3^n-2} \le1, 0 ≤ η n < 2 n − 2 i ≥ 1 ∑ ( 3 n 2 ) i = 3 n − 2 2 n − 1 ≤ 1 ,
where the last inequality is 3 n ≥ 2 n − 1 + 2 3^n \ge2^{n-1} + 2 3 n ≥ 2 n − 1 + 2 . Since M n < 3 n M_n < 3^n M n < 3 n , taking the floor and the remainder gives the asserted formula. Because its denominator is positive for n ≥ 1 n \ge1 n ≥ 1 , its subtractions can be read as truncated subtraction. The remainder can be written as a m o d m = a − m ⌊ a / m ⌋ a \bmod m = a - m\lfloor a/m\rfloor a mod m = a − m ⌊ a / m ⌋ . The expression is therefore an arithmetic term in the sense of [18 ] . The stronger coefficient bound above permits base 3. A direct application of [18 Theorem 2] gives the same formula with base 8.
The construction with one initial symbol
The question
We now ask for a recurrent double sequence over a small alphabet that realises the construction with one initial symbol from § 1.2 :
s 0 = ∅ , s n + 1 = ( s n s n − 1 ⋯ s 0 ∣ s 0 ⋯ s n − 1 s n ) . s_0=\varnothing,\qquad s_{n+1}=(s_n\,s_{n-1}\cdots s_0\mid s_0\cdots s_{n-1}\,s_n). s 0 = ∅ , s n + 1 = ( s n s n − 1 ⋯ s 0 ∣ s 0 ⋯ s n − 1 s n ) .
We seek white-bordered rectangles S n S_n S n along the diagonal. The rectangles directly inside S n S_n S n must be translates of S n − 1 , … , S 0 , S 0 , … , S n − 1 S_{n-1},\ldots,S_0,S_0,\ldots,S_{n-1} S n − 1 , … , S 0 , S 0 , … , S n − 1 , in that order. Here a rectangle is inside another when its closed region lies in the interior of the enclosing rectangle. As in § 8 , we call these rectangles ordinals. For this construction we impose one further condition: each row strictly between the opening and closing edges must contain a non-white cell strictly between the walls. This condition excludes rectangles drawn inside a white region and the union of two rectangles that share an edge.
Three letters
Theorem 30. Let g : F 3 3 → F 3 g:\mathbb{F}_3^3\to\mathbb{F}_3 g : F 3 3 → F 3 be symmetric in its first and third argument and let b ∈ F 3 b\in\mathbb{F}_3 b ∈ F 3 . The recurrent double sequence with rule g g g and boundary values t ( x , 0 ) = t ( 0 , y ) = b t(x,0)=t(0,y)=b t ( x , 0 ) = t ( 0 , y ) = b cannot satisfy all of the following conditions.
(i) Along the diagonal, three consecutive ordinals contained in no other ordinal are S 0 S_0 S 0 , S 1 S_1 S 1 and S 2 S_2 S 2 . There is no ordinal strictly inside S 0 S_0 S 0 . The ordinals directly inside S 1 S_1 S 1 are two copies of S 0 S_0 S 0 , and those directly inside S 2 S_2 S 2 are copies of S 1 , S 0 , S 0 , S 1 S_1,S_0,S_0,S_1 S 1 , S 0 , S 0 , S 1 , in that order.
(ii) All three ordinals lie in the square x , y < 192 x,y<192 x , y < 192 and have half-width at most 40.
(iii) The ordinal S 1 S_1 S 1 lies in the square x , y < 40 x,y<40 x , y < 40 and has half-width at most 9.
(iv) No colour occupies more than 97 percent of the cells in the square x , y < 40 x,y<40 x , y < 40 .
Proof. We use a finite condition that depends only on the contents of S 2 S_2 S 2 . If (i)–(iii) hold, the small square contains a nested pair, and the large square contains a box whose direct children have levels 1, 0, 0, 1, each level-1 child having two leaf children. The test allows this box to have an enclosing ordinal. It also allows other boxes between the stipulated main boxes. Thus it makes no inference about global maximality or global consecutiveness from the finite picture.
For the enumeration, write a rectangle as ( e , w , f ) (e,w,f) ( e , w , f ) , where e e e and f f f are its opening and closing times. Its border and its interior rows are entirely visible in the square x , y < N x,y<N x , y < N if
1 ≤ w ≤ W , w ≤ e < f , e ≡ f ≡ w ( m o d 2 ) , f + w ≤ 2 N − 2. 1\leq w\leq W,\qquad w\leq e<f,\qquad e\equiv f\equiv w\pmod{2},\qquad f+w\leq2N-2. 1 ≤ w ≤ W , w ≤ e < f , e ≡ f ≡ w ( mod 2 ) , f + w ≤ 2 N − 2.
An ordinal inside such a rectangle has smaller half-width and lies in the same square, so every descendant needed to test its children is visible as well. In coordinates, ( e , w , f ) (e,w,f) ( e , w , f ) is inside ( e ′ , w ′ , f ′ ) (e',w',f') ( e ′ , w ′ , f ′ ) if e ′ < e e'<e e ′ < e , f < f ′ f<f' f < f ′ and w < w ′ w<w' w < w ′ .
For each possible pair ( e , w ) (e,w) ( e , w ) , the detector checks the opening edge and then extends the walls in steps of two rows. Each extension checks the newly enclosed rows for a non-border-coloured cell.
It stops at a broken wall, an entirely border-coloured interior row, the boundary of the square, or the first closing edge. The last stopping rule is valid because that closing edge would be an entirely border-coloured interior row of any longer candidate with the same ( e , w ) (e,w) ( e , w ) . Thus there is at most one ordinal for each opening and half-width. For fixed w w w there are at most N − 1 − w N-1-w N − 1 − w possible openings, so the storage bounds are
∑ w = 1 9 ( 39 − w ) = 306 , ∑ w = 1 40 ( 191 − w ) = 6820. \sum_{w=1}^{9}(39-w)=306,\qquad\sum_{w=1}^{40}(191-w)=6820. w = 1 ∑ 9 ( 39 − w ) = 306 , w = 1 ∑ 40 ( 191 − w ) = 6820.
The program allocates these bounds and aborts if either is exceeded.
The test of descendants does not assign each rectangle an arbitrary parent. For each candidate B B B , it lists all rectangles strictly inside B B B . A leaf has none. A level-1 candidate has two descendants, both leaves. For a level-2 candidate, take the containment-maximal rectangles inside B B B and require four of them in the order 1, 0, 0, 1. The outer two must be level-1 candidates. There can be at most eight proper descendants in this configuration. Checking all candidates with four to eight descendants therefore includes the required S 2 S_2 S 2 , even if some containment relations elsewhere do not form a tree. The test does not require copies to have matching dimensions or colours in their interiors, so it accepts every configuration stipulated by (i).
There are 3 18 3^{18} 3 18 symmetric rules. If g ( b , b , b ) = b g(b,b,b)=b g ( b , b , b ) = b , the whole sequence is constant and fails (iv). Otherwise there is a unique permutation of the three colours taking b b b to 0 and g ( b , b , b ) g(b,b,b) g ( b , b , b ) to 1. Conjugating g g g by this permutation preserves symmetry, containment and the density condition. It is therefore enough to enumerate the 3 17 = 129 140 163 3^{17}=129\,140\,163 3 17 = 129 140 163 symmetric rules with boundary 0 and g ( 0 , 0 , 0 ) = 1 g(0,0,0)=1 g ( 0 , 0 , 0 ) = 1 , testing all three possible border colours.
The exhaustive run tested all these rules. All passed the density condition, and 649 981 pairs of a rule and a border colour passed the small-window nesting test. For each surviving pair, all ordinals of half-width at most 40 in the large square were enumerated. None contained a level-2 candidate. The largest rectangle counts were 170 in the small square and 3377 in the large square, below the proved storage bounds. As a positive control, the same detector accepts the level-2 box of the four-letter sequence at times 55 to 105, with its eight descendants. § 13 records the independent checks of the detector.
Theorem 30 rules out one geometric form within a finite window and for symmetric rules with constant boundary values. It does not rule out sequences over three letters with a non-symmetric rule, with periodic boundary values, with ordinals that first appear beyond the window, or with examples excluded by the density or early-nesting conditions.
Four letters: the rule
Let A = { 0 , 1 , 2 , 3 } A=\{0,1,2,3\} A = { 0 , 1 , 2 , 3 } , let g : A 3 → A g:A^3\to A g : A 3 → A be the function of Table 4 , which is symmetric in its first and third argument, and let τ : N 2 → A \tau:\mathbb{N}^2\to A τ : N 2 → A be the recurrent double sequence with τ ( x , 0 ) = τ ( 0 , y ) = 1 \tau(x,0)=\tau(0,y)=1 τ ( x , 0 ) = τ ( 0 , y ) = 1 and τ ( x , y ) = g ( τ ( x − 1 , y ) , τ ( x − 1 , y − 1 ) , τ ( x , y − 1 ) ) \tau(x,y)=g\bigl(\tau(x-1,y),\tau(x-1,y-1),\tau(x,y-1)\bigr) τ ( x , y ) = g ( τ ( x − 1 , y ) , τ ( x − 1 , y − 1 ) , τ ( x , y − 1 ) ) . The colours are 0 white, 1 red, 2 blue and 3 green. Figure 4 shows the first 192 × 192 192\times192 192 × 192 cells in colour and in monochrome.
Table 4. The values g ( x , y , z ) g(x,y,z) g ( x , y , z ) of the rule over four letters. The eight triples ( 1 , 1 , 3 ) (1,1,3) ( 1 , 1 , 3 ) , ( 1 , 2 , 2 ) (1,2,2) ( 1 , 2 , 2 ) , ( 1 , 2 , 3 ) (1,2,3) ( 1 , 2 , 3 ) , ( 1 , 3 , 1 ) (1,3,1) ( 1 , 3 , 1 ) , ( 2 , 2 , 1 ) (2,2,1) ( 2 , 2 , 1 ) , ( 3 , 1 , 1 ) (3,1,1) ( 3 , 1 , 1 ) , ( 3 , 1 , 3 ) (3,1,3) ( 3 , 1 , 3 ) , ( 3 , 2 , 1 ) (3,2,1) ( 3 , 2 , 1 ) do not occur as arguments of g g g in the computation of τ \tau τ (Corollary 45 ), so g g g may be changed there without changing τ \tau τ .
Figure 4. The cells ( x , y ) (x,y) ( x , y ) with 0 ≤ x , y < 192 0 \le x,y < 192 0 ≤ x , y < 192 of the four-letter sequence τ \tau τ . Left: white 0, red 1, blue 2 and green 3. Right: the same cells, with every non-white colour drawn in black. Along the diagonal the complete main boxes have levels 1, 1, 2, 1, 0, 0, 1, 2, 3. The opening of the next box, of level 4, enters at the bottom right. The ordinary boxes have closed white borders. The dashed walls of the virtual regions remain interrupted in the monochrome view, as described in Propositions 39 and 40 .
Box regions and their children
We use the rotated coordinates of § 3 . For n ≥ 0 n \ge0 n ≥ 0 put
v n = 4 n + 1 , ℓ n = 6 ⋅ 3 n − 4 , v_n = 4n+1,\qquad\ell_n = 6\cdot3^n-4, v n = 4 n + 1 , ℓ n = 6 ⋅ 3 n − 4 ,
so that ℓ 0 = 2 \ell_0=2 ℓ 0 = 2 , ℓ 1 = 14 \ell_1=14 ℓ 1 = 14 , ℓ 2 = 50 \ell_2=50 ℓ 2 = 50 , ℓ n + 1 = 3 ℓ n + 8 \ell_{n+1}=3\ell_n+8 ℓ n + 1 = 3 ℓ n + 8 and ℓ n ≡ 2 ( m o d 6 ) \ell_n\equiv2\pmod{6} ℓ n ≡ 2 ( mod 6 ) . We first specify the regions and their positions. Their ordinary and virtual colourings are defined in Definition 35 .
Definition 31 (box region). For n ≥ 0 n \ge0 n ≥ 0 and odd e ≥ v n e \ge v_n e ≥ v n , the box region of level n n n opening at e e e is
R n ( e ) = { [ s , d ] : e ≤ s ≤ e + ℓ n , ∣ d ∣ ≤ v n } . R_n(e)=\{[s,d]: e\le s\le e+\ell_n,\ |d|\le v_n\}. R n ( e ) = {[ s , d ] : e ≤ s ≤ e + ℓ n , ∣ d ∣ ≤ v n } . Its opening and closing edges are the rows s = e s=e s = e and s = e + ℓ n s=e+\ell_n s = e + ℓ n within the region. Its walls are the columns d = ± v n d=\pm v_n d = ± v n , and its interior consists of the cells with e < s < e + ℓ n e<s<e+\ell_n e < s < e + ℓ n and ∣ d ∣ < v n |d|<v_n ∣ d ∣ < v n . Its half-width is v n v_n v n and its vertex is ( ( e − v n ) / 2 , ( e + v n ) / 2 ) ((e-v_n)/2,(e+v_n)/2) (( e − v n ) /2 , ( e + v n ) /2 ) . This definition specifies a set of cells, before any colouring is assigned.
Definition 32 (child regions). A region of level 0 has no children. For n ≥ 1 n\ge1 n ≥ 1 , the children of R n ( e ) R_n(e) R n ( e ) are
R k ( e + a n , k ) , R k ( e + b n , k ) ( 0 ≤ k < n ) , R_k(e+a_{n,k}),\qquad R_k(e+b_{n,k})\qquad(0\le k<n), R k ( e + a n , k ) , R k ( e + b n , k ) ( 0 ≤ k < n ) , where
a n , k = 3 n + 1 − 3 k + 2 + 4 , b n , k = ℓ n − ℓ k − a n , k = 3 n + 1 + 3 k + 1 − 4. a_{n,k}=3^{n+1}-3^{k+2}+4,\qquad b_{n,k}=\ell_n-\ell_k-a_{n,k}=3^{n+1}+3^{k+1}-4. a n , k = 3 n + 1 − 3 k + 2 + 4 , b n , k = ℓ n − ℓ k − a n , k = 3 n + 1 + 3 k + 1 − 4. In time order their levels are n − 1 , n − 2 , … , 0 , 0 , … , n − 2 , n − 1 n-1,n-2,\ldots,0,0,\ldots,n-2,n-1 n − 1 , n − 2 , … , 0 , 0 , … , n − 2 , n − 1 .
The first child opens 4 rows after its parent. Consecutive children are separated by 4 rows, except for the two children of level 0, which are separated by 2 rows. The last child closes 4 rows before its parent. These facts follow by subtracting the offsets in Definition 32 . The offsets in the first half are congruent to 4 modulo 6, and those in the second half to 2 modulo 6.
The identity ℓ n = 4 + 3 ℓ n − 1 + 4 \ell_n=4+3\ell_{n-1}+4 ℓ n = 4 + 3 ℓ n − 1 + 4 also places three regions of level n − 1 n-1 n − 1 at the offsets 4 4 4 , 4 + ℓ n − 1 4+\ell_{n-1} 4 + ℓ n − 1 and 4 + 2 ℓ n − 1 4+2\ell_{n-1} 4 + 2 ℓ n − 1 . Adjacent regions share an edge. Proposition 39 proves that their colourings are ordinary, virtual and ordinary, respectively. The children of the middle region, together with the first and third regions, are exactly the children of Definition 32 . The middle region itself is not counted as a child. Figure 5 shows this assembly at level 3. § 11.9 explains how the assembly gives the stages of Cantor’s middle-thirds construction after the end margins are omitted.
Figure 5. The main box S 3 S_3 S 3 of τ \tau τ , opening at s = 209 s=209 s = 209 , in rotated coordinates. The column index p p p increases from left to right and the position d d d from top to bottom. Each column interleaves the two successive anti-diagonals s = 2 p s=2p s = 2 p and s = 2 p + 1 s=2p+1 s = 2 p + 1 : even positions d d d take their cells from the first, odd positions from the second. Reading a column downward thus visits the two anti-diagonals alternately, following a staircase in the original ( x , y ) (x,y) ( x , y ) grid. Starting at an even position, the steps alternately increase y y y by 1 and decrease x x x by 1. White is 0, red 1, blue 2 and green 3. Inside the white border of S 3 S_3 S 3 lie two boxes of level 2 and, between them, a virtual box of level 2 whose walls are dashed. Each box of level 2 contains in the same way two boxes of level 1 and the virtual box of level 1, which is the middle block M M M . These identifications follow from Proposition 39 .
Definition 33 (the family C C C ). For j ≥ 0 j \ge0 j ≥ 0 put E j = 55 + 405 13 ( 27 j − 1 ) E_j = 55 + \frac{405}{13}(27^j - 1) E j = 55 + 13 405 ( 2 7 j − 1 ) , so that E 0 = 55 E_0 = 55 E 0 = 55 , E 1 = 865 E_1 = 865 E 1 = 865 , E 2 = 22735 E_2 = 22735 E 2 = 22735 and E 3 = 613225 E_3 = 613225 E 3 = 613225 . Write V j = R 3 j + 3 ( E j − 4 ) V_j = R_{3j+3}(E_j - 4) V j = R 3 j + 3 ( E j − 4 ) . The main box regions begin with two regions of level 1 opening at 15 and 29. For each j ≥ 0 j \ge0 j ≥ 0 , append the following regions in time order:
(i) the children of V j V_j V j , whose levels are 3 j + 2 , … , 1 , 0 , 0 , 1 , … , 3 j + 2 3j + 2,\ldots,1,0,0,1,\ldots,3j + 2 3 j + 2 , … , 1 , 0 , 0 , 1 , … , 3 j + 2 ,
(ii) a region of level 3 j + 3 3j + 3 3 j + 3 opening at the closing time of V j V_j V j ,
(iii) a region of level 3 j + 4 3j + 4 3 j + 4 opening 4 rows after the region of level 3 j + 3 3j + 3 3 j + 3 closes.
The first region in this group has level 3 j + 2 3j + 2 3 j + 2 and opens at E j E_j E j . We call this region the big box of block j j j . The main boxes of block j j j are the regions in the group, ending with the box of level 3 j + 4 3j + 4 3 j + 4 . For the purpose of the description, block j + 1 j + 1 j + 1 begins one row before its big box opens. The family C C C consists of the main box regions and of their descendants under Definition 32 .
Proposition 40 will identify the colouring on V j V_j V j as virtual, and Theorem 38 will identify the regions of C C C as the ordinary boxes of the sequence.
The box of level 3 j + 4 3j + 4 3 j + 4 closes 12 rows before E j + 1 E_{j+1} E j + 1 , because E j + 1 − E j = 2 ℓ 3 j + 3 + ℓ 3 j + 4 + 12 = 810 ⋅ 27 j E_{j+1} - E_j = 2\ell_{3j+3} + \ell_{3j+4} + 12 = 810 \cdot27^j E j + 1 − E j = 2 ℓ 3 j + 3 + ℓ 3 j + 4 + 12 = 810 ⋅ 2 7 j , and the box of level 1 opening at 29 closes 12 rows before E 0 E_0 E 0 . All E j E_j E j are congruent to 1 modulo 6. Figure 6 shows the beginning of block 0.
Figure 6. The beginning of block 0 of τ \tau τ in rotated coordinates, for 40 ≤ s ≤ 375 40 \le s \le375 40 ≤ s ≤ 375 and ∣ d ∣ ≤ 24 |d| \le24 ∣ d ∣ ≤ 24 . As in Figure 5, each column interleaves two successive anti-diagonals, visited alternately along a staircase in the original grid as the column is read downward. Reading from the left, a white bar of half-width 9 lies on row 47. The virtual box V 0 V_0 V 0 of level 3 opens at 51 and contains the main boxes of levels 2, 1, 0, 0, 1, 2. The main box S 3 S_3 S 3 opens on the closing edge of V 0 V_0 V 0 at 209, and the main box S 4 S_4 S 4 opens at 371. Proposition 40 identifies V 0 V_0 V 0 as a virtual box. Outside V 0 V_0 V 0 and the main boxes lies the lattice Λ \Lambda Λ .
The patterns
The lattice Λ \Lambda Λ
Λ [ s , d ] \Lambda[s,d] Λ [ s , d ] depends only on s s s mod 6 and ∣ d ∣ |d| ∣ d ∣ mod 12 and is given by Table 5 . The columns ∣ d ∣ ≡ 1 , 9 |d|\equiv1,9 ∣ d ∣ ≡ 1 , 9 (mod 12) are entirely white, and the column ∣ d ∣ ≡ 5 |d|\equiv5 ∣ d ∣ ≡ 5 (mod 12) takes the values 0, 2, 0 on the rows s ≡ 1 , 3 , 5 s\equiv1,3,5 s ≡ 1 , 3 , 5 (mod 6).
Table 5. The value Λ [ s , d ] \Lambda[s,d] Λ [ s , d ] as a function of s s s mod 6 (rows) and ∣ d ∣ |d| ∣ d ∣ mod 12 (columns). A dash marks a combination of residues of different parity, which no cell has.
The corridor pattern I I I
For an integer r r r and a column index a ≥ 1 a\geq1 a ≥ 1 let I ( r , a ) I(r,a) I ( r , a ) be defined by the residue of r r r modulo 6 and the residue of a a a modulo 4 as follows. If a ≡ 1 a\equiv1 a ≡ 1 (mod 4), which we call a wall column , I ( r , a ) I(r,a) I ( r , a ) is 2, 0, 0 for r ≡ 0 , 2 , 4 r\equiv0,2,4 r ≡ 0 , 2 , 4 . If a ≡ 3 a\equiv3 a ≡ 3 (mod 4), the middle column of a corridor, I ( r , a ) I(r,a) I ( r , a ) is 3, 1, 2 for r ≡ 0 , 2 , 4 r\equiv0,2,4 r ≡ 0 , 2 , 4 . If a ≡ 0 , 2 a\equiv0,2 a ≡ 0 , 2 (mod 4), the outer columns of a corridor, I ( r , a ) I(r,a) I ( r , a ) is 2, 2, 3 for r ≡ 1 , 3 , 5 r\equiv1,3,5 r ≡ 1 , 3 , 5 . The three columns a = 4 k + 2 , 4 k + 3 , 4 k + 4 a=4k+2,4k+3,4k+4 a = 4 k + 2 , 4 k + 3 , 4 k + 4 form the corridor k k k . The wall columns are the half-widths v n v_n v n of the boxes. Inside a box, the pattern I I I , with r r r counted from the opening edge of the box, fills the corridors between the walls, and on a wall column it draws the dashed wall of a virtual box.
Comparing Table 5 with I I I , Λ [ s , d ] = I ( s + 3 , ∣ d ∣ ) \Lambda[s,d]=I(s+3,|d|) Λ [ s , d ] = I ( s + 3 , ∣ d ∣ ) except on the white columns ∣ d ∣ ≡ 1 , 9 |d|\equiv1,9 ∣ d ∣ ≡ 1 , 9 (mod 12) and except in the corridors k ≡ 2 k\equiv2 k ≡ 2 (mod 3), where Λ [ s , d ] = I ( s + 5 , ∣ d ∣ ) \Lambda[s,d]=I(s+5,|d|) Λ [ s , d ] = I ( s + 5 , ∣ d ∣ ) . The region V j V_j V j opens at
E j − 4 ≡ 3 ( m o d 6 ) E_j - 4 \equiv3 \pmod{6} E j − 4 ≡ 3 ( mod 6 ) , so its corridor pattern has the phase I ( s + 3 , ⋅ ) I(s+3,\cdot) I ( s + 3 , ⋅ ) , and outside its wall column ∣ d ∣ = 12 j + 13 |d| = 12j+13 ∣ d ∣ = 12 j + 13 the lattice Λ \Lambda Λ continues this pattern on the seven columns 12 j + 14 ≤ ∣ d ∣ ≤ 12 j + 20 12j+14 \le|d| \le12j+20 12 j + 14 ≤ ∣ d ∣ ≤ 12 j + 20 .
Finite tables
The description uses finite tables read from the computed sequence and printed in Appendix A. They specify five parts of the description:
The pattern P 0 P_0 P 0 gives the 5 cells of a box of level 0, with a white border and a red centre.
The pattern P 1 P_1 P 1 gives the 83 cells of a box of level 1.
In a box of level at least 2, let c m i d c_{\mathrm{mid}} c mid be the closing offset of the first child of level 1, measured from the opening of the box. The middle block M \mathcal{M} M gives the 83 cells on the rows c m i d , … , c m i d + 14 c_{\mathrm{mid},\ldots,c_{\mathrm{mid}}+14} c mid , … , c mid + 14 and the columns ∣ d ∣ ≤ 5 |d| \le5 ∣ d ∣ ≤ 5 . This block contains the two children of level 0. Lemma 36 identifies M \mathcal{M} M with the virtual pattern Q 1 Q_1 Q 1 .
The strip table gives τ ( x , y ) \tau(x,y) τ ( x , y ) for x ≤ 13 x \le13 x ≤ 13 . For y ≥ y 0 ( x ) y \ge y_0(x) y ≥ y 0 ( x ) , these values are periodic in y y y with period 12, where y 0 ( x ) ≤ 18 y_0(x) \le18 y 0 ( x ) ≤ 18 .
The corner table gives the values for x , y < 20 x,y < 20 x , y < 20 . The initial-segment table supplies the remaining values needed for the anti-diagonals s < 56 s < 56 s < 56 .
The description
Definition 34 (the ordinary pattern P n P_n P n ). The patterns P 0 P_0 P 0 and P 1 P_1 P 1 are the finite tables in Appendix A. For n ≥ 2 n \ge2 n ≥ 2 , 0 ≤ r ≤ ℓ n 0 \le r \le\ell_n 0 ≤ r ≤ ℓ n , ∣ d ∣ ≤ v n |d| \le v_n ∣ d ∣ ≤ v n and v n + r − d v_n + r - d v n + r − d even, P n ( r , d ) P_n(r,d) P n ( r , d ) is given by the first applicable rule, with child offsets from Definition 32.
(i) Border: 0.
(ii) Inside a child of level k k k opening at offset o o o : P k ( r − o , d ) P_k(r-o,d) P k ( r − o , d ) .
(iii) Middle block: M ( r − c m i d , d ) \mathcal{M}(r-c_{\mathrm{mid}},d) M ( r − c mid , d ) if c m i d ≤ r ≤ c m i d + 14 c_{\mathrm{mid}} \le r \le c_{\mathrm{mid}} + 14 c mid ≤ r ≤ c mid + 14 and ∣ d ∣ ≤ 5 |d| \le5 ∣ d ∣ ≤ 5 .
(iv) After the opening offset o o o of a child of half-width a a a in the first half: P n ( o + 1 , ± ( a + 1 ) ) = 2 P_n(o+1,\pm(a+1))=2 P n ( o + 1 , ± ( a + 1 )) = 2 and P n ( o + 3 , ± ( a + 1 ) ) = 1 P_n(o+3,\pm(a+1))=1 P n ( o + 3 , ± ( a + 1 )) = 1 .
(v) Transition rows: for every edge of the box or of a child, at time e ′ e' e ′ and with half-width a a a , use the following values. Each value applies at cells within the stated half-width. When two edges prescribe a cell, the rule of the wider region applies.
Table 1 (PDF p. 33).
(vi) Otherwise I ( r , ∣ d ∣ ) I(r,|d|) I ( r , ∣ d ∣ ) .
Definition 35 (ordinary and virtual boxes). On the same relative cells as P n P_n P n , define the virtual pattern Q n Q_n Q n as follows. The pattern Q 0 Q_0 Q 0 is 0 on all five cells of R 0 ( e ) R_0(e) R 0 ( e ) . For n ≥ 1 n \ge1 n ≥ 1 put
Q n ( r , d ) = { 2 , ∣ d ∣ = v n , 0 < r < ℓ n , r ≡ 0 ( m o d 6 ) , 0 , ∣ d ∣ = v n , 0 < r < ℓ n , r ≡ 2 , 4 ( m o d 6 ) , P n ( r , d ) , otherwise . Q_n(r,d)=
\begin{cases}
2, & |d|=v_n,\quad0<r<\ell_n,\quad r\equiv0\pmod{6},\\
0, & |d|=v_n,\quad0<r<\ell_n,\quad r\equiv2,4\pmod{6},\\
P_n(r,d), & \text{otherwise}.
\end{cases} Q n ( r , d ) = ⎩ ⎨ ⎧ 2 , 0 , P n ( r , d ) , ∣ d ∣ = v n , 0 < r < ℓ n , r ≡ 0 ( mod 6 ) , ∣ d ∣ = v n , 0 < r < ℓ n , r ≡ 2 , 4 ( mod 6 ) , otherwise . For a colouring U U U of the cells, a region R n ( e ) R_n(e) R n ( e ) is an ordinary box if U [ s , d ] = P n ( s − e , d ) U[s,d]=P_n(s-e,d) U [ s , d ] = P n ( s − e , d ) throughout the region, and a virtual box if U [ s , d ] = Q n ( s − e , d ) U[s,d]=Q_n(s-e,d) U [ s , d ] = Q n ( s − e , d ) throughout the region. Its child regions are always those of Definition 32. When referring to an ordinary box without specifying its opening time, we also write S n S_n S n for its pattern.
Lemma 36 (properties of virtual boxes). For n ≥ 1 n \ge1 n ≥ 1 , Q n Q_n Q n and P n P_n P n have the same interior and the same white opening and closing edges. Their only differences are on the walls, where Q n Q_n Q n is blue at the offsets 6, 12, … \ldots … , ℓ n − 2 \ell_n-2 ℓ n − 2 and white at the other wall cells. Each child region of either pattern carries the ordinary pattern of its level. Moreover, M = Q 1 \mathcal{M}=Q_1 M = Q 1 .
At level 0 the patterns differ at their centre: it is red in P 0 P_0 P 0 and white in Q 0 Q_0 Q 0 . No virtual box is an ordinal under the definition in Section 11.
Proof. The interior and edge statements follow from Definition 35. The walls have cells only at even offsets, and the nonzero wall entries occur at the stated multiples of 6. Child regions lie strictly inside the parent region, so Q n Q_n Q n and P n P_n P n agree on them. Their ordinary patterns follow from rule (ii) for n ≥ 2 n \ge2 n ≥ 2 and from the table of P 1 P_1 P 1 for n = 1 n = 1 n = 1 . The tables of M \mathcal{M} M and P 1 P_1 P 1 differ exactly at ( 6 , ± 5 ) (6,\pm5) ( 6 , ± 5 ) and ( 12 , ± 5 ) (12,\pm5) ( 12 , ± 5 ) , as prescribed by Q 1 Q_1 Q 1 .
For n ≥ 1 n \ge1 n ≥ 1 the wall cell at offset 6 is blue, so the border is not entirely white. For n = 0 n = 0 n = 0 the only interior row is entirely white, which the definition of an ordinal excludes.
Thus the description of a virtual box as an ordinary box with dashed walls applies at positive levels. The white centre of Q 0 Q_0 Q 0 is the separate base case at the end of the recursion.
Definition 37 (the description Δ \Delta Δ ). For a cell c = [ s , d ] c = [s,d] c = [ s , d ] with x = ( s − d ) / 2 x = (s-d)/2 x = ( s − d ) /2 and y = ( s + d ) / 2 y = (s+d)/2 y = ( s + d ) /2 , the value Δ ( c ) \Delta(c) Δ ( c ) is given by the first applicable rule.
(F1) Corner, strips and initial segment: if x , y < 20 x,y < 20 x , y < 20 , or x ≤ 13 x \le13 x ≤ 13 and y ≥ y 0 ( x ) y \ge y_0(x) y ≥ y 0 ( x ) , or y ≤ 13 y \le13 y ≤ 13 and x ≥ y 0 ( y ) x \ge y_0(y) x ≥ y 0 ( y ) , or s < 56 s < 56 s < 56 , the value of the corresponding table.
(F2) Inside a main box of level n n n opening at e e e : P n ( s − e , d ) P_n(s-e,d) P n ( s − e , d ) .
Otherwise let j j j be determined by E j − 1 ≤ s < E j + 1 − 1 E_j - 1 \le s < E_{j+1} - 1 E j − 1 ≤ s < E j + 1 − 1 .
(F3) Middle block of a main pair of boxes of level 0: M \mathcal{M} M as in Definition 34, relative to the closing time of the main box of level 1 that precedes the pair.
(F4) Junction: for any k ≥ 1 k \ge1 k ≥ 1 , put e = E k e = E_k e = E k and a = v 3 k + 2 a = v_{3k+2} a = v 3 k + 2 . The rows e − 10 , … , e − 1 e-10,\ldots,e-1 e − 10 , … , e − 1 have the following values at cells within the stated half-widths.
(F5) Transition rows around the edges of the main boxes, as in Definition 34(v).
(F6) After the opening e e e of a main box with e ≡ 1 ( m o d 6 ) e \equiv1 \pmod{6} e ≡ 1 ( mod 6 ) and half-width a a a : Δ [ e + 1 , ± ( a + 1 ) ] = 2 \Delta[e+1,\pm(a+1)] = 2 Δ [ e + 1 , ± ( a + 1 )] = 2 and Δ [ e + 3 , ± ( a + 1 ) ] = 1 \Delta[e+3,\pm(a+1)] = 1 Δ [ e + 3 , ± ( a + 1 )] = 1 .
(F7) Corridors and dashed walls of the block: if 1 ≤ ∣ d ∣ ≤ 12 j + 13 1 \le\lvert d\rvert\le12j+13 1 ≤ ∣ d ∣ ≤ 12 j + 13 , then Δ ( c ) = I ( s + 3 , ∣ d ∣ ) \Delta(c) = I(s+3,\lvert d\rvert) Δ ( c ) = I ( s + 3 , ∣ d ∣) .
(F8) Otherwise Δ ( c ) = Λ ( c ) \Delta(c) = \Lambda(c) Δ ( c ) = Λ ( c ) .
In words, in block j j j the rules (F2) to (F7) draw the virtual box V j V_j V j with its children, the main boxes of levels 3 j + 3 3j+3 3 j + 3 and 3 j + 4 3j+4 3 j + 4 , and the junction before the next block, and rule (F8) draws the lattice Λ \Lambda Λ elsewhere. Proposition 40 states this precisely.
The theorem
Theorem 38. Let Δ \Delta Δ be the function on cells of Definition 37 and C \mathcal{C} C the family of Definition 33.
(a) τ ( x , y ) = Δ [ x + y , y − x ] \tau(x,y) = \Delta[x+y,y-x] τ ( x , y ) = Δ [ x + y , y − x ] for all x , y ≥ 0 x,y \ge0 x , y ≥ 0 .
(b) The ordinals of τ \tau τ are the boxes of C C C . All boxes of level n n n are translates of each other, and the ordinals directly inside a box of level n + 1 n+1 n + 1 are its children, which are translates of S n , … , S 0 , S 0 , … , S n S_n,\ldots,S_0,S_0,\ldots,S_n S n , … , S 0 , S 0 , … , S n in this order.
(c) The ordinals contained in no other ordinal are the main boxes. Along the diagonal, in increasing time s = x + y s=x+y s = x + y , the first two main boxes have level 1 and open at times 15 and 29. The remaining main boxes occur in successive groups indexed by j = 0 , 1 , 2 , … j=0,1,2,\ldots j = 0 , 1 , 2 , … . In group j j j , the levels occur in the order
3 j + 2 , 3 j + 1 , … , 1 , 0 , 0 , 1 , … , 3 j + 2 3j+2,3j+1,\ldots,1,0,0,1,\ldots,3j+2 3 j + 2 , 3 j + 1 , … , 1 , 0 , 0 , 1 , … , 3 j + 2
with 6 j + 6 6j+6 6 j + 6 children of V j V_j V j , followed by 3 j + 3 , 3 j + 4 3j+3,3j+4 3 j + 3 , 3 j + 4 .
The virtual box V j V_j V j has level 3 j + 3 3j+3 3 j + 3 and opens at E j − 4 E_j-4 E j − 4 , where E j = 55 + 405 13 ( 27 j − 1 ) E_j=55+\frac{405}{13}(27^j-1) E j = 55 + 13 405 ( 2 7 j − 1 ) . The main box of level 3 j + 3 3j+3 3 j + 3 opens on the closing edge of V j V_j V j . The main box of level 3 j + 4 3j+4 3 j + 4 opens 4 rows after the main box of level 3 j + 3 3j+3 3 j + 3 closes. The next virtual box V j + 1 V_{j+1} V j + 1 opens 8 rows after the main box of level 3 j + 4 3j+4 3 j + 4 closes. Each level occurs infinitely often among the main boxes.
The next two propositions follow from the definitions and describe the structure behind the theorem. They are also the main tools of its proof.
Proposition 39 (assembly of the boxes). Let n ≥ 2 n\ge2 n ≥ 2 , ℓ = ℓ n − 1 \ell=\ell_{n-1} ℓ = ℓ n − 1 , w = v n − 1 w=v_{n-1} w = v n − 1 and v = v n v=v_n v = v n , and let 0 ≤ r ≤ ℓ n 0\le r\le\ell_n 0 ≤ r ≤ ℓ n and ∣ d ∣ ≤ v |d|\le v ∣ d ∣ ≤ v .
(a) If 4 ≤ r ≤ 4 + ℓ 4\le r\le4+\ell 4 ≤ r ≤ 4 + ℓ and ∣ d ∣ ≤ w |d|\le w ∣ d ∣ ≤ w , then P n ( r , d ) = P n − 1 ( r − 4 , d ) P_n(r,d)=P_{n-1}(r-4,d) P n ( r , d ) = P n − 1 ( r − 4 , d ) . If 4 + 2 ℓ ≤ r ≤ 4 + 3 ℓ 4+2\ell\le r\le4+3\ell 4 + 2 ℓ ≤ r ≤ 4 + 3 ℓ and ∣ d ∣ ≤ w |d|\le w ∣ d ∣ ≤ w , then P n ( r , d ) = P n − 1 ( r − 4 − 2 ℓ , d ) P_n(r,d)=P_{n-1}(r-4-2\ell,d) P n ( r , d ) = P n − 1 ( r − 4 − 2 ℓ , d ) .
(b) If 4 + ℓ ≤ r ≤ 4 + 2 ℓ 4+\ell\le r\le4+2\ell 4 + ℓ ≤ r ≤ 4 + 2 ℓ and ∣ d ∣ ≤ w |d|\le w ∣ d ∣ ≤ w , then P n ( r , d ) = Q n − 1 ( r − 4 − ℓ , d ) P_n(r,d)=Q_{n-1}(r-4-\ell,d) P n ( r , d ) = Q n − 1 ( r − 4 − ℓ , d ) . In particular, the middle region is a virtual box in the sense of Definition 35. Off its walls the value is P n − 1 ( r − 4 − ℓ , d ) P_{n-1}(r-4-\ell,d) P n − 1 ( r − 4 − ℓ , d ) . On the walls of the middle region, strictly between its edges, the value is I ( r , w ) I(r,w) I ( r , w ) .
(c) At the remaining cells, P n ( r , d ) = 0 P_n(r,d)=0 P n ( r , d ) = 0 if r ∈ { 0 , ℓ n } r\in\{0,\ell_n\} r ∈ { 0 , ℓ n } or ∣ d ∣ = v |d|=v ∣ d ∣ = v . The rows r = 1 , 2 , 3 r=1,2,3 r = 1 , 2 , 3 are red on ∣ d ∣ ≤ v − 1 |d|\le v-1 ∣ d ∣ ≤ v − 1 , red on ∣ d ∣ ≤ v − 2 |d|\le v-2 ∣ d ∣ ≤ v − 2 and white on ∣ d ∣ ≤ v − 3 |d|\le v-3 ∣ d ∣ ≤ v − 3 , respectively. Before the closing edge, the rows r = ℓ n − 1 , ℓ n − 2 , ℓ n − 3 r=\ell_n-1,\ell_n-2,\ell_n-3 r = ℓ n − 1 , ℓ n − 2 , ℓ n − 3 are white on ∣ d ∣ ≤ v − 3 |d|\le v-3 ∣ d ∣ ≤ v − 3 , red on ∣ d ∣ ≤ v − 4 |d|\le v-4 ∣ d ∣ ≤ v − 4 and red on ∣ d ∣ ≤ v − 5 |d|\le v-5 ∣ d ∣ ≤ v − 5 , respectively. The two exceptional values are
P n ( 5 , ± ( w + 1 ) ) = 2 , P n ( 7 , ± ( w + 1 ) ) = 1. P_n(5,\pm(w+1))=2,\qquad P_n(7,\pm(w+1))=1. P n ( 5 , ± ( w + 1 )) = 2 , P n ( 7 , ± ( w + 1 )) = 1. At all other remaining cells, P n ( r , d ) = I ( r , ∣ d ∣ ) P_n(r,d)=I(r,|d|) P n ( r , d ) = I ( r , ∣ d ∣ ) .
The decomposition into three patterns also holds for n = 1 n=1 n = 1 : the regions at offsets 4, 6 and 8 carry P 0 P_0 P 0 , Q 0 Q_0 Q 0 and P 0 P_0 P 0 , respectively. The same three constituent patterns occur inside Q n Q_n Q n for every $n\ge 1.
Proof. By the definition of the children and ℓ n = 3 ℓ + 8 \ell_n=3\ell+8 ℓ n = 3 ℓ + 8 , the children of P n P_n P n are, in time order, a box of level n − 1 n-1 n − 1 at the offset 4, the children of P n − 1 P_{n-1} P n − 1 shifted by 4 + ℓ 4+\ell 4 + ℓ , and a box of level n − 1 n-1 n − 1 at the offset 4 + 2 ℓ 4+2\ell 4 + 2 ℓ . Part (a) is rule (ii).
For (b) we compare the rules of Definition 34 for P n P_n P n at ( r , d ) (r,d) ( r , d ) and for P n − 1 P_{n-1} P n − 1 at ( r − 4 − ℓ , d ) (r-4-\ell,d) ( r − 4 − ℓ , d ) . Rule (ii) concerns the same children. For n ≥ 3 n\ge3 n ≥ 3 , the middle block of P n P_n P n is the middle block of P n − 1 P_{n-1} P n − 1 shifted by 4 + ℓ 4+\ell 4 + ℓ . For n = 2 n=2 n = 2 , the middle block of P 2 P_2 P 2 occupies the rows 18 , … , 32 18,\ldots,32 18 , … , 32 and the columns ∣ d ∣ ≤ 5 |d|\leq5 ∣ d ∣ ≤ 5 , which form the region of (b). Rule (iv) concerns the same first-half children. The edges seen by rule (v) are those of the same children and two edges of half-width w w w at the offsets 4 + ℓ 4+\ell 4 + ℓ and 4 + 2 ℓ 4+2\ell 4 + 2 ℓ , which for P n − 1 P_{n-1} P n − 1 are its own edges. Rule (vi) gives the same value because 4 + ℓ ≡ 0 ( m o d 6 ) 4+\ell\equiv0\pmod{6} 4 + ℓ ≡ 0 ( mod 6 ) .
For n ≥ 3 n\geq3 n ≥ 3 , consider the walls ∣ d ∣ = w |d|=w ∣ d ∣ = w strictly between these two edges. No child reaches these columns, and the middle block lies in ∣ d ∣ ≤ 5 < w |d|\leq5<w ∣ d ∣ ≤ 5 < w . Rule (iv) concerns even columns, while the transition rows of (v) reach only ∣ d ∣ ≤ w − 1 |d|\leq w-1 ∣ d ∣ ≤ w − 1 . Thus rule (vi) gives I ( r , w ) I(r,w) I ( r , w ) on the walls of the middle region, where P n − 1 P_{n-1} P n − 1 has its ordinary wall. Since 4 + ℓ ≡ 0 ( m o d 6 ) 4+\ell\equiv0\pmod{6} 4 + ℓ ≡ 0 ( mod 6 ) , these wall values are exactly those of Q n − 1 ( r − 4 − ℓ , d ) Q_{n-1}(r-4-\ell,d) Q n − 1 ( r − 4 − ℓ , d ) , and the shared edges are white. For n = 2 n=2 n = 2 the middle region carries M = Q 1 \mathcal{M}=Q_1 M = Q 1 by Lemma 36.
Part (c) follows in the same way from the rules (i), (iv), (v) and (vi), since the transition rows of the edges of the children, of half-width at most w w w , do not reach the columns ∣ d ∣ > w |d|>w ∣ d ∣ > w .
For n = 1 n=1 n = 1 the restrictions of P 1 P_1 P 1 to the rows 4 , … , 6 4,\ldots,6 4 , … , 6 and 8 , … , 10 8,\ldots,10 8 , … , 10 , with ∣ d ∣ ≤ 1 |d|\leq1 ∣ d ∣ ≤ 1 , are P 0 P_0 P 0 , while all five cells of the region on rows 6 , … , 8 6,\ldots,8 6 , … , 8 are white, giving Q 0 Q_0 Q 0 . Finally, all three constituent regions lie strictly inside R n ( e ) R_n(e) R n ( e ) , where P n = Q n P_n=Q_n P n = Q n for n ≥ 1 n\geq1 n ≥ 1 , so the assertion for Q n Q_n Q n follows as well.
Proposition 40 (the diagonal). Let j ≥ 0 j\geq0 j ≥ 0 and let V j = R 3 j + 3 ( E j − 4 ) V_j=R_{3j+3}(E_j-4) V j = R 3 j + 3 ( E j − 4 ) be the region of Definition 33.
(a) On the closed region of V j V_j V j , Δ [ s , d ] = Q 3 j + 3 ( s − E j + 4 , d ) \Delta[s,d]=Q_{3j+3}(s-E_j+4,d) Δ [ s , d ] = Q 3 j + 3 ( s − E j + 4 , d ) , so V j V_j V j is a virtual box for Δ \Delta Δ . Equivalently, Δ [ s , d ] = P 3 j + 3 ( s − E j + 4 , d ) \Delta[s,d]=P_{3j+3}(s-E_j+4,d) Δ [ s , d ] = P 3 j + 3 ( s − E j + 4 , d ) except on the walls ∣ d ∣ = 12 j + 13 |d|=12j+13 ∣ d ∣ = 12 j + 13 strictly between the two edges of V j V_j V j , where Δ [ s , d ] = I ( s + 3 , 12 j + 13 ) \Delta[s,d]=I(s+3,12j+13) Δ [ s , d ] = I ( s + 3 , 12 j + 13 ) . This is 2 for s ≡ 3 s\equiv3 s ≡ 3 and 0 for s ≡ 1 , 5 ( m o d 6 ) s\equiv1,5\pmod{6} s ≡ 1 , 5 ( mod 6 ) , so the walls of V j V_j V j are dashed.
(b) The main box of level 3 j + 4 3j+4 3 j + 4 closes at E j + 1 − 12 E_{j+1}-12 E j + 1 − 12 , and the big box of block j + 1 j+1 j + 1 opens at E j + 1 E_{j+1} E j + 1 . The eleven intervening rows contain a white bar of half-width v 3 j + 5 v_{3j+5} v 3 j + 5 at time E j + 1 − 8 E_{j+1}-8 E j + 1 − 8 and the opening edge of V j + 1 V_{j+1} V j + 1 , of half-width v 3 j + 6 v_{3j+6} v 3 j + 6 , at time E j + 1 − 4 E_{j+1}-4 E j + 1 − 4 . The other rows in this interval are transition rows of the edges at times E j + 1 − 12 E_{j+1}-12 E j + 1 − 12 , E j + 1 − 8 E_{j+1}-8 E j + 1 − 8 , E j + 1 − 4 E_{j+1}-4 E j + 1 − 4 and E j + 1 E_{j+1} E j + 1 . Where transition rules overlap, the rule for the edge with greatest half-width applies.
(c) The cells of block j j j that lie neither in V j V_j V j , nor in a main box, nor on the rows of (b) are given by the transition rows around the edges of the main boxes of levels 3 j + 3 3j+3 3 j + 3 and 3 j + 4 3j+4 3 j + 4 , and elsewhere by Λ \Lambda Λ .
Proof. (a) The children of V j V_j V j are the main boxes of levels 3 j + 2 , … , 0 , 0 , … , 3 j + 2 3j+2,\ldots,0,0,\ldots,3j+2 3 j + 2 , … , 0 , 0 , … , 3 j + 2 by Definition 33, and on their closed regions rule (F2) and rule (ii) give the same patterns. For the other cells of V j V_j V j we compare the rules of Definition 37 with those of Definition 34 for P 3 j + 3 P_{3j+3} P 3 j + 3 at ( s − E j + 4 , d ) (s-E_j+4,d) ( s − E j + 4 , d ) . Rule (F3) is rule (iii), since the main box of level 1 before the main pair of level 0 is the first-half child of level 1 of V j V_j V j . Rule (F6) is rule (iv), since the main boxes opening at times 1 ( m o d 6 ) 1\pmod{6} 1 ( mod 6 ) inside V j V_j V j are its first-half children. The rows E j − 4 , … , E j − 1 E_j-4,\ldots,E_j-1 E j − 4 , … , E j − 1 of rule (F4) are the opening edge of V j V_j V j , white on ∣ d ∣ ≤ 12 j + 13 |d|\leq12j+13 ∣ d ∣ ≤ 12 j + 13 , and the rows red on ∣ d ∣ ≤ 12 j + 12 |d|\leq12j+12 ∣ d ∣ ≤ 12 j + 12 , red on ∣ d ∣ ≤ 12 j + 11 |d|\leq12j+11 ∣ d ∣ ≤ 12 j + 11 and white on ∣ d ∣ ≤ 12 j + 10 |d|\leq12j+10 ∣ d ∣ ≤ 12 j + 10 , which are the transition rows of that edge in rule (v). Rule (F5) gives the transition rows of the children and of the closing edge of V j V_j V j , which is the opening edge of the main box of level 3 j + 3 3j+3 3 j + 3 . Rule (F7) is rule (vi), since s − E j + 4 ≡ s + 3 ( m o d 6 ) s-E_j+4\equiv s+3\pmod{6} s − E j + 4 ≡ s + 3 ( mod 6 ) , and at d = 0 d=0 d = 0 the cells of V j V_j V j are covered by the earlier rules, so that (F8) does not occur in V j V_j V j . On the walls strictly between the edges, rule (F7) gives I ( s + 3 , 12 j + 13 ) I(s+3,12j+13) I ( s + 3 , 12 j + 13 ) , where P 3 j + 3 P_{3j+3} P 3 j + 3 has its wall. Part (b) is rule (F4) with the half-width a = v 3 j + 5 a=v_{3j+5} a = v 3 j + 5 of the big box of block j + 1 j+1 j + 1 , and (c) is rules (F5) and (F8).
Theorem 38 (a) transfers these identifications from Δ \Delta Δ to the recurrent sequence τ \tau τ . Thus the virtual boxes inside ordinary boxes are identified by Proposition 39 , and the virtual boxes V j V_j V j along the diagonal by Proposition 40 .
Corollary 41 (the mirrored ordinals with one initial symbol). For each main box B B B of level n n n , the ordered rooted tree of ordinary boxes contained in B B B , including B B B itself, is isomorphic to the occurrence tree of s n s_n s n . Each child corresponds to a particular occurrence in the defining list, with time determining the order of children. Ignoring the order and the repetition, the children of a box of level n n n have exactly the levels 0 , … , n − 1 0,\ldots,n-1 0 , … , n − 1 , so that K K K is a child of B B B becomes k ∈ n k\in n k ∈ n for the von Neumann ordinals n = { 0 , … , n − 1 } n=\{0,\ldots,n-1\} n = { 0 , … , n − 1 } .
Proof. By Theorem 38 (b) and the description of the children in § 11.4 .
Corollary 42 (number of ordinary boxes). An ordinary box of level n ≥ 0 n\geq0 n ≥ 0 contains exactly 3 n 3^n 3 n ordinary boxes, including itself and all its descendants. A virtual box of level n n n contains exactly 3 n − 1 3^n-1 3 n − 1 ordinary boxes.
Proof. Let N n N_n N n count the ordinary boxes in an ordinary box of level n n n , including the outer box. Theorem 38 (b) gives N 0 = 1 N_0=1 N 0 = 1 and N n = 1 + 2 ∑ k = 0 n − 1 N k N_n=1+2\sum_{k=0}^{n-1}N_k N n = 1 + 2 ∑ k = 0 n − 1 N k for n ≥ 1 n\geq1 n ≥ 1 . Subtraction gives N n = 3 N n − 1 N_n=3N_{n-1} N n = 3 N n − 1 , hence N n = 3 n N_n=3^n N n = 3 n . By Lemma 36 , a virtual box has the same ordinary children and their descendants. Any ordinary box of smaller level has half-width at most v n − 4 v_n-4 v n − 4 , where Q n = P n Q_n=P_n Q n = P n , so no further ordinary box appears when the outer walls are changed. The virtual box itself is not an ordinal, so its count is N n − 1 = 3 n − 1 N_n-1=3^n-1 N n − 1 = 3 n − 1 .
Relation with Cantor's middle-thirds construction
The assembly of an ordinary box of level n n n gives the first n n n steps of Cantor’s middle-thirds construction when we select its constituent regions as follows. Project the regions onto the time axis. At each level above 0, omit the four-row margins at both ends and retain the two outer ordinary boxes. Remove the open middle span and discard all boxes inside its virtual region. Repeating this operation inside each retained box gives the same ordered arrangement of retained intervals and removed middle intervals as the Cantor construction. The interval lengths agree after the recursive normalization described below.
For comparison, let K 0 = [ 0 , 1 ] K_0=[0,1] K 0 = [ 0 , 1 ] and obtain K k + 1 K_{k+1} K k + 1 by deleting the open middle third of each interval in K k K_k K k . Equivalently,
K k + 1 = 1 3 K k ∪ ( 2 3 + 1 3 K k ) . K_{k+1}=\frac{1}{3}K_k\cup\left(\frac{2}{3}+\frac{1}{3}K_k\right). K k + 1 = 3 1 K k ∪ ( 3 2 + 3 1 K k ) .
Thus K k K_k K k consists of 2 k 2^k 2 k closed intervals of length 3 − k 3^{-k} 3 − k . The intersection ⋂ k ≥ 0 K k \bigcap_{k\geq0}K_k ⋂ k ≥ 0 K k is the Cantor set, whose description by ternary expansions with digits 0 and 2 appears in Cantor’s 1883 paper [4 p. 590] . Hutchinson gives the formulation by two contractions and its finite approximations in [7 Section 3.3(1)] .
To check the correspondence, consider a box of level m ≥ 1 m\geq1 m ≥ 1 opening at time e e e , and put L = ℓ m − 1 L=\ell_{m-1} L = ℓ m − 1 . Proposition 39 gives three consecutive constituent regions with the following patterns and time spans:
Table 1 (PDF p. 38).
Each span has length L L L , and adjacent spans share an endpoint. The identity ℓ m = 4 + 3 L + 4 \ell_m=4+3L+4 ℓ m = 4 + 3 L + 4 accounts for the margins before and after these regions. Assign the whole box to [ 0 , 1 ] [0,1] [ 0 , 1 ] and its three constituent regions to the left, middle and right thirds. Repeat this assignment inside each retained ordinary box, using its assigned interval in place of [ 0 , 1 ] [0,1] [ 0 , 1 ] . This recursively omits the end margins and normalizes each triple. A single affine change of the original time coordinate would leave the ratio L / ℓ m = L / ( 3 L + 8 ) L/\ell_m=L/(3L+8) L / ℓ m = L / ( 3 L + 8 ) unchanged.
After k k k selections, where 0 ≤ k ≤ n 0\le k\le n 0 ≤ k ≤ n , there are 2 k 2^k 2 k retained ordinary boxes of level n − k n-k n − k . Their assigned intervals form K k K_k K k . Indeed, each selection replaces a retained box by its two outer constituents and removes the open middle interval assigned to its virtual constituent. At step k ≥ 1 k\ge1 k ≥ 1 this excludes 2 k − 1 2^{k-1} 2 k − 1 virtual regions of level n − k n-k n − k . After n n n steps, the 2 n 2^n 2 n retained level-0 boxes therefore correspond to the component intervals of K n K_n K n , and the 2 n − 1 2^n-1 2 n − 1 excluded virtual regions correspond to the intervals removed during its construction.
For example, a box of level 2 first splits into P 1 , Q 1 , P 1 P_1,Q_1,P_1 P 1 , Q 1 , P 1 . Discarding the middle Q 1 Q_1 Q 1 and splitting each retained P 1 P_1 P 1 into P 0 , Q 0 , P 0 P_0,Q_0,P_0 P 0 , Q 0 , P 0 leaves four ordinary boxes of level 0. Their assigned intervals are
K 2 = [ 0 , 1 9 ] ∪ [ 2 9 , 1 3 ] ∪ [ 2 3 , 7 9 ] ∪ [ 8 9 , 1 ] . K_2=[0,\tfrac{1}{9}]\cup[\tfrac{2}{9},\tfrac{1}{3}]\cup[\tfrac{2}{3},\tfrac{7}{9}]\cup[\tfrac{8}{9},1]. K 2 = [ 0 , 9 1 ] ∪ [ 9 2 , 3 1 ] ∪ [ 3 2 , 9 7 ] ∪ [ 9 8 , 1 ] .
The original coloured diagram also contains ordinary boxes inside virtual regions, as Lemma 36 shows. In this example the discarded Q 1 Q_1 Q 1 contains two further ordinary boxes of level 0, both excluded at the first selection.
Proof of Theorem 38(a)
The axis entries in the corner and strip tables give Δ [ s , ± s ] = 1 \Delta[s,\pm s]=1 Δ [ s , ± s ] = 1 . By Lemma 2, applied to the alphabet A A A and the rule g g g , it therefore suffices to show that Δ \Delta Δ is correct at each cell c = [ s , d ] c=[s,d] c = [ s , d ] with ∣ d ∣ ≤ s − 2 |d|\le s-2 ∣ d ∣ ≤ s − 2 , that is Δ ( c ) = g ( Δ ( c x ) , Δ ( c y ) , Δ ( c z ) ) \Delta(c)=g(\Delta(c_x),\Delta(c_y),\Delta(c_z)) Δ ( c ) = g ( Δ ( c x ) , Δ ( c y ) , Δ ( c z )) . We call the quadruple ω ( c ) = ( Δ ( c ) , Δ ( c x ) , Δ ( c y ) , Δ ( c z ) ) \omega(c)=(\Delta(c),\Delta(c_x),\Delta(c_y),\Delta(c_z)) ω ( c ) = ( Δ ( c ) , Δ ( c x ) , Δ ( c y ) , Δ ( c z )) the window of c c c . Whether Δ \Delta Δ is correct at c c c depends only on ω ( c ) \omega(c) ω ( c ) . It therefore suffices to show that each window that occurs somewhere occurs in a bounded region, and to verify Δ \Delta Δ there by computer.
Lemma 43 (windows). Let R R R be the set of cells [ s , d ] [s,d] [ s , d ] with s < 613 224 s<613\,224 s < 613 224 that lie in the diagonal band ∣ d ∣ ≤ 60 |d|\le60 ∣ d ∣ ≤ 60 or in the axis margins x ≤ 15 x\le15 x ≤ 15 , y ≤ 15 y\le15 y ≤ 15 . Each window centred at a cell with ∣ d ∣ ≤ s − 2 |d|\le s-2 ∣ d ∣ ≤ s − 2 occurs at such a cell of R R R .
Block 3 begins at E 3 − 1 = 613 224 E_3-1=613\,224 E 3 − 1 = 613 224 , so R R R consists of the cells of the initial segment and of blocks 0 to 2 that lie in the band or in the margins.
Proof. Let c = [ s , d ] c=[s,d] c = [ s , d ] , with x = ( s − d ) / 2 x=(s-d)/2 x = ( s − d ) /2 and y = ( s + d ) / 2 y=(s+d)/2 y = ( s + d ) /2 .
Cells near the axes. Let x ≤ 15 x\le15 x ≤ 15 . If y ≤ 55 y\le55 y ≤ 55 then s ≤ 70 s\le70 s ≤ 70 and ∣ d ∣ ≤ 55 |d|\le55 ∣ d ∣ ≤ 55 , so c c c lies in R R R . Let y ≥ 56 y\ge56 y ≥ 56 . The cells with x ≤ 13 x\le13 x ≤ 13 lie in the strip, where Δ \Delta Δ depends only on ( x , y m o d 12 ) (x,y\bmod12) ( x , y mod 12 ) . A cell with x = 14 x=14 x = 14 or x = 15 x=15 x = 15 lies at distance ∣ d ∣ = y − x ≥ 41 |d|=y-x\ge41 ∣ d ∣ = y − x ≥ 41 from the diagonal, while the rules (F2) to (F7) concern the cells of block j j j with ∣ d ∣ ≤ 12 j + 25 |d|\le12j+25 ∣ d ∣ ≤ 12 j + 25 . For j = 0 t h i s i s l e s s t h a n 41 , a n d f o r j=0 this is less than 41, and for j = 0 t hi s i s l ess t han 41 , an df or j\ge1 a cell of block j j j has s ≥ E j − 1 ≥ 30 ⋅ 27 j s \ge E_j - 1 \ge30 \cdot27^j s ≥ E j − 1 ≥ 30 ⋅ 2 7 j , hence y − x ≥ 30 ⋅ 27 j − 30 > 12 j + 25 y-x \ge30 \cdot27^j - 30 > 12j + 25 y − x ≥ 30 ⋅ 2 7 j − 30 > 12 j + 25 . These cells are therefore given by (F8), and their values depend only on s s s mod 6 and ∣ d ∣ |d| ∣ d ∣ mod 12, which are functions of x x x and y y y mod 12. The windows of c c c and of ( x , y − 12 k ) (x,y-12k) ( x , y − 12 k ) therefore coincide for the k k k with 56 ≤ y − 12 k < 68 56 \le y-12k < 68 56 ≤ y − 12 k < 68 , which is a cell of R \mathcal{R} R . Cells with y ≤ 15 y \le15 y ≤ 15 are symmetric. From now on let x , y ≥ 16 x,y \ge16 x , y ≥ 16 and s ≥ 58 s \ge58 s ≥ 58 , since the cells with s < 58 s < 58 s < 58 lie in R \mathcal{R} R . Then c c c and its parents lie outside the corner, the strips and the initial segment.
Far exterior. If c c c and its parents are given by rule (F8), then ω ( c ) \omega(c) ω ( c ) depends only on s s s mod 6 and ∣ d ∣ |d| ∣ d ∣ mod 12, together with the sign of d d d . Here d ≠ 0 d \ne0 d = 0 , since diagonal cells lie in the boxes or their junction transitions. Choose the representative with s ′ = 400 + ( ( s − 400 ) mod 6 ) s' = 400 + ((s - 400) \mathbin{\operatorname{mod}} 6) s ′ = 400 + (( s − 400 ) mod 6 ) and d ′ = 30 + ( ( ( ∣ d ∣ − 30 ) mod 12 ) ) d' = 30 + (((|d| - 30) \mathbin{\operatorname{mod}} 12)) d ′ = 30 + ((( ∣ d ∣ − 30 ) mod 12 )) . It lies in block 0, and all four cells are given by (F8). For negative d d d , reflect the representative to preserve the order of the two side parents.
A map for the time coordinate. We first specify the shortening used below. For lengths L , L ′ ≥ 21 L,L' \ge21 L , L ′ ≥ 21 with L ≡ L ′ ( m o d 6 ) L \equiv L' \pmod6 L ≡ L ′ ( mod 6 ) , define, for 0 ≤ u < L 0 \le u < L 0 ≤ u < L ,
ϕ L , L ′ ( u ) = { u , 0 ≤ u ≤ 9 , L ′ − ( L − u ) , 1 ≤ L − u ≤ 5 , 10 + ( ( u − 10 ) mod 6 ) , 10 ≤ u ≤ L − 6. \phi_{L,L'}(u)=
\begin{cases}
u, & 0 \le u \le9,\\
L'-(L-u), & 1 \le L-u \le5,\\
10+((u-10)\mathbin{\operatorname{mod}}6), & 10 \le u \le L-6.
\end{cases} ϕ L , L ′ ( u ) = ⎩ ⎨ ⎧ u , L ′ − ( L − u ) , 10 + (( u − 10 ) mod 6 ) , 0 ≤ u ≤ 9 , 1 ≤ L − u ≤ 5 , 10 ≤ u ≤ L − 6.
The endpoint cases preserve the distance to the corresponding endpoint. The middle part of the interval is represented by one of the six rows 10 , … , 15 10,\ldots,15 10 , … , 15 . In all cases ϕ L , L ′ ( u ) ≡ u ( m o d 6 ) \phi_{L,L'}(u) \equiv u \pmod6 ϕ L , L ′ ( u ) ≡ u ( mod 6 ) . We map the centre of a window and then use its three parents. We do not apply ϕ \phi ϕ separately to the four cells.
Cells in a box. Let W m W_m W m be the set of ordered windows obtained from P m P_m P m when all four cells lie in its closed region. Thus their centres satisfy 2 ≤ r ≤ ℓ m 2 \le r \le\ell_m 2 ≤ r ≤ ℓ m , ∣ d ∣ + 1 ≤ v m |d|+1 \le v_m ∣ d ∣ + 1 ≤ v m and v m + r ≡ d ( m o d 2 ) v_m+r \equiv d \pmod2 v m + r ≡ d ( mod 2 ) . The tables give W 0 ⊆ W 1 W_0 \subseteq W_1 W 0 ⊆ W 1 , and the assembly in Proposition 39 gives W m − 1 ⊆ W m W_{m-1} \subseteq W_m W m − 1 ⊆ W m for m ≥ 2 m \ge2 m ≥ 2 . At the cells currently under consideration all four times are at least 56, so rule (F2) identifies a window contained in a main box with a window of P m P_m P m . The boxes in the initial segment have already been covered by R \mathcal{R} R .
Put L = ℓ m − 1 L=\ell_{m-1} L = ℓ m − 1 and w = v m − 1 w=v_{m-1} w = v m − 1 . The three constituent regions of P m P_m P m have intervals [ 4 + i L , 4 + ( i + 1 ) L ] [4+iL,4+(i+1)L] [ 4 + i L , 4 + ( i + 1 ) L ] , for i = 0 , 1 , 2 i=0,1,2 i = 0 , 1 , 2 , and half-width w w w . If a window is wholly in the first or third region, or wholly in the middle region off its walls, it belongs to W m − 1 W_{m-1} W m − 1 . Call the other windows frame windows . A frame window either crosses an endpoint of these intervals, lies in one of the outer margins, or has ∣ d ∣ ≥ w − 1 |d| \ge w-1 ∣ d ∣ ≥ w − 1 . In the first two cases its cells inside a constituent region are on its edge or within one row of that edge. In the last case all four positions have absolute value at least w − 2 w-2 w − 2 , whereas the children of that constituent have half-width at most w − 4 w-4 w − 4 . Consequently Proposition 39 (c), applied to the box and its three constituents, determines every cell of a frame window without further recursion.
Here is the complete information required by those frame rules. For a region of half-width v v v , an ordinary wall has value 0 0 0 , a virtual wall has value 1 1 1 , and either kind of region has value 0 0 0 on its opening and closing edges. The rows beside an edge at time a a a use the following cutoffs:
For an internal frame, only the rows on the appropriate side of its own edge are used. The two exceptional cells after an opening have relative coordinates ( 5 , ± ( v − 3 ) ) (5,\pm(v-3)) ( 5 , ± ( v − 3 )) and ( 7 , ± ( v − 3 ) ) (7,\pm(v-3)) ( 7 , ± ( v − 3 )) , with values 2 and 1. All remaining frame values are I ( r , ∣ d ∣ ) I(r, |d|) I ( r , ∣ d ∣ ) , with r r r counted from the opening of the relevant region. This value depends on r r r mod 6 and ∣ d ∣ |d| ∣ d ∣ mod 4. The kind of region, distances to its edges and walls, and these two residues therefore determine the ordered window.
For m ≥ 6 m \ge6 m ≥ 6 , set L ′ = ℓ m − 2 L' = \ell_{m-2} L ′ = ℓ m − 2 . Map a frame centre ( r , d ) (r,d) ( r , d ) to ( r ′ , d ′ ) (r',d') ( r ′ , d ′ ) in level m − 1 m - 1 m − 1 by
r ′ = { r , r < 4 , 4 + i L ′ + ϕ L , L ′ ( r − 4 − i L ) , 4 + i L ≤ r < 4 + ( i + 1 ) L , i = 0 , 1 , 2 , ℓ m − 1 − ( ℓ m − r ) , r ≥ 4 + 3 L . r' =
\begin{cases}
r, & r < 4,\\
4 + iL' + \phi_{L,L'}(r - 4 - iL), & 4 + iL \le r < 4 + (i + 1)L,\quad i = 0,1,2,\\
\ell_{m-1} - (\ell_m - r), & r \ge4 + 3L.
\end{cases} r ′ = ⎩ ⎨ ⎧ r , 4 + i L ′ + ϕ L , L ′ ( r − 4 − i L ) , ℓ m − 1 − ( ℓ m − r ) , r < 4 , 4 + i L ≤ r < 4 + ( i + 1 ) L , i = 0 , 1 , 2 , r ≥ 4 + 3 L .
and
d ′ = { d , ∣ d ∣ ≤ 7 , d − 4 sgn ( d ) , ∣ d ∣ ≥ 8. d' =
\begin{cases}
d, & |d| \le7,\\
d - 4\operatorname{sgn}(d), & |d| \ge8.
\end{cases} d ′ = { d , d − 4 sgn ( d ) , ∣ d ∣ ≤ 7 , ∣ d ∣ ≥ 8.
Every corresponding half-width decreases by 4. For ∣ d ∣ ≥ 8 |d| \ge8 ∣ d ∣ ≥ 8 , the absolute positions of all four cells decrease by 4, so every wall distance and cutoff in the table is preserved. For ∣ d ∣ ≤ 7 |d| \le7 ∣ d ∣ ≤ 7 , all four positions have absolute value at most 8. Such a frame window is near horizontal edges, where all relevant rows reach these positions in both boxes: the smallest half-width in the target is v m − 2 ≥ 17 v_{m-2} \ge17 v m − 2 ≥ 17 , and the largest subtraction in the table is 5.
Near an endpoint, the time map preserves the offsets of all four cells, including those on the other side of a shared edge. Away from endpoints, the four relative times are at least 8 after an opening and at least 6 before a closing. No exceptional or transition row applies there, so the residues modulo 6 suffice. The congruence L ≡ L ′ L \equiv L' L ≡ L ′ (mod 6) also preserves the phase when an endpoint belongs to two constituents. Thus the displayed map preserves each of the four values and takes a frame window to a frame window of level m − 1 m - 1 m − 1 . It follows inductively that W m ⊆ W 6 W_m \subseteq W_6 W m ⊆ W 6 for every m m m .
Cells in a virtual box of the diagonal. A window wholly in V j V_j V j off its walls belongs to W 3 j + 3 W_{3j+3} W 3 j + 3 by Proposition 40 (a), hence to W 6 W_6 W 6 .
Cells near the block structure. We give a separate map for the remaining windows. Set
θ j = E j − 4 , L = ℓ 3 j + 3 , v = v 3 j + 3 = 12 j + 13. \theta_j = E_j - 4,\qquad L = \ell_{3j+3},\qquad v = v_{3j+3} = 12j + 13. θ j = E j − 4 , L = ℓ 3 j + 3 , v = v 3 j + 3 = 12 j + 13.
The intervals between successive virtual openings satisfy θ j + 1 − θ j = 5 L + 20 \theta_{j+1} - \theta_j = 5L + 20 θ j + 1 − θ j = 5 L + 20 . Relative to θ j \theta_j θ j , Proposition 40 gives the following regions and junction edges:
Table 7.
The preceding ordinary box closes at θ j − 8 \theta_j - 8 θ j − 8 , and the preceding bar lies at θ j − 4 \theta_j - 4 θ j − 4 , with half-widths v − 8 v - 8 v − 8 and v − 4 v - 4 v − 4 . These also determine the parents of windows centred at θ j \theta_j θ j or $\theta_j + 1.
Each remaining window meets a time endpoint or one of the listed walls, or lies in a short gap. In a region whose wall is met, its children are four columns further in, so the frame rules just listed apply. At a crossed endpoint, only the first or last two rows of that region are needed. In the gaps, the edge-transition table applies, with the largest half-width taking priority where rows overlap. Outside these regions and transitions the value is Λ \Lambda Λ . The listed regions and transitions have half-width at most v + 12 v+12 v + 12 , so a window with at least one such cell has centre ∣ d ∣ ≤ v + 13 |d|\le v+13 ∣ d ∣ ≤ v + 13 . Thus the additional information, beyond that used for internal frames, is the absolute time modulo 6, the absolute position modulo 12, and the widths of the neighbouring edges in the table. This covers the four-row gap and both four-row parts of the junction containing the bar.
For j ≥ 3 j\ge3 j ≥ 3 , put L ′ = ℓ 3 j L'=\ell_{3j} L ′ = ℓ 3 j and write s = θ j + r s=\theta_j+r s = θ j + r , with 0 ≤ r < 5 L + 20 0\le r<5L+20 0 ≤ r < 5 L + 20 . Choose s ′ = θ j − 1 + r ′ s'=\theta_{j-1}+r' s ′ = θ j − 1 + r ′ by the following table:
Table 8.
For the position use d ′ = d d'=d d ′ = d when ∣ d ∣ ≤ 13 |d|\le13 ∣ d ∣ ≤ 13 and d ′ = d − 12 sgn ( d ) d'=d-12\operatorname{sgn}(d) d ′ = d − 12 sgn ( d ) when ∣ d ∣ ≥ 14 |d|\ge14 ∣ d ∣ ≥ 14 . All corresponding widths, including the preceding junction widths, decrease by 12. In the latter case the absolute positions of all four cells decrease by 12, preserving the cutoffs and the periods of both I I I and Λ \Lambda Λ . In the former case the window meets horizontal edges or their transitions, which are constant across ∣ d ∣ ≤ 14 |d|\le14 ∣ d ∣ ≤ 14 . Even the smallest preceding edge in the target has half-width 29, so its narrowest transition reaches ∣ d ∣ = 24 |d|=24 ∣ d ∣ = 24 .
The time map preserves each short gap and the offsets from both of its endpoints. Within a long region the same endpoint and residue argument as for internal frames applies. Since θ j ≡ θ j − 1 ( m o d 6 ) \theta_j\equiv\theta_{j-1}\pmod{6} θ j ≡ θ j − 1 ( mod 6 ) and L ≡ L ′ ( m o d 6 ) L\equiv L'\pmod{6} L ≡ L ′ ( mod 6 ) , absolute lattice phases are preserved as well. These facts give equality of the four ordered values. Repeating the map places the remaining window between θ 0 \theta_0 θ 0 and θ 3 \theta_3 θ 3 , at a position with ∣ d ∣ ≤ 12 ⋅ 2 + 26 = 50 |d|\le12\cdot2+26=50 ∣ d ∣ ≤ 12 ⋅ 2 + 26 = 50 . The windows before s = 58 s=58 s = 58 were already in R \mathcal{R} R .
Finally, W 6 W_6 W 6 is realised inside the main box of level 6 in block 1, which lies in R \mathcal{R} R . Together with the axis-margin and exterior cases, this proves the lemma.
Proposition 44 (computer verification). (a) Δ \Delta Δ is correct at each cell [ s , d ] [s,d] [ s , d ] of the region R \mathcal{R} R with ∣ d ∣ ≤ s − 2 |d|\le s-2 ∣ d ∣ ≤ s − 2 . This is a check of 55 492 541 recurrence windows, with 2 ≤ s < 613 224 2\le s<613\,224 2 ≤ s < 613 224 and either ∣ d ∣ ≤ 60 |d|\le60 ∣ d ∣ ≤ 60 or x ≤ 15 x\le15 x ≤ 15 or y ≤ 15 y\le15 y ≤ 15 .
(b) The argument triples of g g g that occur at the cells of part (a) are the 56 triples of A 3 A^3 A 3 other than the eight listed in Table 4 .
(c) Δ \Delta Δ agrees with τ \tau τ , computed from the recurrence, at all cells with x , y < 40000 x,y<40000 x , y < 40000 .
Proof. By computation, items 6 and 7 of § 13 . Part (c) is an independent check and is not used in the proofs.
Proof of Theorem 38(a). Let c c c be a cell with ∣ d ∣ ≤ s − 2 |d|\le s-2 ∣ d ∣ ≤ s − 2 . By Lemma 43 its window occurs at a cell c ′ c' c ′ of R \mathcal{R} R , and Δ \Delta Δ is correct at c ′ c' c ′ by Proposition 44(a). Hence Δ \Delta Δ is correct at c c c , and Δ = τ \Delta=\tau Δ = τ by Lemma 2.
Corollary 45. The triples ( τ ( x − 1 , y ) , τ ( x − 1 , y − 1 ) , τ ( x , y − 1 ) ) (\tau(x-1,y),\tau(x-1,y-1),\tau(x,y-1)) ( τ ( x − 1 , y ) , τ ( x − 1 , y − 1 ) , τ ( x , y − 1 )) with x , y ≥ 1 x,y\ge1 x , y ≥ 1 are exactly the 56 triples of A 3 A^3 A 3 other than the eight listed in Table 4 .
Proof. The triple at a cell consists of the last three entries of its window. By Lemma 43 each window occurs in R \mathcal{R} R , and the triples that occur there are given by Proposition 44 (b).
Proof of Theorem 38(b) and (c)
Lemma 46 (separation from the axes). For s ≥ 58 s \ge58 s ≥ 58 , a centred white segment on row s s s has half-width at most s − 32 s-32 s − 32 . Consequently every ordinal opening at s ≥ 58 s \ge58 s ≥ 58 lies in x , y ≥ 16 x,y \ge16 x , y ≥ 16 .
Proof. In block j j j , the rules (F2) to (F7) affect only ∣ d ∣ ≤ 12 j + 25 |d| \le12j+25 ∣ d ∣ ≤ 12 j + 25 , including the junction before block j + 1 j+1 j + 1 . For s ≥ 58 s \ge58 s ≥ 58 in block 0, we have s − 32 > 25 s-32 > 25 s − 32 > 25 . For j ≥ 1 j \ge1 j ≥ 1 , s ≥ E j − 1 ≥ 30 ⋅ 27 j s \ge E_j-1 \ge30\cdot27^j s ≥ E j − 1 ≥ 30 ⋅ 2 7 j gives s − 32 > 12 j + 25 s-32 > 12j+25 s − 32 > 12 j + 25 . Thus the cells [ s , s − 30 ] [s,s-30] [ s , s − 30 ] and [ s , s − 32 ] [s,s-32] [ s , s − 32 ] , with x = 15 x=15 x = 15 and x = 16 x=16 x = 16 , are given by Λ \Lambda Λ . On even rows both are non-white. On odd rows, their pairs of values for s ≡ 1 , 3 , 5 , 7 , 9 , 11 ( m o d 12 ) s \equiv1,3,5,7,9,11 \pmod{12} s ≡ 1 , 3 , 5 , 7 , 9 , 11 ( mod 12 ) are, respectively,
( 2 , 0 ) , ( 0 , 3 ) , ( 2 , 0 ) , ( 0 , 3 ) , ( 3 , 0 ) , ( 0 , 1 ) . (2,0),\quad(0,3),\quad(2,0),\quad(0,3),\quad(3,0),\quad(0,1). ( 2 , 0 ) , ( 0 , 3 ) , ( 2 , 0 ) , ( 0 , 3 ) , ( 3 , 0 ) , ( 0 , 1 ) .
They are never both white. A centred white segment therefore has half-width less than s − 30 s-30 s − 30 , hence at most s − 32 s-32 s − 32 by parity. If an ordinal opens at s 0 s_0 s 0 with half-width W ≤ s 0 − 32 W \le s_0-32 W ≤ s 0 − 32 , each of its cells has x , y ≥ ( s 0 − W ) / 2 ≥ 16 x,y \ge(s_0-W)/2 \ge16 x , y ≥ ( s 0 − W ) /2 ≥ 16 .
By part (a) we work with Δ \Delta Δ . We use three facts on the white cells with x , y ≥ 16 x,y \ge16 x , y ≥ 16 and s ≥ 56 s \ge56 s ≥ 56 , which follow from Definition 37 and Propositions 39 and 40 .
On an even column ∣ d ∣ = W |d|=W ∣ d ∣ = W the cells [ s , W ] [s,W] [ s , W ] and [ s + 2 , W ] [s+2,W] [ s + 2 , W ] are never both white. The pattern I I I , the lattice Λ \Lambda Λ and the rules (iv) and (F6) never give 0 on even columns. A white cell in an even column must therefore lie on a white transition row e − 1 e-1 e − 1 or e + 3 e+3 e + 3 of an edge e e e , on a white junction row, or at one of the positions ( 3 , 0 ) (3,0) ( 3 , 0 ) , ( 3 , ± 2 ) (3,\pm2) ( 3 , ± 2 ) , ( 7 , 0 ) (7,0) ( 7 , 0 ) , ( 11 , 0 ) (11,0) ( 11 , 0 ) and ( 13 , ± 2 ) (13,\pm2) ( 13 , ± 2 ) in P 1 P_1 P 1 or M M M . No two of these white cells are two rows apart in the same column.
On an odd row, the cells with ∣ d ∣ = 1 |d|=1 ∣ d ∣ = 1 or ∣ d ∣ = 3 |d|=3 ∣ d ∣ = 3 are white only on the row of an edge of half-width at least ∣ d ∣ |d| ∣ d ∣ , where an edge means an edge of a box of C C C , an edge of a virtual box V j V_j V j , or a bar. On odd rows the transition rows are red, the pattern I I I is not white on the middle columns a ≡ 3 ( m o d 4 ) a \equiv3 \pmod{4} a ≡ 3 ( mod 4 ) , the lattice Λ \Lambda Λ is not white on ∣ d ∣ ≡ 3 ( m o d 12 ) |d| \equiv3 \pmod{12} ∣ d ∣ ≡ 3 ( mod 12 ) , and the column ∣ d ∣ = 1 |d|=1 ∣ d ∣ = 1 is covered by the boxes and their transition rows. Moreover, if a a a is the greatest half-width of an edge on that row, its adjacent cells [ s , ± ( a + 2 ) ] [s,\pm(a+2)] [ s , ± ( a + 2 )] are non-white. For edges inside ordinary or virtual regions these cells lie on middle corridor columns. At level 0, their non-white values also follow from the tables of P 1 P_1 P 1 and M M M . At the remaining main edges, of levels 3 j + 3 3j+3 3 j + 3 and 3 j + 4 3j+4 3 j + 4 , one has s ≡ 1 , 5 ( m o d 6 ) s \equiv1,5 \pmod{6} s ≡ 1 , 5 ( mod 6 ) and a + 2 ≡ 3 , 7 ( m o d 12 ) a+2 \equiv3,7 \pmod{12} a + 2 ≡ 3 , 7 ( mod 12 ) , giving the values 2 and 1 in the table. At a virtual edge, s ≡ 3 ( m o d 6 ) s \equiv3 \pmod{6} s ≡ 3 ( mod 6 ) and a + 2 ≡ 3 ( m o d 12 ) a+2 \equiv3 \pmod{12} a + 2 ≡ 3 ( mod 12 ) give 3. At a bar, s ≡ 5 ( m o d 6 ) s \equiv5 \pmod{6} s ≡ 5 ( mod 6 ) and a + 2 ≡ 11 ( m o d 12 ) a+2 \equiv11 \pmod{12} a + 2 ≡ 11 ( mod 12 ) give 2.
The row of such an edge of half-width a a a is white on ∣ d ∣ ≤ a |d| \le a ∣ d ∣ ≤ a , and the row two rows after it is red on ∣ d ∣ ≤ a − 2 |d| \le a-2 ∣ d ∣ ≤ a − 2 .
Proof of Theorem 38(b) and (c). Let B ∗ B^* B ∗ be an ordinal with half-width W W W , top row s 0 s_0 s 0 and bottom row s 1 > s 0 s_1>s_0 s 1 > s 0 . Then s 0 ≡ s 1 ≡ W ( m o d 2 ) s_0 \equiv s_1 \equiv W \pmod{2} s 0 ≡ s 1 ≡ W ( mod 2 ) , the rows s 0 s_0 s 0 and s 1 s_1 s 1 are white on ∣ d ∣ ≤ W |d| \le W ∣ d ∣ ≤ W , and the cells [ s , ± W ] [s,\pm W] [ s , ± W ] with s 0 ≤ s ≤ s 1 s_0 \le s \le s_1 s 0 ≤ s ≤ s 1 and s ≡ W ( m o d 2 ) s \equiv W \pmod{2} s ≡ W ( mod 2 ) are white. The ordinals with s 0 < 58 s_0<58 s 0 < 58 are the boxes of C C C by item 8 of § 13 . To justify its finite cutoff, we check the 53 possible centred white opening segments with s 0 < 58 s_0 < 58 s 0 < 58 . For each segment, a prospective wall meets a non-white cell by time 111 (item 14), so no ordinal with such an opening can extend beyond the enumeration range. For s 0 ≥ 58 s_0 \ge58 s 0 ≥ 58 , Lemma 46 places the whole ordinal in x , y ≥ 16 x,y \ge16 x , y ≥ 16 , so (i) applies at its wall and makes W W W odd. By (ii), applied at ∣ d ∣ = 3 |d| = 3 ∣ d ∣ = 3 if W ≥ 3 W \ge3 W ≥ 3 and at ∣ d ∣ = 1 |d| = 1 ∣ d ∣ = 1 otherwise, s 0 s_0 s 0 is an edge time. Let E E E be a widest edge there, of half-width a a a . Its adjacent cell at ∣ d ∣ = a + 2 |d| = a + 2 ∣ d ∣ = a + 2 is non-white, so W ≤ a W \le a W ≤ a .
Suppose first that s 1 = s 0 + 2 s_1 = s_0 + 2 s 1 = s 0 + 2 . The closing row is white at ∣ d ∣ = 1 |d| = 1 ∣ d ∣ = 1 , so a − 2 < 1 a - 2 < 1 a − 2 < 1 by (iii), and E E E is an edge of a box of level 0. If E E E is an opening edge, B ∗ B^* B ∗ is that box. If E E E closes the first of the two level-0 boxes in a middle block, then B ∗ B^* B ∗ would be the virtual box between the pair. Its centre is white, so the condition on interior rows excludes this case. If E E E closes the second box in the pair, the cells at ∣ d ∣ = 1 |d| = 1 ∣ d ∣ = 1 are green two rows later, which prevents a white closing edge at s 0 + 2 s_0 + 2 s 0 + 2 .
Now let s 1 ≥ s 0 + 4 s_1 \ge s_0 + 4 s 1 ≥ s 0 + 4 . The wall cell [ s 0 + 2 , W ] [s_0 + 2, W] [ s 0 + 2 , W ] is white, so W ≥ a − 1 W \ge a - 1 W ≥ a − 1 by (iii). Since W ≤ a W \le a W ≤ a and both half-widths are odd, W = a W = a W = a . If a = 1 a = 1 a = 1 , the interior row s 0 + 2 s_0 + 2 s 0 + 2 has no cell with ∣ d ∣ < 1 |d| < 1 ∣ d ∣ < 1 , contrary to the condition on interior rows. Thus a ≥ 5 a \ge5 a ≥ 5 .
If E E E opens a box B B B of C C C , no row strictly between the edges of B B B can close an ordinal of half-width W W W . On each such row of the appropriate parity, the cells at ∣ d ∣ = W − 2 |d| = W - 2 ∣ d ∣ = W − 2 are non-white. They are red at offset 2 from the opening and otherwise follow a middle column of I I I , or the non-white entries of P 1 P_1 P 1 when B B B has level 1. Hence s 1 s_1 s 1 is at least the closing time of B B B . The closing row of B B B is white on ∣ d ∣ < W |d| < W ∣ d ∣ < W , so that row cannot be an interior row of B ∗ B^* B ∗ . Therefore s 1 s_1 s 1 is the closing time of B B B , and B ∗ = B B^* = B B ∗ = B .
If E E E is not the opening edge of an ordinary box, there are four possibilities:
E E E closes a first sub-box A 1 A_1 A 1 . The column ∣ d ∣ = W |d| = W ∣ d ∣ = W then follows the dashed wall of the middle virtual box A 2 A_2 A 2 , with a blue cell at time s 0 + 6 s_0 + 6 s 0 + 6 .
E E E closes a box and is followed four rows later by an edge of half-width W + 4 W + 4 W + 4 . The transition row before that edge makes [ s 0 + 2 , W ] [s_0 + 2, W] [ s 0 + 2 , W ] red.
E E E is a bar. Rule (F4) makes [ s 0 + 2 , W ] [s_0 + 2, W] [ s 0 + 2 , W ] red.
E E E opens V j V_j V j . Its dashed wall has a blue cell at time s 0 + 6 s_0 + 6 s 0 + 6 .
A red wall cell at s 0 + 2 s_0 + 2 s 0 + 2 prevents B ∗ B^* B ∗ from extending to s 1 ≥ s 0 + 4 s_1 \ge s_0 + 4 s 1 ≥ s 0 + 4 . In either case with a dashed wall, the blue cell at s 0 + 6 s_0 + 6 s 0 + 6 forces s 1 = s 0 + 4 s_1 = s_0 + 4 s 1 = s 0 + 4 . At time s 0 + 4 s_0 + 4 s 0 + 4 , the first child of the virtual box opens with half-width W − 4 W - 4 W − 4 . The cells at ∣ d ∣ = W − 2 |d| = W - 2 ∣ d ∣ = W − 2 lie on a middle corridor column and are non-white, so this row cannot be the closing edge of B ∗ B^* B ∗ .
Hence the ordinals are the boxes of C C C , and the ordinals directly inside a box are its children. All boxes of level n n n are translates of each other by the rules (F2) and (ii), and the children are described in Section 11.4. This proves (b). The main boxes are the boxes of C C C that are not children of other boxes, and their positions are those of Definition 33, which proves (c).
Non-automaticity
For an integer k ≥ 2 k \ge2 k ≥ 2 , the k k k -kernel of a sequence u : N → A u : \mathbb{N} \to A u : N → A is the set of sequences n ↦ u ( k e n + b ) n \mapsto u(k^e n + b) n ↦ u ( k e n + b ) with e ≥ 0 e \ge0 e ≥ 0 and 0 ≤ b < k e 0 \le b < k^e 0 ≤ b < k e . The sequence is k k k -automatic if and only if this set is finite [1 Theorem 6.6.2] . For a double sequence T : N 2 → A T : \mathbb{N}^{2} \to A T : N 2 → A , the k k k -kernel consists of the double sequences ( x , y ) ↦ T ( k e x + a , k e y + b ) (x,y) \mapsto T(k^{e}x+a,k^{e}y+b) ( x , y ) ↦ T ( k e x + a , k e y + b ) with e ≥ 0 e \ge0 e ≥ 0 and 0 ≤ a , b < k e 0 \le a,b < k^{e} 0 ≤ a , b < k e . Again, finiteness of the kernel characterises k k k -automaticity [1 Chapter 14] . We use these characterisations as definitions.
Theorem 47. None of the sequences t t t , ρ \rho ρ and τ \tau τ of Theorems 11, 28 and 38 is k k k -automatic for any integer k ≥ 2 k \ge2 k ≥ 2 .
For each of the three sequences, we choose a letter on the line y = x + 1 y=x+1 y = x + 1 whose gaps are unbounded but have length O ( log ( x + 2 ) ) O(\log(x+2)) O ( log ( x + 2 )) , where x x x is the starting position of a gap. Lemma 49 shows that an automatic sequence with unbounded gaps must contain arbitrarily late intervals without the chosen letter whose lengths are proportional to their starting positions. These two properties are incompatible.
Lemma 48. If T : N 2 → A T : \mathbb{N}^{2} \to A T : N 2 → A is k k k -automatic, then so is the sequence u ( x ) = T ( x , x + 1 ) u(x)=T(x,x+1) u ( x ) = T ( x , x + 1 ) .
Proof. Let e ≥ 0 e \ge0 e ≥ 0 and 0 ≤ b < k e 0 \le b < k^{e} 0 ≤ b < k e . If b + 1 < k e b+1 < k^{e} b + 1 < k e , then u ( k e x + b ) = T ( k e x + b , k e x + b + 1 ) u(k^{e}x+b)=T(k^{e}x+b,k^{e}x+b+1) u ( k e x + b ) = T ( k e x + b , k e x + b + 1 ) is the diagonal x ↦ T ′ ( x , x ) x \mapsto T'(x,x) x ↦ T ′ ( x , x ) of the element T ′ ( x , y ) = T ( k e x + b , k e y + b + 1 ) T'(x,y)=T(k^{e}x+b,k^{e}y+b+1) T ′ ( x , y ) = T ( k e x + b , k e y + b + 1 ) of the k k k -kernel of T T T . If b = k e − 1 b=k^{e}-1 b = k e − 1 , then u ( k e x + b ) = T ( k e x + k e − 1 , k e ( x + 1 ) ) u(k^{e}x+b)=T(k^{e}x+k^{e}-1,k^{e}(x+1)) u ( k e x + b ) = T ( k e x + k e − 1 , k e ( x + 1 )) is x ↦ T ′ ′ ( x , x + 1 ) x \mapsto T''(x,x+1) x ↦ T ′′ ( x , x + 1 ) for the element T ′ ′ ( x , y ) = T ( k e x + k e − 1 , k e y ) T''(x,y)=T(k^{e}x+k^{e}-1,k^{e}y) T ′′ ( x , y ) = T ( k e x + k e − 1 , k e y ) of the k k k -kernel of T T T . Hence the k k k -kernel of u u u has at most twice as many elements as that of T T T .
Lemma 49. Let u : N → A u : \mathbb{N} \to A u : N → A be k k k -automatic, let N N N be the number of elements of its k k k -kernel, and let the letter a a a occur in u u u . If u ( n ) ≠ a u(n) \ne a u ( n ) = a for all n n n in an interval of length 2 k m 2k^{m} 2 k m with m ≥ 2 N m \ge2^{N} m ≥ 2 N , then there are integers q ≥ 1 q \ge1 q ≥ 1 and p ≥ 1 p \ge1 p ≥ 1 such that u ( n ) ≠ a u(n) \ne a u ( n ) = a for all n ∈ [ q k m + t p , ( q + 1 ) k m + t p ) n \in[qk^{m+tp},(q+1)k^{m+tp}) n ∈ [ q k m + tp , ( q + 1 ) k m + tp ) and all t ≥ 0 t \ge0 t ≥ 0 .
Proof. An interval of length $2k^{m}$ contains an interval [ q k m , ( q + 1 ) k m ) [qk^{m},(q+1)k^{m}) [ q k m , ( q + 1 ) k m ) with q ≥ 0 q \ge0 q ≥ 0 . For a sequence v v v in the k k k -kernel K \mathcal{K} K of u u u and a digit b < k b<k b < k , the sequence n ↦ v ( k n + b ) n \mapsto v(kn+b) n ↦ v ( k n + b ) lies in K \mathcal{K} K . Let K i ⊆ K \mathcal{K}_{i} \subseteq\mathcal{K} K i ⊆ K be the set of the sequences n ↦ u ( k i n + b ) n \mapsto u(k^{i}n+b) n ↦ u ( k i n + b ) with 0 ≤ b < k i 0 \le b < k^{i} 0 ≤ b < k i . Writing b = k i b 1 + b ′ b=k^{i}b_{1}+b' b = k i b 1 + b ′ with b 1 < k b_{1}<k b 1 < k and b ′ < k i b'<k^{i} b ′ < k i shows that K i + 1 \mathcal{K}_{i+1} K i + 1 consists of the sequences n ↦ v ( k n + b 1 ) n \mapsto v(kn+b_{1}) n ↦ v ( k n + b 1 ) with v ∈ K i v \in\mathcal{K}_{i} v ∈ K i and b 1 < k b_{1}<k b 1 < k , so K i + 1 \mathcal{K}_{i+1} K i + 1 is determined by K i \mathcal{K}_{i} K i . Among the 2 N + 1 2^{N}+1 2 N + 1 sets K 0 , … , K 2 N \mathcal{K}_{0},\ldots,\mathcal{K}_{2^{N}} K 0 , … , K 2 N two coincide, say K i = K i + p \mathcal{K}_{i}=\mathcal{K}_{i+p} K i = K i + p with i + p ≤ 2 N ≤ m i+p \le2^{N} \le m i + p ≤ 2 N ≤ m , and then K m + t p = K m \mathcal{K}_{m+tp}=\mathcal{K}_{m} K m + tp = K m for all t ≥ 0 t \ge0 t ≥ 0 . By assumption v ( q ) ≠ a v(q) \ne a v ( q ) = a for all v ∈ K m v \in\mathcal{K}_{m} v ∈ K m , hence for all v ∈ K m + t p v \in\mathcal{K}_{m+tp} v ∈ K m + tp , which is the claim. If q = 0 q=0 q = 0 , the claim says that u ( n ) ≠ a u(n) \ne a u ( n ) = a for all n < k m + t p n<k^{m+tp} n < k m + tp and all t t t , so a a a would not occur in u u u . Hence $q \ge 1.
Proof of Theorem 47. Suppose that t t t is k k k -automatic. By Lemma 48 the sequence u ( x ) = t ( x , x + 1 ) = T [ 2 x + 1 , 1 ] u(x)=t(x,x+1)=T[2x+1,1] u ( x ) = t ( x , x + 1 ) = T [ 2 x + 1 , 1 ] is k k k -automatic. By Theorem 11, T [ s , 1 ] = 0 T[s,1]=0 T [ s , 1 ] = 0 exactly when s = 3 s=3 s = 3 , by rule (D0), or when [ s , 1 ] [s,1] [ s , 1 ] lies on the border of a box of B \mathcal{B} B , by rule (D1), since the other rules give the values 1 and 2 on odd rows. The cells [ s , 1 ] [s,1] [ s , 1 ] on borders are the cells of the edges, because the walls ∣ d ∣ = 1 |d|=1 ∣ d ∣ = 1 belong to the boxes of level 1, whose rows are their two edges and the row between them. Inside the main box S n S_n S n two consecutive edge times differ by at most 4 n + 2 4n+2 4 n + 2 , which is the length of the switching gap of S n S_n S n , and consecutive main boxes are 4 rows apart. The initial runs at x = 0 x=0 x = 0 and x = 2 , 3 x=2,3 x = 2 , 3 are finite exceptions. Every later maximal run of terms of u u u different from 0, starting at x 0 ≥ 5 x_0 \ge5 x 0 ≥ 5 , lies between two consecutive edge times s ′ = 2 x 0 − 1 s'=2x_0-1 s ′ = 2 x 0 − 1 and s ′ ′ s'' s ′′ , and its length is ( s ′ ′ − s ′ ) / 2 − 1 ≤ 2 n (s''-s')/2-1 \le2n ( s ′′ − s ′ ) /2 − 1 ≤ 2 n , where n n n is the level of the main box that contains s ′ s' s ′ or ends just before it. Since e n = 2 n + 2 − 2 n + 3 > 2 n + 1 e_n=2^{n+2}-2n+3>2^{n+1} e n = 2 n + 2 − 2 n + 3 > 2 n + 1 , we have n < log 2 s ′ n<\log_2 s' n < log 2 s ′ , and the run has length less than 2 log 2 ( 2 x 0 ) 2\log_2(2x_0) 2 log 2 ( 2 x 0 ) . On the other hand the switching gap of S n S_n S n gives a run of length 2 n 2n 2 n , so the runs are unbounded. Lemma 49, applied with a = 0 a=0 a = 0 , gives runs of length k m + t p k^{m+tp} k m + tp starting at q k m + t p qk^{m+tp} q k m + tp for all t ≥ 0 t \ge0 t ≥ 0 , which contradicts the bound 2 log 2 ( 2 q k m + t p ) 2\log_2(2qk^{m+tp}) 2 log 2 ( 2 q k m + tp ) for large t t t . Hence t t t is not k k k -automatic. For τ \tau τ we use the letter 3 on the same line. By Theorem 38 (a), the cells τ [ s , ± 1 ] \tau[s,\pm1] τ [ s , ± 1 ] with s ≥ 56 s \ge56 s ≥ 56 are green at offset 12 in each box of level 1 and 12 rows after each middle block begins. These are the only green entries on ∣ d ∣ = 1 |d|=1 ∣ d ∣ = 1 in the tables P 1 P_1 P 1 and M \mathcal{M} M . None of the other description rules gives a green cell on this line: borders, transition rows and junction rows give 0 or 1, rules (iv) and (F6) concern even columns, I I I takes the values 2, 0, 0 on the wall column a = 1 a=1 a = 1 , and Λ \Lambda Λ is white on ∣ d ∣ = 1 |d|=1 ∣ d ∣ = 1 .
The middle block of a box of level n ≥ 2 n \ge2 n ≥ 2 starts at offset c m i d = ℓ n / 2 − 7 c_{\mathrm{mid}}=\ell_n/2-7 c mid = ℓ n /2 − 7 . Thus every box of level n ≥ 1 n \ge1 n ≥ 1 has a green cell on d = 1 d=1 d = 1 at offset ℓ n / 2 + 5 \ell_n/2+5 ℓ n /2 + 5 , five rows after the middle of the box. The same statement holds for each virtual box V j V_j V j at its level. Induction on n n n , using the three sub-boxes, shows that each row of a box of level n ≥ 1 n \ge1 n ≥ 1 lies within 4 n + 12 4n+12 4 n + 12 rows of a green cell on d = 1 d=1 d = 1 inside the box. Consecutive main boxes are at most 12 rows apart. The main boxes that meet the rows up to s s s have levels at most log 3 s + 1 \log_3 s+1 log 3 s + 1 : in block j j j , the row index satisfies s ≥ E j − 1 ≥ 30 ⋅ 27 j s \ge E_j-1 \ge30\cdot27^j s ≥ E j − 1 ≥ 30 ⋅ 2 7 j and the levels are at most 3 j + 4 3j+4 3 j + 4 . Consequently a maximal run of terms of u ( x ) = τ ( x , x + 1 ) u(x)=\tau(x,x+1) u ( x ) = τ ( x , x + 1 ) different from 3, starting at a sufficiently large x 0 x_0 x 0 , has length at most C log x 0 C\log x_0 C log x 0 for a constant C C C .
These runs are unbounded. In a box of level n ≥ 3 n \ge3 n ≥ 3 , consider the last row with a green cell on d = 1 d=1 d = 1 in its first child and the first such row in its second child. The two rows are 8 n − 2 8n-2 8 n − 2 rows apart, with no green cell on d = 1 d=1 d = 1 between them. Lemma 49 , applied with a = 3 a=3 a = 3 , contradicts the logarithmic bound as in the case of t t t .
Finally consider v ( x ) = ρ ( x , x + 1 ) = 1 − U [ 2 x + 1 , 1 ] v(x)=\rho(x,x+1)=1-U[2x+1,1] v ( x ) = ρ ( x , x + 1 ) = 1 − U [ 2 x + 1 , 1 ] , and use the red letter 1. By Theorem 28 , its occurrences are exactly the intersections with the borders of odd-level boxes: the other zero cells of U U U have d = 0 d=0 d = 0 , even-level edges have even time, and the wall d = 1 d=1 d = 1 of a level-1 box consists only of its two edge cells.
For a box of level n n n , let Z n Z_n Z n be the relative times of these red cells on d = 1 d=1 d = 1 . Then Z 1 = { 0 , 2 } Z_1=\{0,2\} Z 1 = { 0 , 2 } , Z 2 = ∅ Z_2=\varnothing Z 2 = ∅ and Z 3 = { 0 , 14 } Z_3=\{0,14\} Z 3 = { 0 , 14 } . For n ≥ 3 n \ge3 n ≥ 3 , the first red time and the distance of the last red time from b n b_n b n are both
a n = { 0 , n odd , 3 , n even , a_n=\begin{cases}
0, & n\text{ odd},\\
3, & n\text{ even},
\end{cases} a n = { 0 , 3 , n odd , n even ,
and the largest difference between consecutive red times is 2 n + 8 2n+8 2 n + 8 . To prove these assertions, use the child list of Section 10. For odd n n n , the red cells occur on both edges of the parent. For even n ≥ 4 n \ge4 n ≥ 4 , the first and last children have odd level and lie 3 rows from the parent’s edges. Within either half, consecutive children have successive levels. Their nearest red cells are 6 rows apart, except when the empty set Z 2 Z_2 Z 2 is skipped: the level-2 duration b 2 = 6 b_2=6 b 2 = 6 and its two neighbouring gaps of 3 give 12 rows between the red cells of levels 3 and 1. For an odd-level parent, the gap from its opening to its first red child cell is 12 at level 5 and 6 at odd levels at least 7, and closing is symmetric. The two central level-1 children, for n ≥ 4 n \ge4 n ≥ 4 , have red edges separated by exactly 2 n + 8 2n+8 2 n + 8 , with no red cell between them. This gap exceeds the other gaps and, by induction, all gaps inside a child. The case n = 3 n=3 n = 3 follows from Z 3 Z_3 Z 3 directly.
Consequently C n C_n C n , for n ≥ 3 n \ge3 n ≥ 3 , contains a run of exactly n + 3 n+3 n + 3 non-red terms of v v v , and no longer run between its red cells. Between C n C_n C n and C n + 1 C_{n+1} C n + 1 , for n ≥ 3 n \ge3 n ≥ 3 , the nearest red times are a n + 3 + a n + 1 = 6 a_n+3+a_{n+1}=6 a n + 3 + a n + 1 = 6 rows apart. The initial level-2 main box has no red cell on this line. The surrounding red times 7 and 19 give a single finite exception of 12 rows.
Since the durations increase, b n ≥ 3 b n − 3 b_n \ge3b_{n-3} b n ≥ 3 b n − 3 for n ≥ 4 n \ge4 n ≥ 4 , and hence
b m ≥ 2 ⋅ 3 ⌊ ( m − 1 ) / 3 ⌋ , c n ≥ b n − 1 ≥ 2 ⋅ 3 ( n − 4 ) / 3 ( n ≥ 2 ) . b_m \ge2\cdot3^{\lfloor(m-1)/3\rfloor},\qquad c_n \ge b_{n-1} \ge2\cdot3^{(n-4)/3}\quad(n\ge2). b m ≥ 2 ⋅ 3 ⌊( m − 1 ) /3 ⌋ , c n ≥ b n − 1 ≥ 2 ⋅ 3 ( n − 4 ) /3 ( n ≥ 2 ) .
A maximal non-red run starting at x 0 ≥ 10 x_0 \ge10 x 0 ≥ 10 has its preceding red cell at time s ′ = 2 x 0 − 1 s' = 2x_0 - 1 s ′ = 2 x 0 − 1 in a main box C n C_n C n , with n ≥ 3 n \ge3 n ≥ 3 and c n ≤ s ′ c_n \le s' c n ≤ s ′ . Its length is at most
n + 3 ≤ 3 log 3 ( s ′ / 2 ) + 7 < 3 log 3 x 0 + 7. n + 3 \le3\log_3(s'/2) + 7 < 3\log_3 x_0 + 7. n + 3 ≤ 3 log 3 ( s ′ /2 ) + 7 < 3 log 3 x 0 + 7.
Thus the non-red runs are unbounded, but their lengths are O ( log ( x 0 + 2 ) ) O(\log(x_0+2)) O ( log ( x 0 + 2 )) . If ρ \rho ρ were k k k -automatic, Lemma 48 would make v v v k k k -automatic. Lemma 49, with a = 1 a=1 a = 1 , would then give non-red intervals of length k m + t p k^{m+tp} k m + tp starting at q k m + t p qk^{m+tp} q k m + tp for all t ≥ 0 t \ge0 t ≥ 0 . Extend each to a maximal run: its starting point is no larger, so its length still has a logarithmic upper bound in q k m + t p qk^{m+tp} q k m + tp . This contradicts the displayed interval lengths for large t t t .
Computer verification
The computations below test the recurrence, geometry and counting formulas against the explicit descriptions. Verification code, finite tables and computation logs accompany the paper.5
The proofs in § 7 –§ 9 are independent of these computations. For three initial symbols, Lemma 27 reduces the recurrence check to a finite catalogue, whose verification is part of the proof. Claim 12 gives additional checks on larger regions. For four letters, Theorem 38(a) and Corollary 45 use claim 6, while Theorem 38(b) uses claims 8 and 14 near the origin. The exhaustive search for Theorem 30 is specified in its proof. The non-automaticity proofs in § 12 follow from the descriptions without further computation.
The description D D D of Definition 10, implemented without the recurrence, agrees with t t t , computed from the recurrence, at all 2 34 2^{34} 2 34 cells ( x , y ) (x,y) ( x , y ) with 0 ≤ x , y < 2 17 0 \le x,y < 2^{17} 0 ≤ x , y < 2 17 . This range contains the main boxes S 1 , … , S 15 S_1,\ldots,S_{15} S 1 , … , S 15 completely.
D D D is correct, in the sense of § 3 , at all 8.5 ⋅ 10 9 8.5 \cdot10^9 8.5 ⋅ 1 0 9 cells of the band ∣ d ∣ ≤ w 25 + 8 \lvert d\rvert\le w_{25}+8 ∣ d ∣ ≤ w 25 + 8 with x + y < 1.35 ⋅ 10 8 x+y < 1.35 \cdot10^8 x + y < 1.35 ⋅ 1 0 8 , which contains S 1 , … , S 24 S_1,\ldots,S_{24} S 1 , … , S 24 completely.
The set of triples of Theorem 25(a) and the occurrence statements of (c) were confirmed on the same 2 17 × 2 17 2^{17} \times2^{17} 2 17 × 2 17 square.
The coordinate formulas of Theorem 20, the structure of the transition squares T 1 , … , T 9 T_1,\ldots,T_9 T 1 , … , T 9 including the runs of the staircases, and the structure of the 162 transition squares and 170 switching squares inside the ordinals up to S 9 S_9 S 9 were checked cell by cell.
The classification of Lemma 16 was checked on all cells with x + y < 2400 x+y < 2400 x + y < 2400 : every environment cell with an irregular parent or on the diagonal, 12 709 cells in total, belongs to one of the classes (E1) to (E6).
Δ \Delta Δ is correct at all 55 492 541 cells with ∣ d ∣ ≤ s − 2 \lvert d\rvert\le s-2 ∣ d ∣ ≤ s − 2 of the region R R R of Lemma 43, and the argument triples of g g g at these cells were recorded. The computation used checked integer initialization and undefined-behaviour sanitization (Proposition 44(a),(b)).
Δ \Delta Δ agrees with τ \tau τ , computed from the recurrence, at all cells with x , y < 40000 x,y < 40000 x , y < 40000 (Proposition 44(c)).
The white-bordered rectangles of Δ \Delta Δ centred on the diagonal, with a non-white cell strictly inside each row between their edges, with s < 2 ⋅ 10 5 s < 2 \cdot10^{5} s < 2 ⋅ 1 0 5 and half-width at most 100, are exactly the 33 327 boxes of C \mathcal{C} C in this range. This range contains all ordinals whose top row lies in s < 58 s < 58 s < 58 .
Proposition 39 was checked cell by cell for 2 ≤ n ≤ 11 2 \le n \le11 2 ≤ n ≤ 11 , and Proposition 40 (a),(b) for 0 ≤ j ≤ 3 0 \le j \le3 0 ≤ j ≤ 3 . The facts (i) and (ii) of § 11.11 were checked at all cells with x , y ≥ 16 x,y \ge16 x , y ≥ 16 , 56 ≤ s < 2 ⋅ 10 6 56 \le s < 2 \cdot10^{6} 56 ≤ s < 2 ⋅ 1 0 6 and ∣ d ∣ ≤ 200 |d| \le200 ∣ d ∣ ≤ 200 .
On the line y = x + 1 y=x+1 y = x + 1 , for x < 4095 x<4095 x < 4095 , the white cells of t t t are the intersections with edges of boxes of B \mathcal{B} B and the cell ( 1 , 2 ) (1,2) ( 1 , 2 ) . On the same line, the green cells of τ \tau τ with s ≥ 56 s \ge56 s ≥ 56 occur on the rows used in the proof of Theorem 47 . This was checked for x < 11999 x<11999 x < 11999 using the recurrence and for s < 5 ⋅ 10 7 s<5\cdot10^{7} s < 5 ⋅ 1 0 7 using Δ \Delta Δ .
For τ \tau τ , the ordinals contained in no other ordinal were enumerated on the anti-diagonals s < 3 ⋅ 10 7 s<3\cdot10^{7} s < 3 ⋅ 1 0 7 in the band ∣ d ∣ ≤ 100 |d|\le100 ∣ d ∣ ≤ 100 . Cells outside the band were taken from Λ \Lambda Λ . The levels and positions of the enumerated ordinals agree with Theorem 38 (c) up to the box of level 13.
For the three-initial-symbol sequence, U U U agrees with u = 1 − ρ u=1-\rho u = 1 − ρ , computed from the recurrence, on all cells with x , y < 2048 x,y<2048 x , y < 2048 . The local recurrence for U U U was also checked for 2 ≤ s < 60000 2\le s<60000 2 ≤ s < 60000 and ∣ d ∣ ≤ 44 |d|\le44 ∣ d ∣ ≤ 44 , using symmetry. In a 1536 × 1536 1536\times1536 1536 × 1536 recurrence grid, all 276 zero-bordered rectangles with half-width at most 24 are exactly the boxes of H \mathcal{H} H that fit in the grid. Their counts inside C 1 , … , C 11 C_1,\ldots,C_{11} C 1 , … , C 11 agree with Corollary 29 .
The ordinary–virtual–ordinary assembly of Proposition 39 , including the level-0 exception, was checked in both P n P_n P n and Q n Q_n Q n for 1 ≤ n ≤ 8 1\le n\le8 1 ≤ n ≤ 8 on 1 622 784 constituent cells. The identity Δ [ s , d ] = Q 3 j + 3 ( s − E j + 4 , d ) \Delta[s,d]=Q_{3j+3}(s-E_j+4,d) Δ [ s , d ] = Q 3 j + 3 ( s − E j + 4 , d ) was checked on all 4 542 171 cells of V 0 , V 1 , V 2 V_0,V_1,V_2 V 0 , V 1 , V 2 .
The arithmetic formula of Corollary 29 agrees with its recurrence for 1 ≤ n ≤ 200 1\le n\le200 1 ≤ n ≤ 200 . For levels 1 through 18, the positions of the red cells on d = 1 d=1 d = 1 agree with the odd-level edge description in the non-automaticity proof, including the largest time gap 2 n + 8 2n+8 2 n + 8 for n ≥ 3 n\ge3 n ≥ 3 . The 233 red cells of ρ ( x , x + 1 ) \rho(x,x+1) ρ ( x , x + 1 ) in a 1024 × 1024 1024\times1024 1024 × 1024 recurrence grid also agree with this description. For the four-letter sequence, all 53 centred white opening segments with 1 ≤ s < 58 1\le s<58 1 ≤ s < 58 have their first non-white wall cell by time 111, which justifies the finite-origin cutoff in part (b). The two separator cells of Lemma 46 were checked for 58 ≤ s ≤ 613224 58\le s\le613224 58 ≤ s ≤ 613224 , and the 204 387 edge times in that range all have non-white cells immediately beyond their widest edge.
The finite catalogue in Lemma 27 contains 7930 horizontal-edge windows, 1570 wall windows and 858 central windows, including repeated value quadruples from different contexts. Every window satisfies the local recurrence.
The maps in Lemma 43 were checked against the cell definitions on all 123 540 frame windows at levels 6 through 8, on representatives at levels 9 through 30, and on 8190 representatives near the block boundaries in blocks 3 through 9. These finite checks supplement the proof that the maps preserve values at arbitrary levels.
For the search in Theorem 30 , the rectangle detector was checked against an independent direct enumeration. As a positive control, it accepts the level-2 box of the four-letter sequence, together with its eight descendants.
The finite tables of the description Δ \Delta Δ
The tables used in § 11.7 follow. Their entries were read from τ \tau τ , computed by the recurrence. In P 0 P_0 P 0 and P 1 P_1 P 1 , the row index r r r is the offset from the opening edge. In M \mathcal{M} M , rows are indexed from the closing offset c m i d c_{\mathrm{mid}} c mid of the preceding child of level 1. The columns give positions d d d from − v -v − v to v v v . A dot marks a position of the wrong parity, which carries no cell.
The pattern P 0 P_0 P 0 , rows r = 0 , 1 , 2 r = 0,1,2 r = 0 , 1 , 2 , columns d = − 1 , 0 , 1 d = -1,0,1 d = − 1 , 0 , 1 :
0.0
.1.
0.0
The pattern P 1 P_1 P 1 , rows r = 0 , … , 14 r = 0,\ldots,14 r = 0 , … , 14 , columns d = − 5 , … , 5 d = -5,\ldots,5 d = − 5 , … , 5 :
0 0.0.0.0.0.0
1 .1.1.1.1.1.
2 0.1.1.1.1.0
3 .2.0.0.0.2.
4 0.2.0.0.2.0
5 .3.2.1.2.3.
6 0.3.0.0.3.0
7 .2.1.0.1.2.
8 0.1.0.0.1.0
9 .2.2.1.2.2.
10 0.2.0.0.2.0
11 .3.3.0.3.3.
12 0.3.3.3.3.0
13 .2.0.2.0.2.
14 0.0.0.0.0.0
The middle block M \mathcal{M} M , rows r − c m i d = 0 , … , 14 r - c_{\mathrm{mid}} = 0,\ldots,14 r − c mid = 0 , … , 14 , columns d = − 5 , … , 5 d = -5,\ldots,5 d = − 5 , … , 5 :
0 0.0.0.0.0.0
1 .1.1.1.1.1.
2 0.1.1.1.1.0
3 .2.0.0.0.2.
4 0.2.0.0.2.0
5 .3.2.1.2.3.
6 2.3.0.0.3.2
7 .2.1.0.1.2.
8 0.1.0.0.1.0
9 .2.2.1.2.2.
10 0.2.0.0.2.0
11 .3.3.0.3.3.
12 2.3.3.3.3.2
13 .2.0.2.0.2.
14 0.0.0.0.0.0
The strip x ≤ 13 x \le13 x ≤ 13 : each row gives x x x , the threshold y 0 ( x ) y_0(x) y 0 ( x ) and the values τ ( x , 24 ) , … , τ ( x , 35 ) \tau(x,24),\ldots,\tau(x,35) τ ( x , 24 ) , … , τ ( x , 35 ) . For y ≥ y 0 ( x ) y \ge y_0(x) y ≥ y 0 ( x ) the values repeat with period 12, that is, τ ( x , y ) = τ ( x , 24 + ( ( y − 24 ) mod 12 ) ) \tau(x,y)=\tau\left(x,24+((y-24)\mathbin{\operatorname{mod}}12)\right) τ ( x , y ) = τ ( x , 24 + (( y − 24 ) mod 12 ) ) . The strip y ≤ 13 y \le13 y ≤ 13 is symmetric.
Table strip.
The corner: τ ( x , y ) \tau(x,y) τ ( x , y ) for 0 ≤ x , y < 20 0 \le x,y < 20 0 ≤ x , y < 20 , with x x x the row and y y y the column.
Table corner.
The initial segment: τ [ s , d ] \tau[s,d] τ [ s , d ] for 28 ≤ s ≤ 55 28 \le s \le55 28 ≤ s ≤ 55 , each row listing the positions d = 0 d=0 d = 0 or d = 1 d=1 d = 1 , according to the parity of s s s , up to d = s − 28 d=s-28 d = s − 28 . The values at negative d d d follow by symmetry, and the cells with s < 56 s<56 s < 56 that are not listed lie in the corner or in the strips.
Table initial segment.
29 0
30 11
31 11
32 002
33 020
34 1232
35 0301
36 01222
37 01020
38 122332
39 020301
40 0332222
41 3301020
42 20222332
43 00020302
44 111332233
45 111301032
46 0000022222
47 0000020101
48 11111332222
49 11111302020
50 000000233332
51 000000032301
52 1111111222222
53 1111110101020
54 00000022222332
55 00000202020302
Acknowledgments
This paper was produced in an AI-assisted workflow. AI assistants helped explore candidate constructions, draft proofs, and write software for numerical experiments.
References