The Timpson Lyceum seal

The Timpson Lyceum · First-Order Predicate Logic (2024)

Tautologies and Theory of Inference - Lecture 2 (Logic)

Overview

This lecture builds the bridge from individual logical connectives to full deductive arguments. After reviewing the five truth-functional connectives and their truth tables, it introduces tautologies (sentences that are always true regardless of how their atomic parts are interpreted) and explains why truth tables alone cannot establish every truth we care about. From there it develops the machinery of tautological implication, sentential interpretation, and what it means for one sentence to logically follow from others. The payoff is the theory of inference: a small set of derivation rules (Rule P, Rule T, and Rule CP) that let us construct formal proofs without writing out exponentially large truth tables.

Key Concepts

The five connectives (review). A statement (used interchangeably with sentence) is something that is either true or false, not both. The five truth-functional connectives are ∧\land (and), ∨\lor (or, inclusive), ¬\lnot (not), →\to (implies), and ↔\leftrightarrow (equivalence). "Truth-functional" means the truth value of the compound is fully determined by the truth values of its parts.

Precedence. Evaluate in this order: ¬\lnot, then ∧\land, then ∨\lor, then →\to, then ↔\leftrightarrow. Think of ¬\lnot like a negative sign, ∧\land like multiplication, ∨\lor like addition, and ↔\leftrightarrow like equals.

Key equivalences (provable by truth table).

Atomic sentence. A sentence with no sentential connectives — the simplest possible statement (e.g. "the sky is blue"). "The sky is not blue" is not atomic (you can strip the not); "1+1=21+1=2 and 9<39<3" is not atomic (it's a conjunction of two atomic pieces).

Tautology. A sentence is a tautology if and only if replacing each of its component atomic sentences — in all occurrences — by any other atomic sentences always yields a truth. Equivalently, every atomic interpretation evaluates to true. Examples: P∨¬PP \lor \lnot P, (P∧Q)→P(P \land Q) \to P, and P→(P∨Q)P \to (P \lor Q). The "in all occurrences" restriction matters: you must substitute the same sentence for every copy of a given variable.

Why truth tables aren't enough. A sentence with nn atomic parts needs 2n2^n rows, so verification blows up exponentially. Worse, some theorems (e.g. the Pythagorean theorem) are not provable by any truth table at all. Truth tables are a fine starting point for simple cases, but we need rules of derivation to go further.

Two useful observations about tautologies.

Sentential interpretation. A sentence PP is a sentential interpretation of QQ if and only if PP can be obtained from QQ by replacing QQ's atomic sentences with any other sentences. An interpretation must preserve the structure of QQ: you may add structure, never remove it, and the same atomic sentence must be replaced consistently everywhere.

Logically follows. QQ logically follows from PP if and only if every sentential interpretation of P→QP \to Q is true. Equivalently — and this is the working criterion — if P→QP \to Q is a tautology (a tautological implication), then QQ logically follows from PP. A tautological equivalence is a biconditional that is a tautology.

The two criteria for inference rules. Given a set of premises, the rules of logical derivation must let us infer (1) only conclusions that logically follow from the premises (soundness — reject any rule that derives a false conclusion from true premises), and (2) all conclusions that logically follow (completeness — don't make the rule set too weak).

The three derivation rules (theory of inference).

A worked sanity check on Rule P: introducing extra premises does not let you prove anything you like. From P∨QP \lor Q and ¬Q\lnot Q you can derive PP — but that proves PP follows from both premises together, not from P∨QP \lor Q alone.

Worked Example

Prove: from premises ¬S→C\lnot S \to C,   C→¬D\;C \to \lnot D,   D∨O\;D \lor O, and ¬O\lnot O, conclude SS.

Each line is justified by a rule, with the premise lines it depends on tracked in brackets. The key tautological implications used are disjunctive syllogism, (α∨β)∧¬β⇒α(\alpha \lor \beta) \land \lnot\beta \Rightarrow \alpha, and modus tollens via the contrapositive.

1. ¬S→CP[1]2. C→¬DP[2]3. D∨OP[3]4. ¬OP[4]5. DT, 3,4[3,4]6. ¬CT, 2,5 (contrapositive of 2)[2,3,4]7. ST, 1,6 (contrapositive of 1)[1,2,3,4]\begin{aligned} &1.\ \lnot S \to C &&\text{P} && [1]\\ &2.\ C \to \lnot D &&\text{P} && [2]\\ &3.\ D \lor O &&\text{P} && [3]\\ &4.\ \lnot O &&\text{P} && [4]\\ &5.\ D &&\text{T, } 3,4 && [3,4]\\ &6.\ \lnot C &&\text{T, } 2,5\ (\text{contrapositive of }2) && [2,3,4]\\ &7.\ S &&\text{T, } 1,6\ (\text{contrapositive of }1) && [1,2,3,4] \end{aligned}

Line 5 applies disjunctive syllogism to D∨OD \lor O and ¬O\lnot O. Line 6 reads C→¬DC \to \lnot D as D→¬CD \to \lnot C and discharges DD. Line 7 reads ¬S→C\lnot S \to C as ¬C→S\lnot C \to S. Every step is a simple tautological implication that could, if doubted, be confirmed with a small truth table — which is exactly the point of the inference rules: they replace one giant truth table with a chain of tiny, verifiable ones.

Summary