Resolution in logic is a single inference rule that combines two clauses containing complementary literals into a new clause, and resolution theorem proving applies it repeatedly to show that a set of formulas is unsatisfiable. In Symbolic AI & reasoning, it is the classic engine behind automated theorem proving and the theoretical foundation of logic programming languages such as Prolog.
The resolution principle was introduced by John Alan Robinson in 1965. Its importance lies in a rare combination: one rule, applied to formulas in a uniform clausal form, is sound and refutation-complete for first-order logic. Not to be confused with image or display resolution, which is a separate concept in video.
How the resolution rule derives new clauses
The resolution rule takes two clauses, finds a literal in one and its negation in the other, and produces a resolvent that contains all remaining literals of both. From the clauses P ∨ Q and ¬Q ∨ R, resolution derives P ∨ R, because whichever truth value Q takes, either P or R must hold.
In propositional logic, complementary literals must match exactly. In first-order logic, literals such as Loves(x, Mary) and ¬Loves(John, y) match only after unification, which computes the most general unifier (here x = John, y = Mary) and applies it to the whole resolvent. Combining unification with the propositional rule is what made Robinson’s method practical.
The following table shows the elementary operations a resolution prover performs and what each contributes.
| Operation | Input | Output | Purpose |
|---|---|---|---|
| Binary resolution | Two clauses with complementary literals | One resolvent | Main inference step |
| Unification | Two first-order literals | Most general unifier | Makes literals complementary |
| Factoring | Clause with unifiable literals | Shorter clause | Needed for completeness |
| Subsumption | Two clauses | Deleted redundant clause | Keeps the search space small |
| Tautology deletion | Clause with P and ¬P | Removed clause | Discards useless clauses |
Refutation and conversion to clausal form
Resolution proves a goal by refutation: to show that a knowledge base entails a formula, the prover adds the negated goal and tries to derive the empty clause, written □. The empty clause is a contradiction, so its derivation shows that the premises plus the negated goal cannot all be true, which means the goal follows.
Before any step can run, every formula must be converted into conjunctive normal form, a conjunction of clauses that are disjunctions of literals. The conversion follows a fixed pipeline, and the Skolemization step is the one that most often confuses newcomers, because it removes existential quantifiers by introducing Skolem functions while preserving satisfiability, not logical equivalence.
| Step | What changes | Example effect |
|---|---|---|
| Eliminate implications | A → B becomes ¬A ∨ B | Only ∧, ∨, ¬ remain |
| Push negation inward | De Morgan rules and quantifier duality | Negation sits on atoms |
| Standardize variables | Each quantifier gets its own variable | No accidental name clashes |
| Skolemize | ∃y replaced by a function f(x) | Existentials disappear |
| Drop universal quantifiers | All variables read as universal | Quantifier-free formula |
| Distribute ∨ over ∧ | Formula becomes a conjunction of clauses | Final clause set |
Naive distribution can make the clause set grow exponentially. Practical provers therefore use Tseitin-style definitional transformations, which introduce fresh names for subformulas and keep the clause set linear in size.
Search strategies and refinements
Unrestricted resolution generates enormous numbers of redundant clauses, so every serious prover adds a strategy that restricts which pairs may be resolved. The aim is to keep completeness while cutting the search space by orders of magnitude.
Modern systems such as Vampire and E rely on the given-clause algorithm and superposition, an extension of resolution with built-in equality reasoning. The table below compares the best-known refinements.
| Refinement | Restriction | Complete for | Typical use |
|---|---|---|---|
| Set of support | One parent descends from the negated goal | First-order logic | Goal-directed proving |
| Unit resolution | One parent is a single literal | Horn clauses only | Fast propagation |
| Linear resolution | Each step uses the previous resolvent | First-order logic | Basis of SLD resolution |
| SLD resolution | Linear, selected literal, definite clauses | Horn clauses | Prolog execution |
| Ordered resolution | Only maximal literals are resolved | First-order logic | Modern saturation provers |
| Hyperresolution | Several negative literals cleared at once | First-order logic | Fewer intermediate clauses |
Resolution compared with related reasoning methods
Resolution is one of several mechanized proof methods, and its strengths are uniformity and completeness. It differs from forward chaining and backward chaining in rule systems, which work on Horn clauses, and from the DPLL and CDCL procedures used by SAT solvers, which search over assignments but learn clauses through a resolution-like process.
| Method | Logic | Search style | Main strength |
|---|---|---|---|
| Resolution | Full first-order logic | Saturation or refutation | Single complete rule |
| Tableaux | First-order and modal logics | Branching case analysis | Readable proofs, countermodels |
| CDCL SAT solving | Propositional logic | Assignment search with learning | Industrial-scale speed |
| SLD resolution | Horn clauses | Depth-first goal reduction | Efficient logic programs |
| Natural deduction | Many logics | Human-style introduction rules | Interactive proof assistants |
Interestingly, conflict-driven clause learning produces clauses that are exactly resolution derivations, so lower bounds for propositional resolution proofs also limit what modern SAT solvers can achieve.
Limitations and common misconceptions
Resolution is refutation-complete, not a decision procedure: if a first-order goal follows, a fair prover will eventually find the proof, but if it does not follow, the search may never terminate. This reflects the semi-decidability of first-order logic, not a flaw in the method.
- Not generatively complete: resolution cannot derive every consequence directly, only refute the negation of one.
- Equality needs special care: adding equality axioms explodes the search, so provers use paramodulation or superposition.
- Exponential lower bounds exist: the pigeonhole formulas require exponentially long propositional resolution proofs.
- Skolemization changes meaning: the clause set is equisatisfiable with the original, not equivalent to it.
- Occurs check matters: omitting it, as many Prolog systems do by default, can make unification unsound.
In plain words
Resolution is a way for a computer to prove something by ruling out the opposite. Suppose you know it is either raining or sunny. You also know that if it is sunny, the park is open. Combine the two facts and you learn that it is raining or the park is open.
To prove a claim, the program first assumes the claim is false. It then keeps combining facts in this way. If it reaches a plain contradiction, the assumption was wrong. So the original claim must be true. One simple step, repeated many times, is enough for a huge range of logical proofs.
A real-world example
A hardware verification team at a chip design company needs to confirm that a new cache coherence protocol can never let two processor cores hold the same memory line in a modified state. Engineers encode the protocol rules and the safety property in first-order logic, negate the property and pass about 2,000 clauses to a saturation prover that uses ordered resolution with superposition.
Within a few minutes the prover derives the empty clause, which proves that the unsafe state is unreachable under the modeled rules. When an engineer later removes one invalidation rule, the prover instead runs until its time limit. A separate model finder then produces a concrete counterexample trace, and the team restores the rule before tape-out, avoiding a costly silicon defect.