In Boolean algebra, Shannon’s expansion theorem essentially states that we can decompose a logic function into the products of co-factors with respect to a given input.

Decomposition

We choose a variable to isolate for and find its cofactors.[^1]

Then:

which corresponds to: If we find the or cofactors of the cofactors, then we end up with 4 different equations, in terms of only one variable. What this means is that we can put it in a 2-to-1 mux as followed:

That’s about all to know about this.