Identities involving negation; the law of the excluded middle [01BR]
We have the following bi-implications for statements involving negation; you may use these to simplify your goals or your assumptions at will.
The following are the constructive laws of negation:
\begin {aligned} \lnot (\exists x:\tau \mathpunct {.} P(x)) &\Longleftrightarrow \forall x:\tau \mathpunct {.} P(x) \\ \lnot (P\lor Q) &\Longleftrightarrow \lnot P\land \lnot Q \\ \lnot (P\Longleftrightarrow Q) &\Longleftrightarrow (P \Longleftrightarrow \lnot Q) \end {aligned}The first two above are called De Morgan laws. You can prove these identities (and you should!) using nothing more than the basic laws of existential quantification, universal quantification, disjunction, biimplication, and negation.
Classical logic supports the following additional laws, which can be proved if you additionally assume the law of the excluded middle, i.e. P\lor \lnot P:
\begin {aligned} \lnot \forall x:\tau \mathpunct {.} P(x) &\Longleftrightarrow \exists x:\tau \mathpunct {.} \lnot P(x) \\ \lnot (P\land Q) &\Longleftrightarrow \lnot P \lor \lnot Q \\ \lnot \lnot P &\Longleftrightarrow P \end {aligned}The first two identities above are also called De Morgan laws. The third identity is called double negation elimination.
In this course, we do freely use the law of the excluded middle, but students tend to overuse it; if you find yourself using it, you should pause and take note. Often there is a simpler and more elegant constructive proof of a statement that avoids P\lor \lnot P.