$P(x)$ is a polynomial, whose degree is either $1$ or $0$ (we do not know exactly which).
$Q(x)$ is a polynomial, whose degree is unknown.
Assuming that the degree of $P(x)$ is $1$, I prove that
Degree of $Q(x) = 1$ $\implies$ Degree of $Q(x) = A > 1$.
Can I conclude that the degree of $P(x)$ is $0$?
I think this is an example of an invalid proof by contradiction, but I wanted to double-check.
The reason is that a statement of the form
$$p \implies NOT(p) $$ is not a contradiction.