boolean-algebra

Definition

Shannon Expansion

Shannon expansion, named after Claude Shannon, is a method for decomposing Boolean function into simpler components.

For a given Boolean function and a selected variable , the Boolean function can be expressed as:

where is a positive cofactor and is a negative Cofactor of .

By recursively applying the Shannon expansion to each variable, a Boolean function can be broken down into a disjunctive of conjunctions or a conjunctions of disjunctions.

Example

  1. Example:
  1. Example:

By applying the Shannon expansion iteratively, a pattern emerges that can be represented using the If-Then-Else function:

which can be simplified to:

which can then be back-translated to: