Undecidability and Intractability in Theoretical Physics

Similar documents
Cellular Automata as Models of Complexity

Complex Systems Theory

Cellular Automaton Supercomputing

II. Spatial Systems A. Cellular Automata 8/24/08 1

Computer Sciences Department

II. Spatial Systems. A. Cellular Automata. Structure. Cellular Automata (CAs) Example: Conway s Game of Life. State Transition Rule

Are chaotic systems dynamically random?

The World According to Wolfram

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Thermodynamics and Hydrodynamics with Cellular Automata

ABridgeofBits. Norman Margolus Laboratory for Computer Science Massachusetts Institute of Technology Cambridge, MA

Statistical Complexity of Simple 1D Spin Systems

6-1 Computational Complexity

On the Dynamic Qualitative Behavior of Universal Computation

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09

Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage?

Cellular Automata. Jason Frank Mathematical Institute

Cellular Automata. Introduction

Artificial Intelligence. 3 Problem Complexity. Prof. Dr. Jana Koehler Fall 2016 HSLU - JK

UNIT-VIII COMPUTABILITY THEORY

Quantum Computing Lecture 8. Quantum Automata and Complexity

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005

Primitive recursive functions

Cellular Automata. and beyond. The World of Simple Programs. Christian Jacob

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

A Simple Proof of P versus NP

Shannon Information (very briefly!) Lecture 4. Maximum and Minimum Entropy. Entropy. Entropy of Transition Rules. Entropy Examples

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information

Cellular Automata and Tilings

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x.

Principles of Knowledge Representation and Reasoning

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Theory of Computation. Theory of Computation

Modelling with cellular automata

COMPUTATIONAL COMPLEXITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

Turing Machines Part III

Computability and Complexity Theory

Theory of Computation (IX) Yijia Chen Fudan University

Review of unsolvability

Subsumption of concepts in FL 0 for (cyclic) terminologies with respect to descriptive semantics is PSPACE-complete.

Complexity, Undecidability and Tilings. Chaim Goodman-Strauss Univ Arkansas

The Parameterized Complexity of Intersection and Composition Operations on Sets of Finite-State Automata

Chapter 2 Algorithms and Computation

Introduction to Complexity Theory

Turing Machines Part II

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever. ETH Zürich (D-ITET) October,

ENEE 459E/CMSC 498R In-class exercise February 10, 2015

The Game (Introduction to Digital Physics) *

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

Turing Machines and Time Complexity

NP-Complete and Non-Computable Problems. COMP385 Dr. Ken Williams

Mm7 Intro to distributed computing (jmp) Mm8 Backtracking, 2-player games, genetic algorithms (hps) Mm9 Complex Problems in Network Planning (JMP)

Introduction to Artificial Life and Cellular Automata. Cellular Automata

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography

arxiv: v1 [cond-mat.other] 31 Aug 2008

About the relationship between formal logic and complexity classes

There Is No Polynomial Deterministic Space Simulation of Probabilistic Space with a Two-Way Random-Tape Generator

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 20 Jan 1997

Lecture 22: Quantum computational complexity

On Elementary and Algebraic Cellular Automata

Problem Complexity Classes

6.045: Automata, Computability, and Complexity (GITCS) Class 15 Nancy Lynch

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

Stream Ciphers. Çetin Kaya Koç Winter / 20

A Colorful Introduction to Cellular Automata

The Church-Turing Thesis and Relative Recursion

Turing Machines. Nicholas Geis. February 5, 2015

Phase Transitions in the Computational Complexity of "Elementary'' Cellular Automata

Turing Machines Part II

The P-vs-NP problem. Andrés E. Caicedo. September 10, 2011

Quantum Hypercomputability?

Variations of the Turing Machine

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

Comparison of several polynomial and exponential time complexity functions. Size n

The Complexity of Theorem-Proving Procedures

o or 1. The sequence of site values is the "configuration" of the cellular automaton. The cellular

Open Problems in Automata Theory: An Idiosyncratic View

ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL

Complexity Theory Turing Machines

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

CS151 Complexity Theory. Lecture 1 April 3, 2017

CS 275 Automata and Formal Language Theory

CST Part IB. Computation Theory. Andrew Pitts

Acknowledgments 2. Part 0: Overview 17

