Постоянная Чайтина

In the информатике subfield of алгоритмической теории информации в, a константа Чейтина, омега Чейтина,[1] or вероятность остановки is a действительное число that, informally speaking, represents the вероятность того that a randomly constructed program will остановится. These numbers are formed from a construction due to Грегори Чейтином.

Although there are infinitely many halting probabilities, one for each (universal, see below) 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 конструкцией Чейтина, when not referring to any specific encoding.

Каждая вероятность остановки представляет собой нормальное и трансцендентное действительное число, которое не поддается вычислению, а это значит, что не существует алгоритма для вычисления его цифр. Каждая вероятность остановки является случайной величиной Мартина-Лёфа, а это значит, что не существует даже алгоритма, который мог бы надежно угадать ее цифры.

Фон

Определение вероятности остановки основано на существовании универсальной вычислимой функции, не содержащей префиксов. Такая функция, интуитивно, представляет собой программу на языке программирования, обладающую свойством, что никакая допустимая программа не может быть получена в качестве корректного расширения другой допустимой программы.

Suppose that F is a частичная функция that takes one argument, a finite binary string, and possibly returns a single binary string as output. The function F is called вычислимой, if there is a машина Тьюринга 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 универсальной if 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 конкатенацию 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.

Областью определения функции F является множество всех входных данных p , на которых она определена. Для универсальных функций F такое множество p обычно можно рассматривать как конкатенацию программной части и части данных, а также как единую программу для функции 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 беспрефиксный код (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 формальной грамматики, while the other requires arbitrary computation to recognize.

Область определения любой универсальной вычислимой функции — это вычислимо перечислимое множество, но никогда не вычислимое множество. Область определения всегда эквивалентна проблеме остановки по Тьюрингу .

Определение

Let PF пусть будет областью определения универсальной вычислимой функции, не содержащей префиксов. FПостоянная ΩF затем определяется как

ΩF=∑p∈PF2−|p|,

where |p| denotes the length of a string p. This is an бесконечная сумма which has one summand for every p in the domain of F. The requirement that the domain be prefix-free, together with неравенством Крафта, ensures that this sum converges to a действительному числу 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 Ω.

Связь с проблемой остановки

Knowing the first N bits of Ω, one could calculate the проблему остановки 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 «ласточкин хвост» 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 has not 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.

Поскольку многие нерешенные проблемы теории чисел, такие как гипотеза Гольдбаха, эквивалентны решению проблемы остановки для специальных программ (которые, по сути, ищут контрпримеры и останавливаются, если таковые найдены), знание достаточного количества бит константы Чейтина также подразумевает знание ответа на эти проблемы. Но поскольку проблема остановки, как правило, неразрешима, вычисление любых битов константы Чейтина, кроме первых нескольких, невозможно для универсального языка. Это сводит сложные проблемы к неразрешимым, подобно попытке построить оракульную машину для решения проблемы остановки.

Интерпретация как вероятность

The Пространство Кантора is the collection of all infinite sequences of 0s and 1s. A halting probability can be interpreted as the меру of a certain subset of Cantor space under the usual вероятностной меры on Cantor space. It is from this interpretation that halting probabilities take their name.

Вероятностная мера в канторовском пространстве, иногда называемая мерой честной монеты, определяется таким образом, что для любой бинарной строки x набор последовательностей, начинающихся с x имеет меру 2−|x|Это означает, что для каждого натурального числа nнабор последовательностей f в канторовском пространстве таким образом, что f(n) = 1 имеет меру ⁠1/2⁠и набор последовательностей, у которых nЭлемент равен 0, также имеет меру. ⁠1/2⁠.

Пусть F — универсальная вычислимая функция, не содержащая префиксов. Область определения P функции F состоит из бесконечного множества двоичных строк.

P={p1,p2,…}.

Каждая из этих строк pi определяет подмножество Si пространство Кантора; декорации Si содержит все последовательности в канторовом пространстве, начинающиеся с piЭти множества не пересекаются, потому что P является множеством без префиксов. Сумма

∑p∈P2−|p|

представляет собой меру множества

⋃i∈ℕSi.

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 Именно. It is for this reason that ΩF is called a halting probability.

Характеристики

Каждая константа Чейтина Ω обладает следующими свойствами:

Not every set that is Turing equivalent to the halting problem is a halting probability. A Более тонкое equivalence relation, Solovay equivalence, can be used to characterize the halting probabilities among the left-c.e. reals.[4] 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.[4] Ω is among the few определяемых algorithmically random numbers and is the best-known algorithmically random number, but it is not at all typical of all algorithmically random numbers.[5]

Невычислимость

Действительное число называется вычислимым, если существует алгоритм, который, получив n , возвращает первые n цифр этого числа. Это эквивалентно существованию программы, которая перечисляет цифры действительного числа.

No halting probability is computable. The proof of this fact relies on an algorithm which, given the first n digits of Ω, solves Turing's , решает проблему остановки for programs of length up to n. Since the halting problem is неразрешима, Ω cannot be computed.

Алгоритм работает следующим образом. Дано первое n цифры Ω и а k ≤ nАлгоритм перечисляет область определения F до тех пор, пока не будет найдено достаточно элементов области определения, чтобы представляемая ими вероятность находилась в пределах 2−(k+1) of ΩПосле этого момента никаких дополнительных программ такой продолжительности не требуется. k могут находиться в данной области, поскольку каждый из них добавит 2−k к мере, что невозможно. Таким образом, множество строк длиной k В домене находится именно тот набор таких строк, который уже был перечислен.

Алгоритмическая случайность

A real number is random if the binary sequence representing the real number is an алгоритмически случайной последовательностью. Calude, Hertling, Khoussainov, and Wang showed[6] that a recursively enumerable real number is an algorithmically random sequence if and only if it is a Chaitin's Ω number.

Теорема о неполноте для вероятностей остановки

For each specific consistent effectively represented аксиоматической системы for the натуральных чисел, such as арифметика Пеано, there exists a constant N such that no bit of Ω after the Nth can be proven to be 1 or 0 within that system. The constant N depends on how the ​​формальная система is effectively represented, and thus does not directly reflect the complexity of the axiomatic system. This incompleteness result is similar to теореме Гёделя о неполноте in that it shows that no consistent formal theory for arithmetic can be complete.

Супер Омега

The first n bits of Грегори Чейтина's constant Ω are random or incompressible in the sense that they cannot be computed 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 перечисляемые first n bits of Ω are highly compressible in the sense that they are можно вычислить до предела by a very short algorithm; they are not случайными with respect to the set of enumerating algorithms. Юрген Шмидхубер constructed a limit-un-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.[7]

For an alternative "Super Ω", the вероятность универсальности of a без префиксов Тьюринга (UTM) – namely, the probability that it remains universal even when every input of it (as a двоичной строки) 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 проблемы остановки (i.e., O(3) using скачка Тьюринга notation).[8]

См. также

Ссылки

  1. ↑ Вайсстайн, Эрик В. «Постоянная Чайтина». Wolfram MathWorld . Дата обращения: 3 сентября 2024 г.
  2. ↑ Дауни и Хиршфельдт 2010, Теорема 6.1.3.
  3. ↑ Дауни и Хиршфельдт 2010, Теорема 5.1.11.
  4. 1 2 Дауни и Хиршфельдт 2010, с. 405.
  5. ↑ Дауни и Хиршфельдт 2010, стр. 228–229.
  6. ↑ Calude, Cristian S.; Hertling, Peter H.; Khoussainov, Bakhadyr; Wang, Yongge (1998). Recursively Enumerable Reals and Chaitin Ω numbers (PDF). STACS 98. Vol. 1373. Berlin, Heidelberg: Springer. pp. 596–606. Bibcode:1998LNCS.1373..596C. doi:10.1007/bfb0028594. ISBN 978-3-540-64230-5. S2CID 5493426. Archived (PDF) from the original on 19 January 2004. Retrieved 20 March 2022.
  7. ↑ Шмидхубер, Юрген (2002). "Hierarchies of generalized Kolmogorov complexities and nonenumerable universal measures computable in the limit". Международный журнал основ информатики. 13 (4): 587–612. arXiv:quant-ph/0011122. doi:10.1142/S0129054102001291.
  8. ↑ Barmpalias, G.; D. L., Dowe (2012). Cooper, Barry; Abramsky, Samson (eds.). «Вероятность универсальности префиксно-свободной машины». Философские труды Королевского общества А.. 370 (1): 3488–3511. Библиографический код:2012RSPTA.370.3488B. doi:10.1098/rsta.2011.0319. PMID 22711870.

Список использованной литературы

Источники

Соглашение О проекте Обратная связь
2026, Альфапедия. Список материалов:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25