Full question:
"Give a first-order formula with no free variables that takes a binary relation, E, as an interpretation and is true if, and only if, the relation is a partial order"
My answer is:
$\forall x \left( \neg \exists y \left( \left( \left(x,y\right) \in E \land \left(y,x\right) \in E \right) \Rightarrow x = y \right) \land \left(x,x\right) \in E \land \forall y\forall z \left(\left(x,y\right) \in E \land \left(y,z\right) \in E \Rightarrow \left(x,z\right) \in E \right) \right)$
Am I going about this the right way?
Thanks for any help.
A Partial Order Relation is
Putting it together $${\forall x~\forall y~\forall z}~\Big[{(x,x){\in}E}\wedge{\big[((x,y){\in}E\wedge (y,x){\in}E)\to{x=y}\big]}\wedge{\big[((x,y){\in}E\wedge (y,z){\in}E)\to(x,z){\in}E\big]}\Big]$$