Difference between revisions of "Chaitin's construction"

From HaskellWiki
Jump to navigation Jump to search
m (Spell-check with ispell)
m (Putting verb in a sentence which consisted only of a huge noun phrase)
Line 6: Line 6:
 
This question leads us to [[exact real arithmetic]], foundations of [[mathematics]] and [[computer science]].
 
This question leads us to [[exact real arithmetic]], foundations of [[mathematics]] and [[computer science]].
   
Wikipedia article on [http://en.wikipedia.org/wiki/Chaitin%27s_constant Chaitin's construction], referring to e.g.
+
See Wikipedia article on [http://en.wikipedia.org/wiki/Chaitin%27s_constant Chaitin's construction], referring to e.g.
 
* [http://www.expmath.org/expmath/volumes/11/11.3/Calude361_370.pdf Computing a Glimpse of Randomness] (written by Cristian S. Calude, Michael J. Dinneen, and Chi-Kou Shu)
 
* [http://www.expmath.org/expmath/volumes/11/11.3/Calude361_370.pdf Computing a Glimpse of Randomness] (written by Cristian S. Calude, Michael J. Dinneen, and Chi-Kou Shu)
 
* [http://www.plus.maths.org.uk/issue37/features/omega/index.html Omega and why math has no TOEs] (Gregory Chaitin).
 
* [http://www.plus.maths.org.uk/issue37/features/omega/index.html Omega and why math has no TOEs] (Gregory Chaitin).

Revision as of 14:01, 3 August 2006

Introduction

Are there any real numbers which are defined exactly, but cannot be computed? This question leads us to exact real arithmetic, foundations of mathematics and computer science.

See Wikipedia article on Chaitin's construction, referring to e.g.

Basing it on combinatory logic

Some more direct relatedness to functional programming: we can base on combinatory logic (instead of a Turing machine), see the prefix coding system described in Binary Lambda Calculus and Combinatory Logic (page 20) written by John Tromp:

of course, , are meta-variables, and also some other notations are changed slightly.

Now, Chaitin's construction will be here

where

should denote an unary predicate “has normal form” (“terminates”)
should mean an operator “decode” (a function from finite bit sequences to combinatory logic terms)
should denote the set of all finite bit sequences
should denote the set of syntactically correct bit sequences (semantically, they may either terminate or diverge), i.e. the domain of the decoding function, i.e. the range of the coding function. Thus,
“Absolute value”
should mean the length of a bit sequence (not combinatory logic term evaluation!)

Here, is a partial function (from finite bit sequences). If this is confusing or annoying, then we can choose a more Haskell-like approach, making a total function:

 dc :: [Bit] -> Maybe CL

then, Chaitin's construction will be

where should denote false truth value.

Related concepts

To do

Writing a program in Haskell -- or in combinatory logic:-) -- which could help in making conjectures on combinatory logic-based Chaitin's constructions. It would make only approximations, in a similar way that most Mandelbrot plotting softwares work: it would ask for a maximum limit of iterations.

chaitin --computation=cl --coding=tromp --limit-of-iterations=5000 --digits=10 --decimal