I came across this question in a book. I tried proving the condition as the following: Suppose that a and b are rational. Clearly the sum of $a$ and $b$ is rational, which contradicts the condition, which is that $a+b$ is irrational. Therefore at least one of a or b is irrational.
I have a feeling that something is amiss there. I feel like using contrapositive proof here could be better but I'm not sure because I'm new to the world of proofs.
Not X is: $a+b$ is rational $\iff a,b\in \mathbb Q$.
Not Y $\implies$ Not X is exactly that $\mathbb Q$ is closed under the operation ,,$+$''
– crush3dice Aug 17 '20 at 13:59