21.01.2015 Views

Elementary Logic

Elementary Logic

Elementary Logic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

A Proof in First-Order ND<br />

Below is a partial proof of the validity of<br />

∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)) → ∀x(p(x) → ¬r(x)) in ND,<br />

where γ denotes ∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)).<br />

.<br />

γ, p(y), r(y) ⊢ r(y) → q(y)<br />

γ, p(y), r(y) ⊢ q(y)<br />

(Ax)<br />

γ, p(y), r(y) ⊢ r(y)<br />

(→E)<br />

.<br />

(∧I )<br />

∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)), p(y), r(y) ⊢ q(y) ∧ ¬q(y)<br />

(¬I )<br />

∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)), p(y) ⊢ ¬r(y)<br />

(→I )<br />

∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)) ⊢ p(y) → ¬r(y)<br />

(∀I )<br />

∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)) ⊢ ∀x(p(x) → ¬r(x))<br />

(→I )<br />

⊢ ∀x(¬p(x) ∨ ¬q(x)) ∧ ∀x(r(x) → q(x)) → ∀x(p(x) → ¬r(x))<br />

Yih-Kuen Tsay (SVVRL @ IM.NTU) <strong>Elementary</strong> <strong>Logic</strong> FLOLAC 2011 56 / 64

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

Saved successfully!

Ooh no, something went wrong!