L8 - Further Undecidable Problems Flashcards

1
Q

What is Problem Reduction?

A

Technique of reducing a problem A to problem B such that a solution to B can be used to solve A.

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

How does Problem Reduction relate to decidability?

A

If A reduces to B, and B is decidable, then A is also decidable.

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

How does Problem Reduction and the Halting Problem help classify decidability of problems?

A

If the Halting Problem is undecidable, through problem reduction we can verify that other problems are also undecidable.

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

What is the Totality Problem?

A

Is there a universal program that can determine whether another program halts for all inputs.

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

What is the relationship between the Totality and Halting Problems?

A

The Halting Problem is reducible to the Totality Problem. If we solve the Totality Problem, it means M halts on all X, thus M halts on X.

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

Define the Equivalence Problem…

A

Given 2 Turing machines, determine whether they compute the same function. I.e both machines halt or not for an input.

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

Why is the Totality Problem reducible to the Equivalence Problem?

A

Program T is true if P halts on D. Program U always returns true.

If T==U, then P halts on all inputs.

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

What is Rices theorem…

A

Any functional property of a program is undecidable.

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

What is the implication of Rices Theorem?

A

There exists no verification tool that can be sure that a program meets its technical specification.

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

What are the 4 ways to deal with undecidability in Program Verification?

A

Approximation algorithms

Probabilistic arguments -> Test on a subset to gauge probability

Less automation

Simplify problems

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