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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Iϕ(love(mary, bill) ∨ love(john, mary)) = T but Iϕ(love(john, mary)) = F .<br />

c○: Michael Kohlhase 203<br />

Obviously, the tableau above is saturated, but not closed, so it is not a tableau proof for our initial<br />

entailment conjecture. We have marked the literals on the open branch green, since they allow us<br />

to read of the conditions of the situation, in which the entailment fails to hold. As we intuitively<br />

argued above, this is the situation, where Mary loves Bill. In particular, the open branch gives us<br />

a variable assignment (marked in green) that satisfies the initial formula. In this case, Mary loves<br />

Bill, which is a situation, where the entailment fails.<br />

Practical Enhancements for Tableaux<br />

Propositional Identities<br />

Definition 340 Let ⊤ and ⊥ be new logical constants with I(⊤) = T and I(⊥) = F for<br />

all assignments ϕ.<br />

We have to following identities:<br />

Name for ∧ for ∨<br />

Idenpotence ϕ ∧ ϕ = ϕ ϕ ∨ ϕ = ϕ<br />

Identity ϕ ∧ ⊤ = ϕ ϕ ∨ ⊥ = ϕ<br />

Absorption I ϕ ∧ ⊥ = ⊥ ϕ ∨ ⊤ = ⊤<br />

Commutativity ϕ ∧ ψ = ψ ∧ ϕ ϕ ∨ ψ = ψ ∨ ϕ<br />

Associativity ϕ ∧ (ψ ∧ θ) = (ϕ ∧ ψ) ∧ θ ϕ ∨ (ψ ∨ θ) = (ϕ ∨ ψ) ∨ θ<br />

Distributivity ϕ ∧ (ψ ∨ θ) = ϕ ∧ ψ ∨ ϕ ∧ θ ϕ ∨ ψ ∧ θ = (ϕ ∨ ψ) ∧ (ϕ ∨ θ)<br />

Absorption <strong>II</strong> ϕ ∧ (ϕ ∨ θ) = ϕ ϕ ∨ ϕ ∧ θ = ϕ<br />

De Morgan’s Laws ¬(ϕ ∧ ψ) = ¬ϕ ∨ ¬ψ ¬(ϕ ∨ ψ) = ¬ϕ ∧ ¬ψ<br />

Double negation ¬¬ϕ = ϕ<br />

Definitions ϕ ⇒ ψ = ¬ϕ ∨ ψ ϕ ⇔ ψ = (ϕ ⇒ ψ) ∧ (ψ ⇒ ϕ)<br />

c○: Michael Kohlhase 204<br />

We have seen in the examples above that while it is possible to get by with only the connectives<br />

∨ and ¬, it is a bit unnatural and tedious, since we need to eliminate the other connectives first.<br />

In this section, we will make the calculus less frugal by adding rules for the other connectives,<br />

without losing the advantage of dealing with a small calculus, which is good making statements<br />

about the calculus.<br />

The main idea is to add the new rules as derived rules, i.e. inference rules that only abbreviate<br />

deductions in the original calculus. <strong>General</strong>ly, adding derived inference rules does not change the<br />

derivability relation of the calculus, and is therefore a safe thing to do. In particular, we will add<br />

the following rules to our tableau system.<br />

We will convince ourselves that the first rule is a derived rule, and leave the other ones as an<br />

exercise.<br />

Derived Rules of Inference<br />

Definition 341 Let C be a calculus, a rule of inference A1 . . . An<br />

is called a derived<br />

C<br />

inference rule in C, iff there is a C-proof of A1, . . . , An ⊢ C.<br />

Definition 342 We have the following derived rules of inference<br />

109

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

Saved successfully!

Ooh no, something went wrong!