F(A,B,C,D) = Σm(0,2,5,6,7,8,10,12,13,14,15) — Quine–McCluskey

intro6 prime implicants, 2 essential, 4 minimal covers

Answer

B′ · D′ + C · D′ + B · D + A · D′ | B′ · D′ + C · D′ + B · D + A · B | B′ · D′ + B · D + B · C + A · D′ | B′ · D′ + B · D + B · C + A · B

Note:

4 equally minimal forms exist, all of the same cost: B′ · D′ + C · D′ + B · D + A · D′ | B′ · D′ + C · D′ + B · D + A · B | B′ · D′ + B · D + B · C + A · D′ | B′ · D′ + B · D + B · C + A · B.

Why this example is worth doing

A large ON-set whose chart is mostly resolved by essential prime implicants, which is the ordinary case and the one to see before the pathological ones. The page walks the tabulation rounds explicitly: terms grouped by the number of 1s, adjacent groups compared, every pair differing in one bit combined with a dash, anything that never combined ticked off as prime. Watching the dash positions accumulate is what makes the connection to K-map group sizes — a term with k dashes is a group of 2^k cells.

Try your own input in the Quine–McCluskey solver. Minimise past the K-map limit with the full tabular method and Petrick’s step.

How the answer is reached

Quine–McCluskey

Prime implicants — Quine–McCluskey
#Term
1B′ · D′
2C · D′
3B · D
4B · C
5A · D′
6A · B
Every minimum cover — Quine–McCluskey
#Cover
1B′ · D′ + C · D′ + B · D + A · D′
2B′ · D′ + C · D′ + B · D + A · B
3B′ · D′ + B · D + B · C + A · D′
4B′ · D′ + B · D + B · C + A · B
Warning:

4 term(s), 8 literal(s); 2 essential prime implicant(s).

Truth table

Truth table — columns #, A, B, C, D, F
#ABCDF
000001
100010
200101
300110
401000
501011
601101
701111
810001
910010
1010101
1110110
1211001
1311011
1411101
1511111

Compare with

Open this example in the Quine–McCluskey solver

The field arrives filled in with this example’s input.

Note:

Notation this page assumes

  • Symbols: · is AND, + is OR, ⊕ is XOR, a prime or an overline is NOT. The field also takes ∧ ∨ ¬ ~ ! & | and the words.
  • Operator precedence, tightest first: NOT, then AND (including juxtaposition), then XOR/XNOR, then NAND/NOR, then OR, then IMPLIES, then IFF.
  • In a minterm index the first variable is the most significant bit, so over [A, B, C] minterm 5 is A·B̄·C.

Sources

  • Quine, “The Problem of Simplifying Truth Functions” (1952)
  • McCluskey, “Minimization of Boolean Functions” (1956)
  • Petrick, “A Direct Determination of the Irredundant Forms” (1956)