Introduction to Computational Complexity

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

Turing Machines, diagonalization, the halting problem, reducibility

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems

The Fixed String of Elementary Cellular Automata

Computational complexity theory

Regular Languages and Finite Automata

where Q is a finite set of states

An Algebraic Characterization of the Halting Probability

Transcription:

Undecidability and Intractability in Theoretical Physics 1985 Physical processes are viewed as computations, and the difficulty of answering questions about them is characterized in terms of the difficulty of performing the corresponding computations. Cellular automata are used to provide explicit examples of various formally undecidable and computationally intractable problems. It is suggested that such problems are common in physical models, and some other potential examples are discussed. There is a close correspondence between physical processes and computations. On one hand, theoretical models describe physical processes by computations that transform initial data according to algorithms representing physical laws. And on the other hand, computers themselves are physical systems, obeying physical laws. This paper explores some fundamental consequences of this correspondence. I The behavior of a physical system may always be calculated by simulating explicitly each step in its evolution. Much of theoretical physics has, however, been concerned with devising shorter methods of calculation that reproduce the outcome without tracing each step. Such shortcuts can be made if the computations used in the calculation are more sophisticated than those that the physical system can itself perform. Any computations must, however, be carried out on a computer. But the computer is itself an example of a physical system. And it can determine the outcome of its own evolution only by explicitly following it through: No shortcut is possible. Such computational irreducibility occurs whenever a physical system can act as a computer. The behavior of the system can be found only by direct simulation or observation: No general predictive procedure is possible. Computational irreducibility is common among the systems investigated in mathematics and computation theory.2 This paper suggests that it is also common in theoretical physics. Computational reducibility may well be the exception rather than the rule: Most physical questions Originally published in Physical Review Lelfers, vol ume 54, pages 735-738 (25 February 1985), 203

Wolfram on Cellular Automata and Complexity may be answerable only through irreducible amounts of computation. Those that concern idealized limits of infinite time, volume, or numerical precision can require arbitrarily long computations, and so be formally undecidable. A diverse set of systems are known to be equivalent in their computational capabilities, in that particular forms of one system can emulate any of the others. Standard digital computers are one example of such "universal computers": With fixed intrinsic instructions, different initial states or programs can be devised to simulate different systems. Some other examples are Turing machines, string transformation systems, recursively defined functions, and Diophantine equations. 2 One expects in fact that universal computers are as powerful in their computational capabilities as any physically realizable system can be, so that they can simulate any physical system.) This is the case if in all physical systems there is a finite density of information, which can be transmitted only at a finite rate in a finite-dimensional space. 4 No physically implementable procedure could then shortcut a computationally irreducible process. Different physically realizable universal computers appear to require the same order of magnitude times and information storage capacities to solve particular classes of finite problems. S One computer may be constructed so that in a single step it carries out the equivalent of two steps on another computer. However, when the amount of information n specifying an instance of a problem becomes large, different computers use resources that differ only by polynomials in n. One may then distinguish several classes of problems. 6 The first, denoted P, are those such as arithmetical ones taking a time polynomial in n. The second, denoted PSPACE, are those that can be solved with polynomial storage capacity, but may require exponential time, and so are in practice effectively intractable. Certain problems are "complete" with respect to PSPACE, so that particular instances ofthem correspond to arbitrary PSPACE problems. Solutions to these problems mimic the operation of a universal computer with bounded storage capacity: A computer that solves PSPACE-complete problems for any n must be universal. Many mathematical problems are PSPACE-complete. 6 (An example is whether one can always win from a given position in chess.) And since there is no evidence to the contrary, it is widely conjectured that PSPACE * P, so that PSPACE-complete problems cannot be solved in polynomial time. A final class of problems, denotednp, consist in identifying, among an exponentially large collection of objects, those with some particular, easily testable property. An example would be to find an n-digit integer that divides a given 2n-digit number exactly. A particular candidate divisor, guessed nondeterministically, can be tested in polynomial time, but a systematic solution may require almost all O(2 n ) possible candidates to be tested. A computer that could follow arbitrarily many computational paths in parallel could solve such problems in polynomial time. For actual computers that allow only boundedly many paths, it is suspected that no general polynomial time solution is possible. s Nevertheless, in the infinite time limit, parallel paths are irrelevant, and a computer that solves NP-complete problems is equivalent to other universal computers. 6 204

