Math 2.0

Mathematical logic and foundations Proof

Proof of the associativity of addition by induction

Builds on Addition of natural numbersSuccessor functionMathematical induction

Proof

We argue by induction on cc. Let SS be the successor function. The addition satisfies x+0=xx + 0 = x and x+S(y)=S(x+y)x + S(y) = S(x + y) for all natural numbers xx and yy. Fix natural numbers aa and bb.

  1. For c=0c = 0: the definition gives (a+b)+0=a+b(a + b) + 0 = a + b.
  2. Also b+0=bb + 0 = b, so a+(b+0)=a+ba + (b + 0) = a + b. Thus (a+b)+0=a+(b+0)(a + b) + 0 = a + (b + 0).
  3. Suppose that (a+b)+c=a+(b+c)(a + b) + c = a + (b + c) for some natural number cc.
  4. By the definition, (a+b)+S(c)=S((a+b)+c)(a + b) + S(c) = S((a + b) + c).
  5. By the hypothesis of step 3, S((a+b)+c)=S(a+(b+c))S((a + b) + c) = S(a + (b + c)).
  6. By the definition, S(a+(b+c))=a+S(b+c)S(a + (b + c)) = a + S(b + c).
  7. By the definition again, S(b+c)=b+S(c)S(b + c) = b + S(c), so a+S(b+c)=a+(b+S(c))a + S(b + c) = a + (b + S(c)).
  8. Steps 4 to 7 give (a+b)+S(c)=a+(b+S(c))(a + b) + S(c) = a + (b + S(c)).
  9. Since S(c)=c+1S(c) = c + 1, induction gives (a+b)+c=a+(b+c)(a + b) + c = a + (b + c) for every natural number cc. As aa and bb were arbitrary, the law holds for all aa, bb and cc.

Idea

The recursive definition of addition peels one successor off the last number at a time. On both sides, this successor moves to the outside in the same way. So the case S(c)S(c) reduces to the case cc.

Reading path

To understand this page from the ground up, read these 7 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Definition by recursion concept
  2. Mathematical induction concept
  3. Natural numbers object
  4. Peano axioms concept
  5. Successor function definition
  6. Addition of natural numbers definition
  7. Proof of the associativity of addition by induction proof

Where this leads

7 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Proofs_involving_the_addition_of_natural_numbers, Proof of associativity
About this page
TagKBVJPBJXFD
URIm2://KBVJPBJXFD
Kindproof
WritingW0 stub
MSC03F30
ProvesAssociativity of addition
UsesAddition of natural numbers, Successor function, Mathematical induction
MethodsMathematical induction
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.