Logic as a Mathematical Model of Deduction
Symbolic logic models deductive reasoning the way probability theory models chance: it keeps the form of a correct deduction and discards its content. A deduction is valid when its conclusion follows from the form of the premises alone, independent of what the non-logical words mean.
╌╌╌╌
Symbolic logic is a mathematical model of deductive thought.1 It stands to reasoning roughly as probability theory stands to chance: a precise mathematical structure that captures some features of a messy real phenomenon and ignores the rest. The phenomenon here is the logically correct deduction — the kind of inference a working mathematician makes when asserting that a sentence follows from the axioms. The subject builds a formal object that mirrors those inferences closely enough to study them with the tools of mathematics.
The word logic
sometimes names remedial thinking; that is not the sense in use
here. The subject does not aim to improve anyone's reasoning. It turns reasoning
into an object — a thing with a definition, subject to theorems — and proves
things about it.
The modeling stance
A model is made by selection. Begin with a real object, an airplane, and choose which of its properties to represent. Its shape is essential to how it flies, so the model keeps the shape; its full size is irrelevant to a wind-tunnel test, so the model discards the size. Whether the model serves its purpose depends entirely on that choice of what to keep and what to throw away.
The real objects of logic are certain correct deductions. The property to be
kept is their form; the property to be discarded is their content. A precise
version of that criterion — correct by form, independent of content
— is the
first thing the model must deliver, and pinning it down is what motivates the
turn to mathematics.
Validity is a property of form
Consider the standard example.
We recognize that the conclusion follows from the premises. That recognition
does not draw on any fact about Socrates, and it does not need the meaning of
mortal
— only the meaning of all.
Replace every content word with nonsense
and it remains valid: from all borogoves are mimsy
and this thing is a borogove
it still follows that this thing is mimsy.
Correctness is due to form
and is independent of content.
The criterion is vague, and that vagueness is what forces a formal model.
Axiomatic mathematics is a long chain of such deductions laid end to end. When a
mathematician says a sentence follows from the axioms of set theory, the claim is
that the deduction can be translated into the model. Giving follows from
and
translated into the model
a mathematical meaning is the whole task.
Two models, coarse and fine
The book presents two models, in order of increasing fidelity.
- Sentential logic is the coarse model. It resolves a compound sentence into atomic parts joined by connectives (not, and, or, if–then), and tracks how truth of the whole depends on truth of the parts. It preserves only crude properties of real deductions and is inadequate for interesting mathematics, but it is simple enough to analyze completely.
- First-order logic is the fine model. It adds quantifiers (for all, there exists), variables, predicates, and equality, and is well suited to the deductions that arise in mathematics. Most of the subject works in this model because of that expressive reach.
The first-order language reaches statements the sentential one cannot. The
set-theoretic principle of extensionality — if the same things are members of one object as of another, those objects are equal
— translates to
and the calculus definition of a limit — for every positive there is a positive such that any within of has within of
— translates to
Neither statement is expressible in the coarse sentential model; both are routine in the fine one. The language of sentential logic is where the coarse model is built; first-order languages begin the fine one.
The difference between the two models shows in a single inference. The Socrates syllogism is valid, yet the coarse model cannot see why.
The detachment step — from and infer — already lives in the coarse model as a tautology, a schema true under every assignment of truth values.
The choice to model mathematical deduction, rather than reasoning in general, fixes the scope. Many-valued, modal, and intuitionistic logics make different selections of which properties of real deductions to keep, and none of them appears here.
The four questions
Once the model exists, four questions organize everything that follows.
- What does it mean for one sentence to follow logically from others? This is the semantic question: it is answered by defining truth in a structure and calling a consequence of when every structure making all of true also makes true.
- If a sentence does follow, what methods of proof establish it? This is the syntactic question: it is answered by a deductive calculus with axioms and rules, giving a notion of formal proof.
- Is there a gap between what an axiom system can prove and what is true? For arithmetic, this asks whether provability and truth coincide.
- What is the connection between logic and computability? This asks which logical questions can be settled by an algorithm.
Questions 1 and 2 are linked. Semantics gives a relation
semantically implies
; the deductive calculus gives a relation
proves .
The soundness theorem
shows every proof yields a genuine consequence, and the
completeness theorem
shows every consequence has a proof, so the two relations coincide. Questions 3
and 4 have a sharper edge: for arithmetic, provability and truth do not
coincide (incompleteness),
and validity is not decidable by any algorithm, drawing the boundary the
recursive functions
make precise.
Question 1 pins consequence to truth in a structure, and that truth is computed one quantifier at a time. The same sentence can come out true on one structure and false on another.
The set-theoretic toolkit
The model is built inside ordinary mathematics, and its raw material is sets.2 The notation below is standard and appears without further comment throughout. Each piece is used where it is needed: Zorn's lemma in the completeness proof, cardinals in the Löwenheim–Skolem theorems.
Sets and extensionality. A set is determined solely by its members. Formally, if and have exactly the same elements, then :
Basic constructions follow: the empty set , the singleton , the finite set , union , intersection , and the power set of all subsets of . For a set whose members are themselves sets, collects everything belonging to some member, and everything belonging to all members. Two sets are disjoint when , and a collection is pairwise disjoint when any two of its members are disjoint.
Ordered tuples and sequences. An unordered pair satisfies , so it cannot record order. The ordered pair is defined so that it recovers both components in order:
Any construction with this property serves; the standard one is . Triples reduce to pairs by , and -tuples recursively by , with the convention . A finite sequence (or string) over is an -tuple with each ; expressions in a formal language will be exactly such strings.
The reduction of tuples to nested pairs carries one hazard, and unique readability of formulas later depends on avoiding it.
The lemma says a shorter tuple can equal a longer one only when the first
component of the shorter is itself a sequence of the extra entries. The
consequence used repeatedly: if no member of is a finite sequence of other
members of , then with all entries in forces and . A well-designed
alphabet has this no symbol is a string of symbols
property, which is why the
parsing of formulas is unambiguous.
Relations and functions. The Cartesian product is the set of pairs with and , and is the set of -tuples over . A relation is a set of ordered pairs; an -ary relation on is a subset of . Its domain, range, and field are the sets of first components, second components, and both together. A function is a single-valued relation: each has exactly one with , written . We write when and ; the map is onto when and one-to-one when each value comes from a single argument. An -ary operation on is a function ; a subset is closed under when whenever every . Every inductive definition in the subject, well-formed formulas included, is built by closure under a family of operations.
Properties of relations. For a binary relation on :
- Reflexive on : for every .
- Symmetric: implies .
- Transitive: and imply .
- Trichotomy on : for all , exactly one of , , holds.
An equivalence relation on is reflexive on , symmetric, and transitive. An ordering relation on is transitive and satisfies trichotomy.
Equivalence relations and partitions
Equivalence relations recur throughout the subject: identifying provably equal terms in the completeness proof, and identifying sentences with the same truth conditions, both work by passing to equivalence classes.
The correspondence runs both ways. Every equivalence relation carves into
disjoint classes that cover it; every partition of into disjoint blocks
defines an equivalence relation, and lie in the same block.
Cardinality
Size is compared by matching, not counting. Sets and are equinumerous, written , when some one-to-one function maps onto . This is reflexive, symmetric, and transitive, and it agrees with ordinary counting on finite sets while extending to infinite ones.
Two facts about countability are used constantly when the language is countable.
The proof codes a sequence by the number , a product of prime powers whose exponents recover the entries. The same prime-power coding, scaled up, is the mechanism behind the arithmetization of syntax in the incompleteness theorems. Since a formal language has countably many expressions, its set of formulas and its set of finite proofs are both countable.
Not everything is countable. To be dominated by , written , is to be equinumerous with a subset of ; a set is countable exactly when . The cardinals are ordered: for any and , either or , and any nonempty set of cardinals has a least member. The finite cardinals are followed by the least infinite cardinal , and Cantor's theorem gives a strictly larger one:
The reals are uncountable. So is , which has the same size . The distinction between countable and uncountable is why the Löwenheim–Skolem theorems have force: a first-order theory cannot constrain its models to a single size across that gap.
The axiom of choice and Zorn's lemma
A handful of arguments need a nonconstructive principle: given infinitely many nonempty sets, a single function can select one member from each. This is the axiom of choice. Its uses in this subject can usually be eliminated when the language is restricted to be countable, but stating the general theorems cleanly is easier with it. The form that appears in proofs is Zorn's lemma. Call a collection of sets a chain when any two of its members are comparable under .
The pattern is always the same. Order some family of good
sets by inclusion;
check that unions of chains stay good; conclude a maximal good set exists. In the
completeness theorem
the good sets are the consistent sets of sentences, and the maximal one is a
maximal consistent set from which a model is read off.
Footnotes
- Enderton, Introduction — logic as a mathematical model of deductive thought, the airplane analogy for model-building, validity as form independent of content, and the four organizing questions. ↩
- Enderton, Ch. 0 — Useful Facts about Sets: extensionality, ordered tuples and Lemma 0A, relations and functions, equivalence relations and partitions, countability (Theorem 0B), cardinal comparison and Cantor's theorem, the axiom of choice and Zorn's lemma. ↩
╌╌ END ╌╌