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.

Inference with local hypotheses<br />

[A ∧ B] 1<br />

B<br />

∧Er<br />

B ∧ A<br />

A ∧ B ⇒ B ∧ A<br />

[A ∧ B] 1<br />

A ∧I<br />

⇒I 1<br />

∧El<br />

c○: Michael Kohlhase 196<br />

[A] 1<br />

[B] 2<br />

A ⇒I 2<br />

B ⇒ A<br />

⇒I 1<br />

A ⇒ B ⇒ A<br />

Another characteristic of the natural deduction calculus is that it has inference rules (introduction<br />

and elimination rules) for all connectives. So we extend the set of rules from Definition 327 for<br />

disjunction, negation and falsity.<br />

More Rules for Natural Deduction<br />

Definition 328 ND 0 has the following additional rules for the remaining connectives.<br />

A<br />

A ∨ B ∨Il<br />

B<br />

A ∨ B ∨Ir<br />

[A] 1<br />

.<br />

F<br />

¬A ¬I1<br />

¬A A<br />

F I<br />

F<br />

A ∨ B<br />

[A] 1<br />

.<br />

C<br />

C<br />

¬¬A<br />

A ¬E<br />

F<br />

F E<br />

A<br />

c○: Michael Kohlhase 197<br />

The next step now is to extend the language of propositional logic to include the quantifiers ∀<br />

and ∃. To do this, we will extend the language PLNQ with formulae of the form ∀x A and ∃x A,<br />

where x is a variable and A is a formula. This system (which ist a little more involved than we<br />

make believe now) is called “first-order logic”. 10 EdNote:10<br />

Building on the calculus ND 0 , we define a first-order calculus for “mathtalk” by providing introduction<br />

and elimination rules for the quantifiers.<br />

First-Order Natural Deduction<br />

Rules for propositional connectives just as always<br />

Definition 329 (New Quantifier Rules) The ND extends ND 0 by the following four<br />

rules<br />

10 EdNote: give a forward reference<br />

104<br />

[B] 1<br />

.<br />

C<br />

∨E 1

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

Saved successfully!

Ooh no, something went wrong!