9.3 NP vs Co-NP Flashcards

1
Q

What is the complement of a decision problem

And how does it impact NP and cook reductions

A
  • A negation of the problem (ie yes instances become no instance)
  • Is satisfiable => is unsatisfiable
  • Cook reductions still work (can just negate output)
  • Doesn’t imply NP as the witness is the bottleneck
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Co-NP

A
  • Set of decision problem’s whose compliment is in NP
  • Note every compliment of an NP problem is necessarily in Co-NP since not not cancels out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Karp reduction (and how does it differ from and equate to a cook reduction)

A
  • Karp reduction implies that X is a special case of Y. Ie can construct a single Y instance from an X instance
  • Both have to be Yes instances
  • Mapping f: X -> Y has to be polynomial
  • Must both be decision problems
  • Karp reduction implies a cook reduction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does it mean for a problem to be NP hard/complete under Karp reductions

A
  • Every problem is Karp reducable to it
  • Is also in NP (for complete)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does it mean for a problem to be Co-NP hard/complete under Karp reductions

A
  • Every problem is Karp reducable to it
  • Is also in NP (for complete)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Are most of the reductions we studied also Karp reductions?

A

Yes. Mapping once instance to another.

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

Are cook and karp reductions the same? Which is commonly used for Hard vs Complete?

A
  • No. But most of the time they are. Ie some problems where cook doesn’t imply karp (but not vice versa)
  • Hard = Cook. Complete = Karp (and thus Karp hard too).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly