Let we have a formula $\psi = \forall x (P(x) \vee \forall y Q(y,x))$. Is the formula equivalent to $\psi' = \forall x \forall y (P(x) \vee Q(y, x))$ in Prenex Normal Form. If so, What are the rules that are being used while pulling the quantifier $\forall y$.
Here again with a slight change in the above formula :
Let we have a formula $\phi = \forall x (P(x) \wedge \forall y Q(y,x))$. Is the formula equivalent to $\phi' = \forall x \forall y (P(x) \wedge Q(y, x))$ in Prenex Normal Form. If so, What are the rules that are being used while pulling the quantifier $\forall y$.
The rules for producing a PNF are :
and
under the condition that $x$ does not appear as a free variable in $\psi$ (and similar for the existential quantifier).
Thus, considering $\psi = ∀x(P(x) ∨ ∀yQ(y,x))$, we can "pull out" the $∀y$ quantifier using the second rule above, because there is no $y$ variable in the $P(x)$ subformula, getting the equivalent :
The same for $\phi$ and the equivalent $\phi'$, using the first rule above.