Input: f(xk+N)=c0xk and k=(k1,k2,⋯,kn) |
Output: f(xk+N) |
1 for i=1:n do |
![]() |
11 end |
12 return Tf(x)k=f(xk+N)(modp); |
This paper focuses on the reversibility of multidimensional linear cellular automata with an intermediate boundary condition. We begin by addressing the matrix representation of these automata, and the question of reversibility boils down to the invertibility of this matrix representation. We introduce a decomposition method that factorizes the matrix representation into a Kronecker sum of significantly smaller matrices. The invertibility of the matrix hinges on determining whether zero can be expressed as the sum of eigenvalues of these smaller matrices, which happen to be tridiagonal Toeplitz matrices. Notably, each of these smaller matrices represents a one-dimensional cellular automaton. Leveraging the rich body of research on the eigenvalue problem of Toeplitz matrices, our result provides an efficient algorithm for addressing the reversibility problem. As an application, we show that there is no reversible nontrivial linear cellular automaton over Z2.
Citation: Chih-Hung Chang, Ya-Chu Yang, Ferhat Şah. Reversibility of linear cellular automata with intermediate boundary condition[J]. AIMS Mathematics, 2024, 9(3): 7645-7661. doi: 10.3934/math.2024371
[1] | Xiaofeng Guo, Jianyu Pan . Approximate inverse preconditioners for linear systems arising from spatial balanced fractional diffusion equations. AIMS Mathematics, 2023, 8(7): 17284-17306. doi: 10.3934/math.2023884 |
[2] | Bodigiri Sai Gopinadh, Venkatrajam Marka . Reversible codes in the Rosenbloom-Tsfasman metric. AIMS Mathematics, 2024, 9(8): 22927-22940. doi: 10.3934/math.20241115 |
[3] | Yongge Tian . Miscellaneous reverse order laws and their equivalent facts for generalized inverses of a triple matrix product. AIMS Mathematics, 2021, 6(12): 13845-13886. doi: 10.3934/math.2021803 |
[4] | Xuegui Zhang, Yuanfu Shao . Analysis of a stochastic predator-prey system with mixed functional responses and Lévy jumps. AIMS Mathematics, 2021, 6(5): 4404-4427. doi: 10.3934/math.2021261 |
[5] | Murat A. Sultanov, Vladimir E. Misilov, Makhmud A. Sadybekov . Numerical method for solving the subdiffusion differential equation with nonlocal boundary conditions. AIMS Mathematics, 2024, 9(12): 36385-36404. doi: 10.3934/math.20241726 |
[6] | H. M. Barakat, Magdy E. El-Adll, M. E. Sobh . Bootstrapping $ m $-generalized order statistics with variable rank. AIMS Mathematics, 2022, 7(8): 13704-13732. doi: 10.3934/math.2022755 |
[7] | Liangying Miao, Zhiqian He . Reversed S -shaped connected component for second-order periodic boundary value problem with sign-changing weight. AIMS Mathematics, 2020, 5(6): 5884-5892. doi: 10.3934/math.2020376 |
[8] | Mingxia Yang . Orderings of the second-largest order statistic with modified proportional reversed hazard rate samples. AIMS Mathematics, 2025, 10(1): 311-337. doi: 10.3934/math.2025015 |
[9] | Ahmed Alsaedi, Fawziah M. Alotaibi, Bashir Ahmad . Analysis of nonlinear coupled Caputo fractional differential equations with boundary conditions in terms of sum and difference of the governing functions. AIMS Mathematics, 2022, 7(5): 8314-8329. doi: 10.3934/math.2022463 |
[10] | Yanpeng Zheng, Xiaoyu Jiang . Quasi-cyclic displacement and inversion decomposition of a quasi-Toeplitz matrix. AIMS Mathematics, 2022, 7(7): 11647-11662. doi: 10.3934/math.2022649 |
This paper focuses on the reversibility of multidimensional linear cellular automata with an intermediate boundary condition. We begin by addressing the matrix representation of these automata, and the question of reversibility boils down to the invertibility of this matrix representation. We introduce a decomposition method that factorizes the matrix representation into a Kronecker sum of significantly smaller matrices. The invertibility of the matrix hinges on determining whether zero can be expressed as the sum of eigenvalues of these smaller matrices, which happen to be tridiagonal Toeplitz matrices. Notably, each of these smaller matrices represents a one-dimensional cellular automaton. Leveraging the rich body of research on the eigenvalue problem of Toeplitz matrices, our result provides an efficient algorithm for addressing the reversibility problem. As an application, we show that there is no reversible nontrivial linear cellular automaton over Z2.
Cellular automata (CAs) are an intriguing class of discrete models that offer versatile applications across numerous scientific disciplines, such as physics, computer science, and mathematics. A core characteristic of CAs is their representation of an infinite lattice with a finite set of states, and this structure is a crucial aspect of their appeal. The cells within a CA are located at integer coordinates in an n-dimensional Euclidean space. The configuration of a CA is commonly expressed as a function x:Zn→A, where A signifies the finite set of states, and xv:=x(v) symbolizes the current state of the cell situated at v∈Zn. All configurations are encompassed within AZn, which facilitates the modeling of complex systems and their dynamics.
At each discrete time step in a CA, the cells undergo synchronous state transitions governed by a shared local function. The present states of neighboring cells drive these transitions, and the choice of neighborhood configuration plays a pivotal role in the applications that can be simulated using CAs. Researchers have explored various neighborhood structures, with two prominent examples being the von Neumann and Moore neighborhoods. The former consists of cells adjacent to the central cell, typically located north, south, east, and west, while the latter encompasses a more extensive set of neighboring cells, often including those situated diagonally. See [7,10,19,20,22,23,27] for more details.
One fundamental property that captures the attention of researchers and mathematicians in the study of CAs is reversibility [14,17,30]. Reversible cellular automata are of significant interest due to their capacity to fully preserve information. In a reversible CA, any given configuration possesses a unique predecessor, implying that one can trace the history of the system's states backward. This property has profound implications in various scientific contexts, particularly those requiring strict adherence to the principle of microscopic reversibility.
The principle of microscopic reversibility is central to understanding the behavior of physical systems and has wide-ranging applications in fields like statistical and quantum mechanics. It states that in a closed system, the probabilities of transitioning between two states are equal for both the forward and reverse processes. In this sense, reversible CAs find natural application in modeling physical phenomena that adhere to this principle, ensuring that the information encoded in the system remains conserved and traceable. Reversible cellular automata have found applications in many domains, each benefiting from the property of information preservation. Among the notable applications include image security, lattice gases, and cryptography. See [3,12,18,28,29] for instance.
In practical applications, the number of cells within cellular automata is typically finite, leading to discussions about the challenges of achieving reversibility with different boundary conditions. Various boundary conditions, including periodic boundaries, reflective boundaries, and null boundaries, have been extensively explored in the literature, each presenting unique characteristics and implications. Periodic boundaries have been widely investigated due to their ability to create a seamless, toroidal grid. In this setup, cells at one edge of the grid are considered neighbors with cells at the opposite edge. Researchers have delved into the reversibility of cellular automata under periodic boundary conditions, seeking to understand the conditions and constraints that make these systems behave reversibly [8,9]. Reflective boundaries introduce a boundary where cells reflect their state into the grid. This concept mirrors a virtual mirror at the boundary, leading to the consideration of how this reflection affects the reversibility of cellular automata. Studies in this area have explored the properties and behavior of CAs with reflective boundaries, shedding light on the nature of reversibility under such conditions [1,2]. Null boundaries involve conditions where cells at the boundary remain in a fixed, null state. The study of null boundary conditions is crucial for understanding how specific boundary constraints impact the overall behavior of the cellular automata. Research in this domain has aimed to elucidate the consequences of null boundaries on reversibility [5,31].
While these common boundary conditions have received significant attention, the discussion regarding intermediate boundary conditions has been relatively limited. Intermediate boundary conditions represent a fascinating area of research, where the boundary behavior is neither periodic, reflective, nor null but rather a unique combination of these or other conditions. Studying such intermediate boundaries could provide valuable insights into the spectrum of possible boundary conditions and their effects on reversibility. Additionally, extensive research in one-dimensional cellular automata has been conducted regarding reversibility [6]. However, the exploration of multidimensional reversibility remains a relatively less discussed topic.
Multidimensional cellular automata introduce additional complexities compared to their one-dimensional counterparts, and as a result, there is no general theorem for determining the reversibility of multidimensional CAs [11,13]. The challenges and conditions for achieving reversibility in multidimensional CAs are of particular interest to researchers because these systems often exhibit more intricate behaviors and interactions. Due to the inherent complexity of multidimensional structures, there are relatively few results regarding the reversibility of CAs with boundary conditions, with most of them focusing on two-dimensional cases. The reader is referred to [5,15,24,25,26] for some references.
In this paper, we investigate the reversibility of n-dimensional linear cellular automata (LCAs) with an intermediate boundary condition over Zp, where n≥2. We reveal a decomposition method that can determine reversibility more efficiently. Notably, our algorithm becomes even more efficient as the dimension of the LCAs increases.
While cellular automata (CAs) have received significant attention, the context of hybrid cellular automata (HCAs) has also attracted researchers' interest. For example, in [21], authors applied HCAs to study cancer therapy. Furthermore, HCAs are used to simplify and optimize complex topology problems, particularly in dynamic conditions, by leveraging the discrete nature of cellular automata and the computational power of parallel processing (see [32] and the references therein). The discussions and findings regarding the reversibility of LCAs proposed in this paper may also have applications to HCAs. Related investigations are currently underway.
The paper is organized as follows. We begin with an introduction to multidimensional LCAs and propose a matrix representation for describing these systems. We recall the properties of Kronecker product and Kronecker sum from matrix theory to facilitate our analysis. Section 3 elucidates the context of two-dimensional LCAs, we present eigenvalue formulas that determine reversibility. We also provide clear reversible conditions for specific two-dimensional examples. In Section 4, we extend our results to multidimensional LCAs. Discussion and conclusion can be seen in Section 5.
In this section, we introduce linear cellular automata with intermediate boundary conditions and the von Neumann neighborhood. Let ZZnp denote a set comprising sequences x=(xi)i∈Zn over the finite field Zp={0,1,2,⋯,p−1}. We define Nγz as the von Neumann neighborhood of range γ centered at z=(z1,z2,⋯,zn)∈Zn; to be explicit,
Nγz={t=(t1,t2,⋯,tn)∈Zn:|t1−z1|+|t2−z2|+⋯+|tn−zn|≤γ}. |
In this context, we focus on the case where γ=1 and z is the origin, and we denote N10 as simply N for the sake of brevity.
Define f:ZNp→Zp as
f(x)=∑t∈Nc(t)xt(modp), |
where c(t)∈Zp for all t∈N. Given m1,m2,⋯,mn∈N such that mi≥3 for i=1,2,…,n, we define [m1,m2,⋯,mn] as the set:
[m1,m2,⋯,mn]={(i1,i2,⋯,in):1≤ij≤mj,1≤j≤n}, |
which represents an n-dimensional cuboid. An n-dimensional cellular automaton with intermediate boundary condition and local rule f is a transformation Tf:Z[m1,m2,⋯,mn]p→Z[m1,m2,⋯,mn]p defined as follows. Write the von Neumann neighborhood N of range one centered at the origin and the local rule f:ZNp→Zp as
N={0,±e1,±e2,⋯,±en} |
and
f(x)=c0x0+n∑i=1(ci−1x−ei+ci1xei)(modp), | (2.1) |
respectively. Then
Tf(x)k=f(xk+N)=c0xk+n∑i=1(ci−1xk−ei+ci1xk+ei)(modp) | (2.2) |
whenever k+N={k+ν:ν∈N}⊂[m1,m2,⋯,mn]. A cell k∈[m1,m2,⋯,mn] is called a boundary cell if k+N⊄[m1,m2,⋯,mn]. When k is a boundary cell, Tf(x)k can be determined using Algorithm 1.
Input: f(xk+N)=c0xk and k=(k1,k2,⋯,kn) |
Output: f(xk+N) |
1 for i=1:n do |
![]() |
11 end |
12 return Tf(x)k=f(xk+N)(modp); |
Figures 1 and 2 illustrate the effect of the boundary conditions for one- and two-dimensional cellular automata, respectively. It can be observed that the evolution of each boundary cell is related to the status of "intermediate" cells.
Let θ:Z[m1,m2,⋯,mn]p→Zm1m2⋯mnp be a transformation that maps x∈Z[m1,m2,⋯,mn]p into a column vector in Zm1m2⋯mnp using the anti-lexicographic order. Given an ordered basis υ={υ1,υ2,⋯,υm1m2⋯mn} for Z[m1,m2,⋯,mn]p in terms of the anti-lexicographic order, let Am1,m2,⋯,mn be the matrix representation of Tf with respect to υ. A straightforward examination demonstrates Theorem 2.1.
Theorem 2.1. Suppose θ and υ are defined as above. Let Tf:Z[m1,m2,⋯,mn]p→Z[m1,m2,⋯,mn]p be an n-dimensional LCA with intermediate boundary condition and Am1,m2,⋯,mn be the matrix representation of Tf with respect to υ. Then Tf and T are topological conjugate, and the diagram
![]() |
commutes, where Ty=Am1,m2,⋯,mny(modp) for all y∈Zm1m2⋯mnp.
Therefore, we can get a straightforward result from Theorem 2.1.
Remark 2.2. An immediate implication is that the following are equivalent.
1) Tf is reversible;
2) Am1,m2,⋯,mn is invertible over Zp;
3) 0 is not an eigenvalue of Am1,m2,⋯,mn.
Example 2.3 delivers a one-dimensional LCA for the examination of Theorem 2.1 and intermediate boundary condition.
Example 2.3. Given c−1,c0,c1∈Zp. Let Tf:Z7p→Z7p be a one-dimensional LCA with intermediate boundary condition and local rule f:ZNp→Zp defined as
f(x−1,x0,x1)=c−1x−1+c0x0+c1x1(modp). |
See Figure 1 for the space of Tf. It is seen that x3 is treated as the left neighbor of x1, and x5 is treated as the right neighbor of x7. Therefore,
{Tf(x)i=f(xi−1,xi,xi+1),for 2≤i≤6;Tf(x)1=f(x3,x1,x2),Tf(x)7=f(x6,x7,x5). |
The matrix representation of Tf is
A7=(c0c1c−10000c−1c0c100000c−1c0c100000c−1c0c100000c−1c0c100000c−1c0c10000c1c−1c0). |
In order to study the reversibility of two-dimensional LCAs with intermediate boundary condition, we would like to recall the definitions of Kronecker product and Kronecker sum first.
Definition 2.4. Let A=(ai,j),B=(bk,l) be m×n and p×q matrices, respectively. The Kronecker product A⊗B of A and B is a pm×qn matrix defined as
A⊗B=(a1,1B…a1,nB⋮⋱⋮am,1B…am,nB). |
Example 2.5. Let A=(1234), B=(123487). Then
A⊗B=(1⋅(123487)2⋅(123487)3⋅(123487)4⋅(123487))=(123246487816143694812122421163228). |
Definition 2.6. Let A and B be m×m and n×n matrices, respectively. The Kronecker sum of A and B is defined as
A⊕B=(In⊗A)+(B⊗Im), |
where Ik denotes the k×k identity matrix.
The subsequent proposition outlines an efficient method for solving the eigenvalues of the primary matrix by decomposing its components through the Kronecker sum. Essentially, this proposition serves as a dimensionality reduction approach, facilitating the identification of eigenvalues from the decomposed components.
Proposition 2.7. [16] Suppose {λi}mi=1 and {μi}ni=1 are the sets of eigenvalues of A and B, respectively. Then {λi+μj}1≤i≤m,1≤j≤n is the set of eigenvalues of A⊕B.
This section plays a crucial role in this paper, as it provides the foundation for extending the discussion to general cases. We shift our focus to the examination of two-dimensional cellular automata featuring an intermediate boundary. We demonstrate that these automata can be deconstructed into two smaller matrices, representing one-dimensional cellular automata. By summing the eigenvalues of these one-dimensional components, we discern the eigenvalues characterizing the two-dimensional cellular automata. This process not only aids in determining eigenvalues but also proves instrumental in assessing the reversibility of the two-dimensional cellular automata.
Consider the von Neumann neighborhood N={(−1,0),(1,0),(0,0),(0,−1),(0,1)}, and let f:ZNp→Zp be a local rule defined as follows:
f(x)=c1−1x−1,0+c11x1,0+c0x0,0+c2−1x0,−1+c21x0,1(modp) | (3.1) |
for some c0,c1−1,c11,c2−1,c21,∈Zp. Let Tf:Z[m1,m2]p→Z[m1,m2]p be a two-dimensional LCA with intermediate boundary condition and local rule f. Denote Kn(a,b,c) by
Kn(a,b,c)=(acb0⋯⋯0bac0⋯⋯00bac0⋯0⋮⋱⋱⋱⋱⋱⋮0⋯0bac00⋯⋯0bac0⋯⋯0cba)n×n. |
It is straightforward to see that the matrix representation of Tf is
Am1,m2=(Km1c21Im1c2−1Im10m1⋯⋯⋯0m1c2−1Im1Km1c21Im10m1⋯⋯⋯0m10m1c2−1Im1Km1c21Im10m1⋯⋯0m10m10m1c2−1Im1Km1c21Im10m1⋯0m1⋮⋱⋱⋱⋱⋱⋱⋮0m1⋯0m1c2−1Im1Km1c21Im10m10m10m1⋯⋯0m1c2−1Im1Km1c21Im10m10m1⋯⋯⋯0m1c2−1Im1Km1c21Im10m1⋯⋯⋯0m1c21Im1c2−1Im1Km1)m1m2×m1m2, | (3.2) |
where Km1=Km1(c0,c1−1,c11) and 0m1 is the m1×m1 zero matrix.
Notably, we can express
Am1,m2=(Km1Km10⋱0Km1Km1)+(0m1c21Im1c2−1Im1c2−1Im10m1c21Im1⋱⋱⋱c2−1Im10m1c21Im1c21Im1c2−1Im10m1)=Im2⊗Km1+(0c21c2−1c2−10c21⋱⋱⋱c2−10c21c21c2−10)⊗Im1=Im2⊗Km1(c0,c1−1,c11)+Km2(0,c2−1,c21)⊗Im1=Km1(c0,c1−1,c11)⊕Km2(0,c2−1,c21) |
as the Kronecker sum of Km1(c0,c1−1,c11) and Km2(0,c2−1,c21).
The following theorem follows from the observation above and Proposition 2.7.
Theorem 3.1. Suppose Am1,m2 is the matrix representation of two-dimensional LCA Tf with intermediate boundary condition and local rule f given as (3.1). Then the set of eigenvalues of Am1,m2 is
Λ(Am1,m2)={c0+λ1+λ2:λ1∈Λ(Km1(0,c1−1,c11)),λ2∈Λ(Km2(0,c2−1,c21))}. |
Proof. The discussion above demonstrates that
Λ(Am1,m2)={λ1+λ2:λ1∈Λ(Km1(c0,c1−1,c11)),λ2∈Λ(Km2(0,c2−1,c21))}. |
Notably, Km(a,b,c)=a⊕Km(0,b,c). Hence, we have
Λ(Km1(c0,c1−1,c11))={c0+λ:λ∈Λ(Km1(0,c1−1,c11))} |
and
Λ(Am1,m2)={c0+λ1+λ2:λ1∈Λ(Km1(0,c1−1,c11)),λ2∈Λ(Km2(0,c2−1,c21))}. |
The proof is complete.
Example 3.2. Suppose p=3, m1=4, and m2=5. Let Tf:Z[4,5]3→Z[4,5]3 be the LCA with local rule
f(x−1,0,x1,0,x0,0,x0,−1,x0,1)=x−1,0+x1,0+x0,0+x0,−1+x0,1(mod3). |
See Figure 2 for the domain of Tf and how intermediate boundary condition affects the evolution of cells in cellular atuomata.. The matrix representation of Tf is
A4,5=(K4I4I40404I4K4I4040404I4K4I4040404I4K4I40404I4I4K4), |
where K4=K4(1,1,1). It is seen that A4,5=I5⊗K4(1,1,1)+K5(0,1,1)⊗I4.
Since the sets of eigenvalues of K4(0,1,1) and K5(0,1,1) in Z3 are {0,2} and {1,2}, respectively, the set of eigenvalues of A4,5 is
Λ(A4,5)={1+λ1+λ2:λ1∈{0,2},λ2∈{1,2}}={0,1,2}. |
Conclusively, Tf is irreversible.
Theorem 3.1 indicates that the eigenvalues of Km(0,a,b) play a crucial role in determining the reversibility of Tf. Theorem 3.3 reveals that characterizing the eigenvalues of a special type of Toeplitz matrix Tm−3(a,b) is equivalent, where Tn(a,b)i,j is defined as
Tn(a,b)i,j={a,i=j+1,1≤j≤n−1;b,j=i+1,1≤i≤n−1;0,otherwise. | (3.3) |
Theorem 3.3. Suppose m≥3, and c−1,c1∈Zp are given. Then
Λ(Km(0,c−1,c1))=Λ(K3(0,c−1,c1))⋃Λ(Tm−3(c−1,c1)). |
Proof. For 1≤k≤m−3, denote by Pk and Qk as m×m elementary row and column matrices, respectively. More explicitly,
Pk;i,j={1,if i=j;−1,if (i,j)=(k,k+3);0,otherwise. |
And
Qk;i,j={1,if i=j and (i,j)=(k,k+3);0,otherwise. |
To achieve the desired result, we start with applying column operation to substitute all the zeros in the right upper block as follows. Observe that
(Km−λIm)Q1=(−λc1c−1−λ0⋯0c−1−λc1c−10⋯00c−1−λc10⋯0⋮⋱⋱⋱⋱⋱⋮0⋯0c−1−λc100⋯⋯0c−1−λc10⋯⋯0c1c−1−λ)m×m,(Km−λIm)Q1Q2=(−λc1c−1−λc10⋯0c−1−λc1c−1−λ0⋯00c−1−λc1c−10⋯000c−1−λc10⋯0⋮⋱⋱⋱⋱⋱⋱⋮0⋯⋯0c−1−λc100⋯⋯00c−1−λc10⋯⋯00c1c−1−λ)m×m. |
Inductively, we have
(Km−λIm)Q1⋯Qm−4Qm−3=(−λc1c−1−λc1c−1⋯⋯c−1−λc1c−1−λc1⋱⋱0c−1−λc1c−1−λ⋱c−100c−1−λc1c−1⋱c1⋮⋱⋱⋱⋱⋱⋱−λ0⋯⋯0c−1−λc1c−10⋯⋯00c−1−λc10⋯⋯00c1c−1−λ)m×m. |
Then, we apply row operation to eliminate the right upper block as follows:
P1((Km−λIm)Q1⋯Qm−3)=(−λc10000⋯0c−1−λc1c−1−λc1⋱⋱0c−1−λc1c−1−λ⋱c−100c−1−λc1c−1⋱c1⋮⋱⋱⋱⋱⋱⋱−λ0⋯⋯0c−1−λc1c−10⋯⋯00c−1−λc10⋯⋯00c1c−1−λ)m×m,P2P1((Km−λIm)Q1⋯Qm−3)=(−λc10000⋯0c−1−λc1000⋯00c−1−λc1c−1−λ⋱c−100c−1−λc1c−1⋱c1⋮⋱⋱⋱⋱⋱⋱−λ0⋯⋯0c−1−λc1c−10⋯⋯00c−1−λc10⋯⋯00c1c−1−λ)m×m. |
We derive that
Pm−3Pm−4⋯P1((Km−λIm)Q1⋯Qm−3)=(−λc10⋯00⋯0c−1−λc1⋱⋮0⋯00⋱⋱⋱00⋯0⋮⋱c−1−λc10⋯00⋯0c−1−λ0⋯00⋯00c−1−λc1c−10⋯000c−1−λc10⋯000c1c−1−λ)m×m. |
Therefore,
det(Km(0,c−1,c1)−λIm)=det(Pm−3⋯P1(Km−λIm)Q1⋯Qm−3)=det(−λc1c−1c−1−λc1c1c−1−λ)⋅det(−λc10⋯0c−1−λc1⋱⋮0⋱⋱⋱0⋮⋱c−1−λc10⋯0c−1−λ)(m−3)×(m−3). |
This completes the proof.
Suppose that c−1 and c1 are given. Let μ and ν satisfy
μ2+3=0andν2−c−1c1=0(modp), |
respectively. Given m≥3, set
ηm;r=νcosrπm+1,where1≤r≤m. |
Since the only eigenvalue of Tm−3(c−1,c1) is 0 whenever c−1⋅c1=0, it remains to consider the case where c−1⋅c1≠0. If this is the case, it is seen in [4] that
Λ(Tm−3(c−1,c1))={−2ηm−3;r:1≤r≤m−3}. |
A routine computation reveals that, when p≥3,
Λ(K3(0,c−1,c1))={c−1+c1,−(c−1+c1)±(c−1−c1)μ2}. |
Herein, 12 denotes the reciprocal of 2 in Zp. Conclusively, we have derived the following corollary.
Corollary 3.4. Suppose m≥3 and c−1,c1 are given. Let F=Zp(μ,ν,ηm−3;1,…,ηm−3;m−2) be the splitting field for the characteristic polynomial of Km(0,c−1,c1). Then
Λ(Km(0,c−1,c1))={c−1+c1,−(c−1+c1)±(c−1−c1)μ2}⋃{−2ηm−3;1,−2ηm−3;2,…,−2ηm−3;m−3}. |
In the remainder of this section, we will investigate the reversibility of a class of LCAs with local rules that satisfy c1−1=c2−1=c−1, c11=c21=c1∈Zp, and p≥3. In this case, we have Am1,m2=c0⊕Km1(0,c−1,c1)⊕Km2(0,c−1,c1).
Corollary 3.5. Suppose m1,m2∈N and c−1⋅c1=0. Write c−1+c1=αc0. Then Tf is reversible if and only if c0≠0 and
(i) α≠1,p−12 if μ∉Zp;
(ii) α≠1,p−12 and (1±μ)α≠1,p−2 if μ∈Zp.
Proof. Without loss of generality, we assume c1=0. Then c−1=αc0. Theorem 3.1 and Corollary 3.4 demonstrate that
Λ(Am1,m2)={(1+2α)c0,(1−α)c0,(2+(1±μ)α)c02,(1−(1±μ)α)c0}. |
Suppose μ∉Zp. It is seen that the eigenvalues of Am1,m2 in Zp are (1+2α)c0 and (1−α)c0. Thus, Tf is reversible if and only if c0≠0 and α≠1,(p−1)/2.
When μ∈Zp, Tf is reversible if the other two eigenvalues (2+(1±μ)α)c0/2 and (1−(1±μ)α)c0 are also nonzero. Therefore, Tf is reversible if α≠1,(p−1)/2 and (1±μ)α≠1,p−2.
Corollary 3.6. Suppose 3≤m1,m2∈N and c0=0.
(1) Suppose c−1⋅c1=0 or c−1=−c1 or m1,m2 are both even. Then Tf is irreversible.
(2) Suppose c−1=c1≠0 and m1,m2 satisfy 3∤(mi−2) and gcd(m1−2,m2−2)=1. Then Tf is reversible.
Proof. (1) The irreversibility of Tf when c−1⋅c1=0 or c−1=−c1 comes immediately from Corollary 3.5. For the case both m1 and m2 are even, Corollary 3.4 infers that 0∈Λ(Kmi(0,c−1,c1)) for i=1,2. Hence, Tf is not reversible since 0∈Λ(Am1,m2)=Λ(Km1(0,c−1,c1))+Λ(Km2(0,c−1,c1)).
(2) Let c−1=c1=c. Observe that
Λ(Am1,m2)={c,4c,−2c,2c(1−cosriπmi−2),−c(1+2cosriπmi−2),−2c(cosr1πm1−2+cosr2πm2−2)} |
where ri=1,…,mi−3 and i=1,2. Thus, Tf is reversible if and only if
c≠0,cosriπmi−2≠−12,andcosr1πm1−2+cosr2πm2−2≠0. |
It is easy to see that cosriπmi−2=−12 for some ri if and only if mi−2 is a multiple of 3. Notably,
cosr1πm1−2+cosr2πm2−2=0⇔r1m1−2+r2m2−2=1 |
for some r1,r2. Moreover,
r1m1−2+r2m2−2=1⇔m2−2m1−2=m2−2−r2r1. |
Since r1<m1−2 for all r1, the equality in the right hand side holds if and only if m1−2 and m2−2 are not relatively prime. This completes the proof.
In this section, we extend Theorem 3.1 to n-dimensional LCAs with intermediate boundary conditions. Let ei denote the n-dimensional binary vector with its only nonzero entry at the ith coordinate. Set N={0,±e1,±e2,…,±en}. Consider Tf:Zm1×m2×⋯×mnp→Zm1×m2×⋯×mnp, which is an n-dimensional LCA with intermediate boundary conditions and a local rule f:ZNp→Zp, defined as
f(x)=c0x0+n∑i=1(ci−1x−ei+ci1xei)(modp), |
where c0,ci1,ci−1∈Zp,1≤i≤n, are given constants. Similar to the discussion in the previous section, we decompose the matrix representation Am1,⋯,mn of Tf into the Kronecker sum of smaller matrices.
Proposition 4.1. Let Tf be an LCA with intermediate boundary condition and local rule f as defined above. Then the matrix representation Am1,⋯,mn of Tf is decomposed as
Am1,⋯,mn=Km1(c0,c1−1,c11)⊕n⊕i=2Kmi(0,ci−1,ci1). | (4.1) |
Furthermore, the set of eigenvalues of Am1,⋯,mn is
Λ(Am1,⋯,mn)={c0+n∑i=1λi:λi∈Λ(Kmi(0,ci−1,ci1)),1≤i≤n}. |
Before addressing the proof, the following example of three-dimensional case exhibits an initial observation.
Example 4.2. Consider three-dimensional LCA Tf on a cuboid of dimension m1×m2×m3 with local rule
f(x)=c0x0,0,0+c1−1x−1,0,0+c11x1,0,0+c2−1x0,−1,0+c21x0,1,0+c3−1x0,0,−1+c31x0,0,1(modp). | (4.2) |
Algorithm 1 reveals the matrix representation as
Am1,m2,m3=(Am1,m2c31Im1m2c3−1Im1m20⋯0c3−1Im1m2Am1,m2c31Im1m20⋯00c3−1Im1m2Am1,m2c31Im1m2⋯0⋮⋯⋱⋱⋱⋮0⋯0c3−1Im1m2Am1,m2c31Im1m20⋯0c31Im1m2c3−1Im1m2Am1,m2)m1m2m3×m1m2m3, |
where Am1,m2 is defined in the previous section. It is seen that
Am1,m2,m3=Im3⊗Am1,m2+Km3(0,c3−1,c31)⊗Im1m2=Am1,m2⊕Km3(0,c3−1,c31)=(Im2⊗Km1(c0,c1−1,c11)+Km2(0,c2−1,c21)⊗Im1)⊕Km3(0,c3−1,c31)=Km1(c0,c1−1,c11)⊕Km2(0,c2−1,c21)⊕Km3(0,c3−1,c31). |
Proof of Proposition 4.1. We prove this using mathematical induction. We already know from Theorem 3.1 that (4.1) holds for n=2.
Now, assume that
Am1,m2,⋯,mn−1=Km1(c0,c1−1,c11)⊕Km2(0,c2−1,c21)⊕⋯⊕Kmn−1(0,cn−1−1,cn−11). |
As shown in Example 4.2, the matrix representation Am1,m2,m3 of a 3-dimensional LCA can be decomposed into the Kronecker sum of the matrix representations of one- and two-dimensional LCAs, respectively. Analogously, it can be examined without difficulty that the matrix representation of an n-dimensional LCA can be decomposed into the Kronecker sum of the matrix representations of one- and (n−1)-dimensional LCAs, respectively.* That is,
Am1,m2,⋯,mn=Imn⊗Am1,m2,⋯,mn−1+Kmn(0,cn−1,cn1)⊗Im1m2⋯mn−1=Am1,m2,⋯,mn−1⊕Kmn(0,cn−1,cn1)=Km1(c0,c1−1,c11)⊕n⊕i=2Kmi(0,ci−1,ci1). |
*In fact, the matrix representation of an n-dimensional LCA can be decomposed into the Kronecker sum of the matrix representations of r- and s-dimensional LCAs, respectively, where r,s∈N and r+s=n.
This completes the proof by mathematical induction.
Corollary 4.3. Let Tf be an LCA with intermediate boundary condition and local rule f as defined above. Then, Tf is reversible if and only if, for 1≤i≤n, there exist no λi∈Λ(Kmi(0,ci−1,ci1)) such that c0+n∑i=1λi=0.
Proposition 4.4. Nontrivial LCAs with intermediate boundary conditions over Z2 are irreversible.
Proof. For any a,b∈Z2 and m≥3, the demonstration of Corollary 3.4 shows that 0 and 1 are both eigenvalues of Km(0,a,b) unless a=b=0. Therefore, 0 is always an eigenvalue of Am1,⋯,mn=Km1(c0,c1−1,c11)⊕n⊕i=2Kmi(0,ci−1,ci1) unless c0=1 and cij=0 for all i,j. This completes the proof.
This paper aims to investigate the reversibility of multidimensional linear cellular automata (LCAs) with an intermediate boundary condition. Our focus is on LCAs defined over the prime field Zp, where each cell interacts with its nearest neighbors using the one-norm. The question of whether Tf is reversible is equivalent to determining the invertibility of its matrix representation, denoted as A. To tackle this question, we propose a method to decompose A into a Kronecker sum of smaller matrices. The core idea is to assess the invertibility of A by examining whether 0 can be expressed as a linear combination of eigenvalues of these smaller matrices. Importantly, each of these smaller matrices represents a one-dimensional LCA. Therefore, our approach involves breaking down an n-dimensional LCA into a combination of one-dimensional LCAs, leading to an efficient algorithm for determining the reversibility of Tf. To be explicit, we demonstrate that the matrix representation A of Tf can be expressed as:
A=Km1(c0,c1−1,c11)⊕n⊕i=2Kmi(0,ci−1,ci1), |
where ⊕ represents the Kronecker sum, and Kmi(ci0,ci−1,ci1) is a tridiagonal Toeplitz matrix for 1≤i≤n. The reversibility of Tf is determined by the presence of zero eigenvalues in A, reducing the problem to computing eigenvalues of tridiagonal Toeplitz matrices with significantly smaller dimensions.
While this eigenvalue problem is simplified when the prime field Zp is used, challenges arise when considering the coefficient ring Zm instead, where m is a positive integer larger than 1. It remains an open question whether a practical approach can be developed to determine the reversibility of Tf in this more general setting.
Furthermore, the structure of matrix A varies significantly in cases involving LCAs with extended neighborhoods. Ongoing research is aimed at exploring this distinct scenario in greater detail.
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
The first author is partially supported by the National Science and Technology Council, ROC (Contract No NSTC 112-2115-M-390-003).
The authors confirm that they have no conflict of interest in this paper.
[1] |
H. Akın, F. Sah, I. Siap, On 1D reversible cellular automata with reflective boundary over the prime field of order p, Int. J. Mod. Phys. C, 23 (2012), 1250004. https://doi.org/10.1142/S0129183111017020 doi: 10.1142/S0129183111017020
![]() |
[2] |
H. Akın, I. Siap, S. Uguzc, One-dimensional cellular automata with reflective boundary conditions and radius three, Acta Phys. Polonica A, 125 (2014), 405–407. https://doi.org/10.12693/APhysPolA.125.405 doi: 10.12693/APhysPolA.125.405
![]() |
[3] |
B. M. Boghosian, Lattice gases and cellular automata, Future Gener. Comp. Sy., 16 (1999), 171–185. https://doi.org/10.1016/S0167-739X(99)00045-X doi: 10.1016/S0167-739X(99)00045-X
![]() |
[4] |
A. Böttcher, S. Grudsky, Spectral properties of banded Toeplitz matrices, Soc. Ind. Appl. Math., 2005. https://doi.org/10.1137/1.9780898717853 doi: 10.1137/1.9780898717853
![]() |
[5] |
C. H. Chang, J. Y. Su, H. Akın, F. Sah, Reversibility problem of multidimensional finite cellular automata, J. Stat. Phys., 168 (2017), 208–231. https://doi.org/10.1007/s10955-017-1799-6 doi: 10.1007/s10955-017-1799-6
![]() |
[6] |
C. H. Chang, Y. C. Yang, Characterization of reversible intermediate boundary cellular automata, J. Stat. Mech.-Theory E., 2020 (2020), 013215. https://doi.org/10.1088/1742-5468/ab5b8f doi: 10.1088/1742-5468/ab5b8f
![]() |
[7] | R. J. Chen, S. J. Horng, Novel SCAN-CA-based image security system using SCAN and 2-D von Neumann cellular automata, Signal Process.-Image, 25 (2010), 413–426. |
[8] | Z. Cinkir, H. Akın, I. Siap, Reversibility of 1D cellular automata with periodic boundary over finite fields Zp, J. Stat. Phys., 143 (2011), 807–823. |
[9] |
S. Das, B. K. Sikdar, Characterization of 1-d periodic boundary reversible CA, Electron. Notes Theor. Comput. Sci., 252 (2009), 205–227. https://doi.org/10.1016/j.entcs.2009.09.022 doi: 10.1016/j.entcs.2009.09.022
![]() |
[10] | L. Gray, A mathematician looks at wolfram's new kind of science, Notices of the AMS, 50 (2003), 200–211. |
[11] | J. Kari, Reversibility of 2D cellular automata is undecidable, Physica D, 45 (1990), 386–395. |
[12] | J. Kari, Cryptosystems based on reversible cellular automata, Manuscript, August, 1992. |
[13] |
J. Kari, Reversibility and surjectivity problems of cellular automata, J. Comput. Syst. Sci., 48 (1994), 149–182. https://doi.org/10.1016/S0022-0000(05)80025-X doi: 10.1016/S0022-0000(05)80025-X
![]() |
[14] | J. Kari, Reversible cellular automata, International Conference on Developments in Language Theory, Springer, 2005, 57–68. |
[15] | M. E. Köroğlu, I. Siap, H. Akın, The reversibility problem for a family of two-dimensional cellular automata, Turkish J. Math., 40 (2016), 665–678. |
[16] | A. J. Laub, Matrix analysis for scientists and engineers, SIAM, 91 (2005). |
[17] | G. Manzini, L. Margara, Invertible linear cellular automata over Zm: Algorithmic and dynamical aspects, J. Comput. Syst. Sci., 56 (1998), 60–67. |
[18] |
Z. Mehrnahad, A. Latif, A novel image encryption scheme based on reversible cellular automata and chaos, Int. J. Inf. Technol. Comput. Sci., 11 (2019), 15–23. https://doi.org/10.5815/ijitcs.2019.11.02 doi: 10.5815/ijitcs.2019.11.02
![]() |
[19] | H. Nishio, Changing the neighborhood of cellular automata, International Conference on Machines, Computations, and Universality, Springer, 2007,255–266. |
[20] | A. Popovici, D. Popovici, Cellular automata in image processing, Fifteenth international symposium on mathematical theory of networks and systems, Citeseer, 1 (2002), 1–6. |
[21] | B. Ribba, T. Alarcon, K. Marron, P. K. Maini, Z. Agur, The use of hybrid cellular automaton models for improving cancer therapy, Lecture Notes in Computer Science, Springer, 3305 (2004), 444–453. |
[22] | P. J. Selvapeter, W. Hordijk, Cellular automata for image noise filtering, 2009 World Congress on Nature & Biologically Inspired Computing (NaBIC), IEEE, 2009,193–197. |
[23] |
P. Sharma, M. Diwakar, N. Lal, Edge detection using moore neighborhood, Int. J. Comput. Appl., 61 (2013), 26–30. https://doi.org/10.5120/9910-4506 doi: 10.5120/9910-4506
![]() |
[24] | I. Siap, H. Akın, F. Sah, Characterization of two dimensional cellular automata over ternary fields, 348 (2011), 1258–1275. |
[25] | I. Siap, H. Akın, S. Uguz, Structure and reversibility of 2-dimensional hexagonal cellular automata, AIP Conference Proceedings, 62 (2011), 4161–4169. |
[26] | F. Temiz, F. Sah, H. Akın, Reversibility of a family of 2D cellularautomata hybridized by diamond andcross rules over finite fields and anapplication to visual cryptography, J. Cell. Autom., 14 (2019), 241–262. |
[27] |
S. Uguz, H. Akın, I. Siap, U. Sahin, On the irreversibility of moore cellular automata over the ternary field and image application, Appl. Math. Model., 40 (2016), 8017–8032. https://doi.org/10.1016/j.apm.2016.04.027 doi: 10.1016/j.apm.2016.04.027
![]() |
[28] | J. Wang, Periodicity and invertibility of lattice gas cellular automata, 2019. |
[29] |
X. Wang, D. Luan, A novel image encryption algorithm using chaos and reversible cellular automata, Commun. Nonlinear Sci. Numer. Simul., 18 (2013), 3075–3085. https://doi.org/10.1016/j.cnsns.2013.04.008 doi: 10.1016/j.cnsns.2013.04.008
![]() |
[30] | S. Wolfram, A new kind of science, Wolfram media Champaign, IL, 2002. |
[31] | B. Yang, C. Wang, A. Xiang, Reversibility of general 1D linear cellular automata over the binary field Z2 under null boundary conditions, Inform. Sci., 324 (2015), 23–31. |
[32] |
X. Zhang, D. Wang, B. Huang, S. Wang, Z. Zhang, S. Li, et al., A dynamic-static coupling topology optimization method based on hybrid cellular automata, Structures, 50 (2023), 1573–1583. https://doi.org/10.1016/j.istruc.2023.02.120 doi: 10.1016/j.istruc.2023.02.120
![]() |
Input: f(xk+N)=c0xk and k=(k1,k2,⋯,kn) |
Output: f(xk+N) |
1 for i=1:n do |
![]() |
11 end |
12 return Tf(x)k=f(xk+N)(modp); |