Predicate Logic and the Quantifier Rules
Every lock in this building has a key that opens
it. Some key opens every lock in this
building. The two sentences use the same words, and
the second says far more: it promises a master key. The
statements of analysis are made of “for every” and
“there exists”, and to a truth table each is a single
atom: the argument “every positive real has a square
root;
The chapter is the first-order twin of Chapters 1 and 2: one rule per section, each with its card, its gallery of instances and its “Not allowed” block.
What you need. Chapters 1–4. From
Chapters 1–3: the rules of every connective, derivations
with boxes and the scope rule (Definition 1.4.2),
derived rules (Definition 2.3.1),
and the search method of Section 3.1, which each rule
section here extends by one step. From Chapter 4:
formulas as objects (Definition 4.1.1),
structural induction and recursion (Theorem 4.3.1,
Theorem 4.3.4),
and refuting rows (Corollary 4.7.3).
School arithmetic and the order of
Time. About 45 hours on the core track (all of A, one B and one C per section); about 65 hours for everything.
Minimum before Sets, Relations, and Cardinality. Chapters 1–6 and 8, core; Sections 7.1–7.2 before its Chapter 3.
How to read this chapter. Every section is on the first reading, with its folds closed. The folds hold proofs about the language (substitution, renaming, definitions), longer error analyses and edge cases. They are not optional: later proofs may use them.
Roadmap
- Predicates and Quantifiers. “For every” and “there exists” in a pictured world and over numbers; bounded quantifiers; the order of quantifiers.
- Terms, Formulas, Free Variables and Substitution. The exact language, free and bound letters, substitution, and capture.
- Using “For Every”: Instantiation.
at the term the goal needs; counter-readings. - Proving “For Every”: Let x Be
Arbitrary.
and the flagged box: a fresh name, nothing assumed about it. - Proving “There Exists”: Exhibit a
Witness.
, with the witness chosen when a line shows it. - Using “There Exists”: Name a
Witness.
and its box; moving past ; the barber. - Equality.
and , chains, Leibniz’s Law, and the table of the whole calculus. - Unique Existence, Counting and
Descriptions. “Exactly one”, counting with
, “the such that”, graphs of functions, and why a definition proves nothing new.
Named moves
- Read the dependency off the order. A variable depends only on those quantified to its left. (Section 5.1)
- Instantiate at the term you need
(
). Read it off the goal. (Section 5.3) - Break it with a counter-reading. Premises true, the line false. (Section 5.3)
- Let
be arbitrary ( ). A fresh name, about which nothing is assumed. (Section 5.4) - Postpone the witness (
). Choose the term when a line shows it. (Section 5.5) - Name the witness early (
). “Choose with …”, and never generalize over it. (Section 5.6) - Fix, obtain, choose.
; , on the hypotheses; . Most proofs in analysis. (Section 5.6) - Existence and uniqueness, separately. Prove “at least one” and “at most one” apart. (Section 5.8)
The four quantifier rules are on one card at the end of Section 5.6, and the whole calculus on the table at the end of Section 5.7.
Where this goes. Sets,
Relations, and Cardinality, Chapter 1 develops
sets, membership, the empty set, pairs and functions,
used here in their everyday sense (Sections 5.1, 5.2,
5.7, 5.8). Analysis on the Real Line, Chapter 1
proves from the axioms of the real numbers the school
facts used in examples: that
Summary
The language and its substitution are exact, capture
included. Each quantifier rule has a side condition
about names:
What is open: a stalled search shows nothing, and the counter-readings are not yet certified (Chapter 7). The definitions of analysis, four quantifiers deep, are still to be translated, negated and derived (Chapter 6).
Terms
- bounded quantifier:
, (Definition 5.1.1). - counter-reading: premises true, the line false (Section 5.3).
- counting with equality: at least,
at most, exactly
(Definition 5.8.2). - definite description: “the
such that ” (Definition 5.8.3). - definitional extension: a new symbol, nothing new proved (Proposition 5.8.2).
- equality rules
, : ; replace equals (Definition 5.7.1). - existential elimination
: name a witness, freshly (Definition 5.6.1). - existential introduction
: from an instance (Definition 5.5.1). - flag, flagged box: the fresh name
of
(Definition 5.4.1). - formula, first-order: connectives and quantifiers over atoms (Definition 5.2.2).
- free for: substituting captures no variable (Definition 5.2.6).
- free variable: a letter no quantifier binds (Definition 5.2.3).
- Leibniz’s Law: equals share every property (Proposition 5.7.2).
- sentence: no free variable (Definition 5.2.4).
- substitution
: for free (Definition 5.2.5). - term: a name for an object (Definition 5.2.1).
- unique existence
: at least and at most one (Definition 5.8.1). - universal elimination
: any instance (Definition 5.3.1).