Satisfiable
High school
Consider a statement built from letters $p, q, r, \dots$ that each stand for a whole statement, such as $p \land \neg q$ (“$p$ and not $q$”). The statement is satisfiable if some choice of true or false for each of the letters makes the statement true.
Undergraduate (propositional logic)
A propositional formula $\varphi$ is satisfiable if some truth assignment on the variables of $\varphi$ makes $\varphi$ true. Such a truth assignment is said to satisfy $\varphi$.
Examples
Examples
-
$p \land \neg q$ is satisfiable, because the truth assignment that makes $p$ true and $q$ false makes $p \land \neg q$ true.
-
$p \lor \neg p$ is satisfiable, because the truth assignment that makes $p$ true makes $p \lor \neg p$ true.
Non-examplesThings that may be mistaken for examples of this term.
-
$p \land \neg p$ is not satisfiable, because $p$ and $\neg p$ have opposite truth values under every truth assignment, so $p \land \neg p$ is false under both truth assignments on $p$.
Properties
- A propositional formula is satisfiable if and only if some row of its truth table gives the value true.
- Every tautology is satisfiable, but a satisfiable formula need not be a tautology: $p \land \neg q$ is satisfiable and is not a tautology.
- A propositional formula $\varphi$ is satisfiable if and only if $\neg \varphi$ is not a tautology.
- A set of propositional formulas is satisfiable if some truth assignment makes every formula in the set true.
- Deciding whether a propositional formula is satisfiable is the Boolean satisfiability problem (SAT), the first problem shown to be NP-complete (the Cook–Levin theorem).
Notes
A formula that is not satisfiable is called unsatisfiable, and in propositional logic it is also called a contradiction.
In first-order logic, a sentence is satisfiable if some interpretation makes the sentence true.
All definitions · All distinctions · All examples · Notation