One Connective Is Enough
A chip maker wants to make a million chips. Each kind of gate costs money to design. Could a single kind of gate build all the others? Is one connective enough for everything?
A new connective: NAND
Write P ↑ Q, read "P nand Q". It means "not both P and Q". Its table is false only when both are true.
| P | Q | P ↑ Q |
|---|---|---|
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | T |
It is also called the Sheffer stroke, after Henry Sheffer, who showed in 1913 what it can do. Charles Peirce had seen it about 1880.
Building ¬ and ∧ from it
First ¬. Use P twice: P ↑ P. If P is true, then "not both P and P" is false. If P is false, it is true. So P ↑ P is the same as ¬P.
Now ∧. Take (P ↑ Q) ↑ (P ↑ Q). The inside P ↑ Q is "not both". Using it twice turns it into "not not both", which is "both". Check the four rows. TT: inside F, then F ↑ F is T. TF: inside T, then T ↑ T is F. FT: the same, F. FF: inside T, so F. That is the table of ∧.
So ¬ and ∧ come from ↑ alone. By the last lesson, ¬ and ∧ are enough for every table. So one connective is enough. Chips are built this way: whole computers can be made from NAND gates only.
Not every connective is enough
Can we use ∧ alone? No. Look at the row where every letter is true. A formula made only with letters and ∧ is true in that row: a letter is true, and (φ ∧ ψ) is true when both parts are. We can prove it by climbing the formula tree. But ¬P is false in that row. So no formula with only ∧ has the table of ¬P.
The same holds for ∨ alone. NAND is special because it can turn a true into a false.
Careful
A connective being enough is special. ∧ alone is not enough, because it can never turn all-true into false.
Try it at home
- Make the table of
P ↑ Pin your notebook. Is it the table of¬P? - Check
(P ↑ P) ↑ (Q ↑ Q)in all four rows. Which connective is it? - Draw gates as boxes with arrows, and wire three NAND boxes to make ∧.
Words to know
- NAND - not both:
P ↑ Qis false only when P and Q are both true - Sheffer stroke - the sign ↑ for NAND, after Henry Sheffer (1913)
Big idea
The single connective NAND can build ¬ and ∧, so it can build every truth table.