Understanding Computation
1
Understanding Computation 1 Mathematics & Computation - - PowerPoint PPT Presentation
Understanding Computation 1 Mathematics & Computation Machines have helped with calculations for a long time Can we use machines to reason too? CS 374 2 Mathematics & Computation Machines have helped with calculations for a long
1
CS 374
2
CS 374
2
CS 374
2
CS 374
2
CS 374
3
CS 374
3
CS 374
3
CS 374
3
CS 374
3
CS 374
3
CS 374
4
CS 374
4
CS 374
4
CS 374
5
CS 374
6
Letter from Goldbach to Euler dated 7 June 1742
CS 374
7
CS 374
7
CS 374
7
CS 374
8
CS 374
8
“This statement can’t be proved”
CS 374
8
“This statement can’t be proved” “The axioms are consistent”
CS 374
8
“This statement can’t be proved” “The axioms are consistent”
CS 374
8
“This statement can’t be proved” “The axioms are consistent”
CS 374
9
CS 374
9
CS 374
10
CS 374
10
CS 374
11
CS 374
11
CS 374
11
CS 374
11
CS 374
12
CS 374
13
CS 374
13
CS 374
13
CS 374
13
CS 374
14
CS 374
14
CS 374
14
CS 374
14
CS 374
15
CS 374
15
1 ε 2 3 1 4 00 5 01 6 10 7 11 8 000 9 001 10 010 11 011 12 100
CS 374
15
1 ε 2 3 1 4 00 5 01 6 10 7 11 8 000 9 001 10 010 11 011 12 100
CS 374
16
1 ε 2 3 1 1 4 00 5 01 1 6 10 1 7 11 8 000 9 001 1 10 010 1 11 011 12 100 1
CS 374
16
1 ε 2 3 1 1 4 00 5 01 1 6 10 1 7 11 8 000 9 001 1 10 010 1 11 011 12 100 1
CS 374
16
1 ε 2 3 1 1 4 00 5 01 1 6 10 1 7 11 8 000 9 001 1 10 010 1 11 011 12 100 1
CS 374
17
CS 374
18
CS 374
18
CS 374
18
CS 374
18
CS 374
18
CS 374
19
CS 374
19
CS 374
19
CS 374
19
CS 374
20
CS 374
20
abb a ba bbb a ab abb baa b bbb abb a ba bbb abb a a ab abb baa b bbb
CS 374
20
abb a ba bbb a ab abb baa b bbb abb a ba bbb abb a a ab abb baa b bbb
CS 374
21
CS 374
21
CS 374
21
CS 374
21
22
CS 374
23
CS 374
24
CS 374
24
CS 374
24
CS 374
24
CS 374
24
CS 374
24
CS 374
24
CS 374
24
CS 374
25
CS 374
25
CS 374
26
CS 374
26
CS 374
26
The argument presented implicitly assumes puzzle is built piece-by-piece
CS 374
27
CS 374
27
May need a stronger claim than originally asked to prove
CS 374
27
Convention in this class: n here (not n+1) May need a stronger claim than originally asked to prove
CS 374
27
Always use strong induction! Convention in this class: you lose all points for using weak induction when strong needed Convention in this class: n here (not n+1) May need a stronger claim than originally asked to prove
CS 374
27
Always use strong induction! Convention in this class: you lose all points for using weak induction when strong needed The clever stuff. Be careful to consider arbitrary instance of size n. Relate it to one
Convention in this class: n here (not n+1) May need a stronger claim than originally asked to prove
CS 374
28
Stronger Claim: Any clump with n pieces takes exactly n-1 moves to assemble
CS 374
29
Stronger Claim: Any clump with n pieces takes exactly n-1 moves to assemble
CS 374
30
CS 374
30
CS 374
30
CS 374
30
CS 374
30
CS 374
30
CS 374
30
CS 374
31