Keywords

1 Introduction

Biological pattern formation is a complex phenomenon which is studied experimentally in a number of model organisms [1] and theoretically by means of various mathematical techniques [2, 3]. One of the model organisms commonly used in biological studies of pattern formation is the fly (Drosophila) embryo [4]. Patterning in the fly embryo takes place in two directions: along the head-to-tail (antero-posterior) axis where the pattern occurs as a repeated structure formed by segments and along the dorso-ventral axis where patterning results into formation of internal morphological structures. It is known that the formation of segments is preconditioned by the formation of spatially periodic patterns of gene expressions which takes place at early stages of embryonic development [5]. There are many other examples of formation of periodic patterns in biology including formation of stripes on skin of animals (zebra) and fish.

In this work, we focus on formation of periodic patterns which allow discrete representation. Discrete models often complement continuous models by giving description of patterning processes on different spatial or time scales. For example, the continuous (reaction-diffusion) model of anterio-posterior patterning in fly embryo presented in [6] allows to conclude that the modelled units (nuclei) quickly reach their stable equilibrium states and there are only four such states in normally evolving embryo. This, in turn, allows to simplify the model by reducing its quantitative details and to describe the considered patterning as evolution of a chain of interacting nuclei on discrete level. Another example is given by the continuous model of pigmentation patterning on a skin of growing reptilian reported in [7]. Due to slow diffusion between skin scales this model also reduces to a discrete model for the interactions between differently pigmented neighbouring scales, although the pigmentation of each scale is described by differential equations. Generally, discrete models, as compared to continuous models, often offer a simple explanation for basic properties (such as spatial scaling) of morphogenetic patterns.

Since we are primarily interested in formation of periodic patterns, we can reformulate the problem and ask the general question: what kind of local interactions can result in formation of a stationary periodic pattern? In our study, we use von Neumann’s cellular automata (CA) to address this question. This model has been invented, more than fifty years ago, by Stanislaw Ulam and John von Neumann [8, 9]. The model is represented by a collection of cells forming a regular grid which evolves over discrete time steps according to a set of rules based on the state of the cells [10]. A detailed description of Neumann’s CA can be found in a number of sources [11, 12].

Extensive study of various modifications (involving different numbers of dimensions, allowed states per site and neighbours affecting transitions) of this model have been performed by Wolfram [12,13,14]. He has found that patterns forming in cellular automata fall into one of the following four classes: 1. Homogenous, 2. Periodic structures, 3. Chaotic structures and 4. Complex. Correspondingly, all automata also fall into four classes, although the class in which the given automata falls depends on the imposed initial conditions.

In this work, we will explore rules resulting in the formation of periodic patterns in the CA where each cell can only be in two distinct states. This is an extension of the research reported in [12, 13] in two ways: firstly, we consider all 256 rules (while the classification made by Wolfram was restricted by 32 so called “legal” rules) and, secondly, we are interested in periodic patterns forming in a domain of finite size, and therefore the found rules appear to fall into classes 2 and 4 identified by Wolfram. Although this model is very simple, the results obtained allow conclusions to be drawn on the mechanisms of periodic pattern formation in biology, for example the anterio-posterior patterning in fly embryo.

2 Chain of Logical Elements

The simplest version of von Neumann’s cellular automata was designed by Wolfram [12, 13] and called “elementary cellular automaton” (ECA). It consists of a regular lattice of cells which form a chain and can only be in two states. The position of a cell in the chain will be denoted by the symbol i, the total number of cells - by n and the state of cell by si (si = 0 or si = 1). The state \( s_{i}^{t + 1} \) of a cell i at time t + 1 is determined by the states of cells i − 1, i and i + 1 at time t according to a transition rule, defined as \( s_{i}^{t + 1} = f\left( {s_{i - 1}^{t} ,s_{i}^{t} ,s_{i + 1}^{t} } \right) \). A cell interacting with its two closest neighbours leads to consideration of 23 = 8 possible configurations, which are 000, 001, 010, 011, 100, 101, 110 and 111. For each of these 8 configurations, the resulting states can be represented as: 0s00, 0s11, 0s20, 0s31, 1s40, 1s51, 1s60 and 1s71. The complete set of middle elements of all resulting states forms a binary number s7s6s5s4s3s2s1s0 which varies between 0 and 255. In other words, the configurations above allow 28 = 256 possible rules or cellular automata. The binary number, translated into decimal, is taken to be the rule number.

