Sentential Logic/Truth Assignments, Tautologies, and Consequence

Lesson 2.21,069 words

Truth Assignments, Tautologies, and Consequence

A truth assignment fixes the sentence symbols true or false, and a recursion extends it uniquely to every formula. Satisfaction, tautologies, and tautological implication — one formula following semantically from others — rest on that extension, and the truth-table procedure decides implication for finite premise sets.

╌╌╌╌

The syntax so far manipulates strings without meaning. To say precisely when one wff follows logically from others — when follows from , say, no matter what English sentences the parameters translate — the vague phrase no matter what English sentence must be made exact. Its content is captured by ranging over all ways of assigning truth values to the sentence symbols.1

Truth assignments

Fix a two-element set of truth values, for falsity and for truth. Committing to exactly two values is a choice; three-valued and infinite-valued logics exist, but two-valued logic is the case of primary interest and the only one treated here.

A truth assignment fixes only the atoms. To evaluate a compound formula, the assignment must be extended so that the connectives compute the right values. Write for the set of wffs built from the symbols in . We seek an extension that agrees with on the symbols and respects each connective.

These clauses are the truth tables of the connectives, written as a recursion. Tabulated:

The conditional deserves a note. Whenever is false, is assigned — it is vacuously true. Reading as a promise if holds, then , a false antecedent leaves the promise unbroken regardless of . Whether this exactly matches if–then in ordinary speech is beside the point; the concern is with mathematical statements, where the truth-functional reading is the useful one.

The extension exists and is unique

Existence and uniqueness both hinge on formulas having exactly one formation tree. If a wff could be read two ways — as an -formula and as a -formula, say — the recursion might demand two different values and no would exist. That formulas cannot be so misread is unique readability, proved in the parsing lesson; the recursion theorem that turns unique readability into a well-defined is proved in induction and recursion. For now, take as given and compute with it.

To evaluate , assign values to the leaves of the formation tree of and propagate upward, applying one connective clause at each node.

Evaluating a formula by propagating truth values up its formation tree; each node applies its connective's clause to the values already computed below it, ending with the value of the whole formula at the root.

The figure evaluates under , , . The conditional gets (true antecedent, false consequent), the negation gets , and their disjunction is .

Satisfaction and consequence

Now let be a set of wffs, read as hypotheses, and a single wff, read as a candidate conclusion.

This is the semantic reading of follows from: if the hypotheses come out true, the conclusion is forced true. Every model of the premises is a model of the conclusion.

Tautological implication as containment of models: the assignments satisfying every premise all lie inside the assignments satisfying the conclusion, so no premise-model falsifies the conclusion.

Two boundary cases complete the definition.

  • Empty premise set. Every assignment vacuously satisfies every member of , so iff every assignment satisfies . In that case is a tautology, written .
  • Unsatisfiable premises. If no assignment satisfies all of , then holds vacuously for every . So : nothing satisfies a formula and its negation together, so the implication is free. No deep principle is involved; it is a by-product of the definitions.

For a worked implication, take . Of the four assignments for , only satisfies both and , and that satisfies . For an equivalence, and are tautologically equivalent: they agree on all four assignments to and .

Deciding implication by truth tables

Tautological implication is decidable by a systematic procedure. To test , list all truth assignments for the sentence symbols involved, compute each and under every assignment, and check that every row satisfying all the also satisfies . When the same procedure decides whether is a tautology.

The truth-table search for a counterexample: scan the rows, keep only those satisfying all premises, and check the conclusion there; an implication fails exactly when some premise-satisfying row (highlighted) falsifies the conclusion.
The four assignments for two symbols with both sides of the De Morgan implication computed; the three shaded rows satisfy the premise and each also satisfies the conclusion, so the implication holds.

The procedure is general but expensive. A wff with sentence symbols needs a table of rows, which grows beyond reach quickly: at a million rows per second, would take more time than the age of the universe.2 Whether some procedure decides tautologyhood in time polynomial in rather than exponential is the P versus NP problem, the central open question of theoretical computer science; the answer is widely believed to be negative.

A selected list of tautologies

Certain equivalences and tautologies recur so often they are worth naming. Each is verified by its (small) truth table.

NameTautology
Excluded middle
Contradiction
Double negation
Contraposition
Exportation
De Morgan
De Morgan
Distributive
Distributive

Conjunction, disjunction, and the biconditional are associative and commutative, so grouping and order inside repeated , , or do not affect the truth value. Two derived facts are used constantly.

  • Deduction. iff , where abbreviates . Hypotheses and antecedents trade places.
  • Equivalence via biconditional. iff .

The compactness theorem

One nontrivial fact about satisfiability can be stated now, though its proof comes only in compactness and effectiveness.

For a finite the statement is trivial; the content is that satisfiability of an infinite set is controlled entirely by its finite subsets. The name comes from topology: the theorem asserts the compactness of a certain product space, and can be derived from Tychonoff's theorem. It lifts sentential logic to infinite constraint problems, such as coloring an infinite graph.

Footnotes

  1. Enderton, §1.2 — truth values, truth assignments, the recursive extension , satisfaction, tautological implication and equivalence, and Theorem 12A on the unique extension.
  2. Enderton, §1.2 — the truth-table decision procedure, the -row cost, the age-of-the-universe estimate for , and the reference to the P versus NP problem.

╌╌ END ╌╌