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
Martin-Löf random
Intuitively, an algorithmically random sequence (or random sequence) is a sequence of binary digits that appears random to any algorithm running on a (prefix-free or not) universal Turing machine. The notion can be applied analogously to sequenc ...
, 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
In mathematics, a partial function from a set to a set is a function from a subset of (possibly itself) to . The subset , that is, the domain of viewed as a function, is called the domain of definition of . If equals , that is, if is de ...
that takes one argument, a finite binary string, and possibly returns a single binary string as output. The function ''F'' is called
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 ...
if there is a
Turing machine
A Turing machine is a mathematical model of computation describing an abstract machine that manipulates symbols on a strip of tape according to a table of rules. Despite the model's simplicity, it is capable of implementing any computer algori ...
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
universal
Universal is the adjective for universe.
Universal may also refer to:
Companies
* NBCUniversal, a media and entertainment company
** Universal Animation Studios, an American Animation studio, and a subsidiary of NBCUniversal
** Universal TV, a ...
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
In formal language theory and computer programming, string concatenation is the operation of joining character strings end-to-end. For example, the concatenation of "snow" and "ball" is "snowball". In certain formalisations of concatenat ...
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
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
**Domain of definition of a partial function
**Natural domain of a partial function
**Domain of holomorphy of a function
* Do ...
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 A prefix code is a type of code system distinguished by its possession of the "prefix property", which requires that there is no whole code word in the system that is a prefix (initial segment) of any other code word in the system. It is trivially ...
(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
In computability theory, a set ''S'' of natural numbers is called computably enumerable (c.e.), recursively enumerable (r.e.), semidecidable, partially decidable, listable, provable or Turing-recognizable if:
*There is an algorithm such that th ...
but never a
computable set
In computability theory, a set of natural numbers is called computable, recursive, or decidable if there is an algorithm which takes a number as input, terminates after a finite amount of time (possibly depending on the given number) and correctly ...
. The domain is always
Turing equivalent to the
halting problem
In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run forever. Alan Turing proved in 1936 that a ...
.
Definition
Let ''P''
F be the domain of a prefix-free universal computable function ''F''. The constant Ω
F is then defined as
:
,
where
denotes the length of a string ''p''. This is an
infinite sum
In mathematics, a series is, roughly speaking, a description of the operation of adding infinitely many quantities, one after the other, to a given starting quantity. The study of series is a major part of calculus and its generalization, math ...
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
In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run forever. Alan Turing proved in 1936 that a ...
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 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 for the halting problem would be.
Interpretation as a probability
The
Cantor space In mathematics, a Cantor space, named for Georg Cantor, is a topological abstraction of the classical Cantor set: a topological space is a Cantor space if it is homeomorphic to the Cantor set. In set theory, the topological space 2ω is called "the ...
is the collection of all infinite sequences of 0s and 1s. A halting probability can be interpreted as the
measure
Measure may refer to:
* Measurement, the assignment of a number to a characteristic of an object or event
Law
* Ballot measure, proposed legislation in the United States
* Church of England Measure, legislation of the Church of England
* Mea ...
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
:
.
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
:
represents the measure of the set
:
.
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
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
In mathematics, a real number is said to be simply normal in an integer base b if its infinite sequence of digits is distributed uniformly in the sense that each of the b digit values has the same natural density 1/b. A number is said to b ...
, which means that its digits are equidistributed as if they were generated by tossing a fair coin.
* It is not a
computable number
In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm. They are also known as the recursive numbers, effective numbers or the computable reals or recursive ...
; there is no computable function that enumerates its binary expansion, as discussed below.
* The set of
rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all rat ...
s ''q'' such that ''q'' < Ω is
computably enumerable
In computability theory, a set ''S'' of natural numbers is called computably enumerable (c.e.), recursively enumerable (r.e.), semidecidable, partially decidable, listable, provable or Turing-recognizable if:
*There is an algorithm such that the ...
; a real number with such a property is called a left-c.e. real number in
recursion theory
Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has sinc ...
.
* 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 equivalent to the
halting problem
In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run forever. Alan Turing proved in 1936 that a ...
and thus at level
of the
arithmetical hierarchy
In mathematical logic, the arithmetical hierarchy, arithmetic hierarchy or Kleene–Mostowski hierarchy (after mathematicians Stephen Cole Kleene and Andrzej Mostowski) classifies certain sets based on the complexity of formulas that define th ...
.
Not every set that is Turing equivalent to the halting problem is a halting probability. A
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
,1is 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 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
In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run forever. Alan Turing proved in 1936 that a ...
for programs of length up to ''n''. Since the halting problem is
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
Intuitively, an algorithmically random sequence (or random sequence) is a Sequence#Infinite sequences in theoretical computer science, sequence of binary digits that appears random to any algorithm running on a (prefix-free or not) universal Turi ...
. 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
In mathematics and logic, an axiomatic system is any set of axioms from which some or all axioms can be used in conjunction to logically derive theorems. A theory is a consistent, relatively-self-contained body of knowledge which usually contains ...
for the
natural numbers, such as
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
A formal system is an abstract structure used for inferring theorems from axioms according to a set of rules. These rules, which are used for carrying out the inference of theorems from axioms, are the logical calculus of the formal system.
A form ...
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
In common usage, randomness is the apparent or actual lack of pattern or predictability in events. A random sequence of events, symbols or steps often has no order and does not follow an intelligible pattern or combination. Individual ra ...
with respect to the set of enumerating algorithms.
Jürgen Schmidhuber
Jürgen Schmidhuber (born 17 January 1963) is a German computer scientist most noted for his work in the field of artificial intelligence, deep learning and artificial neural networks. He is a co-director of the Dalle Molle Institute for Artifi ...
(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
Universality probability is an abstruse probability measure in computational complexity theory that concerns universal Turing machines.
Background
A Turing machine is a basic model of computation. Some Turing machines might be specific to d ...
of a
prefix-free Universal Turing Machine
In computer science, a universal Turing machine (UTM) is a Turing machine that can simulate an arbitrary Turing machine on arbitrary input. The universal machine essentially achieves this by reading both the description of the machine to be simu ...
(UTM) namely, the probability that it remains universal even when every input of it (as a
binary string
In computer programming, a string is traditionally a sequence of characters, either as a literal constant or as some kind of variable. The latter may allow its elements to be mutated and the length changed, or it may be fixed (after creation). ...
) 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
In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run forever. Alan Turing proved in 1936 that a ...
(i.e.,
using
Turing Jump notation).
See also
*
Incompleteness theorem
Complete may refer to:
Logic
* Completeness (logic)
* Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable
Mathematics
* The completeness of the real numbers, which implies t ...
*
Kolmogorov complexity
In algorithmic information theory (a subfield of computer science and mathematics), the Kolmogorov complexity of an object, such as a piece of text, is the length of a shortest computer program (in a predetermined programming language) that produ ...
References
Works cited
*
*
*
*
Introduction chapter full-text
* Preprint: Algorithmic Theories of Everything (arXiv: quant-ph/ 0011122)
External links
Aspects of Chaitin's OmegaSurvey 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
Jürgen Schmidhuber (born 17 January 1963) is a German computer scientist most noted for his work in the field of artificial intelligence, deep learning and artificial neural networks. He is a co-director of the Dalle Molle Institute for Artifi ...
{{Irrational number
Algorithmic information theory
Theory of computation
Real transcendental numbers