Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.
Transcript of Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.
![Page 1: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/1.jpg)
Computability
Kolmogorov-Chaitin-Solomonoff. Other topics.
Homework: Prepare presentations.
![Page 2: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/2.jpg)
Information• Shannon definition: series of (binary) choices.
Information in measured in bits.• Computability definition: Let x be a binary string.
A minimal description of x, d(x) is the shortest string,<M,w>, where Turing Machine M on input w halts with x on the tape. The descriptive complexity (aka Kolmogorov or Kolmogorov-Chaitin complexity) is K(x) = |d(x)|– the length of this shortest string.– Note: there may be more than one.
![Page 3: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/3.jpg)
Informally• Suppose we have a string consisting of 100
groups of '0110'. This is a description and it seems like it would be shorter than writing out the whole string.
• The formal description includes the TM (or program) that knows what to do with 100 groups of something. The [full] minimal description consists of this TM plus an encoding of 100 groups, 0110. – Program that takes description and produces string.
• This definition requires a TM for even the definition that is the whole string.
![Page 4: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/4.jpg)
Common example
• Mandelbrot fractals are very intricate patterns and yet can be produced (re-produced?) by simple computer programs.
![Page 5: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/5.jpg)
Claim
• There exists a constant c, such that for all x, K(x)<= |x| + c.– intuitively: take a fixed TM that halts
immediately. Then it halts with the string x on it.
• There exists a constant c, such that for all x and y, K(xy)<=2K(x) + K(y)+c
![Page 6: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/6.jpg)
Incompressible strings
• Definitions: a string x is c-compressible if K(x)<=|x|-c.– If x is not c-compressible, x is incompressible
by c.– If x is incompressible by 1, x is
incompressible.
![Page 7: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/7.jpg)
Incompressible strings exist!
• The number of strings of length n is greater than the number of descriptions of length less than n. So, some string of length n is not described by any description of length less than n.
![Page 8: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/8.jpg)
K(x) is not computable!
• [and not because the definition is tied to any one of several models of computing]– See http://
en.wikipedia.org/wiki/Kolmogorov_complexity It is a Halting Problem type of proof.
![Page 9: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/9.jpg)
Berry Paradox
• Let n be the smallest positive integer that cannot be defined in fewer than twenty English words. – oops!
• Relates also to Godel incompleteness results.
![Page 10: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/10.jpg)
Recursion Theorem
also called fixed point theorem.• There exists a program that prints itself.• General strategy: create constant that
represents working part of program and write program that prints out constant.– See Logo example in Shai lectures.– c# example next slide:
http://igoro.com/archive/how-to-write-a-self-printing-program/
![Page 11: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/11.jpg)
c# example
May need to force to be in two lines
class P{static void Main(){var S="class P{{static void Main(){{var S={1}{0}{1};System.Console
.Write(S,S,'{1}');}}}}";System.Console.Write(S,S,'"');}}
![Page 12: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/12.jpg)
finish Breaking the code
• Discussion
![Page 13: Computability Kolmogorov-Chaitin-Solomonoff. Other topics. Homework: Prepare presentations.](https://reader035.fdocuments.in/reader035/viewer/2022080917/56649eb75503460f94bc190a/html5/thumbnails/13.jpg)
Homework
• Prepare presentations!