Complexity - Time Flashcards
Define the classes: P, NP, and EXPTIME
The class P is closed under what operations?
P is closed under all (classic) operations.
Define a polynomial reduction
How could you prove that a language is in P using the polynomial reduction theorem?
What does it mean that a language L is NP-hard)
It means that if you can solve L (in polynomial time) then you could solve every language in NP (in polynomial time).
Define: a language L in NP-Complete.
Define the language K-SAT
What is the Cook-Levin Theorem?
What have mapping reductions to ATM?
For every L in RE there s a mapping reduction to ATM.
NP belongs to what class?
NP belongs to RE (and to coRE and to R).
What is the proof that Atm is NP-Hard?
Note - It is NP-Hard. This doesn’t mean that it is in NP.
Define the language CLIQUE.
To what class does it belong?
How is this proven?
CLIQUE also belongs to NPC
What is the language IS?
To what class does it belong?
Proof by reduction from CLIQUE
What is the language VC?
To what class does it belong?
Proof by reduction from IS.
What is the language DS?
To what class does it belong?
What is the language SubsetSum?
To what class does it belong?
What are the 6 languages related to the notion of Hamiltonian paths?
To what class do they belong?
Please define the class coNP.
Define: A language L is coNP-Hard / coNP-Complete.