15.08.2013 Views

General Computer Science 320201 GenCS I & II Lecture ... - Kwarc

General Computer Science 320201 GenCS I & II Lecture ... - Kwarc

General Computer Science 320201 GenCS I & II Lecture ... - Kwarc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Proof:<br />

P.1 It is easy to see tahat applying rules to worked off formulae will only add formulae that<br />

are already present in its branch.<br />

P.2 Let µ(T ) be the number of connectives in a labeled formulae in T that are not worked<br />

off.<br />

P.3 Then each rule application to a labeled formula in T that is not worked off reduces µ(T )<br />

by at least one. (inspect the rules)<br />

P.4 at some point the tableau only contains worked off formulae and literals.<br />

P.5 since there are only finitely many literals in T , so we can only apply the tableau cut rule<br />

a finite number of times.<br />

c○: Michael Kohlhase 208<br />

The Tableau calculus basically computes the disjunctive normal form: every branch is a disjunct<br />

that is a conjunct of literals. The method relies on the fact that a DNF is unsatisfiable, iff each<br />

monomial is, i.e. iff each branch contains a contradiction in form of a pair of complementary<br />

literals.<br />

2.7.2 Resolution for Propositional Logic<br />

The next calculus is a test calculus based on the conjunctive normal form. In contrast to the<br />

tableau method, it does not compute the normal form as it goes along, but has a pre-processing<br />

step that does this and a single inference rule that maintains the normal form. The goal of this<br />

calculus is to derive the empty clause (the empty disjunction), which is unsatisfiable.<br />

Another Test Calculus: Resolution<br />

Definition 350 A clause is a disjunction of literals. We will use for the empty disjunction<br />

(no disjuncts) and call it the empty clause.<br />

Definition 351 (Resolution Calculus) The resolution calculus operates a clause sets<br />

via a single inference rule:<br />

P T ∨ A P F ∨ B<br />

A ∨ B<br />

This rule allows to add the clause below the line to a clause set which contains the two clauses<br />

above.<br />

Definition 352 (Resolution Refutation) Let S be a clause set, and D : S ⊢R T a R<br />

derivation then we call D resolution refutation, iff ∈ T .<br />

c○: Michael Kohlhase 209<br />

A calculus for CNF Transformation<br />

Definition 353 (Transformation into Conjunctive Normal Form) The CNF<br />

transformation calculus CN F consists of the following four inference rules on clause sets.<br />

C ∨ (A ∨ B) T<br />

C ∨ A T ∨ B T<br />

C ∨ (A ∨ B) F<br />

C ∨ A F ; C ∨ B F<br />

C ∨ ¬A T<br />

C ∨ A F<br />

C ∨ ¬A F<br />

C ∨ A T<br />

Definition 354 We write CNF (A) for the set of all clauses derivable from A F via the rules<br />

above.<br />

112

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!