 |
| Proof: |
| Let m and n be arbitrary integers. |
| |
| Assume m = n+1. |
by substitution. |
by multiplying through the n. |
| |
Case 1: (
) |
by definition of even. |
by substitution from above. |
by substitution. |
by multiplying out the square. |
by distributing out the 2. |
Since by closure of Z in multiplication and addition, |
by definition of even. |
and
by substitution. |
| |
Case 2: ( ) |
by definition of odd. |
by substitution from above. |
by substitution. |
by algebra. |
by distributing out the 2. |
Since
by closure of Z in multiplication and addition. |
by definition of even. |
and
by substitution. |
| |
| Since these are the only two possibilities for the value n, |
and they both lead to the conclusion that
 |
by dilema, we know that
. |
| |
| Closing the conditional world we get the implication: |
 |
| |
| And since m and n were arbitrary in Z, we get the statement: |
 |