More Polynomial Reduction
Circuit
Gates
- We can construct circuits from gates
e.g.
Theorm: A polynomial time alg. can be simlulated with a series of circuits , where correspondds to the alg. running on isntances of size
Proof:
In total bits get involved in the computation
- We can convert any algorithm to a circuit consisted of gates given a certain input bits
Circuit-SAT Example
- Is the circuit satisfiable by some truth assignments of the unkown inputs?
Consider:
Let be an instance of . . let the maximum size of the proof instances be , is a polynomial of . Thus, is simulated by a circuit.
Therefore we can say that
Theorem: Let . Then Corollary: Circuit-SAT is NPC
Theorem: Circuit-SAT 3SAT
Proof:
Cook-Levin Theorem: 3-SAT NPC
Set-Cover Problem
to find min numbe of subset to cover Can we find subsets to cover ?
Set-Packing
Find max number of subsets that do not overlap