I have been working on this problem from Velleman's How to prove book:
Negate these statements and then reexpress the results as equivalent positive statements.
(a) There is someone in the freshman class who doesn’t have a roommate.
I solved the question like this:
F(x) = x is in the freshman class
R(x,y) = x has roommate y.
Original Statement:
∃x F(x) ∧ ¬R(x,y)
Negate:
¬∃x F(x) ∧ ∃y¬R(x,y)∀x¬(F(x) ∧ ∃y¬R(x,y))∀x¬F(x) ∨ ∀yR(x,y)∀x∀y ¬F(x) ∨ R(x,y)∀x∀y F(x) -> R(x,y)
And translated back to english like this:
Someone in the freshman class has a roommate.
I have been verifying my answers from here and according to it the solution is ∀x[F(x)→∃yR(x,y)]. Can somebody point out the right way of doing this?
The error is in the "formalization" of the first statement; you have to start with :
because the "non-existence" of roommates is "relative to" the freshman student; thus, the second existential quantifier must be in the scope of the first one.
Denaying it, we have that [remember that : $\lnot(P \land Q)$ is equivalent to : $(\lnot P \lor \lnot Q)$] :
which is [remember that : $(\lnot P \lor Q)$ is equivalent to : $(P \rightarrow Q)]$ :