In mathematical logic and automated theorem proving, resolution is a rule of inference leading to a refutation theorem-proving technique for sentences in propositional logic and first-order logic.
The clause produced by the resolution rule is called the resolvent of the two input clauses.
When the two clauses contain more than one pair of complementary literals, the resolution rule can be applied (independently) for each such pair. However, only the pair of literals that are resolved upon can be removed: all other pair of literals remain in the resolvent clause.
This resolution technique uses proof by contradiction and is based on the fact that any sentence in propositional logic can be transformed into an equivalent sentence in conjunctive normal form. The steps are as follow:
One instance of this algorithm is the original Davis-Putnam algorithm that was later refined into the DPLL algorithm that removed the need for explicit representation of the resolvants.
To understand how resolution works, consider the following example syllogism of term logic:
All Greeks are Europeans. Homer is a Greek. Therefore, Homer is a European.
Or, more generally:
∀X, P(X) implies Q(X). P(a). Therefore, Q(a).
To recast the reasoning using the resolution technique, first the clauses must be converted to conjunctive normal form. In this form, all quantification becomes implicit: universal quantifiers on variables (X, Y...) are simply omitted as understood, while existentially-quantified variables are replaced by Skolem functions.
¬P(X) ∨ Q(X) P(a) Therefore, Q(a)
So the question is, how does the resolution technique derive the last clause from the first two? The rule is simple:
To apply this rule to the above example, we find the predicate P occurs in negated form
¬P(X)
in the first clause, and in non-negated form
P(a)
in the second clause. X is an unbound variable, while a is a bound value (atom). Unifying the two produces the substitution
X => a
Discarding the unified predicates, and applying this substitution to the remaining predicates (just Q(X), in this case), produces the conclusion:
Q(a)
For another example, consider the syllogistic form
All Cretans are islanders. All islanders are liars. Therefore all Cretans are liars.
Or more generally,
∀X P(X) implies Q(X) ∀X Q(X) implies R(X) Therefore, ∀X P(X) implies R(X)
In CNF, the antecedents become:
¬P(X) ∨ Q(X) ¬Q(Y) ∨ R(Y)
(Note that the variable in the second clause was renamed to make it clear that variables in different clauses are distinct.)
Now, unifying Q(X) in the first clause with ¬Q(Y) in the second clause means that X and Y become the same variable anyway. Substituting this into the remaining clauses and combining them gives the conclusion:
¬P(X) ∨ R(X)
The resolution rule (with additional factoring) similarly subsumes all the other syllogistic forms of traditional logic.
Rules of inference | Logical calculi | Mathematical logic
Resolution (Logik) | Rezolúció | Resolutie | 導出 | 归结原理
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Resolution (logic)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world