Different rules applied to different initial conditions can result into formation of various nontrivial spatio-temporal patterns including oscillations and propagating waves. Among these 256 rules, a few symmetry groups can be distinguished so that the rules belonging to one group result in the formation of similar patterns. These groups contain up to four rules and their symmetry-based relationships termed complement, mirror image and mirror complement [14]. The definitions of these relationships are based on certain features of the binary representation of rules, namely:

The complement of a given rule is a rule whose binary representation is obtained from the binary representation of the given rule where (a) the digits are taken in the reverse order and (b) each digit is interchanged with the opposite digit.

The mirror image of a given rule is the transition rule such that if the given rule contains an elementary rule f(b, c, d) = a then the mirror image contains an elementary rule f(d, c, b) = a, that is, the same output is allocated to the rule with mirrored states of neighbours.

The mirror complement is a complement to a mirror image.

Our study is performed using the one-dimensional CA described above. Note that this model can also be seen as a chain of logical elements. It is represented by a one-dimensional regular lattice of elements which can be in one of two states. The state si of the element i, can be either “false” (commonly denoted by “0” and illustrated in black colour) or “true” (denoted by “1” and drawn in white). The state of each element changes with each time increment (except for the border cells which remain unaltered) according to the applied rules.

The goal of this study is to find out what rules can cause the formation of stationary periodic patterns in a chain of finite size where the states of border elements are fixed. We also check whether the periodic patterns are stable, i.e. noise sensitive. To do so, we introduce a noise by changing the state of each element randomly with a certain (small) probability. In application to biology, each logical element corresponds to a biological cell and the cell’s state reflects the expression of certain genes. The ECA represents a two-state model and can only be used for study of patterns formed by expression of a single gene along cells forming a chain.

3 Results

Our study of periodic patterns forming in the ECA has been performed in a few steps. First, we have focused on two-periodic patterns and identified the rules which (1) do not destroy a preset two-periodic pattern, (2) allow recovery of two-periodic patterns perturbed by noise and (3) allow formation of two-periodic patterns from random initial conditions. Then, we have repeated the above study for the case of three- and more- periodic patterns.

3.1 Conservation of Preset Two-Periodic Patterns in ECA

Our first set of simulations aimed to find all transition rules which do not destroy pre-existing periodic patterns. These simulations have been started with preset two-periodic patterns (1 white + 1 black) like the one shown in Fig. 1 but with more (usually 60 or more) elements. Starting with two-periodic initial conditions, we have found that 64 rules out of 256 (25%) do not destroy it. Their values, in decimal form, are as follows:

Fig. 1.
figure 1

Two-periodic pattern in the ECA composed by 20 cells. The binary expression for all these rules has the form: xx0xx1xx, where x can be either 0 or 1. That is, the pattern consisting of a repetition of black and white remains the same when the transition rule leaves the configurations 3 and 6 unaltered: (010) → (010) and (101) → (101).

4, 5, 6, 7, 12, 13, 14, 15, 20, 21, 22, 23, 28, 29, 30, 31, 68, 69, 70, 71, 76, 77, 78, 79, 84, 85, 86, 87, 92, 93, 94, 95, 132, 133, 134, 135, 140, 141, 142, 143, 148, 149, 150, 151, 156, 157, 158, 159, 196, 197, 198, 199, 204, 205, 206, 207, 212, 213, 214, 215, 220, 221, 222 and 223.

The second set of simulations was aimed at finding all rules which are such that, starting with periodic initial conditions (see Fig. 1) and applying a noise, the perturbed pattern is able to recover. The noise level of 0.1% has been applied meaning that the state of each cell can be altered with probability of 0.001 (i.e. one out of 1000 cells is altered each time step). Simulations show that 33 out of the above 64 rules (52%) would allow resistance to the perturbation caused by the noise. These rules are given by the following numbers:

6, 13, 14, 15, 20, 28, 30, 69, 70, 77, 78, 79, 84, 85, 86, 92, 93, 134, 135, 141, 143, 148, 149, 156, 157, 158, 159, 197, 198, 199, 213, 214 and 215.

The recovery of a perturbed pattern can happen in two ways: locally, when the perturbation disappears without affecting surrounding cells, or globally, when the perturbation propagates along the medium to one of its borders and then vanishes. Also, for both scenarios there are exceptional rules (28, 70, 78, 92, 141, 156, 157, 197, 198 and 199) such that if the perturbed cell is located next to the border cell then it cannot recover (unless it is hit by another perturbation).

3.2 Local Recovery of Perturbed Two-Periodic Patterns

The following rules allow the local extinction of perturbations:

13, 28, 69, 70, 77, 78, 79, 92, 93, 141, 156, 157, 197, 198 and 199.

For the analysis of the recovery processes, we point out that if the probability of perturbation is small, then the probability that two neighbouring cells are perturbed simultaneously is much smaller and, therefore, can be neglected. With this in mind, let us consider the recovery of the periodic pattern in a chain described, for example, by the rule 77, whose binary number is 01001101. Consider the periodic sequence …010101… and the scenario when, for example, the element in the 4th position changes to 0 due to the perturbation caused by noise. Then, the above sequence will become …010001…. We want to know how this sequence will evolve over time and how many time steps it will take for the pattern to recover. The changed element can only affect its two closest neighbours, i.e. the zeros in 3rd and 5th positions. The 3rd zero is in the middle of 100 and will not change following the transition (100)→(100). The perturbed cell is in the middle of 000 and therefore will change to 1 following the transition (000)→(010). The 5th zero is in the middle of 001 and will remain unaltered following the transition (001)→(001). Thus, we conclude that it takes one time step for the pattern to restore. The above analysis is valid for all perturbations changing any “1” to “0” inside the periodic chain and therefore it will take one time step for the pattern to recover from all these perturbations. Similarly, one can show that perturbations changing any “0” to “1” inside the chain will also vanish in one time step. From here, we conclude that under rule 77 it takes one time step for two-periodic pattern to recover from any single perturbation. Since rule 77 coincides with its own complement, mirror image and mirror complement (rule 77 is unique in this respect), the above result cannot be extended to any other rule.

There are rules which allow the local recovery of perturbed patterns in more than one time step. Let us, for example, consider the rule 13 (00001101 in binary representation) applied to the preset periodic pattern (i.e. …0101010…) in a medium of arbitrary (finite) size. It is easy to show that if the noise changes any of the 1s to 0 in the periodic sequence it will take only one time step to recover. On the other hand, it takes two time steps to restore when the noise changes any of 0s to 1. To illustrate this, let us consider the finite periodic sequence …01010101…. where the noise changes the digit 0 at the 3rd position into 1, so that the sequence becomes …01110101…. The 1 in the second position will stay unaltered following the transition: (011)→(011). The 1 in the third position will change to 0 following the transition (111)→(101). The 1 in the fourth position will change to 0 following the transition (110)→(100). So, after the first step we get the sequence …01000101…. This is identical to the case (considered above) when the state of the (4th) cell in periodic pattern is changed from “1” to “0”. Its recovery takes only one time step and thus it takes two time steps for the pattern to recover when, owing to the noise, any of 0s change to 1. The stated result is exactly the same for the rule 69, which is the mirror image of the rule 13, and it is slightly amended for the rules 79 and 93, which are complements of rules 13 and 69 respectively. Namely, in the cases of rules 79 and 93 it takes one time step to recover when any “0” is changed to “1” in the preset periodic pattern and two time steps when any “1” is changed to “0”.

The process of recovery of a perturbed periodic pattern takes even longer for some other rules. For example, in the case of rule 70 whose binary representation is 01000100, it takes two time steps for restoration when the noise changes (almost) any “1” to “0” in the preset periodic pattern and three time steps after changing any “0” to “1”. There is an exceptional case for this rule when the perturbed pattern does not recover. Namely if, in the medium with a preset periodic pattern such that the states of the rightmost cells are given as (010), the noise strikes the second cell from the right border (resulting into …101000) then the pattern does not recover. This is because rule 70 involves the transition (100)→(100), which allows for the 3rd cell from the right border remaining unaltered, and (000)→(000), for which the state of the second (perturbed) cell remains unaltered. The only way for the periodic pattern to recover is that the noise strikes the same cell once again. The results for rule 70 can, with small modifications, be extended to rules 157, 28 and 199 which are respectively complement, mirror image and mirror complement of rule 70. The properties of all rules which allow local recovery of perturbations on preset two-periodic patterns are given in Table 1.

Table 1. Summary of recovery dynamics for rules allowing local recovery of perturbed two-periodic pattern. The notation “ab (n TS)” is used to state that the perturbed by noise cell recovers from state “a” to its original state “b” in n time steps. The exceptional cases, when the recovery doesn’t take place, (and when the noise hits the cell next to the border cell) are described in the extra (last) line. For example, the notation “(…000)” indicates that the rule doesn’t allow recovery in the case when the perturbed chain ends with three 0s.

3.3 Recovery of Two-Periodic Patterns by Means of Propagating Waves

In this section, we consider a set of rules which also allow the recovery of perturbed periodic patterns but in a different manner: namely, the perturbation is driven to one of the two edges of the chain where it commonly disappears. In the most common scenario, the perturbation moves like a wave with a constant speed and the time required for the perturbation to get to the chain edge is proportional to the initial distance from the perturbed cell to the corresponding edge of the chain. However, for some rules the waves of perturbation which form are not regular, so that their speed and the size of perturbed area change over time. The rules exhibiting propagating waves of perturbation are:

6, 14, 15, 20, 30, 84, 85, 86, 134, 135, 143, 148, 149, 158, 159, 213, 214 and 215.

The perturbation waves propagate from LEFT to RIGHT in the case of rules 6, 14, 15, 30, 134, 135, 143, 158 and 159 and from RIGHT to LEFT for the remaining rules. The most important question about the propagating waves of perturbations is at what speed they propagate and, consequently, how long it takes for the perturbation to reach the chain’s border where it usually vanishes. Our study shows that for rules 15 and 85 (which form a symmetry group, see Table 2), the perturbed cell recovers in one time step and at the same time the perturbation shifts one cell (to the right/left in the case of rule 15/85 respectively). Thus, the size of the wave is 1 cell and the speed of the perturbation wave is 1 cell/time-step (see Fig. 2A) and, therefore, it takes no more than n time steps (where n is a size of the chain) for the perturbations to reach the chain edge and disappear.

Table 2. Summary on the recovery dynamics for rules allowing formation of propagating perturbation waves. The direction, speed and size of the waves formed are given. If the properties of perturbation waves depend on the form of original perturbation, they are stated separately: the notation “ab” is used to indicate that the originally perturbed cell changed from the state “a” into the state “b”. The exceptional cases, when the recovery is not complete (the perturbation wave hits the border where the perturbation remains), are described in the extra (last) line. For example, the notation “(…000)” indicates that the recovery is not complete when the perturbed chain ends with three 0s.
Fig. 2.
figure 2

Illustrations of propagating perturbation waves in recovering patterns. Each row shows a fragment (perturbed) of initially periodic pattern. Rows (top to bottom) show the states of the fragment after each consecutive time step. Perturbed cells are highlighted in green/blue to distinguish between the initial perturbations from state “1” to state “0” or from “0” to “1” respectively. A: Each perturbed cell recovers in one time step. B: Each perturbed cell recovers in two time steps. C: Green case - perturbed “0” recovers in one time step and perturbed “1” – in two. Blue case - perturbed “0” recovers in five and perturbed “1” in six time steps. D: Green case – same as on Panel C. Blue case - perturbed “0” recovers in nine and perturbed “1” in ten time steps. E: Recovery is slow and completely irregular. (Color figure online)

Properties of the perturbation waves forming under rules 14, 143, 84 and 213 (form a symmetry group, see Table 2) are similar to what was observed for rules 15 and 85. However, now it takes two time steps for each perturbed cell to recover (see Fig. 2B). The recovery (that is, the contracting border of the perturbed area) as well as the perturbation (that is, the expanding border of the perturbed area) shifts one cell per time-step and the number of perturbed cells (i.e. the size of the wave) is 2 cells. When the perturbation reaches the edge of the chain, it doesn’t always disappear: for example, in the case of rule 14 the state of the second rightmost cell remains perturbed (at “0”) if the state of rightmost cell in the initial periodic pattern is 0 (the chain in the stationary state has ‘000’ on its right border). Similar exceptions occur for the other three rules in the symmetry group (see Table 2).

The recovery of the periodic pattern under rule 6 is more complicated and takes place in one of two scenarios (Fig. 2C). The first scenario takes place when the originally perturbed cell was in the state “1” and the perturbation changes its state to “0”. In this case, the perturbation expands with the speed of 1 cell/time-step and the recovery takes place in a way that two cells recover simultaneously every second time step so that the size of the wave alternates between 1 and 2 cells. This is because it takes two time steps to recover from “0” to “1” and one time step to recover from “1” to “0”. However, if the originally perturbed cell was in state “0” then the recovery is much slower. After the initial transition process, the perturbation wave stabilizes, so that each perturbed “0” recovers in five time steps while each “1” recovers in six. The speed of the perturbation expansion is still 1 cell per time-step, but its size alternates between 5 and 6 cells. In similarity to the case of rule 15 the perturbation after reaching the edge of the chain, doesn’t always disappear but the second leftmost cell remains perturbed (at “0”) if the state of leftmost cell in the initial periodic pattern is 0 (the chain in the stationary state ends with “000” on the right). Similar scenarios are observed for the three other rules (159, 20 and 215) in the symmetry group (see Table 2).

The recovery of the periodic pattern under rule 134 is identical to that under rule 6 when the initially perturbed cell was in state “1” (Fig. 2D). A difference is observed when the state of the initially perturbed cell changes from “0” to “1”. After the initial transition process when the perturbation wave stabilizes, the recovery turns to be even slower: each perturbed “0” recovers in 9 time steps while each “1” – in 10. The speed of the wave is still 1 cell per time-step but its size alternates between 9 and 10 cells. This observation naturally extends to rules 158, 148 and 214 forming the symmetry group with rule 134.

The recovery of the periodic pattern under rules 30, 135, 86 and 149 (forming a symmetry group) is significantly different from what we have seen so far (see Fig. 2E). The perturbed area under these rules still expands with the speed of 1 cell/time-step (i.e. under rule 30, the right border of the disturbed area shifts 1 cell/time-step) but the recovery is much slower: the contracting border (i.e. the left border under rule 30) of the perturbed area is slow, is affected by oscillations and its motion is completely irregular. As a result, the perturbed area quickly expands until it reaches the border of the chain, i.e. its size is only limited by the size of unrecovered area in the chain (i.e. the area to the right of the contracting border under rule 30). Although the contracting border moves much more slowly than the expanding one, it can be shown that its speed can’t be less than 2 cells per 9 time-steps. The properties of propagating perturbation waves under all the rules allowing their formation are summarized in Table 2.

3.4 Formation of Two-Periodic Patterns from Random Initial Condition

In the last two sections, we dealt with the rules which allow the recovery of preset periodic patterns perturbed by a rare and random noise. In this section, we shall focus on a subset of those rules which not only allow the recovery of perturbed periodic pattern but also the generation of periodic patterns from any initial conditions. These are the following six rules: 15, 30, 85, 86, 135 and 149.

These six rules form two symmetry groups: (15, 85) and (30, 86, 135 and 149) (see Table 2). The process of periodic pattern formation is significantly different for these two groups: under rules 15 and 85 periodic patterns are generated considerably faster than under the rules forming the second group.

Three examples of short simulations illustrating the formation of stationary periodic patterns under the rule 15 are shown in Fig. 3. One can see that periodic patterns form in the course of time, first arising at the right border and then expanding to the left with a speed of 1 cell/time-step. For rules 15 and 85, one can formulate propositions like the one below:

Fig. 3.
figure 3

Formation of periodic patterns from random initial conditions under rule 15.

Proposition for Rule 15:

Starting from any initial conditions, the state of the chain evolves towards two-periodic pattern (010101… or 101010…) developing from the LEFT to the RIGHT with a speed of at least 1 cell/time-step. The final stationary pattern may end with “11” or “00” on its RIGHT edge.

