+ All Categories
Home > Technology > Class 34: Proving Unprovability

Class 34: Proving Unprovability

Date post: 22-Jun-2015
Category:
Upload: david-evans
View: 382 times
Download: 0 times
Share this document with a friend
Description:
Axiomatic SystemsProving 1+1=2Russell's Paradox
Popular Tags:
34
Class 34: Proving Unprovabil ity cs1120 Fall 2011 David Evans 11 - 11 - 11
Transcript
Page 1: Class 34: Proving Unprovability

Class 34:ProvingUnprovability

cs1120 Fall 2011David Evans11 - 11 - 11

Page 2: Class 34: Proving Unprovability

2

Plan

Explanation of PS8 OptionsUnprovability

Any questions about the interpreter?

Comments about Ivan’s lecture Wednesday

Page 3: Class 34: Proving Unprovability

3

Page 4: Class 34: Proving Unprovability

4

Problem Set 8

Option J:Aazda (Charme)

Interpreter in Java + static type

checking

Option C:Conveying Computing

Option W:Web

Application

cs2110: Software Development Methods

Only Option J automatically satisfies the prerequisite for taking cs2110 this Spring. If you indicated interest in Computer Science major on your PS0 survey you are expected to do Option J. If you prefer to do a different option, must provide a convincing reason why.

Page 5: Class 34: Proving Unprovability

Meta-Circularity?

Much of the course so far:Getting comfortable with recursive definitionsLearning to write programs to do (almost) anything

Starting today and next week:Getting un-comfortable with recursive definitionsThings no program can do!

Page 6: Class 34: Proving Unprovability

Computer Science/Mathematics

Computer Science (Imperative Knowledge)Are there (well-defined) problems that

cannot be solved by any procedure?

Mathematics (Declarative Knowledge)Are there true conjectures that cannot be the

shown using any proof?Toda

yM

onda

y

Page 7: Class 34: Proving Unprovability

Mechanical ReasoningAristotle (~350BC): Organon

Codify logical deduction with rules of inference (syllogisms)

Every A is a P

X is an A

X is a P

Premises

Conclusion

Every human is mortal. Gödel is human.Gödel is mortal.

Page 8: Class 34: Proving Unprovability

Euclid (~300BC): ElementsReduce geometry to a few

axioms and derive the rest by following rules

Newton (1687): Philosophiæ Naturalis Principia Mathematica

Reduce the motion of objects (including planets) to following

axioms (laws) mechanically

Page 9: Class 34: Proving Unprovability

Mechanical Reasoning

1800s – mathematicians work on codifying “laws of reasoning”

Augustus De Morgan (1806-1871)De Morgan’s lawsproof by induction

George Boole (1815-1864)Laws of Thought

Page 10: Class 34: Proving Unprovability

Bertrand Russell (1872-1970)

1910-1913: Principia Mathematica (with Alfred Whitehead)

1918: Imprisoned for pacifism1950: Nobel Prize in Literature1955: Russell-Einstein Manifesto 1967: War Crimes in Vietnam

Note: this is the same Russell who wrote In Praise of Idleness!

Page 11: Class 34: Proving Unprovability

When Einstein said, “Great spirits have always encountered violent opposition from mediocre minds.” he was talking about Bertrand Russell.

Page 12: Class 34: Proving Unprovability

All true statements about numbers

Page 13: Class 34: Proving Unprovability

Perfect Axiomatic System

Derives all true statements, and no false

statements starting from a finite number of axioms

and following mechanical inference rules.

Page 14: Class 34: Proving Unprovability

Incomplete Axiomatic System

Derives some, but not all true

statements, and no false statements starting from a

finite number of axioms and following mechanical

inference rules.

incomplete

Page 15: Class 34: Proving Unprovability

Inconsistent Axiomatic System

Derives all true statements, and some false statements starting from a

finite number of axioms and following mechanical

inference rules.some false statements

Page 16: Class 34: Proving Unprovability

Principia Mathematica [1910]

Bertrand Russell(1872-1970)

Alfred Whitehead(1861-1947)

2000 pages

Attempted to axiomatize mathematical reasoning

Claimed to be complete and consistent:All true theorems could be derivedNo falsehoods could be derived

Page 17: Class 34: Proving Unprovability

17

Proving 1+1 = 2

Page 18: Class 34: Proving Unprovability

18

More Understandable Proof

Define the natural numbers

Page 19: Class 34: Proving Unprovability

19

More Understandable Proof

Define the natural numbers

Peano’ s Postulates:

N is the smallest set satisfying these postulates: P1. 1 is in N . P2. If x is in N , then its "successor" (succ x) is in N . P3. There is no x such that (succ x) = 1. P4. If x is not 1, then there is a y in N such that (succ y) = x. P5. If S is a subset of N , 1 is in S, and the implication

(x in S=> (succ x) in S) holds, then S=N.

Page 20: Class 34: Proving Unprovability

20

Proving 1+1 = 2

Define +: N × N N N is the smallest set satisfying these postulates: 1. 1 is in N . 2. If x is in N , then its "successor"

(succ x) is in N . 3. There is no x such that (succ x) =

1. 4. If x is not 1, then there is a y in

N such that (succ y) = x. 5. If S is a subset of N , 1 is in S,

and the implication (x in S=> (succ x) in S) holds, then S=N.

Page 21: Class 34: Proving Unprovability

21

Proving 1+1 = 2

Define +: N × N N

Call the inputs a and b.

If b is equal to 1: (+ a b) = (succ a)Otherwise: by P4, there exists c such that b = (succ c) (+ a b) = (succ (+ a c))

N is the smallest set satisfying these postulates: 1. 1 is in N . 2. If x is in N , then its "successor"

(succ x) is in N . 3. There is no x such that (succ x) =

1. 4. If x is not 1, then there is a y in

N such that (succ y) = x. 5. If S is a subset of N , 1 is in S,

and the implication (x in S=> (succ x) in S) holds, then S=N.

Page 22: Class 34: Proving Unprovability

22

Now the Proof!

Definition of (+ a b):If b is equal to 1: (+ a b) = (succ a)Otherwise: by P4, there exists c such that b = (succ c) (+ a b) = (succ (+ a c))

Page 23: Class 34: Proving Unprovability

23

Now the Proof!

“2” = (succ 1)1 + 1 = (succ 1)By definition of +,

1 + 1 = (succ 1) = “2”QED!

Definition of (+ a b):If b is equal to 1: (+ a b) = (succ a)Otherwise: by P4, there exists c such that b = (succ c) (+ a b) = (succ (+ a c))

Page 24: Class 34: Proving Unprovability

24

Bertrand Russell, My Philosophical Development, 1959

Page 25: Class 34: Proving Unprovability

Russell’s Paradox

Some sets are not members of themselvese.g., set of all Jeffersonians

Some sets are members of themselvese.g., set of all things that are non-Jeffersonian

S = the set of all sets that are not members of themselves

Is S a member of itself?

Page 26: Class 34: Proving Unprovability

Russell’s Paradox

• S = set of all sets that are not members of themselves

• Is S a member of itself?

Page 27: Class 34: Proving Unprovability

Russell’s Paradox

• S = set of all sets that are not members of themselves

• Is S a member of itself?– If S is an element of S, then S is a member of

itself and should not be in S.– If S is not an element of S, then S is not a

member of itself, and should be in S.

Page 28: Class 34: Proving Unprovability

Ban Self-Reference?

• Principia Mathematica attempted to resolve this paragraph by banning self-reference

• Every set has a type– The lowest type of set can contain only “objects”,

not “sets”– The next type of set can contain objects and sets

of objects, but not sets of sets

Page 29: Class 34: Proving Unprovability

Russell’s Resolution (?)

Set ::= Setn

Set0 ::= { x | x is an Object }

Setn ::= { x | x is an Object or a Setn - 1 }

S: Setn

Is S a member of itself?No, it is a Setn so, it can’t be a member of a Setn

Page 30: Class 34: Proving Unprovability

Epimenides Paradox

Epidenides (a Cretan): “All Cretans are liars.”

Equivalently:“This statement is false.”

Russell’s types can help with the set paradox, but not with these.

Page 31: Class 34: Proving Unprovability

Gödel’s “Solution”

All consistent axiomatic formulations of number theory include undecidable propositions.

undecidable: cannot be proven either true or false inside the system.

Page 32: Class 34: Proving Unprovability

Kurt Gödel• Born 1906 in Brno (now

Czech Republic, then Austria-Hungary)

• 1931: publishes Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme (On Formally Undecidable Propositions of Principia Mathematica and Related Systems)

The Information, Chapter 6

Page 33: Class 34: Proving Unprovability

1939: flees ViennaInstitute for Advanced

Study, PrincetonDied in 1978 –

convinced everything was poisoned and refused to eat

Page 34: Class 34: Proving Unprovability

Charge

Today:Incompleteness: there are theorems that cannot be proven

MondayUncomputability: there are problems that cannot be solved by any algorithm

Wednesday: PS7 Due


Recommended