Let $(\mathbb N,<)$ be the set of natural numbers as defined in the book Introduction to Set Theory by Hrbacek and Jech.
Suppose you are asked to show that $n<m$ implies $n+1\leq m$ for all $m,n\in\mathbb N$. Consider the following proof :
Let $P(n,m)$ denote the property that $n<m$ implies $n+1\leq m$.
Fix some arbitrary $n\in \mathbb N$. We will show that $P(n,m)$ holds for all $m\in \mathbb N$ by induction on $m$.
$P(n,0)$ holds vacuously since $n<0$ is false. Suppose $P(n,m)$ holds for some $m\in\mathbb N$ and suppose that $n<m+1$. Then $n\leq m$. If $n<m$ then $n+1\leq m $ by the induction hypothesis, and if $n=m$ then $n+1=m+1$. In either case $n+1\leq m+1$. By the induction principle we conclude that $P(n,m)$ holds for all $m\in \mathbb N$. As $n$ is arbitrary the conclusion follows.
It seems to me that this proof is ok. However the answer here seems to suggest that it is incorrect.
Am I missing something?