Resolution (logic)
   HOME

TheInfoList



OR:

In
mathematical logic Mathematical logic is the study of formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of forma ...
and
automated theorem proving Automated theorem proving (also known as ATP or automated deduction) is a subfield of automated reasoning and mathematical logic dealing with proving mathematical theorems by computer programs. Automated reasoning over mathematical proof was a ...
, resolution is a
rule of inference In the philosophy of logic, a rule of inference, inference rule or transformation rule is a logical form consisting of a function which takes premises, analyzes their syntax, and returns a conclusion (or conclusions). For example, the rule of ...
leading to a refutation complete theorem-proving technique for sentences in
propositional logic Propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. It deals with propositions (which can be true or false) and relations b ...
and
first-order logic First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
. For propositional logic, systematically applying the resolution rule acts as a
decision procedure In computability theory and computational complexity theory, a decision problem is a computational problem that can be posed as a yes–no question of the input values. An example of a decision problem is deciding by means of an algorithm wheth ...
for formula unsatisfiability, solving the (complement of the)
Boolean satisfiability problem In logic and computer science, the Boolean satisfiability problem (sometimes called propositional satisfiability problem and abbreviated SATISFIABILITY, SAT or B-SAT) is the problem of determining if there exists an interpretation that satisf ...
. For
first-order logic First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
, resolution can be used as the basis for a semi-algorithm for the unsatisfiability problem of
first-order logic First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
, providing a more practical method than one following from
Gödel's completeness theorem Gödel's completeness theorem is a fundamental theorem in mathematical logic that establishes a correspondence between semantic truth and syntactic provability in first-order logic. The completeness theorem applies to any first-order theory: ...
. The resolution rule can be traced back to
Davis Davis may refer to: Places Antarctica * Mount Davis (Antarctica) * Davis Island (Palmer Archipelago) * Davis Valley, Queen Elizabeth Land Canada * Davis, Saskatchewan, an unincorporated community * Davis Strait, between Nunavut and Gre ...
and Putnam (1960); however, their
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
required trying all ground instances of the given formula. This source of combinatorial explosion was eliminated in 1965 by John Alan Robinson's syntactical unification algorithm, which allowed one to instantiate the formula during the proof "on demand" just as far as needed to keep
refutation completeness In mathematical logic and metalogic, a formal system is called complete with respect to a particular property if every formula having the property can be derived using that system, i.e. is one of its theorems; otherwise the system is said to ...
. The clause produced by a resolution rule is sometimes called a resolvent.


Resolution in propositional logic


Resolution rule

The resolution rule in propositional logic is a single valid inference rule that produces a new clause implied by two
clauses In language, a clause is a constituent that comprises a semantic predicand (expressed or not) and a semantic predicate. A typical clause consists of a subject and a syntactic predicate, the latter typically a verb phrase composed of a verb with ...
containing complementary literals. A
literal Literal may refer to: * Interpretation of legal concepts: ** Strict constructionism ** The plain meaning rule The plain meaning rule, also known as the literal rule, is one of three rules of statutory construction traditionally applied by ...
is a propositional variable or the negation of a propositional variable. Two literals are said to be complements if one is the negation of the other (in the following, \lnot c is taken to be the complement to c). The resulting clause contains all the literals that do not have complements. Formally: :\frac where : all a_i, b_i, and c are literals, : the dividing line stands for " entails". The above may also be written as: :\frac Or schematically as: : \frac, \ell, We have the following terminology: * The clauses \Gamma_1 \cup\left\ and \Gamma_2 \cup\left\ are the inference's premises * \Gamma_1 \cup \Gamma_2 (the resolvent of the premises) is its conclusion. * The literal \ell is the left resolved literal, * The literal \overline is the right resolved literal, * , \ell, is the resolved atom or pivot. The clause produced by the resolution rule is called the ''resolvent'' of the two input clauses. It is the principle of '' consensus'' applied to clauses rather than terms. When the two clauses contain more than one pair of complementary literals, the resolution rule can be applied (independently) for each such pair; however, the result is always a tautology.
Modus ponens In propositional logic, ''modus ponens'' (; MP), also known as ''modus ponendo ponens'' (Latin for "method of putting by placing") or implication elimination or affirming the antecedent, is a deductive argument form and rule of inference ...
can be seen as a special case of resolution (of a one-literal clause and a two-literal clause). :\frac is equivalent to :\frac


