Computer science Computational complexity: resources and classes Problem
Boolean satisfiability problem
Builds on Propositional logicSatisfiabilityConjunctive normal formNPP
Problem
Let be propositional variables. An input is a formula of propositional logic in the variables , written as a string over a finite alphabet. The Boolean satisfiability problem SAT asks whether is satisfiable. That is, it asks whether some assignment of the values true and false to makes true. Often the input is restricted to formulas in conjunctive normal form, a conjunction of clauses, each a disjunction of literals. For , the problem -SAT is SAT for formulas in conjunctive normal form whose clauses have at most literals.
Remarks
SAT lies in NP, since a satisfying assignment is a certificate that can be checked in time polynomial in the length of . By the Cook–Levin theorem, SAT is NP-complete, and so is 3-SAT. In contrast, 2-SAT lies in P: it reduces to finding strongly connected components of a directed graph built from the clauses. Trying all assignments decides SAT, and no algorithm is known that runs in polynomial time on all inputs. Modern SAT solvers, based on backtracking with clause learning, nevertheless solve many large instances from practice.
Example: is satisfiable, with and both true. The formula is not satisfiable.
Reading path
To understand this page from the ground up, read these 12 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Conjunctive normal form concept
- NP concept
- P concept
- Proposition concept
- Satisfiability concept
- Conjunction definition
- Disjunction definition
- Implication definition
- Negation definition
- Biconditional definition
- Propositional logic concept
- Boolean satisfiability problem problem
Where this leads
8 pages build on this one.
Further reading
About this page
| Tag | 3QKF32ZAKN |
|---|---|
| URI | m2://3QKF32ZAKN |
| Kind | problem |
| Writing | W0 stub |
| MSC | 68Q17, 03B05 |
| Status | This copy of the site has no build data. Run m2 status 3QKF32ZAKN. |
| About | Satisfiability |
| Uses | Propositional logic, Satisfiability, Conjunctive normal form, NP, P |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.