I'm reading a logic book, and i'm learning how to convert statements to prenex form, and my book says:
Replace (∀v₁)Qv₂θ with Qv₂(∀v₁)θ
Replace (∃v₁)Qv₂θ with Qv₂(∃v₁)θ
where
Q stands for an arbitrary quantifier
v stands for an arbitrary variable
θ stand for arbitrary statement or expression that result from substituting one or more variable tokens for singular terms in statement
what do these rules mean? To me, it seems like they're telling me that we can change the order of the quantifiers, but i know that if the quantifiers are different we can't do it: Are $(\exists x)(\exists y)$ and $(\forall x)(\forall y)$ equivalent to $(\exists y)(\exists x)$ and $(\forall y)(\forall x)$ respectively?
Could you guys help me please? the book doesn't give me any example.
Thank you!