I am given this definition:
Let the domain of discourse $D$ be the set of all people and houses, the unary relation symbol $P$ is the set of people, and the unary relation $H$ is the set of houses, and and the binary relation $A$ is always interpreted as the set of pairs $(p,h)$ such that $p$ is a person,$h$ is a house and person $p$ has access to house $h$.
Question:
Express the following using an appropriate sentence of first order logic:
No house can be accessed by more than one person.
Attempt:
I attempted expressing the sentence and came up with this:
$\forall x(H(X) \Rightarrow \forall y\forall z ((P(y) \land P(x) \land A(y,x) \land A(z,x))\Rightarrow z=y))$
While the answer given is this:
$\forall x \forall y ((P(X) \land P(y) \land x \neq y)\Rightarrow \neg \exists z(H(z) \land A(x,z) \land A(y,z)))$
Is there any way of deducing whether or not the two sentences are describing the same thing?