# Expressibility
## Formula truth tables

A formula with n sentence letters requires $2^{n}\,\!$ lines in its truth table. And, for a truth table of m lines, there are $2^{m}\,\!$ possible formulas. Thus, for a sentence of n letters, $m=2^{n}$ and the number of possible formulas is $2^{2^{n}}$.
For example, there are four possible formulas of one sentence letter (requiring a two-line truth table) and 16 possible formulas of two sentence letters (requiring a four-line truth table). We illustrate this with the following tables. The numbered columns represent the different possibilities for the column of a main connective.
| $\mathrm {P} \,\!$ | (i) | (ii) | (iii) | (iv) |
| T | T | T | F | F |
| F | T | F | T | F |
Column (iii) is the negation formula presented earlier.
| $\mathrm {P} \,\!$ | $\mathrm {Q} \,\!$ | (i) | (ii) | (iii) | (iv) | (v) | (vi) | (vii) | (viii) | (ix) | (x) | (xi) | (xii) | (xiii) | (xiv) | (xv) | (xvi) |
| T | T | T | T | T | T | T | T | T | T | F | F | F | F | F | F | F | F |
| T | F | T | T | T | T | F | F | F | F | T | T | T | T | F | F | F | F |
| F | T | T | T | F | F | T | T | F | F | T | T | F | F | T | T | F | F |
| F | F | T | F | T | F | T | F | T | F | T | F | T | F | T | F | T | F |
Column (ii) represents the formula for disjunction, column (v) represents conditional, column (vii) represents biconditional, and column (viii) represents conjunction.

## Expressing arbitrary formulas

The question arises whether we have enough connectives to represent all the formulas of any number of sentence letters. Remember that each row represents one valuation. We can express that valuation by conjoining sentence letters assigned True under that valuation and negations of sentence letters assigned false under that valuation. The four valuations of the second table above can be expressed as
    $\mathrm {P} \land \mathrm {Q} \,\!$
    $\mathrm {P} \land \lnot \mathrm {Q} \,\!$
    $\lnot \mathrm {P} \land \mathrm {Q} \,\!$
    $\lnot \mathrm {P} \land \lnot \mathrm {Q} \,\!$
Now we can express an arbitrary formula by disjoining the valuations under which the formula has the value true. For example, we can express column (x) with:
    (1) $(\mathrm {P} \land \lnot \mathrm {Q} )\lor (\lnot \mathrm {P} \land \mathrm {Q} )\,\!$
You can confirm by completing the truth table that this produces the desired result. The formula is true when either (a) $\mathrm {P} \,\!$ is true and $\mathrm {Q} \,\!$ is false or (b) $\mathrm {P} \,\!$ is false and $\mathrm {Q} \,\!$ is true. There is an easier way to express this same formula: $\mathrm {P} \leftrightarrow \lnot \mathrm {Q} \,\!$. Coming up with a simple way to express an arbitrary formula may require insight, but at least we have an automatic mechanism for finding some way to express it.
Now consider a second example. We want to express a formula of $\mathrm {P} \,\!$, $\mathrm {Q} \,\!$, and $\mathrm {R} \,\!$, and we want this to be true under (and only under) the following three valuations.
| | (i) | (ii) | (iii) |
| $\mathrm {P} \,\!$ | True | False | False |
| $\mathrm {Q} \,\!$ | True | True | False |
| $\mathrm {R} \,\!$ | False | False | True |
We can express the three conditions which yield true as
    $\mathrm {P} \land \mathrm {Q} \land \lnot \mathrm {R} \,\!$
    $\lnot \mathrm {P} \land \mathrm {Q} \land \lnot \mathrm {R} \,\!$
    $\lnot \mathrm {P} \land \lnot \mathrm {Q} \land \mathrm {R} \,\!$
Now we need to say that either the first condition holds or that the second condition holds or that the third condition holds:
    (2) $(\mathrm {P} \land \mathrm {Q} \land \lnot \mathrm {R} )\lor (\lnot \mathrm {P} \land \mathrm {Q} \land \lnot \mathrm {R} )\lor (\lnot \mathrm {P} \land \lnot \mathrm {Q} \land \mathrm {R} )\,\!$
You can verify by a truth table that it yields the desired result, that the formula is true in just the interpretation above.
This technique for expressing arbitrary formulas does not work for formulas evaluating to False in every interpretation. We need at least one interpretation yielding True in order to get the formula started. However, we can use any tautologically false formula to express such formulas. $\mathrm {P} \land \lnot \mathrm {P} \,\!$ will suffice.

## Normal forms