Undecidability and Intractability in Theoretical Physics (1985) I Figure 1. Seven examples of patterns generated by repeated application of various simple cellular automaton rules. The last four are probably computationally irreducible, and can be found only by direct simulation. The structure of a system need not be complicated for its behavior to be highly complex, corresponding to a complicated computation. Computational irreducibility may thus be widespread even among systems with simple construction. Cellular automata (CA)7 provide an example. A CA consists of a lattice of sites, each with k possible values, and each updated in time steps by a deterministic rule depending on a neighborhood of R sites. CA serve as discrete approximations to partial differential equations, and provide models for a wide variety of natural systems. Figure I shows typical examples of their behavior. Some rules give periodic patterns, and the outcome after many steps can be predicted without following each intermediate step. Many rules, however, give complex patterns for which no predictive procedure is evident. Some CA are in fact known to be capable of universal computation, so that their evolution must be computationally irreducible. The simplest cases proved have k = 18 and R = 3 in one dimension,s or k = 2 and R = 5 in two dimensions. 9 It is strongly suspected that "c1ass-4" CA are generically capable of universal computation: There are such CA with k = 3, R = 3 and k = 2, R = 5 in one dimension. 10 Computationally, irreducibility may occur in systems that are not full universal computers. For inability to perform, specific computations need not allow all computations to be shortcut. Though c1ass-3 CA and other chaotic systems may not be universal computers, most of them are expected to be computationally irreducible, so that the solution of problems concerning their behavior requires irreducible amounts of computation. As a first example consider finding the value of a site in a CA after t steps of evolution from a finite initial seed, as illustrated in Fig. 1. The problem is specified by giving the seed and the CA rule, together with the log t digits of t. In simple cases such as the first two shown in Fig. I, it can be solved in the time o (log t) necessary to input this specification. However, the evolution of a universal computer CA for a polynomial in t steps can implement any computation of length t. As a consequence, its evolution is computationally irreducible, and its outcome found only by an explicit simulation with length O(t): exponentially longer than for the first two in Fig. 1. One may ask whether the pattern generated by evolution with a CA rule from a particular seed will grow forever, or will eventually die out. II If the evolution is computationally irreducible, then an arbitrarily long computation may be needed to 205

Wolfram on Cellular Automato and Complexity answer this question. One may determine by explicit simulation whether the pattern dies out after any specified number of steps, but there is no upper bound on the time needed to find out its ultimate fate. 12 Simple criteria may be given for particular cases, but computational irreducibility implies that no shortcut is possible in general. The infinite-time limiting behavior is formally undecidable: No finite mathematical or computational process can reproduce the infinite CA evolution. The fate of a pattern in a CA with a finite total number of sites N can always be determined in at most kn steps. However, if the CA is a universal computer, then the problem is PSPACE-complete, and so presumably cannot be solved in a time polynomial in N. 13 One may consider CA evolution not only from finite seeds, but also from initial states with all infinitely many sites chosen arbitrarily. The value a(l ) of a site after many time steps t then in general depends on 2At ~ Rt initial site values, where A is the rate of information transmission (essentially Lyapunov exponent) in the CA. 9 In class-j and -2 CA, information remains localized, so that A = 0, and a(t) can be found by a length a (log t) computation. For class-3 and -4 CA, however, A > 0, and a(l ) requires an OCt) computation.l~ The global dynamics of CA are determined by the possible states reached in their evolution. To characterize such states one may ask whether a particular string of n site values can be generated after evolution for t steps from any (length n + 2A t) initial string. Since candidate initial strings can be tested in OCt) time, this problem is in the class NP. When the CA is a universal computer, the problem is in general NPcomplete, and can presumably be answered essentially only by testing all O(kn+2A/) candidate initial strings. IS In the limit t ~ 00, it is in general undecidable whether particular strings can appear. 16 As a consequence, the entropy or dimension of the limiting set of CA configurations is in general not finitely computable. Formal languages describe sets of states generated by CA.17 The set that appears after t steps in the evolution of a one-dimensional CA forms a regular formal language: each possible state corresponds to a path through a graph with 8(1) < 2kRI nodes. If, indeed, the length of computation to determine whether a string can occur increasef> exponentially with t for computationally irreducible CA, then the "regular language complexity" 8 (1) should also increase exponentially, in agreement with empirical data on certain class-3 CA,17 and reflecting the "irreducible computational work" achieved by their evolution. Irreducible computations may be required not only to determine the outcome of evolution through time, but also to find possible arrangements of a system in space. For example, whether an x x x patch of site values occurs after just one step in a two-dimensional CA is in general NP-complete. 18 To determine whether there is any complete infinite configuration that satisfies a particular predicate (such as being invariant under the CA rule) is in general undecidable l8 : It is equivalent to finding the infinite-time behavior of a universal computer that lays down each row on the lattice in tum. 206

