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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Theorem 31 There is a unary natural number of which /// is the successor<br />

Theorem 32 There are at least 7 unary natural numbers.<br />

Theorem 33 Every unary natural number is either zero or the successor of a unary natural<br />

number. (we will come back to this later)<br />

c○: Michael Kohlhase 33<br />

This seems awfully clumsy, lets introduce some notation<br />

Idea: we allow ourselves to give names to unary natural numbers<br />

(we use n, m, l, k, n1, n2, . . . as names for concrete unary natural numbers.)<br />

Remember the two rules we had for dealing with unary natural numbers<br />

Idea: represent a number by the trace of the rules we applied to construct it.<br />

(e.g. //// is represented as s(s(s(s(o)))))<br />

Definition 34 We introduce some abbreviations<br />

we “abbreviate” o and ‘ ’ by the symbol ’0’ (called “zero”)<br />

we abbreviate s(o) and / by the symbol ’1’ (called “one”)<br />

we abbreviate s(s(o)) and // by the symbol ’2’ (called “two”)<br />

. . .<br />

we abbreviate s(s(s(s(s(s(s(s(s(s(s(s(o)))))))))))) and //////////// by the symbol<br />

’12’ (called “twelve”)<br />

. . .<br />

Definition 35 We denote the set of all unary natural numbers with N1.<br />

(either representation)<br />

c○: Michael Kohlhase 34<br />

Induction for unary natural numbers<br />

Theorem 36 Every unary natural number is either zero or the successor of a unary natural<br />

number.<br />

Proof: We make use of the induction axiom P5:<br />

P.1 We use the property P of “being zero or a successor” and prove the statement by<br />

convincing ourselves of the prerequisites of<br />

P.2 ‘ ’ is zero, so ‘ ’ is “zero or a successor”.<br />

P.3 Let n be a arbitrary unary natural number that “is zero or a successor”<br />

P.4 Then its successor “is a successor”, so the successor of n is “zero or a successor”<br />

P.5 Since we have taken n arbitrary (nothing in our argument depends on the choice)<br />

we have shown that for any n, its successor has property P .<br />

P.6 Property P holds for all unary natural numbers by P5, so we have proven the assertion<br />

c○: Michael Kohlhase 35<br />

21

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

Saved successfully!

Ooh no, something went wrong!