A resolution technique

When coupled with a complete
search algorithm In computer science, a search algorithm is an algorithm designed to solve a search problem. Search algorithms work to retrieve information stored within particular data structure, or calculated in the search space of a problem domain, with eith ...
, the resolution rule yields a
sound In physics, sound is a vibration that propagates as an acoustic wave, through a transmission medium such as a gas, liquid or solid. In human physiology and psychology, sound is the ''reception'' of such waves and their ''perception'' by ...
and
complete Complete may refer to: Logic * Completeness (logic) * Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable Mathematics * The completeness of the real numbers, which implies t ...
algorithm for deciding the ''satisfiability'' of a propositional formula, and, by extension, the validity of a sentence under a set of axioms. This resolution technique uses
proof by contradiction In logic and mathematics, proof by contradiction is a form of proof that establishes the truth or the validity of a proposition, by showing that assuming the proposition to be false leads to a contradiction. Proof by contradiction is also known ...
and is based on the fact that any sentence in propositional logic can be transformed into an equivalent sentence in
conjunctive normal form In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs. As a cano ...
. "Before applying the inference method itself, we transform the formulas to quantifier-free conjunctive normal form." The steps are as follows. * All sentences in the knowledge base and the ''negation'' of the sentence to be proved (the ''conjecture'') are conjunctively connected. * The resulting sentence is transformed into a conjunctive normal form with the conjuncts viewed as elements in a set, ''S'', of clauses. **For example, (A_1 \lor A_2) \land (B_1 \lor B_2 \lor B_3) \land (C_1) gives rise to the set S=\. * The resolution rule is applied to all possible pairs of clauses that contain complementary literals. After each application of the resolution rule, the resulting sentence is simplified by removing repeated literals. If the clause contains complementary literals, it is discarded (as a tautology). If not, and if it is not yet present in the clause set ''S'', it is added to ''S'', and is considered for further resolution inferences. * If after applying a resolution rule the ''empty clause'' is derived, the original formula is unsatisfiable (or ''contradictory''), and hence it can be concluded that the initial conjecture follows from the axioms. * If, on the other hand, the empty clause cannot be derived, and the resolution rule cannot be applied to derive any more new clauses, the conjecture is not a theorem of the original knowledge base. One instance of this algorithm is the original
Davis–Putnam algorithm The Davis–Putnam algorithm was developed by Martin Davis and Hilary Putnam for checking the validity of a first-order logic formula using a resolution-based decision procedure for propositional logic. Since the set of valid first-order formulas i ...
that was later refined into the DPLL algorithm that removed the need for explicit representation of the resolvents. This description of the resolution technique uses a set ''S'' as the underlying data-structure to represent resolution derivations.
Lists A ''list'' is any set of items in a row. List or lists may also refer to: People * List (surname) Organizations * List College, an undergraduate division of the Jewish Theological Seminary of America * SC Germania List, German rugby union ...
,
Trees In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, including only woody plants with secondary growth, plants that are u ...
and
Directed Acyclic Graph In mathematics, particularly graph theory, and computer science, a directed acyclic graph (DAG) is a directed graph with no directed cycles. That is, it consists of vertices and edges (also called ''arcs''), with each edge directed from one ...
s are other possible and common alternatives. Tree representations are more faithful to the fact that the resolution rule is binary. Together with a sequent notation for clauses, a tree representation also makes it clear to see how the resolution rule is related to a special case of the cut-rule, restricted to atomic cut-formulas. However, tree representations are not as compact as set or list representations, because they explicitly show redundant subderivations of clauses that are used more than once in the derivation of the empty clause. Graph representations can be as compact in the number of clauses as list representations and they also store structural information regarding which clauses were resolved to derive each resolvent.


