Any first order formula can be converted into Prenex Normal Form by:

  1. Eliminate all occurrences of and from the formula. Use equivalences from propositional logic:
  2. Move all negations inward, such that negations only appear in front of atoms. Use equivalences:
  3. 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.
  4. 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: