Solving the parity problem in one-dimensional cellular automata

  • Authors:
  • Heather Betel;Pedro P. Oliveira;Paola Flocchini

  • Affiliations:
  • School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada K1N 6N5;Faculdade de Computação e Informática, Universidade Presbiteriana Mackenzie, São Paulo, Brazil 01302-907;School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada K1N 6N5

  • Venue:
  • Natural Computing: an international journal
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The parity problem is a well-known benchmark task in various areas of computer science. Here we consider its version for one-dimensional, binary cellular automata, with periodic boundary conditions: if the initial configuration contains an odd number of 1s, the lattice should converge to all 1s; otherwise, it should converge to all 0s. Since the problem is ill-defined for even-sized lattices (which, by definition, would never be able to converge to 1), it suffices to account for odd-sized lattices only. We are interested in determining the minimal neighbourhood size that allows the problem to be solvable for any arbitrary initial configuration. On the one hand, we show that radius 2 is not sufficient, proving that there exists no radius 2 rule that can solve the parity problem, even in the simpler case of prime-sized lattices. On the other hand, we design a radius 4 rule that converges correctly for any initial configuration and formally prove its correctness. Whether or not there exists a radius 3 rule that solves the parity problem remains an open problem; however, we review recent data against a solution in radius 3, thus providing strong empirical evidence that there may not exist a radius 3 solution even for prime-sized lattices only, contrary to a recent conjecture in the literature.