What is the prenex normal form?
Overview
The prenex normal form is a method to deal with formulas so that the quantifiers are moved in front of the expression.
Prenex normal form
The prenex normal form is written as:
In this form
A formula with no quantifiers is called a trivial case of the prenex normal form.
Steps to convert into PNF
We'll follow the steps below to convert any expression into PNF:
- We eliminate all the occurrences of
and from the formula. - We move all the negations inwards to appear only as a part of the literal.
- Standardize the variables apart if it is necessary.
- PNF is obtained by moving the quantifiers to the front of the formula.
Step 1
To remove the conditional
Step 2
We'll now try to move all the negations close to the literals instead of the negations occurring as a whole. We convert the
- De Morgan's law
Step 3
Renaming of the variables is called the standardizing of the variables apart. To achieve step 3, we use the following theorem to rename the variables to make them distinct.
Suppose we get
Step 4
In this step, we'll shift all the
where does not occur in . where does not occur in . where does not occur in . where does not occur in .
Example
Let's consider the following expression:
To convert it into PNF, we follow the steps mentioned above.
Step 1
We'll eliminate
Step 2
We'll move the negations inwards.
Step 3
We'll standardize the variables.
Step 4
We'll now move the quantifiers to the front, and this gives us:
Output
In conclusion,
This is the final PNF form of the expression.
Free Resources