Logic and Proof MT24, Ground resolution
The ground resolution theorem establishes a way to use the soundness and completeness of propositional resolution ([[Notes - Logic and Proof MT24, Propositional resolution]]U) in order to prove unsatisfiability of first-order formulas by passing to the Herbrand expansion.
[[Notes - Logic and Proof MT24, Unification and resolution]]U avoids the need to work out the Herbrand expansion and instead gives a procedure that works directly on first-order formulas, avoiding the need to convert it to a propositional problem.
Flashcards
Ground resolution theorem
@State the ground resolution theorem.
Suppose:
- $F$ is closed formula in Skolem form
- $E(F)$ is the corresponding Herbrand expansion
Then:
- $F$ is unsatisfiable iff there is a propositional resolution proof of $\square$ from $E(F)$.
(in other words, the ground resolution theorem is like the completeness theorem for propositional resolution refutations).
@Prove, by appealing to other results, the ground resolution theorem, i.e. if
- $F$ is closed formula in Skolem form
- $E(F)$ is the corresponding Herbrand expansion
Then:
- $F$ is unsatisfiable iff there is a propositional resolution proof of $\square$ from $E(F)$.
where each of the equivalences are established by:
- (1): Herbrand’s theorem
- (2): Compactness theorem
- (3): Soundness and completeness of propositional resolution
Examples
Use ground resolution to show that the conjunction of all these sentences is unsatisfiable:
- Everyone is similar to themself.
- Everyone is worshipped by all their fans.
- Everyone has a fan whom they respect.
- Nobody who worships anyone similar to Oscar is respected by Oscar.
In first-order logic:
- $\forall x \text{ } S(x, x)$
- $\forall x \forall y \text{ } (F(x, y) \to W(x, y))$
- $\forall x \exists y \text{ } (F(y, x) \land R(x, y))$
- $\forall x \forall y \text{ } (S(y, \text{O}) \land W(x, y) \to \lnot R(\text{O}, x))$
In Skolem form:
- $\forall x \text{ } S(x, x)$
- $\forall x \forall y \text{ } (\lnot F(x, y) \lor W(x, y))$
- $\forall x \text{ } (F(f(x), x) \land R(x, f(x)))$
- $\forall x \forall y \text{ } (\lnot S(y, \text{O}) \lor \lnot W(x, y) \lor \lnot R(\text{O}, x))$
Then, using ground resolution:
- $S(\text{O}, \text{O})$ (Ground1)
- $\lnot S(\text{O}, \text{O}) \lor \lnot W(f(\text{O}), \text{O}) \lor \lnot R(\text{O}, f(\text{O}))$ (Ground4)
- $\lnot W(f(\text{O}), \text{O}) \lor \lnot R(\text{O}, f(\text{O}))$ (Res1,2)
- $R(\text{O}, f(\text{O}))$ (Ground3)
- $\lnot W(f(\text{O}), \text{O})$ (Res3,4)
- $\lnot F(f(\text{O}), \text{O}) \lor W(f(\text{O}), \text{O})$ (Ground2)
- $\lnot F(f(\text{O}), \text{O})$ (Res5,6)
- $F(f(\text{O}), \text{O})$ (Ground3)
- $\square$ (Res7,8)
@example~ @exam~