~/ learn/ comp-372/ cards/ NP-completeness & approximation proof drills
1 of 5

Type the two-step NP-completeness proof template

Type the two-step NP-completeness proof template

Answer

1. X in NP: give a certificate + poly-time verifier 2. X NP-hard: pick KNOWN-NPC Y, reduce Y <=p X - f is poly-time computable - y in Y <=> f(y) in X (both directions)

Step 1 is usually easy (describe what to check). Step 2 is the real work: the reduction goes FROM the known-hard problem INTO X, and you must prove the biconditional in both directions.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/20484ca9-b406-4073-9a22-d2f21b6b7dd4/flashcard utf-8 LF