Proof of this proposition is omitted. Proposition for rule 85 differs only in the directionality of the process: under the rule 85 the periodic pattern evolves from right to left. The formation of patterns under the other four rules (30, 86, 135 and 149) is considerably different and in a line with the information provided in Table 2. For example, in the case of rule 30 the formation of a periodic pattern starts at the right border and develops to the left. The speed at which the periodic pattern expands is irregular and alters from 4 cells per time-step to 2 cells per 9 time-steps. Furthermore, depending on the initial conditions, the final pattern may remain non-stationary and exhibit oscillations at the right border of the chain. The oscillating spot can contain one element, (…0100)↔(…0110), two elements (…1001)↔(…1111) or even three elements (…11111) → (…10001) → (…11011) → (…10011) → (…11111). The periodicity of oscillations is 2 for the first and second cases and 4 for the last case. The properties of patterns forming under rules 86, 135 and 149 are similar to those for rule 30.

3.5 Three- and More- Periodic Patterns in ECA

So far, we have focused on rules allowing existence/formation of two-periodic patterns. In this section, we address the same questions with respect to three-periodic patterns. Two types of three-periodic patterns can be set in ECA: two black cells followed by a white cell or two white cells followed by a black (see Fig. 4).

Fig. 4.
figure 4

Three-periodic patterns in ECA composed of 20 cells. A: Repetitions of 2 black and 1 white cells. B: Repetitions of 2 white and 1 black cells.

Consider the periodic pattern formed by the repetition of one white and two black cells. There are 32 rules which do not destroy preset periodic pattern of this type. These rules are:

4, 5, 12, 13, 36, 37, 44, 45, 68, 69, 76, 77, 100, 101, 108, 109, 132, 133, 140, 141, 164, 165, 172, 173, 196, 197, 204, 205, 228, 229, 236 and 237.

All these numbers have binary expressions in the form of xxx0x10x where x is either 0 or 1. That is, the pattern consisting of a repetition of 2 blacks and 1 white is conserved under the rules keeping the configurations 2, 3 and 5 unaltered: (001) → (001), (010) → (010) and (100) → (100).

Similarly, there are 32 rules which conserve a periodic pattern containing one black and two white cells. The binary expressions of these rules have the form of x10x1xxx. That is, the pattern formed by repetitions of 2 whites and 1 black is conserved under the rules keeping the configurations 4, 6 and 7 unaltered: (011) → (011), (101) → (101) and (110) → (110). One can notice that there are four rules (76, 77, 204 and 205) which belong to both groups and allow the existence of both types of three-periodic patterns.

Our next task is to identify rules which allow recovery of three-periodic pattern perturbed by a random and rare noise. Our simulations show that there are only two such rules: rule 133, which allows recovery of three-periodic patterns formed by two blacks and one white, and its complement rule 94, which allows recovery of the second type of three-periodic pattern. Note that the mirror image of rule 133 is itself and its mirror complement is rule 94. Let’s consider the recovery of perturbed three-periodic pattern under rule 133 (whose binary representation is 10000101). Consider the fragment of periodic pattern …001001001… and assume that the noise strikes it at either 2nd or 3rd or 4th position. The perturbed sequence becomes either …011001001… or …000001001… or …001101001… respectively. Simple analysis shows that it takes 3, 2 or 3 time steps respectively to recover for each of the cases considered. Thus, the recovery under the rule 133 is local. All results obtained for rule 133 are naturally extended to rule 94.

We found no rules which allow the recovery of three-periodic patterns by means of propagating waves. Furthermore, there are no rules which allow the formation of three-periodic patterns from random initial conditions.

It is easy to show that there are three types of strictly four-periodic patterns which can form in ECA. Indeed, the four-periodic patterns in a generic form can be represented as (a1a2a3a4)n where elements ai can be either 0 or 1 and the chain has 4n cells. We have 16 possible cases for four-periodicity, namely: 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110 and 1111. The first and last cases (0000 and 1111) are trivial and can be considered as one-periodic. Cases 0101 and 1010 make the classical two-periodic pattern and we have studied them previously. All other cases, after re-indexing, fall into one of the three cases: (0111)n, (0011)n or (0001)n. There are 16 rules which can keep the preset 4-periodic pattern of each type. The four-periodic pattern of the type (0111)n is kept by rules in the form 110x1xxx (where x is either 0 or 1); patterns of the type (0011)n - in the form x1x01x0x, and patterns of the type (0001)n - in the form xxx0x100. None of these rules allow noise resistance or generation of a strictly four-periodic pattern from random initial conditions.

