The Timpson Lyceum · First-Order Predicate Logic (2024)
Identity and Theorems of Logic - Lecture 10 (Logic)
Overview
This lecture completes first-order predicate logic by adding identity — the equality symbol = — as a built-in symbol of the logic. Doing so requires only one new rule (Rule I), yet that single addition lets us prove foundational facts that every branch of mathematics quietly relies on. We prove that identity is an equivalence relation, derive the quantifier-negation laws as theorems rather than definitions, and establish that you may "do the same thing to both sides" of an equation. The lecture closes with a worked proof that uses identity essentially, and then introduces group theory as the first axiomatic system built on top of this completed logic.
Key Concepts
Identity in language. Identity is encoded by a "to be" verb (is, was, are, were, being, been) used in the sense of is identical with. "Charles III is the king of England" asserts identity; "snow is white" does not — it ascribes a property. Test: if the "to be" verb can be replaced by is identical with without changing the meaning, it encodes identity.
Logic with identity. Adding = puts us in propositional and first-order predicate logic with identity — the complete system underlying the foundations of mathematics. Equality is now a logical symbol, not an ordinary predicate.
The two principles encoded by identity:
- Law of Identity — . Everything is identical with itself.
- Principle of Extensionality — if , then anything true of is true of and vice versa. Mnemonic: equals may be substituted for equals.
Rule I (the only new rule). Both principles are bundled into a single inference rule:
- If and is an open formula containing , you may derive , where results from by replacing with .
- Furthermore, you may always conclude .
Open formulas only. Rule I applies only where the variable is open (not bound by a quantifier). Substituting into a bound variable breaks: from and you would get the absurd .
Equivalence relations. A two-place relation is an equivalence relation when it is:
- Reflexive — for all .
- Symmetric — .
- Transitive — .
The lecture proves identity has all three, so equality is an equivalence relation. (Contrast : reflexive and transitive but not symmetric.) Equivalence relations recur everywhere — congruence in geometry, isomorphism of sets, etc.
Quantifier theorems (now derived, not assumed). The earlier definition of in terms of is actually provable from the rules:
A negation pushed across a quantifier flips and negates the inner predicate.
Operating on both sides. Identity justifies the school-algebra move of applying the same operation to both sides of an equation, for any operator for which the result is defined (a term):
The interpretation is valid only when is genuinely a term, which is why dividing both sides by requires ( is undefined, hence not a term).
Groups (the next axiomatic system). A group is a set with an operation satisfying:
- Associativity — .
- Identity element — there exists with for all .
- Inverses — for every there exists with .
Examples: with identity and inverse ; with identity and inverse . Subtraction on fails (not associative); division fails the same way.
Worked Example
Theorem (symmetry of identity): prove .
Assume the antecedent, introduce the law of identity, then substitute using Rule I:
The trick is line 3: in , replacing the first with (licensed by ) yields . Because the final line rests on no premises, this is a theorem of logic — true in any axiomatic system built on top of logic, never something algebra has to assume.
A second application: the apartment proof. Symbolizing "the criminal was in the apartment" as the constant (), with premises that anyone in the apartment was in town (), anyone in Mexico was not (), and Barnes was in Mexico (), one derives . Assuming for a reductio, Rule I rewrites into , contradicting — forcing the conclusion (Barnes is not the criminal). This proof cannot be done without identity.
Summary
- Identity adds the equality symbol and exactly one rule (Rule I), completing first-order logic; equality is now a logical symbol and may not be reinterpreted as another predicate.
- Rule I bundles the Law of Identity () and the Principle of Extensionality (equals substitute for equals), but applies only to open (unbound) formulas.
- Identity is an equivalence relation: reflexive, symmetric, and transitive — a pattern shared by congruence, set isomorphism, and other "sameness" relations.
- A statement provable with no remaining premises is a theorem of logic, valid in every system built on logic — including symmetry and transitivity of .
- The quantifier-negation equivalences (, etc.) are derivable from the rules, not extra assumptions.
- Identity justifies applying the same operation to both sides of an equation, provided the result stays a term (hence no division by zero); this leads into group theory, the next axiomatic system.