Boolean Axioms, De Morgan's, Canonical SOP/POS & Dual Functions
“Boolean algebra operates on two-valued lattices ({0, 1}, +, *, '). The Duality Principle swaps (+ <-> *) and (0 <-> 1) while leaving variables unchanged. Self-dual functions equal their own dual: f = f_D.”
- —Consensus Theorem: AB + A'C + BC = AB + A'C (the redundant term BC contains literals present with opposite polarities in AB and A'C). Dual form: (A + B)(A' + C)(B + C) = (A + B)(A' + C).
- —De Morgan's Laws: (A + B)' = A' * B' and (A * B)' = A' + B'. Generalized: (x_1 + x_2 + ... + x_n)' = x_1' * x_2' * ... * x_n'.
- —Duality Theorem: If an identity f(x_1, ..., x_n, +, *, 0, 1) = g(...) holds, then f_D(x_1, ..., x_n, *, +, 1, 0) = g_D(...) holds.
- —Self-Dual Functions: A function is self-dual iff f(x_1, ..., x_n) = (f(x_1', ..., x_n'))'. Number of Boolean functions of n variables = 2^{2^n}. Number of self-dual functions = 2^{2^{n-1}}.
- —Canonical SOP (Sum of Products): Sum of minterms m_i where every variable appears in true or complemented form. Canonical POS (Product of Sums): Product of maxterms M_i.
- —Minterm and Maxterm Relation: M_i = (m_i)'. Hence f = Sum m(minterms) = Prod M(missing minterms).
- —Do NOT complement variable literals when finding the DUAL of a function. Complementing literals produces the COMPLEMENT of the dual, which is NOT the dual itself.
- —A self-dual function CANNOT contain both a minterm m_i and its bitwise complement m_{2^n - 1 - i}; it must contain exactly one from each complementary pair.