All round normal form

from Wikipedia, the free encyclopedia

The circular sum normal form (RSNF or RNF for short) (also: algebraic normal form (ANF for short), Reed-Muller expansion , ring sum expansion or Schegalkin polynomial) is a form of representation of a Boolean function . This normal form only uses the operators XOR (contravalence) and AND (conjunction) .

definition

The two operators contravalence and conjunction form a complete basis for the Boolean functions . This enables the following definition.

A formula is in circular sum normal form if it is a contravalence ( ) of conjunctions ( ) of the input variables and the constants . A formula in RSNF has the following form:

,

where for each subset is.

Calculating the RSNF

One starts from an orthogonal disjunctive normal form ( i.e. a disjunctive normal form whose conjunctions are all mutually disjunctive, i.e. result in 0). This can e.g. B. also be the canonically disjunctive normal form . In this one replaces the disjunction operator with the non- equivalence operator (ring sum), which is possible due to the orthogonality. Then you rewrite the negations in the (bracketed) antivalence with 1. Then “multiply”, paying special attention to the calculation rule for the antivalence .

example

The disjunctive normal form can be transformed into its RSNF as follows:

Orthogonalization (e.g. with the help of a Karnaugh plan ):

Replacing the disjunction with the antivalence:

Rewriting the negation:

Multiply out:

By "deleting" two identical terms each time you finally get:

Inferences

  • Any Boolean function can be converted to normal form of the total sum.
  • The normal form of a Boolean function is unique (except for the sequence).

literature