A simple example

\frac In plain language: Suppose a is false. In order for the premise a \vee b to be true, b must be true. Alternatively, suppose a is true. In order for the premise \neg a \vee c to be true, c must be true. Therefore, regardless of falsehood or veracity of a, if both premises hold, then the conclusion b \vee c is true.


Resolution in first-order logic

Resolution rule can be generalized to
first-order logic First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
to: : \frac \phi where \phi is a most general unifier of L_1 and \overline, and \Gamma_1 and \Gamma_2 have no common variables.


Example

The clauses P(x),Q(x) and \neg P(b) can apply this rule with /x/math> as unifier. Here x is a variable and b is a constant. : \frac /x Here we see that * The clauses P(x),Q(x) and \neg P(b) are the inference's premises * Q(b) (the resolvent of the premises) is its conclusion. * The literal P(x) is the left resolved literal, * The literal \neg P(b) is the right resolved literal, * P is the resolved atom or pivot. * /x/math> is the most general unifier of the resolved literals.


Informal explanation

In first-order logic, resolution condenses the traditional
syllogism A syllogism ( grc-gre, συλλογισμός, ''syllogismos'', 'conclusion, inference') is a kind of logical argument that applies deductive reasoning to arrive at a conclusion based on two propositions that are asserted or assumed to be tru ...
s of
logical inference Inferences are steps in reasoning, moving from premises to logical consequences; etymologically, the word ''infer'' means to "carry forward". Inference is theoretically traditionally divided into deduction and induction, a distinction that in ...
down to a single rule. To understand how resolution works, consider the following example syllogism of
term logic In philosophy, term logic, also known as traditional logic, syllogistic logic or Aristotelian logic, is a loose name for an approach to formal logic that began with Aristotle and was developed further in ancient history mostly by his followers, ...
: : All Greeks are Europeans. : Homer is a Greek. : Therefore, Homer is a European. Or, more generally: : \forall x. P(x) \Rightarrow 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 Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs. As a cano ...
(CNF). 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. : \neg P(x) \vee 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: * Find two clauses containing the same predicate, where it is negated in one clause but not in the other. * Perform a unification on the two predicates. (If the unification fails, you made a bad choice of predicates. Go back to the previous step and try again.) * If any unbound variables which were bound in the unified predicates also occur in other predicates in the two clauses, replace them with their bound values (terms) there as well. * Discard the unified predicates, and combine the remaining ones from the two clauses into a new clause, also joined by the "∨" operator. 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 (term). 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'') → ''Q''(''X'') : ∀''X'' ''Q''(''X'') → ''R''(''X'') : Therefore, ∀''X'' ''P''(''X'') → ''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'')


Factoring

