The problem asks to convert the following statements into propositional logic
The square of a nonzero integer is positive
$\forall n \in \mathbb{Z}, (n \neq 0) \implies (n^2 > 0)$
The book adds these parenthesis for some reason.
Now since we can rewrite $P \implies Q$ as $\neg P \vee Q$, I thought this can be converted to
$\neg (\forall n \in \mathbb{Z}, n \neq 0) \implies (n^2 > 0)$
And then using DeMorgan's laws, we can do
$\exists n \not\in \mathbb{Z}, n = 0 \vee(n^2 > 0)$
but this turned out to be wrong, the book's answer is
$\forall n \in \mathbb{Z}, (n = 0) \vee (n^2 > 0)$
So a few questions, why did they choose to only negate $(n \neq 0)$ and leave the rest of the $\forall n \in \mathbb{Z}$ alone? Is it that they only do operations on propositions and that quantifiers are not propositions? Do negations apply to the $\in$ in $a \in A$?