Omega (computer science)
   HOME

TheInfoList



OR:

In the
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (includi ...
subfield of
algorithmic information theory Algorithmic information theory (AIT) is a branch of theoretical computer science that concerns itself with the relationship between computation and information of computably generated objects (as opposed to stochastically generated), such as str ...
, a Chaitin constant (Chaitin omega number) or halting probability is a
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
that, informally speaking, represents the
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and 1, where, roughly speakin ...
that a randomly constructed program will halt. These numbers are formed from a construction due to
Gregory Chaitin Gregory John Chaitin ( ; born 25 June 1947) is an Argentine-American mathematician and computer scientist. Beginning in the late 1960s, Chaitin made contributions to algorithmic information theory and metamathematics, in particular a computer-t ...
. Although there are infinitely many halting probabilities, one for each method of encoding programs, it is common to use the letter Ω to refer to them as if there were only one. Because Ω depends on the program encoding used, it is sometimes called Chaitin's construction when not referring to any specific encoding. Each halting probability is a
normal Normal(s) or The Normal(s) may refer to: Film and television * ''Normal'' (2003 film), starring Jessica Lange and Tom Wilkinson * ''Normal'' (2007 film), starring Carrie-Anne Moss, Kevin Zegers, Callum Keith Rennie, and Andrew Airlie * ''Norma ...
and transcendental real number that is not
computable Computability is the ability to solve a problem in an effective manner. It is a key topic of the field of computability theory within mathematical logic and the theory of computation within computer science. The computability of a problem is close ...
, which means that there is no
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
to compute its digits. Each halting probability is Algorithmically random sequence, Martin-Löf random, meaning there is not even any algorithm which can reliably guess its digits.


Background

The definition of a halting probability relies on the existence of a prefix-free universal computable function. Such a function, intuitively, represents a programming language with the property that no valid program can be obtained as a proper extension of another valid program. Suppose that ''F'' is a partial function that takes one argument, a finite binary string, and possibly returns a single binary string as output. The function ''F'' is called Computable function, computable if there is a Turing machine that computes it (in the sense that for any finite binary strings ''x'' and ''y,'' ''F(x) = y'' if and only if the Turing machine halts with ''y'' on its tape when given the input ''x''). The function ''F'' is called Computational universality, universal if the following property holds: for every computable function ''f'' of a single variable there is a string ''w'' such that for all ''x'', ''F''(''w'' ''x'') = ''f''(''x''); here ''w'' ''x'' represents the concatenation of the two strings ''w'' and ''x''. This means that ''F'' can be used to simulate any computable function of one variable. Informally, ''w'' represents a "script" for the computable function ''f'', and ''F'' represents an "interpreter" that parses the script as a prefix of its input and then executes it on the remainder of input. The Domain of a function, domain of ''F'' is the set of all inputs ''p'' on which it is defined. For ''F'' that are universal, such a ''p'' can generally be seen both as the concatenation of a program part and a data part, and as a single program for the function ''F''. The function ''F'' is called prefix-free if there are no two elements ''p'', ''p′'' in its domain such that ''p′'' is a proper extension of ''p''. This can be rephrased as: the domain of ''F'' is a prefix-free code (instantaneous code) on the set of finite binary strings. A simple way to enforce prefix-free-ness is to use machines whose means of input is a binary stream from which bits can be read one at a time. There is no end-of-stream marker; the end of input is determined by when the universal machine decides to stop reading more bits, and the remaining bits are not considered part of the accepted string. Here, the difference between the two notions of program mentioned in the last paragraph becomes clear; one is easily recognized by some grammar, while the other requires arbitrary computation to recognize. The domain of any universal computable function is a computably enumerable set but never a computable set. The domain is always Turing degree, Turing equivalent to the halting problem.


Definition

Let ''P''F be the domain of a prefix-free universal computable function ''F''. The constant ΩF is then defined as :\Omega_F = \sum_ 2^, where \left, p\ denotes the length of a string ''p''. This is an series (mathematics), infinite sum which has one summand for every ''p'' in the domain of ''F''. The requirement that the domain be prefix-free, together with Kraft's inequality, ensures that this sum converges to a
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
between 0 and 1. If ''F'' is clear from context then ΩF may be denoted simply Ω, although different prefix-free universal computable functions lead to different values of Ω.


Relationship to the halting problem

Knowing the first ''N'' bits of Ω, one could calculate the halting problem for all programs of a size up to ''N''. Let the program ''p'' for which the halting problem is to be solved be ''N'' bits long. In Dovetailing (computer science), dovetailing fashion, all programs of all lengths are run, until enough have halted to jointly contribute enough probability to match these first ''N'' bits. If the program ''p'' hasn't halted yet, then it never will, since its contribution to the halting probability would affect the first ''N'' bits. Thus, the halting problem would be solved for ''p''. Because many outstanding problems in number theory, such as Goldbach's conjecture, are equivalent to solving the halting problem for special programs (which would basically search for counter-examples and halt if one is found), knowing enough bits of Chaitin's constant would also imply knowing the answer to these problems. But as the halting problem is not generally solvable, and therefore calculating any but the first few bits of Chaitin's constant is not possible, this just reduces hard problems to impossible ones, much like trying to build an Oracle machine#Oracles and halting problems, oracle machine for the halting problem would be.


Interpretation as a probability

The Cantor space is the collection of all infinite sequences of 0s and 1s. A halting probability can be interpreted as the measure theory, measure of a certain subset of Cantor space under the usual probability measure on Cantor space. It is from this interpretation that halting probabilities take their name. The probability measure on Cantor space, sometimes called the fair-coin measure, is defined so that for any binary string ''x'' the set of sequences that begin with ''x'' has measure 2−, ''x'', . This implies that for each natural number ''n'', the set of sequences ''f'' in Cantor space such that ''f''(''n'') = 1 has measure 1/2, and the set of sequences whose ''n''th element is 0 also has measure 1/2. Let ''F'' be a prefix-free universal computable function. The domain ''P'' of ''F'' consists of an infinite set of binary strings :P = \. Each of these strings ''p''''i'' determines a subset ''S''''i'' of Cantor space; the set ''S''''i'' contains all sequences in cantor space that begin with ''p''''i''. These sets are disjoint because ''P'' is a prefix-free set. The sum :\sum_ 2^ represents the measure of the set :\bigcup_ S_i. In this way, Ω''F'' represents the probability that a randomly selected infinite sequence of 0s and 1s begins with a bit string (of some finite length) that is in the domain of ''F''. It is for this reason that Ω''F'' is called a halting probability.


Properties

Each Chaitin constant Ω has the following properties: * It is algorithmic randomness, algorithmically random (also known as Martin-Löf random or 1-random). This means that the shortest program to output the first ''n'' bits of Ω must be of size at least ''n'' − O(1). This is because, as in the Goldbach example, those ''n'' bits enable us to find out exactly which programs halt among all those of length at most ''n''. * As a consequence, it is a normal number, which means that its digits are equidistributed as if they were generated by tossing a fair coin. * It is not a computable number; there is no computable function that enumerates its binary expansion, as discussed below. * The set of rational numbers ''q'' such that ''q'' < Ω is computably enumerable set, computably enumerable; a real number with such a property is called a left-c.e. real number in recursion theory. * The set of rational numbers ''q'' such that ''q'' > Ω is not computably enumerable. (Reason: every left-c.e. real with this property is computable, which Ω isn't.) * Ω is an arithmetical number. * It is Turing degree, Turing equivalent to the halting problem and thus at level \Delta^0_2 of the arithmetical hierarchy. Not every set that is Turing equivalent to the halting problem is a halting probability. A equivalence relation#Comparing equivalence relations, finer equivalence relation, Solovay equivalence, can be used to characterize the halting probabilities among the left-c.e. reals. One can show that a real number in [0,1] is a Chaitin constant (i.e. the halting probability of some prefix-free universal computable function) if and only if it is left-c.e. and algorithmically random. Ω is among the few Definable real number, definable algorithmically random numbers and is the best-known algorithmically random number, but it is not at all typical of all algorithmically random numbers.


Uncomputability

A real number is called computable if there is an algorithm which, given ''n'', returns the first ''n'' digits of the number. This is equivalent to the existence of a program that enumerates the digits of the real number. No halting probability is computable. The proof of this fact relies on an algorithm which, given the first ''n'' digits of Ω, solves Turing's halting problem for programs of length up to ''n''. Since the halting problem is Undecidable problem, undecidable, Ω cannot be computed. The algorithm proceeds as follows. Given the first ''n'' digits of Ω and a ''k'' ≤ ''n'', the algorithm enumerates the domain of ''F'' until enough elements of the domain have been found so that the probability they represent is within 2−(''k''+1) of Ω. After this point, no additional program of length ''k'' can be in the domain, because each of these would add 2−''k'' to the measure, which is impossible. Thus the set of strings of length ''k'' in the domain is exactly the set of such strings already enumerated.


Algorithmic randomness

A real number is random if the binary sequence representing the real number is an algorithmically random sequence. Calude, Hertling, Khoussainov, and Wang showed that a recursively enumerable real number is an algorithmically random sequence if and only if it is a Chaitin's Ω number.


Incompleteness theorem for halting probabilities

For each specific consistent effectively represented axiomatic system for the natural numbers, such as Peano axioms, Peano arithmetic, there exists a constant ''N'' such that no bit of Ω after the ''N''th can be proven to be 1 or 0 within that system. The constant ''N'' depends on how the formal system is effectively represented, and thus does not directly reflect the complexity of the axiomatic system. This incompleteness result is similar to Gödel's incompleteness theorem in that it shows that no consistent formal theory for arithmetic can be complete.


Super Omega

As mentioned above, the first n bits of
Gregory Chaitin Gregory John Chaitin ( ; born 25 June 1947) is an Argentine-American mathematician and computer scientist. Beginning in the late 1960s, Chaitin made contributions to algorithmic information theory and metamathematics, in particular a computer-t ...
's constant Ω are random or incompressible in the sense that we cannot compute them by a halting algorithm with fewer than n-O(1) bits. However, consider the short but never halting algorithm which systematically lists and runs all possible programs; whenever one of them halts its probability gets added to the output (initialized by zero). After finite time the first n bits of the output will never change any more (it does not matter that this time itself is not computable by a halting program). So there is a short non-halting algorithm whose output converges (after finite time) onto the first n bits of Ω. In other words, the enumerable first n bits of Ω are highly compressible in the sense that they are limit-computable by a very short algorithm; they are not random with respect to the set of enumerating algorithms. Jürgen Schmidhuber (2000) constructed a limit-computable "Super Ω" which in a sense is much more random than the original limit-computable Ω, as one cannot significantly compress the Super Ω by any enumerating non-halting algorithm. For an alternative "Super Ω", the universality probability of a prefix-free code, prefix-free Universal Turing Machine (UTM) namely, the probability that it remains universal even when every input of it (as a binary string) is prefixed by a random binary string can be seen as the non-halting probability of a machine with oracle the third iteration of the halting problem (i.e., O^using Turing jump, Turing Jump notation).


See also

* Incompleteness theorem * Kolmogorov complexity


References


Works cited

* * * *
Introduction chapter full-text
* Preprint: Algorithmic Theories of Everything (arXiv: quant-ph/ 0011122)


External links


Aspects of Chaitin's Omega
Survey article discussing recent advances in the study of Chaitin's Omega.

article based on one written by
Gregory Chaitin Gregory John Chaitin ( ; born 25 June 1947) is an Argentine-American mathematician and computer scientist. Beginning in the late 1960s, Chaitin made contributions to algorithmic information theory and metamathematics, in particular a computer-t ...
which appeared in the August 2004 edition of Mathematics Today, on the occasion of the 50th anniversary of Alan Turing's death.
''The Limits of Reason''
Gregory Chaitin, originally appeared in Scientific American, March 2006.

and generalizations of algorithmic information, by Jürgen Schmidhuber {{Irrational number Algorithmic information theory Theory of computation Real transcendental numbers