Based on the following incorrect Theorem, why is this proof by contradiction not valid?
Theorem
If $x+y=10$
Then $x\neq 3 \text{ and } y\neq 8$
Proof
Assume:
$x+y=10$
$x=3$ or $y=8$
Let $x=3$ and $y=8$
Since $x+y=3+8=11\neq 10$ we have a contradiction based on the assumptions.
Based on this haven't we just proven the above theorem which we know to be incorrect. The steps I have been taught for proving something using proof by contradiction is to assume $P\land \lnot Q$ which I believe that I have done correctly. Then you simply want to derive something that is not true, which I also feel that I have done ($x+y\neq 10$).
So, my question is, where have I gone wrong/what is it that I am not understanding correctly?
Yes, you have set up things correctly: Assume $x+y=10$, and then, to start the proof by Contradiction, you (correctly) assumed that it is not true that $x \neq 3$ and $y \neq 8$. And the latter means that $x=3$ or $y=8$. But from that, you cannot infer that $x=3$ and $y=8$, which is what you need in order to get to $x+y=11$ and thus to your contradiction.