Negative normal form is a structured way of showing formulas, restricting logical connectives to only include and , and only allowing direct negation. It can be used to then convert to conjunctive normal form (CNF).
Definition
Negative Normal Form (CNF)
A formula, is in negative normal form iff:
- The only connectives used are (no and )
- All negations () can only directly affect an atom (so we can’t do something like
Converting to NNF
The procedure for converting a formula to NNF is the same for both propositional logic and predicate logic:
-
Convert to and :
-
Convert to and :
-
Make negations direct (push ‘inwards’) using De Morgan’s:
-
Eliminate s:
Theorems
T1: In propositional logic, every proposition has an logically equivalent NNF
Examples
- Convert to and :
- Convert to and :