Cellular Automata/Decision Problems

From testwiki
Revision as of 21:37, 14 June 2017 by imported>Pi zero ({{BookCat}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The study of decision problems for 1D CA is based on the subset diagram of the de Bruijn diagram. The subset diagram is interpreted as an finite automaton and analysed accordingly. Most decision problems are defined using the larger matrix subset diagram, but they can be redefined using the smaller vector subset diagram.

The subset diagram

Nodes in the subset diagram are all possible preimage matrices or vectors that can be written using boolean elements.

Matrix subset diagram

The matrix subset diagram is a directed graph S,QD,δD later remodeled as a finite automaton.

QD is the set of all states which are all |QD|=2k2(m1) distinct bolean preimage matrices.

QD={[000000],[100000],,[111111]}

The set of available cell states S is used for link labes and as the automaton alphabet. The automaton state transition function δ defines links between states and their labes.

δD:QD×SQD

Two transition functions can be constructed, one for the forward direction δD,f and one for the backward direction δD,b. The transitions on input symbols cS are defined by single cell preimage matrices.

qDx+1=δD,f(qDx,cx)Dx+1=DxD(cx)boolean multiplication
qDx1=δD,b(qDx,cx)Dx1T=D(cx1)DxTboolean multiplication

A finite automaton S,QD,q0,δD,FD is constructed from the graph S,QD,δD by specifying an initial state q0QD and the set of final states FDQD.

The empty set is the state q=0 where all preimage matrix elements are 0.

[000000]

Vector subset diagram

The vector subset diagram is a directed graph S,Q,δ later remodeled as an finite automaton. Q is the set of all states which are all |Q|=2km1 distinct bolean preimage vectors.

Qb={0,1,,b,,|Q|1}
q=o=0km11b(o)=2km11b(km11)++2ob(o)++2b(1)+b(0)

The set of available cell states S is used for link labes and as the automaton alphabet. The automaton state transition function δ defines links between states and their labes.

δ:Q×SQ

Two transition functions can be constructed, one for the forward direction δf and one for the backward direction δb. The transitions on input symbols cS are defined by single cell preimage matrices.

qx+1=δf(qx,cx)bx+1=bxD(cx)boolean multiplication
qx1=δb(qx,cx)bx1T=D(cx1)bxTboolean multiplication

A finite automaton S,Q,q0,δ,QF is constructed from the graph S,Q,δ by specifying an initial state q0Q and the set of final states QFQ.

The empty set is the state q=0 where none of the overlaps in the preimage vector b can be used to trace paths.

b=[0,0,,0]

The full set is the state q=2km1 where all of the overlaps in the preimage vector b can be used to trace paths.

b=[1,1,,1]

Transformations from the matrix subset automaton into the vector subset automaton

Decision Problems

To observe a decision problem the subset diagram is transformed into an automaton. A word defined as a string of cells α is accepted if it connects the specified initial state to one of the final states.

De Bruijn subset diagram, are used to answer injectivity and surjectivity problems, regular expression for preimages...

Surjectivity of CA rules

The global transition function is surjective if each present configuration Ct has at least one preimage Ct1.

CtCt1:F(Ct1)=Ct

Since preimages are paths in the preimage network, there must always exist at least a single path between the boundaries of any cell string α.

Shortest non-accepted string

Another problem related to the subset diagram is the shortest string that is not accepted by the subset diagram. This can easily be rephrased as a decision problem: does the subset diagram have a string of length l or shorter for a given integer l. By the definition of this problem, testing true for a given cellular automaton rule and given l, the same cellular automaton will test true for l+1. In the case that a cellular automaton is surjective, there will be no such string.

It was alluded to by Wolfram that what Sutner called the 1-permutative cellular automata most likely will test false for the highest l within the set of cellular automata with the same number of characters and the same width. Kingsbery proved in his undergraduate thesis that 1-permutative CA will test true for all l greater than or equal to wkw1, where w is the CA's width and k is the number of symbols. Assuming that this is true for all CA (and the work of Wolfram and Sutner seem to indicate that it should be), this ensures that any certificate for this decision problem can be verified in time polynomial to the size of the CA's rule table. It is not known whether such a certificate can be constructed in polynomial time.

Theorem: 1-permutative CA with a width w over k symbols have a shortest non-accepted string no longer than wkw1.

Proof: TODO

Definitions and Proofs

Boolean matrix and vector operations

All mathematical addition and multiplications are exchanged with their Boolean counterparts disjunction and conjunction.

Addition become disjunction (logical operator OR):

x1+x2x1x2

Multiplication becomes conjunction (logical operator AND):

x1x2x1x2

This basic Boolean operations are than used to define matrix and vector operations.

Examples

Regular language of Garden of Eden configurations for 1D CA

References

  1. Tobias Gärtner, Timo von Oertzen, and Jan Schwinghammer, Efficiently Computing the Density of Regular Languages, Proceedings of Latin American INformatics (LATIN'04), pages 262-270, Buenos Aires.
  2. Etienne Grandjean, Complexity of the first-order theory of almost all finite structures, Information and Control, 57(2/3):180-204, May/June 1983

Tools

  1. Grail+

Template:BookCat