Chaitin's Constant

栏目: IT技术 · 发布时间: 4年前

内容简介:In thecomputer science subfield ofAlthough 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 use

In thecomputer science subfield of algorithmic information theory , a Chaitin constant ( Chaitin omega number )or halting probability is areal number that, informally speaking, represents theprobability that a randomly constructed program will halt. These numbers are formed from a construction due toGregory Chaitin.

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 instead of Chaitin's constant when not referring to any specific encoding.

Each halting probability is anormal andtranscendental real number that is notcomputable, which means that there is noalgorithm to compute its digits. Indeed, each halting probability isMartin-Löf random, meaning there is not even any algorithm which can reliably guess its digits.

Contents

  • 3 Relationship to the halting problem
  • 4 Interpretation as a probability
  • 7 Algorithmic randomness
  • 8 Incompleteness theorem for halting probabilities

Background [ edit ]

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 apartial function that takes one argument, a finite binary string, and possibly returns a single binary string as output. The function F is called computable if there is aTuring 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 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 theconcatenation 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 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 aprefix-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. 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 acomputable set. The domain is alwaysTuring equivalent to thehalting problem.

Definition [ edit ]

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 aninfinite sum which has one summand for every p in the domain of F . The requirement that the domain be prefix-free, together withKraft's inequality, ensures that this sum converges to areal number 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 [ edit ]

Knowing the first N bits of Ω, one could calculate thehalting 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. Indovetailing 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 [ edit ]

TheCantor space is the collection of all infinite sequences of 0s and 1s. A halting probability can be interpreted as themeasure of a certain subset of Cantor space under the usualprobability 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 [ edit ]

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 anormal number, which means that its digits are equidistributed as if they were generated by tossing a fair coin.
  • It is not acomputable number; there is no computable function that enumerates its binary expansion, as discussed below.
  • The set ofrational numbers q such that q < Ω is computably enumerable ;a real number with such a property is called a left-c.e. real number inrecursion 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 anarithmetical number.
  • It isTuring equivalent to thehalting problem and thus at level of the arithmetical hierarchy .

Not every set that is Turing equivalent to the halting problem is a halting probability. Afiner 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 fewdefinable algorithmically random numbers and is the best-known algorithmically random number, but it is not at all typical of all algorithmically random numbers.

Uncomputability [ edit ]

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'shalting problem for programs of length up to n . Since the halting problem isundecidable, Ω cannot be computed.

The algorithm proceeds as follows. Given the first n digits of Ω and a kn , 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 [ edit ]

A real number is random if the binary sequence representing the real number is an algorithmically random sequence . Calude, Hertling, Khoussainov, and Wang showedthat 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 [ edit ]

For each specific consistent effectively representedaxiomatic system for thenatural numbers, such asPeano 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 theformal 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 [ edit ]

As mentioned above, the first n bits ofGregory Chaitin'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, theenumerable first n bits of Ω are highly compressible in the sense that they arelimit-computable by a very short algorithm; they are notrandom 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 aprefix-free Universal Turing Machine (UTM) – namely, the probability that it remains universal even when every input of it (as abinary 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 thehalting problem (i.e., usingTuring Jump notation).

See also [ edit ]

References [ edit ]

  1. mathworld.wolfram.com , Chaitin's Constant . Retrieved 28 May 2012
  2. Downey/Hirschfeld, Theorem 6.1.3
  3. Downey/Hirschfeld, Theorem 5.1.11
  4. Downey/Hirschfeldt, p.405
  5. Downey/Hirschfeld, p.228-229
  6. Calude, Hertling, Khoussainov, and Wang: Recursively enumerable reals and Chaitin's Ω numbers. Theoretical Computer Science 255:125–149, (2001) http://webpages.uncc.edu/yonwang/papers/TCS01.pdf
  7. Barmpalias, G. and Dowe D.L. (2012). "Universality probability of a prefix-free machine". Philosophical Transactions of the Royal Society A . 370 (1): 3488–3511 (Theme Issue 'The foundations of computation, physics and mentality: the Turing legacy' compiled and edited by Barry Cooper and Samson Abramsky).doi: 10.1098/rsta.2011.0319 . PMID   22711870 .
  • Cristian S. Calude (2002). Information and Randomness: An Algorithmic Perspective , second edition. Springer.ISBN  3-540-43466-6
  • Cristian S. Calude, Michael J. Dinneen, and Chi-Kou Shu. Computing a Glimpse of Randomness .
  • R. Downey, and D. Hirschfeldt (2010), Algorithmic Randomness and Complexity , Springer-Verlag.
  • Ming Li and Paul Vitányi (1997). An Introduction to Kolmogorov Complexity and Its Applications . Springer. Introduction chapter full-text .
  • Jürgen Schmidhuber (2000). Algorithmic Theories of Everything (arXiv: quant-ph/ 0011122). Journal reference: J. Schmidhuber (2002). Hierarchies of generalized Kolmogorov complexities and nonenumerable universal measures computable in the limit. International Journal of Foundations of Computer Science 13(4):587-612.

External links [ edit ]


以上所述就是小编给大家介绍的《Chaitin's Constant》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

趋势红利

趋势红利

刘润 / 文化发展出版社(原印刷工业出版社) / 2016-6-1 / 45.00

【编辑推荐】 1、国内顶尖的互联网转型专家,海尔、百度等知名企业战略顾问刘润送给传统企业的转型、创新“导航仪”,这个时代企业家的必修课 站在近200年商业全景图角度,刘润发现三种企业类型(产品型、渠道型、营销型),针对不同企业类型定制转型战略(找到自己的未来红利),方便 传统企业对号入座:不走错路就是节省时间,适合自己的最有效率。 本书内容还源自芬尼克兹、红领集团、名创优品、必要......一起来看看 《趋势红利》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具