My goal is to prenex-normalize the following sentence:
$(\exists{z} : S(z)) \wedge \exists{x} :\forall{y} : [\forall{z}: S(z) \Rightarrow P(y,z)] \Rightarrow R(x,y)$
I tried many times but none of the things that I try seem to work. I can't wrap my mind around the part between the []-brackets.
This is an exercise in a course that I take and we have a tool to check the correctness of a solution, most other exercises were no problem for me but I really struggle with this one.
I assume you were given the rules for pulling out the quantifiers?
In particular, the ones to pay attention to are:
$$\forall x \ \phi(x) \rightarrow \psi \Leftrightarrow \exists x (\phi(x) \rightarrow \psi)$$
$$\exists x \ \phi(x) \rightarrow \psi \Leftrightarrow \forall x (\phi(x) \rightarrow \psi)$$
In other words, when you pull a quantifier out side a conditional and where that quantifier was the antecedent of that conditional, the quantifier changes its sign.
Applied to your statement (and please allow me to add a few parentheses to make the diferent scopes a bit more clear):
$\exists z : S(z) \land \exists x : \forall y : ([\forall z : (S(z) \rightarrow P(y,z))] \rightarrow R(x,y)) \Leftrightarrow$
$\exists z : S(z) \land \exists x : \forall y : \exists z : ((S(z) \rightarrow P(y,z)) \rightarrow R(x,y)) \Leftrightarrow$
$\exists x : \forall y : \exists w : (\exists z : S(z) \land ((S(w) \rightarrow P(y,w)) \rightarrow R(x,y)) \Leftrightarrow$
$\exists x : \forall y : \exists w : \exists z :(S(z) \land ((S(w) \rightarrow P(y,w)) \rightarrow R(x,y))$
If the body needs to be put in CNF ... I assume you can do that youršelf.