Universal Sets of Operations

Context: FIT1058_MOC · an operation set that can express every Boolean expression · follows from DNF/CNF · motivates simple logic gates

Quick Revision

  • 🎯 Objective: an operation set expressing every Boolean expression ➔ functional completeness.
  • 📦 Core Components: (from DNF/CNF) ➔ shrink via De Morgan to or .
  • ⚡ Key Constraint: alone (unary) and (no negation) are not universal; NAND/NOR alone are.

📝 Core

1. Universality (Functional Completeness)

  • Definition ➔ set is universal if every Boolean expression equals one using only ‘s operations + variables.
  • Baseline ➔ every expression has a DNF/CNF using only universal.

2. Shrinking the Set

  • De Morgan trades, .
  • Drop one and are each universal (keep ).
  • Not minimal via others already reduce to .

3. Why It Matters (Gates)

  • Circuits ➔ Boolean expressions realise as logic-gate circuits.
  • Few types ➔ a small universal set ⟹ fewer component types ⟹ cheaper, easier to verify.
  • Single gateNAND or NOR is universal alone ⟹ chips often built from one gate type.

Key identities:

⚖️ Core Decision Matrix

SetUniversal?Reason
DNF/CNF use only these
, De Morgan drops one
no way to negate
unary — can’t combine
NAND, NOReach expresses

When It Flips: universality guarantees expressibility, not minimal circuit size — a single-gate realisation may need more gates/longer chains than a mixed set. Trade-off: fewer component types (manufacturing) vs circuit depth.

📊 Exam Execution Trace

Applied Exercise

Problem: Express in and explain why fails. Derivation Proof / Hand-Calculation Walkthrough:

Final Extracted Output: universal; not — it cannot flip a value.

⚠️ Common Mistakes

  • 💡 A universal singleton must be binary can’t combine two variables; can’t flip a value (any of stays T when is T), so negation is indispensable.

🧠 Active Recall