COMPUTING THE BUSY BEAVER FUNCTION

Similar documents
which possibility holds in an ensemble with a given a priori probability p k log 2

Asymptotic behavior and halting probability of Turing Machines

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

An Algebraic Characterization of the Halting Probability

CISC 876: Kolmogorov Complexity

Gödel's Theorem and Information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Hilbert s problems, Gödel, and the limits of computation

CISC 1002 [CORC 3310, CC 30.10] Paradoxes and the Limits of Knowledge 3 hours; 3 credits

The Legacy of Hilbert, Gödel, Gentzen and Turing

Obsevations, Truth and Logic

1 Acceptance, Rejection, and I/O for Turing Machines

Understanding Computation

Exploring Randomness and The Unknowable

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

1 Reals are Uncountable

Information-Theoretic Computational

The Riemann Hypothesis. Cristian Dumitrescu

Cogito ergo sum non machina!

The Search for the Perfect Language

Hilbert s problems, Gödel, and the limits of computation

8 Primes and Modular Arithmetic

Examples of Unlimited Register Machine programs for Turingcomputable

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

The Limit of Humanly Knowable Mathematical Truth

THE BERRY PARADOX. arxiv:chao-dyn/ v1 9 Jun 1994

2.2 Lowenheim-Skolem-Tarski theorems

Leibniz, Randomness & the Halting Probability

Principles of Computing, Carnegie Mellon University. The Limits of Computing

Turing Machines, diagonalization, the halting problem, reducibility

Computational Models Lecture 9, Spring 2009

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

Chaitin Ω Numbers and Halting Problems

Computable Functions

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

VISUALIZATION OF INTUITIVE SET THEORY

Alan Turing and the Mathematics of the Unsolvable

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 20. To Infinity And Beyond: Countability and Computability

Computability Theory

PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2

TRUTH-THEORIES FOR FRAGMENTS OF PA

The Halting Probability Omega: Irreducible Complexity in Pure Mathematics

Creative Objectivism, a powerful alternative to Constructivism

DRAFT. Diagonalization. Chapter 4

GTI. Undecidability. Total Recall 3. Halting. Undecidability. A. Ada, K. Sutner Carnegie Mellon University. Spring 2018

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

Lecture notes on Turing machines

,

Class 24: Computability

Gödel s Proof. Henrik Jeldtoft Jensen Dept. of Mathematics Imperial College. Kurt Gödel

The Two Faces of Infinity Dr. Bob Gardner Great Ideas in Science (BIOL 3018)

Poincaré, Heisenberg, Gödel. Some limits of scientific knowledge. Fernando Sols Universidad Complutense de Madrid

Lecture 13: Foundations of Math and Kolmogorov Complexity

We introduce one more operation on sets, perhaps the most important

Math Real Analysis

Computational Complexity

Completed versus Incomplete Infinity in Arithmetic

AN INTRODUCTION TO COMPUTABILITY THEORY

WHY ISN T THE CONTINUUM PROBLEM ON THE MILLENNIUM ($1,000,000) PRIZE LIST?

Institute for Applied Information Processing and Communications (IAIK) Secure & Correct Systems. Decidability

Final Exam Comments. UVa - cs302: Theory of Computation Spring < Total

NP-Completeness. Until now we have been designing algorithms for specific problems

Complexity 6: AIT. Outline. Dusko Pavlovic. Kolmogorov. Solomonoff. Chaitin: The number of wisdom RHUL Spring Complexity 6: AIT.

Undecibability. Hilbert's 10th Problem: Give an algorithm that given a polynomial decides if the polynomial has integer roots or not.

One-to-one functions and onto functions

CSCI3390-Lecture 6: An Undecidable Problem

Decidability (What, stuff is unsolvable?)

Computers, Paradoxes and the Foundations of Mathematics

König s Lemma and Kleene Tree

Steeple #3: Goodstein s Theorem (glimpse only!)

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Undecidability. Almost all Languages are undecidable. Question: Is it just weird languages that no one would care about which are undecidable?

CST Part IB. Computation Theory. Andrew Pitts

The roots of computability theory. September 5, 2016

CSE 4111/5111/6111 Computability Jeff Edmonds Assignment 3: Diagonalization & Halting Problem Due: One week after shown in slides

