I need some help with the following problem. I have to show that the set of formulas $\{\phi_1,\phi_2,\phi_3,\phi_4\}$ has no model, where
$$\begin{align*} \phi_1&=\forall x \forall y \forall z (Rxy \lor Ryz \lor Rxz)\;,\\ \phi_2&=\forall x \forall y \forall z ((Rxy \land Ryz) \rightarrow Rxz)\;,\\ \phi_3&=\forall x \forall y (Rxy \rightarrow Rf(x)f(y))\;,\text{ and}\\ \phi_4&=\forall x (\neg Rxf(f(x))\;, \end{align*}$$
where $R$ is some relation and $f$ is some function.
In particular I don't understand how I can get rid of $f$. I would be very grateful for any hint!
Thank You.