






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Polynomial Computable function :
f
For any computes
in polynomial time
w
Language A is polynomial time reducible
to
language B if there is a polynomial
computable function such that:
3CNF formula:
( ) ( ) ( ) ( )
1 2 3 3 5 6 3 6 4 4 5 6
x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x ๏ x
Each clause has three literals
3SAT ={ : is a satisfiable
3CNF formula}
w w
Language:
Clique:
A 5-clique
LIQUE = { : contains a -clique}
๏ผ G , k ๏พ
G
k
A problem is NP-complete if:
It is in NP
Every NP problem is reduced to it
(in polynomial time)
Observation:
If we can solve any NP-complete problem
in Deterministic Polynomial Time (P time)
then we know:
P ๏ฝ NP
Cookโs Theorem:
The satisfiability problem is NP-complete
Proof:
Convert a Non-Deterministic Turing Machine
to a Boolean expression
in conjunctive normal form
Other NP-Complete Problems:
The Traveling Salesperson Problem
Vertex cover
Hamiltonian Path
All the above are reduced
to the satisfiability problem