1
$\begingroup$

I'm looking at a proof and failing to understand a step.

1) Base case:

$ss(0) + 0 = ss(0)$,

by the axiom for 0 addition which states that 0+n=n.

2) We want to prove that for all n,

$ss(0) + s(n) = sss(n)$.

By definition / axioms, we get the following:

2.1) $ss(0) + s(n) = s(ss(0)+n)$

But what axiom or rule allows us to go from that to the conclusion that

2.2) $ss(0) + s(n) = sss(n)$ ?

  • 0
    We are aiming for induction. So you are now assuming ss(0)+s(n)=sss(n), and then you want to prove the same with n replaced by s(n). So 2.2) should be assumed.2017-01-08
  • 0
    Sorry, I should have stated that we had already assumed ss(0)+n=sss(n). 2.2 involves s(n) though, not n.2017-01-08
  • 0
    Ah, sorry, from the title I have misunderstood that ss(0)+s(n)=sss(n) is the statement to be proven by induction2017-01-08
  • 0
    Did I understand correctly that the statement to be proven by induction is $ss(0) + n = ss(n)$? If so, consider to make it explicit in your question.2017-01-08
  • 0
    Also, $0 + n = n$ is not an axiom. It is definition + commutativity.2017-01-08

1 Answers 1

0

Assume $ss(0) + n = ss(n)$. Then we have

$$s(ss(0)+n) = sss(n)\implies ss(0) + s(n) = sss(n)$$ by definition $m+s(n) = s(m+n)$.