The resolution rule, as defined by Robinson, also incorporated factoring, which unifies two literals in the same clause, before or during the application of resolution as defined above. The resulting inference rule is refutation-complete, in that a set of clauses is unsatisfiable if and only if there exists a derivation of the empty clause using only resolution, enhanced by factoring. An example for an unsatisfiable clause set for which factoring is needed to derive the empty clause is: :\begin (1): & P(u) & \lor & P(f(u)) \\ (2): & \lnot P(v) & \lor & P(f(w)) \\ (3): & \lnot P(x) & \lor & \lnot P(f(x)) \\ \end Since each clause consists of two literals, so does each possible resolvent. Therefore, by resolution without factoring, the empty clause can never be obtained. Using factoring, it can be obtained e.g. as follows: :\begin (4): & P(u) \lor P(f(w)) & \text v=f(u) \\ (5): & P(f(w)) & \text u=f(w) \\ (6): & \lnot P(f(f(w'))) & \text w=w', x=f(w') \\ (7): & \text & \text w=f(w') \\ \end


Non-clausal resolution

Generalizations of the above resolution rule have been devised that do not require the originating formulas to be in
clausal normal form In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs. As a canon ...
. (Cited from Manna, Waldinger, 1980 as: "A Proof Procedure for Non-Clausal First-Order Logic", 1978)Summary
/ref> These techniques are useful mainly in interactive theorem proving where it is important to preserve human readability of intermediate result formulas. Besides, they avoid combinatorial explosion during transformation to clause-form, and sometimes save resolution steps.


Non-clausal resolution in propositional logic

For propositional logic, Murray and Manna and Waldinger use the rule :\begin F \;\;\;\;\;\;\;\;\;\; G \\ \hline F textit\lor G textit\\ \end, where p denotes an arbitrary formula, F /math> denotes a formula containing p as a subformula, and F textit/math> is built by replacing in F /math> every occurrence of p by \textit; likewise for G. The resolvent F textit\lor G textit/math> is intended to be simplified using rules like q \land \textit \implies q, etc. In order to prevent generating useless trivial resolvents, the rule shall be applied only when p has at least one "negative" and "positive" occurrence in F and G, respectively. Murray has shown that this rule is complete if augmented by appropriate logical transformation rules. Traugott uses the rule :\begin F ^+,p^-\;\;\;\;\;\;\;\; G \\ \hline F [\textit\lnot_G[\textit.html" ;"title="textit.html" ;"title="[\textit">[\textit\lnot G[\textit">textit.html" ;"title="[\textit">[\textit\lnot G[\textit \\ \end, where the exponents of p indicate the polarity of its occurrences. While G textit/math> and G textit/math> are built as before, the formula F [\textit\lnot_G[\textit.html" ;"title="textit.html" ;"title="[\textit">[\textit\lnot G[\textit">textit.html" ;"title="[\textit">[\textit\lnot G[\textit is obtained by replacing each positive and each negative occurrence of p in F with G textit/math> and G textit/math>, respectively. Similar to Murray's approach, appropriate simplifying transformations are to be applied to the resolvent. Traugott proved his rule to be complete, provided \land, \lor, \rightarrow, \lnot are the only connectives used in formulas. Traugott's resolvent is stronger than Murray's. Moreover, it does not introduce new binary junctors, thus avoiding a tendency towards clausal form in repeated resolution. However, formulas may grow longer when a small p is replaced multiple times with a larger G textit/math> and/or G textit/math>.


_Propositional_non-clausal_resolution_example

As_an_example,_starting_from_the_user-given_assumptions :\begin_(1):_&_a_&_\rightarrow_&_b_\land_c_\\_(2):_&_c_&_\rightarrow_&_d_\\_(3):_&_b_\land_d_&\rightarrow_&_e_\\_(4):_&_\lnot_(a_&_\rightarrow_&_e)_\\_\end the_Murray_rule_can_be_used_as_follows_to_infer_a_contradiction: :\begin_(5):_&_(\textit_\rightarrow_d)_&_\lor_&_(a_\rightarrow_b_\land_\textit)_&_\implies_&_d_\lor_\lnot_a_&_\mbox_p=c_\\_(6):_&_(b_\land_\textit_\rightarrow_e)_&_\lor_&_(\textit_\lor_\lnot_a)_&_\implies_&_(b_\rightarrow_e)_\lor_\lnot_a_&_\mbox_p=d_\\_(7):_&_((\textit_\rightarrow_e)_\lor_\lnot_a)_&_\lor_&_(a_\rightarrow_\textit_\land_c)_&_\implies_&_e_\lor_\lnot_a_\lor_\lnot_a_&_\mbox_p=b_\\_(8):_&_(e_\lor_\lnot_\textit_\lor_\lnot_\textit)_&_\lor_&_\lnot_(\textit_\rightarrow_e)_&_\implies_&_e_&_\mbox_p=a_\\_(9):_&_\lnot_(a_\rightarrow_\textit)_&_\lor_&_\textit_&_\implies_&_\textit_&_\mbox_p=e_\\_\end For_the_same_purpose,_the_Traugott_rule_can_be_used_as_follows_: :\begin_(10):_&_a_\rightarrow_b_\land_(\textit_\rightarrow_d)_&_\implies_&_a_\rightarrow_b_\land_d_&_\mbox_p=c_\\_(11):_&_a_\rightarrow_(\textit_\rightarrow_e)_&_\implies_&_a_\rightarrow_e_&_\mbox_p=(b_\land_d)_\\_(12):_&_\lnot_\textit_&_\implies_&_\textit_&_\mbox_p=(a_\rightarrow_e)_\\_\end From_a_comparison_of_both_deductions,_the_following_issues_can_be_seen: *_Traugott's_rule_may_yield_a_sharper_resolvent:_compare_(5)_and_(10),_which_both_resolve_(1)_and_(2)_on_p=c. *_Murray's_rule_introduced_3_new_disjunction_symbols:_in_(5),_(6),_and_(7),_while_Traugott's_rule_didn't_introduce_any_new_symbol;_in_this_sense,_Traugott's_intermediate_formulas_resemble_the_user's_style_more_closely_than_Murray's. *_Due_to_the_latter_issue,_Traugott's_rule_can_take_advantage_of_the_implication_in_assumption_(4),_using_as_p_the_ \lnot_G[\textit._ Schmerl's_rule_does_not_introduce_any_new_junctors._In_some_cases,_it_was_found_to_be_stronger_than_that_of_Murray,_however,_no_proof_appears_to_exist_that_it_cannot_be_weaker_in_some_other_cases. -------------------------------------------------------------------->


_Propositional_non-clausal_resolution_example

As_an_example,_starting_from_the_user-given_assumptions :\begin_(1):_&_a_&_\rightarrow_&_b_\land_c_\\_(2):_&_c_&_\rightarrow_&_d_\\_(3):_&_b_\land_d_&\rightarrow_&_e_\\_(4):_&_\lnot_(a_&_\rightarrow_&_e)_\\_\end the_Murray_rule_can_be_used_as_follows_to_infer_a_contradiction: :\begin_(5):_&_(\textit_\rightarrow_d)_&_\lor_&_(a_\rightarrow_b_\land_\textit)_&_\implies_&_d_\lor_\lnot_a_&_\mbox_p=c_\\_(6):_&_(b_\land_\textit_\rightarrow_e)_&_\lor_&_(\textit_\lor_\lnot_a)_&_\implies_&_(b_\rightarrow_e)_\lor_\lnot_a_&_\mbox_p=d_\\_(7):_&_((\textit_\rightarrow_e)_\lor_\lnot_a)_&_\lor_&_(a_\rightarrow_\textit_\land_c)_&_\implies_&_e_\lor_\lnot_a_\lor_\lnot_a_&_\mbox_p=b_\\_(8):_&_(e_\lor_\lnot_\textit_\lor_\lnot_\textit)_&_\lor_&_\lnot_(\textit_\rightarrow_e)_&_\implies_&_e_&_\mbox_p=a_\\_(9):_&_\lnot_(a_\rightarrow_\textit)_&_\lor_&_\textit_&_\implies_&_\textit_&_\mbox_p=e_\\_\end For_the_same_purpose,_the_Traugott_rule_can_be_used_as_follows_: :\begin_(10):_&_a_\rightarrow_b_\land_(\textit_\rightarrow_d)_&_\implies_&_a_\rightarrow_b_\land_d_&_\mbox_p=c_\\_(11):_&_a_\rightarrow_(\textit_\rightarrow_e)_&_\implies_&_a_\rightarrow_e_&_\mbox_p=(b_\land_d)_\\_(12):_&_\lnot_\textit_&_\implies_&_\textit_&_\mbox_p=(a_\rightarrow_e)_\\_\end From_a_comparison_of_both_deductions,_the_following_issues_can_be_seen: *_Traugott's_rule_may_yield_a_sharper_resolvent:_compare_(5)_and_(10),_which_both_resolve_(1)_and_(2)_on_p=c. *_Murray's_rule_introduced_3_new_disjunction_symbols:_in_(5),_(6),_and_(7),_while_Traugott's_rule_didn't_introduce_any_new_symbol;_in_this_sense,_Traugott's_intermediate_formulas_resemble_the_user's_style_more_closely_than_Murray's. *_Due_to_the_latter_issue,_Traugott's_rule_can_take_advantage_of_the_implication_in_assumption_(4),_using_as_p_the_atomic_formula">non-atomic_formula_a_\rightarrow_e_in_step_(12)._Using_Murray's_rules,_the_semantically_equivalent_formula_e_\lor_\lnot_a_\lor_\lnot_a_was_obtained_as_(7),_however,_it_could_not_be_used_as_p_due_to_its_syntactic_form.


_Non-clausal_resolution_in_first-order_logic

For_first-order_predicate_logic,_Murray's_rule_is_generalized_to_allow_distinct,_but_unifiable,_subformulas_p_1_and_p_2_of_F_and_G,_respectively._If_\phi_is_the_most_general_unifier_of_p_1_and_p_2,_then_the_generalized_resolvent_is_F\phi_textit\lor_G\phi_textit/math>._While_the_rule_remains_sound_if_a_more_special_substitution_\phi_is_used,_no_such_rule_applications_are_needed_to_achieve_completeness. Traugott's_rule_is_generalized_to_allow_several_pairwise_distinct_subformulas_p_1,_\ldots,_p_m_of_F_and_p_,_\ldots,_p_n_of_G,_as_long_as_p_1,_\ldots,_p_n_have_a_common_most_general_unifier,_say_\phi._The_generalized_resolvent_is_obtained_after_applying_\phi_to_the_parent_formulas,_thus_making_the_propositional_version_applicable._Traugott's_completeness_proof_relies_on_the_assumption_that_this_fully_general_rule_is_used;_it_is_not_clear_whether_his_rule_would_remain_complete_if_restricted_to_p_1_=_\cdots_=_p_m_and_p__=_\cdots_=_p_n.Here,_"="_denotes_Term_(logic)#Structural_equality.html" ;"title="atomic_formula.html" ;"title="textit.html" ;"title="\lnot G[\textit">\lnot G[\textit. Schmerl's rule does not introduce any new junctors. In some cases, it was found to be stronger than that of Murray, however, no proof appears to exist that it cannot be weaker in some other cases. -------------------------------------------------------------------->


Propositional non-clausal resolution example

As an example, starting from the user-given assumptions :\begin (1): & a & \rightarrow & b \land c \\ (2): & c & \rightarrow & d \\ (3): & b \land d &\rightarrow & e \\ (4): & \lnot (a & \rightarrow & e) \\ \end the Murray rule can be used as follows to infer a contradiction: :\begin (5): & (\textit \rightarrow d) & \lor & (a \rightarrow b \land \textit) & \implies & d \lor \lnot a & \mbox p=c \\ (6): & (b \land \textit \rightarrow e) & \lor & (\textit \lor \lnot a) & \implies & (b \rightarrow e) \lor \lnot a & \mbox p=d \\ (7): & ((\textit \rightarrow e) \lor \lnot a) & \lor & (a \rightarrow \textit \land c) & \implies & e \lor \lnot a \lor \lnot a & \mbox p=b \\ (8): & (e \lor \lnot \textit \lor \lnot \textit) & \lor & \lnot (\textit \rightarrow e) & \implies & e & \mbox p=a \\ (9): & \lnot (a \rightarrow \textit) & \lor & \textit & \implies & \textit & \mbox p=e \\ \end For the same purpose, the Traugott rule can be used as follows : :\begin (10): & a \rightarrow b \land (\textit \rightarrow d) & \implies & a \rightarrow b \land d & \mbox p=c \\ (11): & a \rightarrow (\textit \rightarrow e) & \implies & a \rightarrow e & \mbox p=(b \land d) \\ (12): & \lnot \textit & \implies & \textit & \mbox p=(a \rightarrow e) \\ \end From a comparison of both deductions, the following issues can be seen: * Traugott's rule may yield a sharper resolvent: compare (5) and (10), which both resolve (1) and (2) on p=c. * Murray's rule introduced 3 new disjunction symbols: in (5), (6), and (7), while Traugott's rule didn't introduce any new symbol; in this sense, Traugott's intermediate formulas resemble the user's style more closely than Murray's. * Due to the latter issue, Traugott's rule can take advantage of the implication in assumption (4), using as p the atomic formula">non-atomic formula a \rightarrow e in step (12). Using Murray's rules, the semantically equivalent formula e \lor \lnot a \lor \lnot a was obtained as (7), however, it could not be used as p due to its syntactic form.


Non-clausal resolution in first-order logic

For first-order predicate logic, Murray's rule is generalized to allow distinct, but unifiable, subformulas p_1 and p_2 of F and G, respectively. If \phi is the most general unifier of p_1 and p_2, then the generalized resolvent is F\phi textit\lor G\phi textit/math>. While the rule remains sound if a more special substitution \phi is used, no such rule applications are needed to achieve completeness. Traugott's rule is generalized to allow several pairwise distinct subformulas p_1, \ldots, p_m of F and p_, \ldots, p_n of G, as long as p_1, \ldots, p_n have a common most general unifier, say \phi. The generalized resolvent is obtained after applying \phi to the parent formulas, thus making the propositional version applicable. Traugott's completeness proof relies on the assumption that this fully general rule is used; it is not clear whether his rule would remain complete if restricted to p_1 = \cdots = p_m and p_ = \cdots = p_n.Here, "=" denotes Term (logic)#Structural equality">syntactical term equality modulo renaming


Paramodulation

Paramodulation is a related technique for reasoning on sets of clauses where the predicate symbol is equality. It generates all "equal" versions of clauses, except reflexive identities. The paramodulation operation takes a positive ''from'' clause, which must contain an equality literal. It then searches an ''into'' clause with a subterm that unifies with one side of the equality. The subterm is then replaced by the other side of the equality. The general aim of paramodulation is to reduce the system to atoms, reducing the size of the terms when substituting.


Implementations

*
CARINE Carine may refer to: Places * Carine, Western Australia, a suburb of Perth ** Electoral district of Carine, in the Western Australian parliament * Carine, Nikšić, Montenegro * Carine (Mysia), a town of ancient Mysia, now in Turkey Owl species ...
* GKC *
Otter Otters are carnivorous mammals in the subfamily Lutrinae. The 13 extant otter species are all semiaquatic, aquatic, or marine, with diets based on fish and invertebrates. Lutrinae is a branch of the Mustelidae family, which also includes we ...
*
Prover9 Prover9 is an automated theorem prover for first-order and equational logic developed by William McCune. Description Prover9 is the successor of the Otter theorem prover also developed by William McCune. Prover9 is noted for producing relativel ...
* SNARK * SPASS *
Vampire A vampire is a mythical creature that subsists by feeding on the Vitalism, vital essence (generally in the form of blood) of the living. In European folklore, vampires are undead, undead creatures that often visited loved ones and caused mi ...

Logictools
online prover


See also

* Condensed detachment — an earlier version of resolution * Inductive logic programming * Inverse resolution *
Logic programming Logic programming is a programming paradigm which is largely based on formal logic. Any program written in a logic programming language is a set of sentences in logical form, expressing facts and rules about some problem domain. Major logic pro ...
* Method of analytic tableaux * SLD resolution * Resolution inference


Notes


References

* * * *


External links

* * {{MathWorld , urlname=Resolution , title=Resolution , author=Alex Sakharov 1965 introductions Automated theorem proving Propositional calculus Proof theory Rules of inference Theorems in propositional logic