When we say one expression is simpler than another, we mean it is cheaper to build. Several measures are used, and they usually agree:
- Number of terms: each multi-literal term needs its own gate.
- literal count: each literal is one gate input.
- gate input count: the total inputs on all gates, including the output gate. This is the measure used in this course for two-level circuits, with complemented inputs counted as free.
The usual priority for a minimal SOP or POS is fewest terms first, then fewest literals.
Real designs also weigh other costs: delay (how many gate levels a signal passes through), power, and area on the chip. A factored, multi-level form can have fewer gate inputs but more delay than the two-level SOP.
Cost is also why it pays to compare forms. A function's canonical forms are always correct but expensive, and its minimal SOP and minimal POS can differ in cost.