Undecidability and Intractability in Theoretical Physics 11985) There are many physical systems in which it is known to be possible to construct universal computers. Apart from those modeled by CA, some examples are electric circuits, hard-sphere gases with obstructions, and networks of chemical reactions. 19 The evolution of these systems is in general computationally irreducible, and so suffers from undecidable and intractable problems. Nevertheless, the constructions used to find universal computers in these systems are arcane, and if computationally complex problems occurred only there, they would be rare. It is the thesis of this paper that such problems are in fact common. 20 Certainly there are many systems whose properties are in practice studied only by explicit simulation or exhaustive search: Few computational shortcuts (often stated in terms of invariant quantities) are known. Many complex or chaotic dynamical systems are expected to be computationally irreducible, and their behavior effectively found only by explicit simulation. Just as it is undecidable whether a particular initial state in a CA leads to unbounded growth, to self-replication, or has some other outcome, so it may be undecidable whether a particular solution to a differential equation (studied say with symbolic dynamics) even enters a certain region of phase space, and whether, say, a certain n-body system is ultimately stable. Similarly, the existence of an attractor, say, with a dimension above some value, may be undecidable. Computationally complex problems can arise in finding eigenvalues or extremal states in physical systems. The minimum energy conformation for a polymer is in general NP-complete with respect to its Iength. 21 Finding a configuration below a specified energy in a spin-glass with particular couplings is similarly NP-complete. 22 Whenever the stationary state of a physical system such as this can be found only by lengthy computation, the dynamic physical processes that lead to it must take a correspondingly long time. 5 Global properties of some models for physical systems may be undecidable in the infinite-size limit (like those for two-dimensional CA). An example is whether a particular generalized Ising model (or stochastic multidimensional CA 23 ) exhibits a phase transition. Quantum and statistical mechanics involve sums over possibly infinite sets of configurations in systems. To derive finite formulas one must use finite specifications for these sets. But it may be undecidable whether two finite specifications yield equivalent configurations. So, for example, it is undecidable whether two finitely specified four-manifolds or solutions to the Einstein equations are equivalent (under coordinate reparametrization).24 A theoretical model may be considered as a finite specification of the possible behavior of a system. One may ask for example whether the consequences of two models are identical in all circumstances, so that the models are equivalent. If the models involve computations more complicated than those that can be carried out by a computer with a fixed finite number of states (regular language), this question is in general undecidable. Similarly, it is undecidable what is the simplest such model that describes a given set of empirical data. 25 207

