In a book I am reading about computer science I have this result about two complements numbers:
Assume that $a$ and $b$ are two N-bit 2's complement numbers. Then $a<b$ is equivalent to the fact that $a-b$ will either overflow or have a $1$ in the minus position, but not both.
So what I need to prove is: first I assume that $a<b$, then I need to show that $a-b$ will either have overflow or have a $1$ in the minus position but not both.
Then I need to show that if $a-b$ either overflows or has a one in the minus position, but not both, then $a<b$.
Do you see how to solve this?