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.

e quite difficult to establish in general), then the solutions of the program will be correct, and<br />

we will find all possible ones.<br />

Properties of Calculi (Theoretical Logic)<br />

Correctness: (provable implies valid)<br />

H ⊢ B implies H |= B (equivalent: ⊢ A implies |=A)<br />

Completeness: (valid implies provable)<br />

H |= B implies H ⊢ B (equivalent: |=A implies ⊢ A)<br />

Goal: ⊢ A iff |=A (provability and validity coincide)<br />

To TRUTH through PROOF (CALCULEMUS [Leibniz ∼1680])<br />

c○: Michael Kohlhase 181<br />

Of course, the logics we have studied so far are very simple, and not able to express interesting<br />

facts about the world, but we will study them as a simple example of the fundamental problem of<br />

<strong>Computer</strong> <strong>Science</strong>: How do the formal representations correlate with the real world.<br />

Within the world of logics, one can derive new propositions (the conclusions, here: Socrates is<br />

mortal) from given ones (the premises, here: Every human is mortal and Sokrates is human).<br />

Such derivations are proofs.<br />

Logics can describe the internal structure of real-life facts; e.g. individual things, actions, properties.<br />

A famous example, which is in fact as old as it appears, is illustrated in the slide below.<br />

If a logic is correct, the conclusions one can prove are true (= hold in the real world) whenever<br />

the premises are true. This is a miraculous fact (think about it!)<br />

The miracle of logics<br />

96

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

Saved successfully!

Ooh no, something went wrong!