Boole's expansion theorem
Boole's expansion theorem, often referred to as the Shannon expansion or Shannon decomposition, is the identity , where is any Boolean function, is a variable, is the complement of , and and are with the argument set equal to and to respectively.
The terms and are sometimes called the positive and negative Shannon cofactors, respectively, of with respect to . These are functions, computed by the operator, and .
The theorem has been called the "fundamental theorem of Boolean algebra". Besides its theoretical importance, it paved the way for binary decision diagrams (BDDs), satisfiability solvers, and many other techniques relevant to computer engineering and formal verification of digital circuits. In such contexts, particularly in BDDs, the expansion is interpreted as an if-then-else, with the variable being the condition and the cofactors being the branches ( when is true and respectively when is false).