day 26 4/20/98
The CNF problem can be transformed into a clique problem by a polynomial transformation. This means, CNFSat £ pmClique or 'CNFSat reduces to clique'.
A common goal in complexity theaory is reducing one problem to another in polynomial time. Basically, by reducing known NP-complete problem X to problem Y by a polynomial transformation. Then Y is 'at least as hard as X' which mean Y is NP-hard.
The Clique problem can als be reduced to the CNF problem, implying Clique £ mpCNF . So
Clique º mpCNF
If a problem is NP-Complete then every NP problem can reduce to it.
The big question in computer science is 'does NP = P '?
factoring is in Co-NP and NP .
We have CNFSat ³ pm3CNFSat automatically. So, let's show CNFSat £ pm3CNFSat
Using the resolution rule, CNFSat can be reduced to 3CNFSat by repeated application.
2CNF is easy to solve. x1Úx2 means [`(x1)]Þ x2 so the terms of 2CNF can be turned into a graph of implications on which it is easy to solve the 2CNF problem. In fact, it can be solved in linear time.
The reduction is done by solving the complement of the graph.
All of the nodes not in the vertex cover are in the independent set.
Vertex Cover º mp Independent Set
(x1Ú[`(x2)]Úx3Ú[`(x4)]Úx5)Ù...
Draw a graph where every variable is forced to be 'red' or 'green'. Then build a graph with several constraints.