The Timpson Lyceum · Geometry (2024)
Predicate Logic and Identity – Lecture 2 (Geometry)
Predicate Logic and Identity – Lecture 2
Overview
This lecture extends propositional logic into predicate logic, the language in which nearly all of mathematics is actually written. After a quick review of the five propositional operators and the key equivalences (negating /, the converse vs. the contrapositive), we introduce predicates — proposition-valued functions — and the two ways to turn them into statements: substituting terms or attaching quantifiers. We define the universal () and existential () quantifiers, show that the order of quantifiers changes meaning, and develop the rules for pushing a negation through a quantifier. We then meet the special logical symbol of identity () and its two governing laws, use it to prove a first theorem, and close with the idea of an axiom system and the three standard proof styles, plus the meaning of a vacuously true implication.
Key Concepts
Proposition (review). A sentence that is either true or false, never both. Two propositions yield four truth-value combinations. The five basic operators are (not), (and), (or), (implies), and (logical equivalence). An implication is false only in the single case ; a false antecedent makes the whole implication vacuously true.
Key equivalences (review).
- De Morgan: and .
- An implication and its converse are not equivalent: .
- An implication is equivalent to its contrapositive: .
- An implication as a disjunction: .
Predicate. A proposition-valued function: give it its term(s) and it returns a proposition (something true or false). Example: . Then is true, is false. On its own is neither true nor false — it is not a statement until is supplied.
Relation. A predicate that takes exactly two terms. These are so common they get their own name and an infix notation: rather than write for the "likes" relation, we write ; rather than we write . Predicates may take any number of terms (one, two, three, …).
Building new predicates. Because predicates return propositions, the logical operators combine them into new predicates. The defining symbol (or ) means "the thing on the left is defined to be the thing on the right." Example: .
Two ways to convert a predicate into a statement.
- Supply its terms — e.g. .
- Attach a quantifier.
Quantifiers.
- Universal — read "for all / for every / for each."
- Existential — read "there exists … such that." The quantifier is written before the predicate. While is only a predicate, both and are genuine propositions.
Definition of the quantifiers. A truth table is impossible when the domain is infinite, so the quantifiers are defined directly:
- is true iff is true independent of the choice of ; otherwise false.
- — "there is a white swan" means "it is not the case that every swan is non-white."
Order of quantifiers matters. is true (take ), but is false (no single works for every ). They are different statements.
Negating a quantifier — push the inward and flip the quantifier:
Identity. The symbol is a symbol of logic, more foundational than or . It is governed by the law of identity, in two parts:
- Everything is identical with itself: .
- Principle of extensionality: equals may be substituted for equals.
Axiom systems and theorems. Every field of mathematics studies the logical consequences of its axioms (in geometry, "axiom" and "postulate" mean the same thing). Statements derived from the axioms are theorems. Toy system: from "all men are mortal" and "Bob is a man" you may conclude the theorem "Bob is mortal."
Three proof styles.
- Direct proof — from and , conclude . (The form is a tautology.)
- Proof by contrapositive — prove instead of ; from conclude .
- Proof by contradiction — if is true (assuming leads to something impossible), then is false.
Vacuous truth. "If then " speaks about the universe as it actually is — it does not invite you to rearrange the world to make hold. An implication is vacuously true whenever its antecedent cannot be satisfied. A false statement entails anything: granting lets one "prove" any absurdity, which is exactly why a false antecedent always yields a true implication.
Worked Example
Claim. If , then .
To prove an implication, assume the antecedent and derive the conclusion. We use only the law of identity: is identical with itself (part 1), then substitute for the equal quantity (part 2).
Nothing about was used, so the same argument proves for any well-defined operation . This is the logic behind the familiar rule "what you do to one side you must do to the other."
Summary
- A predicate is a proposition-valued function; supplying its terms — or attaching a quantifier — turns it into a true-or-false statement. A two-term predicate is a relation, usually written infix.
- The universal quantifier ("for all") and existential quantifier ("there exists") are defined directly, not by truth tables, since domains may be infinite.
- The order of quantifiers matters: and generally say different things.
- To negate a quantified statement, push the negation inward and flip the quantifier: and .
- Identity () is a logical symbol governed by two laws: for all , and equals may be substituted for equals.
- Mathematics derives theorems from axioms via direct, contrapositive, and contradiction proofs; an implication with an unsatisfiable antecedent is vacuously true.