In similarity to the four-periodic patterns, the patterns of higher periodicity can exist under some rules but they are never noise resistant or can they be generated from random initial conditions. The number of rules keeping preset periodic patterns gets smaller with an increase of the periodicity. Obviously, the pre-set pattern of any periodicity exists under rule 204: this is an identity rule and doesn’t impose any change to any pattern.

4 Discussion

The study presented here was motivated by the problem of biological pattern formation governed by local (cell-to-cell) signals. As our primary interest was about segmentation in fly embryos, we have focused on the formation of periodic patterns. Furthermore, since the segmentation takes place along the embryonic anterio-posterior axis and is essentially a one-dimensional process, we have modelled it using a one-dimensional chain of logical elements represented by ECA. In the framework of this model, we have identified all rules allowing the existence or formation of periodic patterns. At the same time, our study was mainly focused on properties of ECA and, we believe, that it contributes to an extensive research [15] performed by a large community of scientists in this field.

In the presented study, we have explored whether formation of morphogenetic patterns in developing tissue can be modelled using ECA. The two-state model used in this study represents a chain of locally interacting cells, where cells in state “1” express some particular gene while in state “0” - don’t. Interactions of logical elements in ECA can be considered as representing contact (membrane-to-membrane) interactions between cells in biological tissues. The modelled interactions can be seen as regulating the differentiation of cells. For example, the two-periodic stationary pattern forming in the model represents a chain of cells where each second cell expresses a certain gene. We have identified sets of interaction rules which allow existence, recovery from noise and formation from random initial conditions of various periodic patterns in CA. Particularly, we have found that 64 (out of 256) rules allow existence of two-periodic patterns, 33 of them allow recovery of two-periodic patterns from rare and random noise and only six rules (15, 85, 30, 86, 135 and 149) allow formation of two-periodic patterns from any initial conditions. Furthermore, although there are many rules allowing the existence of three- and more- periodic patterns, only two rules allow the recovery of three-periodic patterns from random and rare noise and none allow the recovery of four- and more- periodic patterns or the formation of three- and more- periodic patterns from random initial conditions.

It is known that the pattern associated with the expression of segmentation genes in the fly embryo is four-periodic. As this pattern forms in a few steps and under the influence of maternal, gap and pair-rule genes, one could consider this pattern as preset four-periodic which is allowed by a number of rules. However, it is also known that the periodic pattern formed by segmentation genes undergoes certain correction in position [16] and this wouldn’t be allowed by any of transition rules in two-state model.

Four-periodicity can easily be obtained if the model allows at least three distinct states for cells. While the three-state model doesn’t have direct biological implementation, the four-state model seems to have better perspective as it can be viewed as modelling cells whose differentiation is associated with expression of pair of genes. The four-periodic pattern can correspond to the alternation of expressions of two genes as illustrated in Fig. 5A. The four-state model is considerably more sophisticated compared with the two-state model and can be used to reproduce the formation four- and even more- periodic patterns (Fig. 5). While the number of possible transition rules in the two-state model is relatively small (256), this number is extremely large for the four-state model (\( 4^{{4^{3} }} \), that is, every transition rule is a combination of 64 = 43 elementary rules, while each elementary rule has four forms). This number makes the analysis of 4-state models challenging. Our preliminary simulations show that the formation of periodic stationary patterns in four-state model is extremely sensitive to the initial conditions, i.e. these patterns form only when very special initial conditions are met. This may explain the multi- (four-) level of segmentation in the fly embryo. The model can account for interactions between segment polarity genes with specific initial conditions set by the above three levels of patterning.

Fig. 5.
figure 5

Periodic patterns in a four-state model. Four- (A), five- (B) and six- (C) periodic patterns with illustration of how each state corresponds to different expressions of two genes. Cell state is indicated in black if both genes are expressed; in dark grey - Gene 1 is expressed and Gene 2 is not; in light grey – Gene 1 is not expressed and Gene 2 is expressed; white – both genes are not expressed.

Mathematical study of the segmentation in fly embryo performed in [6] and based on gene network modelling has indicated that all nuclei, during normal development, can be only in four distinct states. This points to the direction of further extension of the presented work: our extensive analysis of ECA can be considered as a step towards similar analysis of four-state CA. Also, we note that more sophisticated CA (two-dimensional and including randomization of transition rules) have recently been used to successfully model the dynamics of skin patterning in growing lizard [7].