Chosen topics Flashcards

1
Q

Rice’s theorem

A

You can’t declare any non trivial declaration about a programs functionality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Proving undecidability using Rice’s theorem

A

Declare the language as an index group of a group game. Then show that game is non trivial (has at least one function in it and at least one that is not). Generally, if there is reference to how the program is written, than you can’t prove using this.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Proving unacceptable using Rice’s theorem

A

If in addition to rice’s theorem terms, ℎ(𝑥)∈Γ (the empty functions, never stops) then you can prove that it is unacceptable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The game of life (rules)

A
  1. Infinite grid
  2. A living cell with less than two living neighbors will die from loneliness.
  3. A living cell with more than three living neighbors will die from density.
  4. A dead cell with exactly 3 neighbors will be born.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The game of life (power)

A
  1. A model equivalent to a Turing machine.
  2. Given a state of the world there is no predicting if the population will be extinct or not.
  3. The problem is equivalent to the halting problem.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Short Hebrew number

A

A short Hebrew number is any natural number that can be described in under 100 characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Berry’s paradox

A

“The smallest number that is not a short Hebrew number”. the paradox is that it is since you can describe it in less than 100 letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to describe a binary number (M,w) so that x=M(w)

A

We double each character in M and than operate M and w using 0: M=11010 ו- w=0101(M,w)=1111001100010101

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Kolmogorov complexity

A

The shortest description of a word x: d(x)
The Kolmogorov complexity of a word: k(x) = |d(x)|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Kolmogorov complexity rules

A

∃c∀x[k(x) ≤ |x| + c]

∃c∀x[k(xx) ≤ k(x) + c]

∃c∀x,y[k(xy) ≤ 2k(x) + k(y) + c]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Kolmogorov complexity definitions (compressible and un compressible)

A
  1. x is compressible by factor c if k(x) ≤ |x| - c
  2. x is incompressible if it isn’t compressible by a factor of 1.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

For every number n there are strings of length n which are not compressible

A

there are only 2^n strings of length n. and 2^n - 1shorter strings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

x is compressible is acceptable but undecidable (proof)

A

acceptable: Given a string x we will guess a shorter string y which is a description of (M,w). If the machine stopped and x is on the strip we are done. If not try again.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why is berry’s paradox wrong?

A

Berry’s paradox assumes that you can decide if a word has a compression or not. Which is not possible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly