Resolution in First-Order Logic (FOL): Resolution Refutation from a Simple Knowledge Base
Resolution is a rule of inference used in automated theorem proving for keywordfirst-order logic resolution[/keyword] by deriving contradictions in keywordresolution refutation[/keyword]. For first-order logic, resolution relies on keywordunification[/keyword] and the transformation of formulas into keywordclausal (CNF) form[/keyword]. The high-level refutation strategy is: negate the goal, add it to the knowledge base, convert everything to clausal form, and repeatedly resolve until the keywordempty clause[/keyword] is derived (or saturation occurs).3
Mini-knowledge base and goal
Knowledge base (KB):
- “All humans are mortal.”
[ \forall x;(\text{Human}(x)\rightarrow \text{Mortal}(x)) ] - “Socrates is a human.”
[ \text{Human}(\text{Socrates}) ]
Query/goal:
- “Therefore, Socrates is mortal.”
[ \text{Mortal}(\text{Socrates}) ]
We will derive the conclusion using resolution refutation.2
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩ ↩2
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩ ↩2
-
Logic and Automatic Theorem Proving (Skolemization & CNF steps) - TAMU slides (logicp) - Describes converting to standard form: CNF and Skolemization to eliminate existential quantifiers. ↩
Resolution Refutation (FOL)
Resolution refutation for: Human(Socrates) ⇒ Mortal(Socrates)
- 1Step 1
Negate the goal and add it to the KB: assume . This is the standard refutation technique: show the KB plus the negated goal is unsatisfiable, which implies the original goal is entailed.
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
- 2Step 2
For , rewrite implication: . Then drop universal quantifiers when forming clauses (variables are implicitly universally quantified in clausal form). For the fact , it is already a ground atomic clause.
- 3Step 3
The negated goal is a unit clause.
- 4Step 4
We obtain the set of clauses: , , .
- 5Step 5
Resolve clause (1) with clause (3). The complementary literals are and . Unify with , giving substitution . The resolvent removes the complementary pair, yielding clause .
- 6Step 6
Now resolve clause (4) with clause (2). The complementary literals are and . Resolving them yields the empty clause (contradiction). Therefore, the original negated goal cannot coexist with the KB, so the KB entails .2
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
-
Clausal form and the key resolution rule (first-order version)
Clausal representation
In resolution theorem proving for first-order logic, we work with a set of clauses: a keywordliteral[/keyword] is either an atomic formula or its negation. A clause is a disjunction of literals, and the entire formula is treated as a conjunction of clauses.2
Binary resolution with unification (the practical rule)
The first-order “binary” resolution step looks like:
- Clause :
- Clause :
If the complementary literals and are made identical by some keywordMGU[/keyword] , then the keywordresolvent[/keyword] is:
- [ (,A \lor B,)\theta ]
This matches the general explanation of first-order resolution: choose unifiable complementary literals, compute a unifier (often the most general one), and then resolve away the complementary pair.2
Footnotes
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
-
Logic and Automatic Theorem Proving (Skolemization & CNF steps) - TAMU slides (logicp) - Describes converting to standard form: CNF and Skolemization to eliminate existential quantifiers. ↩
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
MIT OCW PDF: Resolution Theorem Proving: First Order Logic (resolution with variables, unification, rule form) - Defines first-order resolution with unification/MGU and shows how clauses resolve to new clauses. ↩
Worked derivation (fully explicit)
Step 1: Clauses from the KB
KB statement (1): [ \forall x(\text{Human}(x)\rightarrow \text{Mortal}(x)) \equiv \forall x(\neg \text{Human}(x)\lor \text{Mortal}(x)) ] This yields clause:
KB statement (2):
Negated goal:
- goal is
- add negation:
This clause-set approach is the standard refutation workflow.2
Step 2: First resolution (derive )
Resolve (1) with (3) on the complementary pair:
- from (1):
- from (3):
Unification: [ \theta={x/\text{Socrates}} ] Resolvent removes and , leaving:
Step 3: Second resolution (derive empty clause)
Resolve (4) with (2) on:
- (4):
- (2):
They are complementary, so the resolvent is the empty clause:
By the refutation method, deriving proves that the KB plus goal is inconsistent, hence the KB entails the goal.2
Footnotes
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩ ↩2
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩ ↩2
Pro Tip: Always negate the goal first
Resolution refutation typically works by proving that KB ∧ ¬(goal) is unsatisfiable. If the empty clause is derived, the goal is entailed.2
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
Warning: Resolution in FOL requires unification and clausification
Unlike propositional resolution, first-order resolution must unify variables so that complementary literals match. Also, you must convert to clausal form (clauses are disjunctions of literals) before applying the rule effectively.3
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
-
MIT OCW PDF: Resolution Theorem Proving: First Order Logic (resolution with variables, unification, rule form) - Defines first-order resolution with unification/MGU and shows how clauses resolve to new clauses. ↩
Resolution Refutation Pipeline for FOL Entailment
Add ¬(goal) to the KB
1) Negate the queryTransform entailment KB ⊨ goal into unsatisfiability of KB ∪ {¬goal}."
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
Clauses for resolution
2) Convert to clausal formRewrite into CNF/clause form; in general handle quantifiers using Skolemization and prenex/NF transformations.2"
Footnotes
-
Logic and Automatic Theorem Proving (Skolemization & CNF steps) - TAMU slides (logicp) - Describes converting to standard form: CNF and Skolemization to eliminate existential quantifiers. ↩
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
Generate resolvents
3) Resolve with unificationPick clause pairs with complementary unifiable literals; compute the unifier; remove the resolved pair.2"
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
MIT OCW PDF: Resolution Theorem Proving: First Order Logic (resolution with variables, unification, rule form) - Defines first-order resolution with unification/MGU and shows how clauses resolve to new clauses. ↩
Empty clause or saturation
4) Stop conditionIf □ is derived, contradiction proves the original goal is entailed.2"
Footnotes
-
Resolution (logic) - Wikipedia - Overview of resolution, first-order generalization, and refutation/entailment via deriving contradiction. ↩
-
Artificial Intelligence - Resolution in First Order Logic (FOL) - Step workflow for resolution: convert to clausal form, negate goal, resolve until empty clause. ↩
Where each transformation is used
Mapping the refutation workflow to the example KB
Common points and edge cases
Resolution Refutation (FOL) Quick Checks
Knowledge Check
In resolution refutation for FOL entailment KB ⊨ G, what do we add to the KB?