Lecture 6 - Polynomial Time Reductions Flashcards

1
Q

What is a polynomial time reduction?

A

a mapping from one decision problem to another such that:

for every instance f(problem 1) of problem 2 can be constructed in poly-time

(instance of problem 2 can be constructed in polytime)

f(problem 1) is a yes instance of problem 2 if and only if problem 1 is a yes instance

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

What is the way to write PTRs?

A

PROBLEM 1 ∝ PROBLEM 2

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

What is the transitivity property of ptrs?

A

reduciton from 1 to 2 and 2 to 3 means that 1 can be reduced to 3

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

Does the thing we reduce to have the same answer as the original instance?

A

yes (either yes or no)

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

What is the relevance property of PTRs?

A

p1 ∝ p2

  • this means p1 is no harder than p2
    if p2 is in P, then p1 must be in P
  • if we can solve p2 then we can solve p1 without much extra effort
  • p2 could be hrader to solve (we only map to easy to solve instances of p2)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What can we reduce?

A

Any np-complete problem can be reduced to another.

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