A Complete Set of Operations
Learn how negation, conjunction, and disjunction make a complete set of operations.
We'll cover the following
Definition
A complete set of operations is sufficient to represent any possible truth table. In other words, we can express any customized function using elements from this set.
Examples
Look at the following examples and notice that by only using conjunction, disjunction, and negation operations, we can achieve the effect of exclusive disjunction, implication, and bi-implication.
Take and as arbitrary propositions:
We construct a composite proposition for a given truth table in the following example:
Custom Operation | ||
---|---|---|
T | T | T |
T | F | F |
F | T | T |
F | F | F |
Consider only those rows of the truth table where the custom operation is true. There are two such rows. Take the first one: is true, and is also true. Corresponding to this row, we get . For the second row where the custom operation is true, is false, and is true. Corresponding to this row, we get . We call this piece of proposition obtained against one row a clause. In the example under consideration, we have two such clauses. We take the disjunction of these clauses to represent the custom operation. Therefore,
Custom operation
Theorem
Let’s look at a theorem about the complete set of operations. First, look at the formal statement of the theorem followed by its proof.
Statement
Negation, conjunction, and disjunction make a complete set of operations.
Proof
We want to show that is a complete set. For that, we’ll show how to come up with a compound proposition () using connectives only from the given set corresponding to any conceivable truth table. Consider the following generic truth table:
T | T | T | T | F | |
T | T | F | F | T | |
T | F | T | F | F | |
F | F | T | F | F | |
F | F | F | T | T |
Let’s call, or a literal.
A clause is a conjunction of literals. For each truth value ‘T’ in the last column, we make a clause consisting of literals. Let’s assume there are such rows in the truth table, and we get clauses.
While making a clause corresponding to th row in the truth table, if is ‘T,’ in the th row we take the literal , and if it is ‘F,’ we take .
For example, we’ll get the following clause corresponding to the second row of the generic truth table shown above.
The clause corresponding to the last row will be as follows:
We obtain the final compound proposition with desired truth values by taking the disjunction of all clauses where the desired truth value is true.
We’ll get the following compound proposition () for the above generic truth table.
-
Note that has only clauses out of possible clauses. Where as there are rows in the truth table.
-
Each clause is different from all other possible clauses. Therefore, we can call each clause unique.
-
For a given assignment of truth values to , exactly one clause will be true out of possible clauses, and the remaining will be false. If the true clause appears in , it will make true; otherwise, will be false as each clause is unique.
-
If is false in all rows of the truth table, we can write
-
If is true in all rows of the truth table, we can wire
As the compound proposition uses only conjunctions, disjunctions, and negation operations, and it is capable of representing any generic truth table, therefore, the set of these three operations, is a complete set.