Question: This question concerns Peano arithmetic. We define addition + and multiplication by the following rules: + ( a , 0 ) = a + (
This question concerns Peano arithmetic. We define addition and multiplication
by the following rules:
a a
a Sb Sa b
a
a Sbaa b
Using only the axioms of Peano arithmetic, prove the following results. You may use results proven in earlier parts to prove later parts. Do not use identities or equalities that you have not first proven, no matter how obvious they might seem! Hint: You will find the Peano arithmetic definition of induction very useful.
a b b
bSa b Sa b
ca bb aCommutativity of
dab ca b cAssociativity of
e b
fSa bba b
ga bb aCommutativity of
Results a and b are proven below to give you a starting point.
Proof of a We will prove this by induction over b Let P b be b b
Definition of
This proves P Now, assume that P b holds, and derive that P Sb holds.
Sb S bDefinition of
SbP b
Thus, P holds and P b P Sb for all Peano numbers b so by induction, the result holds.
Proof of b We will prove this by induction over b Let P b be aSa b Sa b
Sa SaDefinition of
SaDefinition of
This proves P Now, assume that P b holds, and derive that P Sb holds.
Sa Sb SSa bDefinition of
SSa bP b
Sa SbDefinition of
Thus, P holds and P b P Sb for all Peano numbers b so by induction, the result holds.
Problem : Suppose you have glasses on the table, all facedown. You are allowed to pick up two glasses at once, one in each hand, and flip over both of them. You may do this as many times as you like, and your goal is to have all the glasses facing up
a Is this possible? If so what is the procedure? If not, give a proof for why you cannot.
b What about if there were glasses on the table initially, all facing down?
c Give an answer for any n in N where you start with n glasses facedown, and can only ever flip exactly two.
Problem : This problem concerns the Extended Euclidean Algorithm and gcds
a Calculate gcd using the Extended Euclidean Algorithm, and express it as a linear combination of and
b Consider the Fibonacci numbers. What is gcdFn Fn as a function of n in NHint: It might help to calculate gcdFn Fn for a few small values of n first.
c Consider the Extended Euclidean Algorithm run on two natural numbers. Prove that for any k such that rk is defined, rk rkHint: You might want to consider two cases, concerning rk and rk
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
