Basic operations
The list of fundamental operations or connectives in propositional logic is summarized in the following table:
Operation | Other Names | Symbol |
---|---|---|
Conjunction | AND | |
Disjunction | OR | |
Exclusive Disjunction | XOR | |
Negation | NOT | |
Implication | Conditional | |
Bi-implication | Bi-conditional |
Now, let’s look at some other logic operations.
NAND
It is a negated AND operation. Take two arbitrary propositions, and . The NAND of and is false only when both and are true, otherwise it’s true. This is a commutative operation, which means:
- NAND NAND
We can represent this operation using basic operations as follows:
- NAND
Let’s look at the truth table of this operation:
NAND | ||
---|---|---|
T | T | F |
T | F | T |
F | T | T |
F | F | T |
In general, NAND operation can be applied as follows:
- NAND
NOR
It is negated OR operation. Take two arbitrary propositions, and . NOR of and is true only when both and are false. Otherwise, it’s false. This is a commutative operation, which means:
- NOR NOR
We can represent this operation using basic operations as follows:
- NOR
Let’s look at the truth table of this operation:
NOR | ||
---|---|---|
T | T | F |
T | F | F |
F | T | F |
F | F | T |
In general, NOR operation can be applied as follows:
- NOR
Theorem
We know that the set is a complete set. We now establish that NAND is also a complete set.
Statement
The set NAND is a complete set.
Proof
Observe that NAND can be used for negation as follows:
- NAND
If we want to take the conjunction of and , we can do it using the NAND operation as follows:
- NANDNAND NAND
Similarly, we can take the disjunction of and using the NAND operation as follows:
- NANDNAND NAND
As we saw, the NAND operation is sufficient to perform negation, conjunction, and disjunction operations, hence, it makes a complete set.
Theorem
We now establish that NOR is also a complete set.
Statement
The set NOR is a complete set.
Proof
Observe that NOR can be used for negation as follows:
- NOR
If we want to take the conjunction of and , we can do it using the NOR operation as follows:
- NORNOR NOR
Similarly, we can take the disjunction of and using the NOR operation as follows:
- NORNOR NOR
As we saw, the NOR operation is sufficient to perform negation, conjunction, and disjunction operations. Hence, it makes a complete set.