Simplifying an expression means finding an equivalent expression that is cheaper to build. Cheaper usually means fewer terms (fewer gates) and fewer literals (fewer gate inputs). See literal count and gate input count.
A reliable strategy with the laws of boolean algebra:
- Remove long bars with de morgans laws.
- Multiply out into a sum of products.
- Delete the easy stuff: terms with X and together (they are 0), duplicates and constants.
- Combine terms that differ in exactly one letter: = X. See combining terms.
- Absorb: delete any term that contains another, and drop barred letters with = .
- Look for consensus terms to delete.
- Check a row or two against the original.
After each change, go back to step 3, because one simplification often opens up another.
Algebra works on any expression but gives no guarantee you have the smallest answer. For that, the systematic tools are prime implicants and Karnaugh maps.