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.

Satisfiable, iff there are open branches (correspond to models)<br />

c○: Michael Kohlhase 200<br />

Tableau calculi develop a formula in a tree-shaped arrangement that represents a case analysis on<br />

when a formula can be made true (or false). Therefore the formulae are decorated with exponents<br />

that hold the intended truth value.<br />

On the left we have a refutation tableau that analyzes a negated formula (it is decorated with the<br />

intended truth value F). Both branches contain an elementary contradiction ⊥.<br />

On the right we have a model generation tableau, which analyzes a positive formula (it is<br />

decorated with the intended truth value T. This tableau uses the same rules as the refutation<br />

tableau, but makes a case analysis of when this formula can be satisfied. In this case we have a<br />

closed branch and an open one, which corresponds a model).<br />

Now that we have seen the examples, we can write down the tableau rules formally.<br />

Analytical Tableaux (Formal Treatment of T0)<br />

formula is analyzed in a tree to determine satisfiability<br />

branches correspond to valuations (models)<br />

one per connective<br />

A ∧ B T<br />

A T<br />

B T<br />

T0∧<br />

A ∧ B F<br />

AF <br />

<br />

BF T0∨<br />

¬A T<br />

AF T0¬T ¬A F<br />

T0¬F<br />

AT Use rules exhaustively as long as they contribute new material<br />

A α<br />

A β<br />

α = β<br />

T0cut<br />

⊥<br />

Definition 334 Call a tableau saturated, iff no rule applies, and a branch closed, iff it ends<br />

in ⊥, else open. (open branches in saturated tableaux yield models)<br />

Definition 335 (T0-Theorem/Derivability) A is a T0-theorem (⊢T0 A), iff there is a<br />

closed tableau with AF at the root.<br />

Φ ⊆ wff o(Vo) derives A in T0 (Φ ⊢T0 A), iff there is a closed tableau starting with A F and<br />

Φ T .<br />

c○: Michael Kohlhase 201<br />

These inference rules act on tableaux have to be read as follows: if the formulae over the line<br />

appear in a tableau branch, then the branch can be extended by the formulae or branches below<br />

the line. There are two rules for each primary connective, and a branch closing rule that adds the<br />

special symbol ⊥ (for unsatisfiability) to a branch.<br />

We use the tableau rules with the convention that they are only applied, if they contribute new<br />

material to the branch. This ensures termination of the tableau procedure for propositional logic<br />

(every rule eliminates one primary connective).<br />

Definition 336 We will call a closed tableau with the signed formula A α at the root a tableau<br />

refutation for A α .<br />

The saturated tableau represents a full case analysis of what is necessary to give A the truth value<br />

α; since all branches are closed (contain contradictions) this is impossible.<br />

Definition 337 We will call a tableau refutation for A F a tableau proof for A, since it refutes the<br />

possibility of finding a model where A evaluates to F. Thus A must evaluate to T in all models,<br />

which is just our definition of validity.<br />

107

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

Saved successfully!

Ooh no, something went wrong!