Q. CNF Satisfiability Problem. (=CNF-SAT =Circuit Satisfiability) Given a conjunctive normal form, is there a way to set the variables to or such that the formula evaluates to ?
- Literal: or
- Clause: a set of
or
-connected literals
thm. Cooke-Levin Theorem. The Boolean Satisfiability problem is NP-complete.
- The first problem to be determined to be NP-complete.
Q. 3-Satisfiability Problem. (3-SAT)
- The CNF-SAT problem, but every set of ORs has only three variables
- 3-SAT 4-SAT
alg. Reduction CNF-SAT 3-SAT
- Idea: ……(1)
- Construction
- variables that satisfies where is a clause
- constructed to satisfy (1).
- (obviously)
- New variables thus has variables
- CNF-SAT ⇒ 3-SAT
- let that satisfies . Then these values will satisfy regardless of ’s values, so choose them arbitrarily. These values satisfy
- 3-SAT ⇒ CNF-SAT
- let that satisfies . Then will satisfy .
- Thus proven.
Q. DNF Satisfiability Problem. Given a disjunctive normal form, is there a way to set the variables to or such that the formula evaluates to ?
- Exists a Polynomial time algorithm
- Only one clause need be satisfied
Q. Tautology. Given a Boolean formula , is always regardless of what the variables are set to?
- The verification procedure for itself is NP-Complete, and it is exactly the CNF Satisfiability problem
- The verification procedure for is also NP-hard
- The whole problem is not in NP (and is Co-NP Complete)