Functional completeness
From Wikipedia, the free encyclopedia
In logic, a set S of logical connectives is functionally complete (also expressively adequate or simply adequate) if every possible logical connective can be defined in terms of the members of S. S is minimal functionally complete if no member of S can be defined in terms of the other members. These concepts also carry over to the corresponding Boolean operators.
Contents |
[edit] Informal
Modern texts on logic typically take as primitive some subset of the connectives conjunction (), disjunction (), negation (), material conditional () and possibly the biconditional (). These connectives are functionally complete. However, they do not form a minimal functionally complete set, as the conditional and biconditional may be defined as:
So is also functionally complete. But then, can be defined as:
can also be defined in terms of in a similar manner.
It is also the case that can be defined in terms of as follows:
No further simplifications are possible. Hence and one of {} are each minimal functionally complete subsets of
{}.
[edit] Characterization of functional completeness
Emil Post proved that a set of logical connectives is functionally complete if and only if it is not a subset of any of the following sets of connectives:
- The monotonic connectives, e.g. , , , .
- The affine connectives, such that each connected variable either always or never affects the truth value these connectives return, e.g. , , , , .
- The self-dual connectives, which are equal to their own de Morgan dual, e.g. , MAJ(p,q,r).
- The truth-preserving connectives; they return the truth value T under any interpretation which assigns T to all variables, e.g. , , , , .
- The falsity-preserving connectives; they return the truth value F under any interpretation which assigns F to all variables, e.g. , , , , .
In fact, Post gave a complete description of the lattice of all clones (sets of operations closed under composition and containing all projections) on the two-element set {T, F}, nowadays called Post's lattice, which implies the above result as a simple corollary: the five mentioned sets of connectives are exactly the maximal clones.
[edit] Minimal functionally complete operator sets
It has been suggested that sole sufficient operator be merged into this article or section. (Discuss) |
NOR and NAND are each functionally complete by themselves and are called sole sufficient operators.
The following table lists all pairs of logical connectives / Boolean operators with arity ≤ 2, that are minimal functionally complete operator sets:
Operator | Arity | And One Binary | Operator: |
Primal | Dual | ||
[edit] References
- Wernick, William (1942) "Complete Sets of Logical Functions," Transactions of the American Mathematical Society 51: 117-32.