15-251: Great Theoretical Ideas in Computer Science Fall 2016 Lecture 6 September 15, Turing & the Uncomputable

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

Compression Complexity

Complexity Theory. Ahto Buldas. Introduction September 10, Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach.

Informal Statement Calculus

Most Programs Stop Quickly or Never Halt

Church s undecidability result

258 Handbook of Discrete and Combinatorial Mathematics

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

INCOMPLETENESS THEOREMS FOR RANDOM REALS

MATH 25 CLASS 8 NOTES, OCT

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

Great Theoretical Ideas

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

Turing Machines. Lecture 8

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

CS154, Lecture 12: Kolmogorov Complexity: A Universal Theory of Data Compression

Hence, the sequence of triangular numbers is given by., the. n th square number, is the sum of the first. S n

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

To Infinity and Beyond

Gödel and Beyond: A Treatise on the Notion of Indeterminancy

CMPT 710/407 - Complexity Theory Lecture 4: Complexity Classes, Completeness, Linear Speedup, and Hierarchy Theorems

Products, Relations and Functions

Transcription:

COMPUTING THE BUSY BEAVER FUNCTION In T. M. Cover and B. Gopinath, Open Problems in Communication and Computation, Springer, 1987, pp. 108 112 Gregory J. Chaitin IBM Research Division, P.O. Box 218 Yorktown Heights, NY 10598, U.S.A. Abstract Efforts to calculate values of the noncomputable Busy Beaver function are discussed in the light of algorithmic information theory. I would like to talk about some impossible problems that arise when one combines information theory with recursive function or computability theory. That is to say, I d like to look at some unsolvable problems which arise when one examines computation unlimited by any practical 1

2 G. J. Chaitin bound on running time, from the point of view of information theory. The result is what I like to call algorithmic information theory [5]. In the Computer Recreations department of a recent issue of Scientific American [7], A. K. Dewdney discusses efforts to calculate the Busy Beaver function Σ. This is a very interesting endeavor for a number of reasons. First of all, the Busy Beaver function is of interest to information theorists, because it measures the capability of computer programs as a function of their size, as a function of the amount of information which they contain. Σ(n) is defined to be the largest number which can be computed by an n-state Turing machine; to information theorists it is clear that the correct measure is bits, not states. Thus it is more correct to define Σ(n) as the largest natural number whose programsize complexity or algorithmic information content is less than or equal to n. Of course, the use of states has made it easier and a definite and fun problem to calculate values of Σ(number of states); to deal with Σ(number of bits) one would need a model of a binary computer as simple and compelling as the Turing machine model, and no obvious natural choice is at hand. Perhaps the most fascinating aspect of Dewdney s discussion is that it describes successful attempts to calculate the initial values Σ(1), Σ(2), Σ(3),... of an uncomputable function Σ. Not only is Σ uncomputable, but it grows faster than any computable function can. In fact, it is not difficult to see that Σ(n) is greater than the computable function f(n) assoonasn is greater than (the program-size complexity or algorithmic information content of f) + O(1). Indeed, to compute f(n)+1itissufficienttoknow(aminimum-sizeprogramforf), and the value of the integer (n the program-size complexity of f). Thus the program-size complexity of f(n) +1 is (the program-size complexity of f)+o(log n the program-size complexity of f ), which is <nif n is greater than O(1)+the program-size complexity of f. Hence f(n) + 1 is included in Σ(n), that is, Σ(n) f(n) +1,ifn is greater than O(1) + the program-size complexity of f. Yet another reason for interest in the Busy Beaver function is that, when properly defined in terms of bits, it immediately provides an information-theoretic proof of an extremely fundamental fact of recursive function theory, namely Turing s theorem that the halting problem

Computing the Busy Beaver Function 3 is unsolvable [2]. Turing s original proof involves the notion of a computable real number, and the observation that it cannot be decided whether or not the nth computer program ever outputs an nth digit, because otherwise one could carry out Cantor s diagonal construction and calculate a paradoxical real number whose nth digit is chosen to differ from the nth digit output by the nth program, and which therefore cannot actually be a computable real number after all. To use the noncomputability of Σ to demonstrate the unsolvability of the halting problem, it suffices to note that in principle, if one were very patient, one could calculate Σ(n) by checking each program of size less than or equal to n to determine whether or not it halts, and then running each of the programs which halt to determine what their output is, and then taking the largest output. Contrariwise, if Σ were computable, then it would provide a solution to the halting problem, for an n-bit program either halts in time less than Σ(n + O(1)), or else it never halts. The Busy Beaver function is also of considerable metamathematical interest; in principle it would be extremely useful to know larger values of Σ(n). For example, this would enable one to settle the Goldbach conjecture and the Riemann hypothesis, and in fact any conjecture such as Fermat s which can be refuted by a numerical counterexample. Let P be a computable predicate of a natural number, so that for any specific natural number n it is possible to compute in a mechanical fashion whether or not P (n), P of n, is true or false, that is, to determine whether or not the natural number n has property P. How could one use the Busy Beaver function to decide if the conjecture that P is true for all natural numbers is correct? An experimental approach is to use a fast computer to check whether or not P is true, say for the first billion natural numbers. To convert this empirical approach into a proof, it would suffice to have a bound on how far it is necessary to test P before settling the conjecture in the affirmative if no counterexample has been found, and of course rejecting it if one was discovered. Σ provides this bound, for if P has program-size complexity or algorithmic information content k, then it suffices to examine the first Σ(k + O(1)) natural numbers to decide whether or not P is always true. Note that the program-size complexity or algorithmic information content of a famous conjecture P is usually quite small; it is hard to get excited about a conjecture that takes a hundred pages to state.

4 G. J. Chaitin For all these reasons, it is really quite fascinating to contemplate the successful efforts which have been made to calculate some of the initial values of Σ(n). In a sense these efforts simultaneously penetrate to mathematical bedrock and are storming the heavens, to use images of E. T. Bell. They amount to a systematic effort to settle all finitely refutable mathematical conjectures, that is, to determine all constructive mathematical truth. And these efforts fly in the face of fundamental information-theoretic limitations on the axiomatic method [1,2,6], which amount to an information-theoretic version of Gödel s famous incompleteness theorem [3]. Here is the Busy Beaver version of Gödel s incompleteness theorem: n bits of axioms and rules of inference cannot enable one to prove what is the value of Σ(k) for any k greater than n + O(1). The proof of this fact is along the lines of the Berry paradox. Contrariwise, there is an n-bit axiom which does enable one to demonstrate what is the value of Σ(k) for any k less than n O(1). To get such an axiom, one either asks God for the number of programs less than n bits in size which halt, or one asks God for a specific n-bit program which halts and has the maximum possible running time or the maximum possible output before halting. Equivalently, the divine revelation is a conjecture kp(k) (withp of program-size complexity or algorithmic information content n) which is false and for which (the smallest counterexample i with P (i)) is as large as possible. Such an axiom would pack quite a wallop, but only in principle, because it would take about Σ(n) steps to deduce from it whether or not a specific program halts and whether or not a specific mathematical conjecture is true for all natural numbers. These considerations involving the Busy Beaver function are closely related to another fascinating noncomputable object, the halting probability of a universal Turing machine on random input, which I like to call Ω, and which is the subject of an essay by my colleague Charles Bennett that was published in the Mathematical Games department of Scientific American some years ago [4].

Computing the Busy Beaver Function 5 References [1] G. J. Chaitin, Randomness and mathematical proof, Scientific American 232, No. 5 (May 1975), 47 52. [2] M. Davis, What is a computation? in Mathematics Today: Twelve Informal Essays, L. A. Steen (ed.), Springer-Verlag, New York, 1978, 241 267. [3] D.R.Hofstadter,Gödel, Escher, Bach: an Eternal Golden Braid, Basic Books, New York, 1979. [4] M. Gardner, The random number Ω bids fair to hold the mysteries of the universe, Mathematical Games Dept., Scientific American 241, No. 5 (Nov. 1979), 20 34. [5] G. J. Chaitin, Algorithmic information theory, in Encyclopedia of Statistical Sciences, Volume 1, Wiley, New York, 1982, 38 41. [6] G. J. Chaitin, Gödel s theorem and information, International Journal of Theoretical Physics 22 (1982), 941 954. [7] A. K. Dewdney, A computer trap for the busy beaver, the hardest-working Turing machine, Computer Recreations Dept., Scientific American 251, No. 2 (Aug. 1984), 19 23.