Negation normal form

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Janburse (talk | contribs) at 09:51, 21 March 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematical logic, a formula is in negation normal form if the negation operator (, not) is only applied to variables and the only other allowed Boolean operators are conjunction (, and) and disjunction (, or).

Negation normal form is not a canonical form: for example, and are equivalent, and are both in negation normal form.

In classical logic and many modal logics, every formula can be brought into this form by replacing implications and equivalences by their definitions, using De Morgan's laws to push negation inwards, and eliminating double negations. This process can be represented using the following rewrite rules (Handbook of Automated Reasoning 1, p. 204):

A formula in negation normal form can be put into the stronger conjunctive normal form or disjunctive normal form by applying distributivity.

Examples and counterexamples

The following formulae are all in negation normal form:

The first example is also in conjunctive normal form and the last two are in both conjunctive normal form and disjunctive normal form, but the second example is in neither.

The following formulae are not in negation normal form:

They are however respectively equivalent to the following formulae in negation normal form:

References

  • Alan J.A. Robinson and Andrei Voronkov, Handbook of Automated Reasoning 1:203ff (2001) ISBN 0444829490.

External links