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.

Purely formal derivations are true in the real world!<br />

c○: Michael Kohlhase 182<br />

2.6.4 Proof Theory for the Hilbert Calculus<br />

We now show one of the meta-properties (soundness) for the Hilbert calculus H 0 . The statement<br />

of the result is rather simple: it just says that the set of provable formulae is a subset of the set of<br />

valid formulae. In other words: If a formula is provable, then it must be valid (a rather comforting<br />

property for a calculus).<br />

H 0 is sound (first version)<br />

Theorem 315 ⊢ A implies |=A for all propositions A.<br />

Proof: show by induction over proof length<br />

P.1 Axioms are valid (we already know how to do this!)<br />

P.2 inference rules preserve validity (let’s think)<br />

P.2.1 Subst:<br />

complicated, see next slide<br />

P.2.2 MP:<br />

P.2.2.1 Let A ⇒ B be valid, and ϕ: Vo → {T, F} arbitrary<br />

P.2.2.2 then Iϕ(A) = F or Iϕ(B) = T (by definition of ⇒).<br />

P.2.2.3 Since A is valid, Iϕ(A) = T = F, so Iϕ(B) = T.<br />

P.2.2.4 As ϕ was arbitrary, B is valid.<br />

c○: Michael Kohlhase 183<br />

To complete the proof, we have to prove two more things. The first one is that the axioms are<br />

valid. Fortunately, we know how to do this: we just have to show that under all assignments, the<br />

axioms are satisfied. The simplest way to do this is just to use truth tables.<br />

97

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

Saved successfully!

Ooh no, something went wrong!