6.2.4. Boolean representation conversion
6.2.4.1. CNF vs. DNF
SOP-to-POS and POS-to-SOP conversions can be achieved by applying double complements. By applying De Morgan's Law, an SOP (a POS) formula ϑ becomes a POS (an SOP) one ϑ′ after the first complement. We can then convert the POS (SOP) formula ϑ′ to an SOP (a POS) one ϑ” by the distributive law. Finally, applying De Morgan's Law again for the second complement, we convert the SOP (POS) formula ϑ” to a POS (an SOP) one ϑ‴. Note that the conversions may suffer from an exponential blow-up in formula sizes due to the intermediate step of applying the distributive law.
Example 6.25
The 2n-input Achilles heel function (x1 + y1)(x2 + y2) … (xn + yn) has 2n product terms in an SOP representation ...
Get Electronic Design Automation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.