Definitions

Conjunctive Normal Form (CNF)

A formula is in CNF if it is of the form: where each is of the form: where each is , , a propositional variable or the negation of a propositional variable, and , .

More simply, a formula is in CNF if it is a conjunction of disjunctions of atoms.

Disjunctive Normal Form (DNF)

This is similar to CNF, but reversed. That is, a formula in DNF is a disjunction of conjunctions of atoms.

Normalising Formulae

All propositional formulae can be represented in CNF or DNF. To find a semantically equivalent formula in CNF, the following steps can be followed:

  1. Replace any and connectives with their equivalents according to the laws:
  2. Use De Morgan’s laws to push negations as far inwards as possible.
  3. Eliminate all double negations.
  4. Eliminate all conjunctions inside disjunctions, by pushing conjunctions inwards over disjunctions:
  • This is an application of the distributivity law

Following steps 1-3, then swapping and in step 4 will result in a formula in DNF instead of CNF.

Exercise Sheet