I'm supposed to determine whether or not these equivalences are valid for all predicates P and Q. I've written my assumptions but I've never done anything like this so it almost seems too simple and I feel as though my logic is incorrect:
a) $$ \forall x (P(x) \wedge \neg Q(x)) \equiv \forall xP(x) \wedge \neg \exists xQ(x)$$
This is how I interpreted it: For all x, P(x) is true and Q(x) is false. For all x, P(x) is true and there does not exist an x such that Q(x) is true (thus meaning Q(x) must always be false).
These equivalences appear to be valid.
b) $$\forall x (\neg P(x) \vee Q(x)) \equiv (\neg \exists xP(x)) \vee (\forall x Q(x))$$
This is how I interpreted this one: For all x, P(x) is false or Q(x) is true. There does not exist an x such that P(x) is true (thus P(x) must always be false) or for all x, Q(x) is true.
These equivalences appear to be valid.
Any help is appreciated :)
The second one is not valid.
Consider the interpretation with domain $\mathbb N$ and interpret both $P(x)$ and $Q(x)$ as "$x$ is Odd".
The LHS amounts to : $∀n \ (¬ \text {Odd}(n) ∨ \text {Odd}(n))$, which is true in $\mathbb N$, while the RHS will be :$¬∃n \ \text {Odd}(n) ∨ ∀n \ \text {Odd}(n)$, which is false.
In a nutshell, $\forall$ "distribute" over $∧$ but not over $∨$, and this is due to the fact that $\forall$ is like a "big and".