The Halting Problems Flashcards

1
Q

How to study the notion of Computability:

A

Look at theoretical models (formalizations) of the intuitive notion of computability

Why?
Shows the limitations of what is computable

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

How to show that something is impossible:

A
  • We’ve seen that this can be done using arguments by contradiction.
  • But, to show that there is no computable / algorithmic solution for certain problems, we
    need to specify what counts as an computation / algorithm.
  • Once we have settled this, we can use it to derive contradictions. . .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can a TM do when stated on a given input x?

A

They can
1. halt / terminate: TM( x ) ↓
2. loop / run forever: TM( x ) ↑

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

How are TM recursively enumerable?

A

Only consists of a finite sequence of sumbols from a finite alphabet, they can be enumerated

(1) Assign them unique Godel numbers then list them in order of these numbers

(2) Try to come up with a way to generate all TMs

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

What is the Halting Set?

A

Given an emuration T0, T1, T2, … of TM, define the follow set of natural numbers: K

K is the set of indices of TM that halts if the input of their own index in the enumeration. The HALTING set

Note: T2(5) means that it is TM 2 running input 5

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

What is the big question (with the Halting Problem)?

A

Can you find a TM that decides for each number x ∃ ℕ, whether x ∃ K or x ∄ K?

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

Conclusion of the Halting Problem

And diagonization proof (by contradiction).

Claim: set K of natural numbers cannot be decided by a TM
Assumption: (for the sake of contradiction) There a exists a TM that decides the set K

A

Conclusion: There is no TM that decides for each number x ∃ ℕ, whether x ∃ K or x ∄ K

The Halting Problem is not computable by n TM.

By Turing’s Thesis, it is uncomputable

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

How can the set K be enumerated, by dovetailing?

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

Structure of a proof by diagonalization:

A
  1. Assume a claim about certain things.
  2. Make a list of all these things (the ‘table’).
  3. Define a new thing (of the same kind) using all the elements in this list.
  4. Derive a contradiction from the fact that this thing itself should be in the list.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly