I am having trouble understanding the solution given for a problem in my discrete mathematics text book. Any help would be much appreciated.
Question: Let L(x, y) be the statement "x loves y", where the universe of discourse for both x and y is the set of all people in the world. Use quantifiers to express the following statement.
There is exactly one person who everybody loves.
Solution: $\exists x(\forall yL(y,x)\wedge \forall z((\forall wL(w,z))\rightarrow z=x))$
Essentially, this says that there is someone x whom everyone loves, and anyone who is loved by all is x.
This can, equivalently be written as follows: $$\exists x(\forall yL(y,x)\wedge \forall z(z\neq x \rightarrow \exists w(\lnot L(w, z))$$
There is someone x who everyone loves, and everyone that is not $x$ is not liked by someone.