The Timpson Lyceum seal

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

Terms, Predicates, and Quantifiers - Lecture 5 (Logic)

Overview

This lecture begins the move from propositional logic into first-order predicate logic. Propositional logic could only treat whole sentences as atomic letters joined by connectives, so it could not capture the internal structure of statements like "everything is either red or not red." To expose that structure we introduce three new kinds of symbol — terms, predicates, and quantifiers — and add them to the parentheses and sentential connectives we already had. Along the way we build up the formal vocabulary of the grammar: atomic formulas, formulas, the scope of a quantifier, free vs. bound variables, and finally the precise definition of a sentence. The payoff is the ability to symbolize essentially any English statement and to expose ambiguities that ordinary language hides.

Key Concepts

From propositional to predicate logic. A proposition is anything that is either true or false (not both); a statement is an English sentence that encodes a proposition. Propositional logic symbolized whole statements with capital letters and combined them with the five connectives — not ¬\neg, and ∧\wedge, or ∨\vee, implies →\rightarrow, equivalent ↔\leftrightarrow. Predicate logic keeps the parentheses and connectives but breaks each statement open into terms, predicates, and quantifiers.

Terms. A term names or describes an object — it is the "subject" of a sentence.

Predicates. A predicate is a proposition-valued function: give it the right number of terms and it returns something true or false.

Quantifiers. Two only:

Defining the existential quantifier. ∀x P(x)\forall x\, P(x) is a proposition that is true iff PP holds independent of the choice of xx. The existential is then defined in terms of the universal: ∃x P(x)  :=  ¬ ∀x ¬P(x)\exists x\, P(x) \;:=\; \neg\,\forall x\,\neg P(x) "There is a white swan" means "it is not the case that all swans are not white."

Negating quantifiers (the key theorem). To negate a quantified statement, push the negation inward and swap the quantifier: ¬ ∀x P(x)≡∃x ¬P(x)and¬ ∃x P(x)≡∀x ¬P(x)\neg\,\forall x\, P(x) \equiv \exists x\, \neg P(x) \qquad\text{and}\qquad \neg\,\exists x\, P(x) \equiv \forall x\, \neg P(x)

Unique existence. ∃!x P(x)\exists! x\, P(x) means "there is exactly one xx with PP": ∃x (P(x)∧∀y (P(y)→y=x))\exists x\,\big(P(x) \wedge \forall y\,(P(y) \rightarrow y = x)\big).

Building the grammar.

Why this matters: ambiguity. "Men play golf" is, strictly, only the predicate Mx→GxMx \rightarrow Gx — neither all men nor some men. English silently supplies a quantifier, which is the source of much disagreement (e.g. "do the ends justify the means?" has four distinct quantifier readings). Writing the logical structure makes the intended claim unequivocal.

Worked Example

Symbolize "Some freshmen are not intelligent" (i.e. "not all freshmen are intelligent").

Let FxFx = "xx is a freshman" and IxIx = "xx is intelligent." The natural reading is negating a universal; using the negation rule and the equivalence ¬(A→B)≡A∧¬B\neg(A\rightarrow B)\equiv A\wedge\neg B:

¬ ∀x (Fx→Ix)≡∃x ¬(Fx→Ix)≡∃x (Fx∧¬Ix)\begin{aligned} \neg\,\forall x\,\big(Fx \rightarrow Ix\big) &\equiv \exists x\,\neg\big(Fx \rightarrow Ix\big) \\ &\equiv \exists x\,\big(Fx \wedge \neg Ix\big) \end{aligned}

The final form reads "there exists something that is a freshman and is not intelligent." Note the connective must be ∧\wedge, not →\rightarrow: writing ∃x (Fx→¬Ix)\exists x\,(Fx \rightarrow \neg Ix) would be satisfied vacuously by any non-freshman (e.g. a piece of chalk), which is not what the sentence claims.

Summary