A normal form provides a standardized rule of expression where any formula is equivalent to one which conforms to the rule. It will be useful in the following to define a literal as a sentence letter or its negation (e.g. $\mathrm {P}$, and $\mathrm {Q}$ as well as $\neg \mathrm {P}$, and $\neg \mathrm {Q}$).

### Disjunctive normal form

We say a formula is in disjunctive normal form if it is a disjunction of conjunctions of literals. An example is $(\mathrm {P} \land \mathrm {Q} )\lor (\lnot \mathrm {R} \land \mathrm {S} )$. For the purpose of this definition we admit so called degenerate disjunctions and conjunctions of only one disjunct or conjunct. Thus we count $\mathrm {P} \,\!$ as being in disjunctive normal form because it is a degenerate (one-place) disjunction of a degenerate (one-place) conjunction. The degeneracy can be removed by converting it to the equivalent formula $(\mathrm {P} \land \mathrm {P} )\lor (\mathrm {P} \land \mathrm {P} )\,\!$. We also admit many-place disjunctions and conjunctions for the purposes of this definition, such as $(\lnot \mathrm {P} \land \mathrm {Q} \land \lnot \mathrm {R} )\lor (\mathrm {S} \land \mathrm {R} )$. A method for finding the disjunctive normal form of a arbitrary formula is shown above.

### Conjunctive normal form

There is another common normal form in sentential logic, namely conjunctive normal form. A formula is in conjunctive normal form if it is a conjunction of disjunctions of literals. An example is $(\mathrm {P} \lor \lnot \mathrm {Q} )\land (\mathrm {R} \lor \mathrm {S} )$. Again, we can express arbitrary formulas in conjunctive normal form. First, take the valuations for which the formula evaluates to False. For each such valuation, form a disjunction of sentence letters the valuation assigns False together with the negations of sentence letters the valuation assign true. For the valuation
    $\mathrm {P} \,\!$ : False
    $\mathrm {Q} \,\!$ : True
    $\mathrm {R} \,\!$ : False
we form the disjunction
    $\lnot \mathrm {P} \lor \mathrm {Q} \lor \lnot \mathrm {R} \,\!$
The conjunctive normal form expression of an arbitrary formula is the conjunction of all such disjunctions matching the interpretations for which the formula evaluates to false. The conjunctive normal form equivalent of (1) above is
    $(\lnot \mathrm {P} \lor \mathrm {Q} )\land (\mathrm {P} \lor \lnot \mathrm {Q} )\,\!$
The conjunctive normal form equivalent of (2) above is
    $(\lnot \mathrm {P} \lor \lnot \mathrm {Q} \lor \lnot \mathrm {R} )\land (\mathrm {P} \lor \lnot \mathrm {Q} \lor \lnot \mathrm {R} )\land (\mathrm {P} \lor \lnot \mathrm {Q} \lor \mathrm {R} )\land (\mathrm {P} \lor \mathrm {Q} \lor \lnot \mathrm {R} )\land (\mathrm {P} \lor \mathrm {Q} \lor \mathrm {R} )$

## Interdefinability of connectives

Negation and conjunction are sufficient to express the other three connectives and indeed any arbitrary formula.
    $\mathrm {P} \lor \mathrm {Q} \,\!$  $\lnot (\lnot \mathrm {P} \land \lnot \mathrm {Q} )\,\!$
    $\mathrm {P} \rightarrow \mathrm {Q} \,\!$  $\lnot (\mathrm {P} \land \lnot \mathrm {Q} )\,\!$
    $\mathrm {P} \leftrightarrow \mathrm {Q} \,\!$  $(\mathrm {P} \rightarrow \mathrm {Q} )\land (\mathrm {Q} \rightarrow \mathrm {P} )\,\!$  $\lnot (\mathrm {P} \land \lnot \mathrm {Q} )\land \lnot (\mathrm {Q} \land \lnot \mathrm {P} )\,\!$
Negation and disjunction are sufficient to express the other three connectives and indeed any arbitrary formula.
    $\mathrm {P} \land \mathrm {Q} \,\!$  $\lnot (\lnot \mathrm {P} \lor \lnot \mathrm {Q} )\,\!$
    $\mathrm {P} \rightarrow \mathrm {Q} \,\!$  $\lnot \mathrm {P} \lor \mathrm {Q} \,\!$
    $\mathrm {P} \leftrightarrow \mathrm {Q} \,\!$  $(\mathrm {P} \land \mathrm {Q} )\lor (\lnot \mathrm {P} \land \lnot \mathrm {Q} )\,\!$  $\lnot (\lnot \mathrm {P} \lor \lnot \mathrm {Q} )\lor \lnot (\mathrm {P} \lor \mathrm {Q} )\,\!$
Negation and conditional are sufficient to express the other three connectives and indeed any arbitrary formula.
    $\mathrm {P} \lor \mathrm {Q} \,\!$  $\lnot \mathrm {P} \rightarrow \mathrm {Q} \,\!$
    $\mathrm {P} \land \mathrm {Q} \,\!$  $\lnot (\mathrm {P} \rightarrow \lnot \mathrm {Q} )\,\!$
    $\mathrm {P} \leftrightarrow \mathrm {Q} \,\!$  $(\mathrm {P} \rightarrow \mathrm {Q} )\land (\mathrm {Q} \rightarrow \mathrm {P} )\,\!$  $\lnot ((\mathrm {P} \rightarrow \mathrm {Q} )\rightarrow \lnot (\mathrm {Q} \rightarrow \mathrm {P} ))\,\!$
Negation and biconditional are not sufficient to express the other three connectives.

## Joint and alternative denials

We have seen that three pairs of connectives are each jointly sufficient to express any arbitrary formula. The question arises, is it possible to express any arbitrary formula with just one connective? The answer is yes, but not with any of our connectives. There are two possible binary connectives each of which, if added to ${\mathcal {L_{S}}}\,\!$, would be sufficient.

### Alternative denial

Alternative denial, sometimes called NAND. The usual symbol for this is called the Sheffer stroke, written as $\mid$ (some authors use ↑). Temporarily add the symbol $\mid \,\!$ to ${\mathcal {L_{S}}}\,\!$ and let ${\mathfrak {v}}[(\varphi \mid \psi )]\,\!$ be True when at least one of $\varphi \,\!$ or $\psi \,\!$ is false. It has the truth table :
| $\mathrm {P} \,\!$ | $\mathrm {Q} \,\!$ | $\mathrm {P} \mid \mathrm {Q} \,\!$ |
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | T |
We now have the following equivalences.
    $\lnot \mathrm {P} \,\!$  $\mathrm {P} \mid \mathrm {P} \,\!$
    $\mathrm {P} \land \mathrm {Q} \,\!$  $(\mathrm {P} \mid \mathrm {Q} )\mid (\mathrm {P} \mid \mathrm {Q} )\,\!$
    $\mathrm {P} \lor \mathrm {Q} \,\!$  $(\mathrm {P} \mid \mathrm {P} )\mid (\mathrm {Q} \mid \mathrm {Q} )\,\!$
    $\mathrm {P} \rightarrow \mathrm {Q} \,\!$  $\mathrm {P} \mid (\mathrm {Q} \mid \mathrm {Q} )\,\!$
    $\mathrm {P} \leftrightarrow \mathrm {Q} \,\!$  $(\mathrm {P} \mid \mathrm {Q} )\mid ((\mathrm {P} \mid \mathrm {P} )\mid (\mathrm {Q} \mid \mathrm {Q} ))\,\!$

### Joint denial

Joint denial, sometimes called NOR. Temporarily add the symbol $\downarrow \,\!$ to ${\mathcal {L_{S}}}\,\!$ and let ${\mathfrak {v}}[(\varphi \downarrow \psi )]\,\!$ be True when both $\varphi \,\!$ and $\psi \,\!$ are false. It has the truth table :
| $\mathrm {P} \,\!$ | $\mathrm {Q} \,\!$ | $\mathrm {P} \downarrow \mathrm {Q} \,\!$ |
| T | T | F |
| T | F | F |
| F | T | F |
| F | F | T |
We now have the following equivalences.
    $\lnot \mathrm {P} \,\!$  $\mathrm {P} \downarrow \mathrm {P} \,\!$
    $\mathrm {P} \land \mathrm {Q} \,\!$  $(\mathrm {P} \downarrow \mathrm {P} )\downarrow (\mathrm {Q} \downarrow \mathrm {Q} )\,\!$
    $\mathrm {P} \lor \mathrm {Q} \,\!$  $(\mathrm {P} \downarrow \mathrm {Q} )\downarrow (\mathrm {P} \downarrow \mathrm {Q} )\,\!$
    $\mathrm {P} \rightarrow \mathrm {Q} \,\!$  $((\mathrm {P} \downarrow \mathrm {Q} )\downarrow \mathrm {Q} )\downarrow ((\mathrm {P} \downarrow \mathrm {Q} )\downarrow \mathrm {Q} )\,\!$
    $\mathrm {P} \leftrightarrow \mathrm {Q} \,\!$  $((\mathrm {P} \downarrow \mathrm {P} )\downarrow \mathrm {Q} )\downarrow (\mathrm {P} \downarrow (\mathrm {Q} \downarrow \mathrm {Q} ))\,\!$
| ← Validity | ↑ Sentential Logic | Properties of Sentential Connectives → |