Logic for Computer Scientists/Predicate Logic/Strategies for Resolution/Linear Resolution

From testwiki
Revision as of 04:58, 6 August 2023 by imported>Hkfscp11
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Linear Resolution

In contrast to the saturation-based procedure, which we gave for propositional resolution, we will discuss now a strategy which allows goal directed generation of resolvents. We will see later, namely in the case of Horn clauses, that this linear strategy, is the basis for the interpretation of logic programs.

Given a set of clauses S and a clause C0 in S. A linear deduction of top clause C0 is a sequence C0,C1,,Cn , where 1in Ci is a resolvent of Ci1 and B with BS{Cjj<i} . If Cn= the sequence is called a linear refutation.

Definition 25

The following is an example for a linear deduction. The clause set S is given by:

symptom(s)(1)cause(c1)cause(c2)¬symptom(s)(2)treatment(t0)¬cause(c1)(3)treatment(t1)¬cause(c1)(4)treatment(t0)¬cause(c2)(5)treatment(t2)¬cause(c2)(6)


and together with the goal ¬treatment(x), we get the following refutation, where clauses from S are given by the respective numbers: ¬treatment(X), (4),¬cause(c1), (2), cause(c2)¬symptom(s), (1), cause(c2), (6), treatment(t2),

the same refutation can be given more naturally be the following picture: The following theorem states correctness and completeness of linear resolution. Note that completeness only states that there exists a linear refutation, there is no guaranty that every clause in the sequence really is necessary to derive the empty clause.



Theorem 9

Linear resolution is complete and correct. Example:


Template:BookCat