Any first order formula can be converted into Prenex Normal Form by:
- Eliminate all occurrences of and from the formula. Use equivalences from propositional logic:
- Move all negations inward, such that negations only appear in front of atoms. Use equivalences:
- Standardise the variables apart where necessary. Renaming variables in a formula such that distinct variables (not in the scope of the same quantifier) have distinct names.
- The PNF can now be obtained by moving all quantifiers to the front. Use logic equivalences ( not occurring, or already bound, in ): And other equivalences: