Shannon decomposition

from Wikipedia, the free encyclopedia

The Shannon decomposition or Shannon expansion (named after Claude Elwood Shannon ) is a way of representing Boolean functions using their so-called cofactors. The mathematical statement about this decomposition is also called Shannon's expansion theorem. Although the phrase is named after Shannon, who first used it in 1949, it was created by George Boole about a hundred years earlier .

statement

Any Boolean function can be broken down as follows:

or shorter using the so-called cofactors:

The cofactors and are determined by partial evaluation of , i. H. Insertion of the variable defined:

This decomposition is also known as If-then-Else normal form (INF). It is also said that the function is " developed". If one repeats the application of the theorem for any function to all of its n parameters, one arrives at a representation of the function which exclusively uses the operators ∧, ∨ and ¬. The recursive application of the Shannon decomposition thus provides a proof that every Boolean function can be expressed using the operators ∧, ∨ and ¬.

This decomposition led, among other things, to the development of binary decision diagrams and thus to one of the possibilities for processing the satisfiability problem of propositional logic . In addition, the expansion theorem can be used to derive expressions without brackets.

example

The Boolean function is given .

This should first be developed gradually , then gradually and finally :

(Development after )
(Development after )
(Development after )
(Application of the distributive law)

Representation as a diagram

The conversion can also be understood as a multiplexer consisting of a non-gate, two ANDs and an OR gate. The signal according to which the decomposition is carried out is the control signal for the multiplexer. The two outputs of the duplicated logic are multiplexed, whereby a “1” is applied to one logic at the developed input, while a “0” is applied to the other. Shown as a diagram, it looks like this:

Shannon transformation.png

Individual evidence

  1. ^ CE Shannon: The synthesis of two-terminal switching circuits . In: Bell System Technical Journal . tape 28 , no. 1 , 1949, p. 59-98 .
  2. G. Boole: The calculus of logic . In: Cambridge and Dublin Mathematical Journal . tape 3 , no. 1848 , 1848, pp. 183–198 ( PDF [accessed November 26, 2012]).