I convert using the following equivalences.
- $\forall x(P(x)\rightarrow\forall yQ(y))$
- $\forall x\neg(P(x)\land\exists y\neg Q(y))$
- $\forall x\neg\exists y(P(x)\land\neg Q(y))$
- $\forall x\forall y(P(x)\rightarrow Q(y))$
Is this correct formally?
I convert using the following equivalences.
Is this correct formally?
Yes, they are all equivalent, and the last one is in Prenex Normal form.
Now, I don;t know if you were asked to do this transformation step-by-step, using elementary equivalence laws, but if so, then I would say to break it up a little more:
Also note that one of the Prenex Laws is:
$\forall x(Q\rightarrow P(x)) \Leftrightarrow (Q\rightarrow \forall x \ P(x)) $
And with that Prenex Law, the desired transformation is just 1 step: