Resolution (Concept) in First-Order Logic — Beginner-Friendly Notes
1. What It Is
General resolution is a complete inference procedure for any FOL KB (not just Horn). Like propositional resolution but with unification and handling quantifiers via CNF with Skolemization.
Propositional resolution + unification + quantifier handling = FOL resolution.
2. Steps at a Glance (for exam you list them)
Convert sentences to CNF:
- Eliminate
- Move $
eg
eg \forall \equiv \exists
eg$) - Standardise variables, Skolemize (remove by introducing Skolem constants/functions — e.g., → where is new)
- Drop , distribute over
Refutation: add $
eg α$ to KB, convert to CNF.Apply resolution: from and $(D \lor
eg Q)PQ\theta = mgu(P,Q)(C \lor D)\theta$.If empty clause derived → proved.
3. Unification — Key New Idea
Unify = find substitution that makes two literals identical. MGU = most general unifier.
Example: and unify with → .
Failure: and never unify (John ≠ Mary).
4. Tiny Example
KB: , ; Query :
- CNF: ${
eg Bird(x) \lor Flies(x)}, {Bird(Tweety)}, {
eg Flies(Tweety)}$ (negated query) - Resolve $
eg Bird(x) \lor Flies(x)
eg Flies(Tweety){x/Tweety}Flies(x)
eg Flies(Tweety){x/Tweety}
eg Bird(Tweety)$ - Resolve $
eg Bird(Tweety)Bird(Tweety)□$ → proved.
5. Why Important
| Property | Value |
|---|---|
| Sound | Yes |
| Complete | Yes for FOL (refutation) — can prove any entailed α |
| Semi-decidable | If , resolution will eventually find ; if not, may loop forever (FOL is undecidable) |
6. Use in AI
- Automated theorem provers, Prolog's underlying engine can be seen as restricted resolution.
- Basis for reasoning in many KR systems (but Horn chaining is preferred for efficiency when possible).
7. One-Line Summary
First-order resolution converts KB and negated query to CNF via Skolemization, then repeatedly resolves complementary literals under MGU to derive , providing sound and refutation-complete inference for full FOL at the cost of semi-decidability.
8. Quick Self-Check
- What does Skolemization do?
- Why does FOL resolution need unification but propositional does not?