Wolfram on Cellular Automata and Complexity This paper has suggested that many physical systems are computationally irreducible, so that their own evolution is effectively the most efficient procedure for determining their future. As a consequence, many questions about these systems can be answered only by very lengthy or potentially infi nite computations. But some questions answerable by simpler computations may still be formulated. This work was supported in part by the U. S. Office of Naval Research under Contract No. NOOOI4-80-C-0657. I am grateful for discussions with many people, particularly C. Bennett, G. Chaitin, R. Feynman, E. Fredkin, D. Hillis, L. Hurd, 1. Milnor, N. Packard, M. Perry, R. Shaw, K. Steiglitz, W. Thurston, and L. Yaffe. l. For a more informal exposition see: S. Wolfram, Sci. Am. 251, 188 (1984). A fuller treatment will be given elsewhere. 2. E.g., The Undecidable: Basic Papers on Undecidable Propositions, Unsolvable Problems, and Computable Functions, edited by M. Davis (Raven, New York, 1965), or J. Hopcroft and J. Ullman, Introduction to Automata Theory, Languages, and Computations (Addison-Wesley, Reading, Mass., 1979). 3. This is a physical form of the Church-Turing hypothesis. Mathematically conceivable systems of greater power can be obtained by including tables of answers to questions insoluble for these universal computers. 4. Real-number parameters in classical physics allow infinite information density. Nevertheless, even in classical physics, the finiteness of experimental arrangements and measurements, implemented as coarse graining in statistical mechanics, implies finite information input and output. In relativistic quantum fie ld theory, finite density of information (or quantum states) is evident for free fields bounded in phase space [e.g., 1. Bekenstein, Phys. Rev. D 30, 1669 (1984)]. It is less clear for interacting fie lds, except if space-time is ultimately discrete [but cf. B. Simon, Functional Integration and Quantum Physics (Academic, New York, 1979), Sec. 111.9]. A finite information transmission rate is implied by relativistic causality and the manifold structure of space-time. 5. It is just possible, however, that the parallelism of the path integral may allow quantum mechanical systems to solve any NP problem in polynomial time. 6. M. Garey and D. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness (Freeman, San Francisco, 1979). 7. See S. Wolfram, Nature 311, 419 (1984); Cellular Automata, edited by D. Farmer, T. Toffoli, and S. Wolfram, Physica lon, Nos. 1 and 2 (1984), and references therein. 8. A. R. Smith, J. Assoc. Comput. Mach. 18,331 (1971). 9. E. R. Banks, Massachusetts Institute of Technology Report No. TR-8l, 1971 (unpublished). The "Game of Life," discussed in E. R. Beriekamp, J. H. Conway, 208

Undecidability and Intractability in Theoretical Physics (1985) and R. K. Guy, Winning Ways for Your Mathematical Plays (Academic, New York, 1982), is an example with k = 2, R = 9. N. Margolus, Physica (Utrecht) 100, 81 (1984), gives a reversible example. 10. S. Wolfram, Physica (Utrecht) 100, 1 (1984), and to be published. 11. This is analogous to the problem of whether a computer run with particular input will ever reach a "halt" state. 12. The number of steps to check ("busy-beaver function") in general grows with the seed size faster than any finite formula can describe (Ref. 2). 13. Cf. C. Bennett, to be published. 14. Cf. B. Eckhardt, J. Ford, and F. Vivaldi, Physica (Utrecht) 130, 339 (1984). 15. The question is a generalization of whether there exists an assignment of values to sites such that the logical expression corresponding the (-step CA mapping is true (cf. V. Sewelson, private communication). 16. L. Hurd, to be published. 17. S. Wolfram, Commun. Math. Phys. 96, 15 (1984). 18. N. Packard and S. Wolfram, to be published. The equivalent problem of covering a plane with a given set of tiles is considered in R. Robinson, Invent. Math. 12, 177 (1971). 19. E.g., C. Bennett, Int. J. Theor. Phys. 21. 905 (1982); E. Fredkin and T. Toffoli, Int. J. Theor. Phys. 21, 219 (1982); A. Vergis, K. Steiglitz, and B. Dickinson, "The Complexity of Analog Computation" (unpublished). 20. Conventional computation theory primarily concerns possibilities, not probabilities. There are nevertheless some problems for which almost all instances are known to be of equivalent difficulty. But other problems are known to be much easier on average than in the worst case. In addition, for some NP-complete problems the density of candidate solutions close to the actual one is very large, so approximate solutions can easily be found [S o Kirkpatrick, C. Gelatt, and M. Vecchi, Science 220, 671 (1983)]. 21. Compare Time Warps, String Edites, and Macromolecules, edited by D. Sankoff and J. Kruskal (Addison-Wesley, Reading, Mass., 1983). 22. F. Barahona, J. Phys. A 13, 3241 (1982). 23. E. Domany and W. Kinzel, Phys. Rev. Lett. 53, 311 (1984). 24. See W. Haken, in Word Problems, edited by W. W. Boone, F. B. Cannonito, and R. C. Lyndon (North-Holland, Amsterdam, 1973). 25. G. Chaitin, Sci. Am. 232, 47 (1975), and IBM J. Res. Dev. 21, 350 (1977); R. Shaw, to be published. 209