Landau gives 5 axioms as the foundations for deriving the theorems in the first chapter:
- Axiom 1: 1 is a natural number.
- Axiom 2: If $x = y$ then $x' = y'$.
- Axiom 3: 1 is not a successor to any number.
- Axiom 4: If $x' = y'$ then $x = y$.
- Axiom 5 is the axiom of induction.
I do not understand why Axiom 4 is necessary. It seems to me that it can be derived from Axiom 2:
Suppose $x' = y' \Rightarrow x \neq y$. Then the contrapositive of this statement is $x = y \Rightarrow x' \neq y'$, which contradicts Axiom 2. Hence we obtain a contradiction, and it must be the case that $x' = y' \Rightarrow x = y$.
Am I missing something here? I mean there must be something wrong in the above reasoning, otherwise why would Landau list it as an axiom rather than a theorem?
Yes, you missed something: you incorrectly negated the statement "$x' = y'$ IMPLIES $x=y$".
Let's consider a general implication "P IMPLIES Q".
The method you used to negate that implication would be "P IMPLIES (NOT Q)". But that is incorrect.
Instead, its negation is "P AND (NOT Q)".
So the negation of (4) is "$x'=y'$ and $x \ne y$".