Resolution · logic

Also known as: resolution principle · resolution theorem proving

On this page 7

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.

OperationInputOutputPurpose
Binary resolutionTwo clauses with complementary literalsOne resolventMain inference step
UnificationTwo first-order literalsMost general unifierMakes literals complementary
FactoringClause with unifiable literalsShorter clauseNeeded for completeness
SubsumptionTwo clausesDeleted redundant clauseKeeps the search space small
Tautology deletionClause with P and ¬PRemoved clauseDiscards useless clauses
Core operations in resolution proving

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.

StepWhat changesExample effect
Eliminate implicationsA → B becomes ¬A ∨ BOnly ∧, ∨, ¬ remain
Push negation inwardDe Morgan rules and quantifier dualityNegation sits on atoms
Standardize variablesEach quantifier gets its own variableNo accidental name clashes
Skolemize∃y replaced by a function f(x)Existentials disappear
Drop universal quantifiersAll variables read as universalQuantifier-free formula
Distribute ∨ over ∧Formula becomes a conjunction of clausesFinal clause set
Steps from first-order formula to 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.

RefinementRestrictionComplete forTypical use
Set of supportOne parent descends from the negated goalFirst-order logicGoal-directed proving
Unit resolutionOne parent is a single literalHorn clauses onlyFast propagation
Linear resolutionEach step uses the previous resolventFirst-order logicBasis of SLD resolution
SLD resolutionLinear, selected literal, definite clausesHorn clausesProlog execution
Ordered resolutionOnly maximal literals are resolvedFirst-order logicModern saturation provers
HyperresolutionSeveral negative literals cleared at onceFirst-order logicFewer intermediate clauses
Common resolution refinements

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.

MethodLogicSearch styleMain strength
ResolutionFull first-order logicSaturation or refutationSingle complete rule
TableauxFirst-order and modal logicsBranching case analysisReadable proofs, countermodels
CDCL SAT solvingPropositional logicAssignment search with learningIndustrial-scale speed
SLD resolutionHorn clausesDepth-first goal reductionEfficient logic programs
Natural deductionMany logicsHuman-style introduction rulesInteractive proof assistants
Resolution and neighboring methods

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.