7.6 What First-Order Logic Can and Cannot Say
This section is optional, and nothing outside it depends on it. Every theorem in it is stated without proof, except where a short argument from a stated theorem is given and marked as such; its results carry no optional marker of their own, and the section as a whole is the unit a reader may skip.
Section 7.4 asked of a theory two questions that
sound different: is it consistent, that is, does no
finite list of its axioms derive
Remark (Looking back). Section 4.8 proved that every valid propositional claim is derivable, and the optional Section 4.10 proved compactness for propositional logic. Both hold for predicate logic too; this section states them, and then shows what they cost: a first-order language cannot pin down the natural numbers.
7.6.1. Completeness
The soundness statement of Section 7.2 runs from derivations to truth: whatever a list of premises derives is true in every structure where the premises are true. The completeness theorem runs back.
For every theory
This theorem is stated without proof. One direction
is the soundness statement of Section 7.2; the other is
new. Here
What the theorem means for this chapter is best said
with its two halves side by side. Faced with a claim
Section 7.4’s group axioms show both outcomes. They derive that the identity is unique (Proposition 7.4.1), and that settles one claim by a derivation. They do not derive (Comm), and the triangle group of Example (The Six Symmetries of a Triangle), a model of the axioms in which (Comm) is false, settles that claim by a counter-model. Completeness says that every claim about groups is settled in one of these two ways, though it does not say which, or how long the search for either will take.
The theorem says nothing about how to find the derivation or the model, and the last part of this section states, without proof, that no method finds one of them in every case.
Second readingHow the proof goes: a model made of names
This is a sketch, not a proof. It follows the route of Section 4.10’s proof of propositional compactness through Lindenbaum’s lemma (Lemma 4.10.2).
Start from a consistent theory
Witnesses. A sentence
Deciding every sentence. A consistent theory may leave a sentence undecided, and a structure cannot. So extend the theory, one sentence at a time, to a maximal consistent set: list all sentences, and add each one if the result stays consistent. As in Lindenbaum’s lemma, the result decides every sentence, containing it or its negation.
The structure. Its elements are the closed
terms, with two terms identified when the set contains
their equation; a constant names itself, a function
symbol builds the longer term, and a predicate holds of
the terms for which the set says it holds. An induction
on sentences, the propositional one of Section 4.10 with
a case for each quantifier, where the witness axioms do
their work, shows that this structure satisfies exactly
the sentences of the set. It satisfies
The details, for countably many symbols, fill a chapter of a logic text; this book stops at the outline.
7.6.2. Compactness
Completeness ties models to derivations, and a derivation uses only finitely many premises. That one fact has a consequence about models alone.
If every finite subset of a theory
A short argument from completeness. Suppose
Warning. “Every finite subset has a model” is not “has a finite model”. The finite subsets are finite lists of axioms; the models that satisfy them may be infinite, and the model the theorem gives may be infinite even when every finite subset has a finite model. Compactness never makes a structure smaller.
Read the theorem from the side of what a theory
forbids. A structure fails to be a model of
The standard tool is a list of sentences that count.
For
Quick check. Let
Solution.
Quick check. Does compactness hold for propositional logic?
Solution. Yes: the optional Section 4.10 proved it; this section states the first-order version.
7.6.3. Large models and small ones
A set can be listed if its elements
can be written as a sequence
Let
This theorem is stated without proof. Two
consequences show its force. First, take for
So no first-order theory with an infinite model fixes the size of its models. Section 7.5 showed that isomorphic structures satisfy the same sentences; here are structures that satisfy the same sentences and are not isomorphic, since one can be listed and the other cannot.
How can a listable structure satisfy every
first-order sentence true in
Quick check. A theory
Solution. Yes:
7.6.4. Numbers that are not numerals
The symbols of arithmetic are
Let
Every finite subset of
So
An element of
The model
Quick check. Is
Solution. Yes. The sentence
7.6.5. Induction: a schema and an axiom
How can
The induction schema of first-order
arithmetic is one sentence for each formula
The argument is short. Suppose a formula
The induction principle of Section 4.2 (Axiom 4.2.1)
is stated for every property of natural
numbers. Read in a structure, that is a statement about
all subsets of the domain, not only the definable ones:
it quantifies over sets, and is a
second-order statement. Applied to the
set of standard elements, it would rule out non-standard
elements at once, and so a structure satisfying it, with
7.6.6. What can be decided
A question about sentences is decidable if a mechanical procedure answers it, correctly and in finitely many steps, for every sentence. Three facts, each stated without proof here, mark the boundary.
Remark. Decidable: propositional logic. Chapter 4’s search tree decides every propositional claim in finitely many steps (Proposition 4.6.1): it either closes, and the claim is valid, or it leaves an open branch, which gives a refuting row.
Remark. Undecidable: predicate logic (Church and Turing, 1936). No mechanical procedure decides, for every first-order sentence, whether it is derivable. With completeness, the boundary can be said exactly: listing all derivations, shortest first, finds one when one exists; what no procedure can do is announce, in every case, that none exists. A stalled search, the situation of Chapter 6, is the normal state of affairs and not a sign that more cleverness was needed.
Remark. Decidable: the
monadic fragment. For sentences with only
one-place predicate symbols and no constants, function
symbols or
Remark. Incompleteness,
named. Gödel showed in 1931 that no consistent
theory whose axioms a mechanical procedure can list, and
which derives the basic facts of arithmetic, derives
every sentence true in
Quick check. A sentence
Solution. No: by the soundness
statement of Section 7.2,
Remark (Looking ahead). Number
Systems: From
7.6.7. Exercises
A. Check your understanding
- (a) State Theorem 7.6.1 in its two forms.
- (b) State Theorem 7.6.2, and give the short argument from completeness in three sentences.
- (c) What is a non-standard element of a model of arithmetic?
- (d) Why does the induction schema not rule non-standard elements out?
- (e) Name one decidable and one undecidable question about sentences.
Solution. (a) For every
theory
(b) If every finite subset of
(c) An element that is not the value of any
numeral
(d) Each instance speaks of a set defined by a formula, and the standard elements are not such a set (the argument in “Induction: a schema and an axiom”).
(e) Decidable: validity of a propositional claim (or of a monadic sentence). Undecidable: derivability of a first-order sentence.
Each part takes a line or two. The parts run from writing a counting sentence, through naming the theorem that answers a question, to judging what a theorem does and does not say.
- (a) Write
, “there are at least two elements”. - (b) Write “there are at most two elements”.
- (c) Which theorem says “every consistent theory has a model”?
- (d) Which says “if
every finite part of
has a model, has one”? - (e) True or false:
completeness says that every sentence true in
is derivable with no premises. - (f) True or false: a theory with models of every finite size has an infinite model.
- (g) Is “the domain is finite” expressible by one sentence?
- (h) True or false:
in a model of all sentences true in
, every element is the value of a numeral. - (i) Over what does the second-order induction principle quantify that the schema does not?
- (j) Is derivability
of a propositional claim decidable? Of a monadic
first-order sentence (one-place predicate symbols only;
no constants, function symbols or
)? Of a first-order sentence in general? - (k) Does
have a model of the same sentences whose domain can be listed? - (l) Why is a theory
whose models are exactly the structures of size
possible, and one whose models are exactly the finite structures not?
Solution.
(a)
.(b)
.(c) Completeness, in its second form.
(d) Compactness.
(e) False: with no premises, completeness makes derivable only the sentences true in every structure.
is true in and false in a one-element structure (Section 7.2).(f) True, by compactness, as in B1.
(g) No (C1).
(h) False: Example (A Model of Arithmetic with an Infinite Number) gives such a model with a non-standard element.
(i) All sets (properties) of elements, not only those defined by formulas.
(j) Yes; yes; no.
(k) Yes, by Theorem 7.6.3.
(l) “At least
and at most elements” is one sentence, with the “at most” sentence. No theory can do it for “finite”: such a theory would have a model of every finite size (the structures built in the solution of C1), so by Exercise (B1: Arbitrarily large finite models) it would have an infinite model, which is not finite.
B. Practice
Prove: if a theory
Solution. Let
Application. The axioms are (Refl), (Sym), (Trans)
for
Marking scheme. (10 points) 3 for
For each question, say which statement of this section or of Section 7.2 settles it (or that none does), and answer it.
- (i)
is known. Is ? - (ii)
. Has a model? - (iii)
is true in every finite structure. Is valid? - (iv) Is there a
structure satisfying every sentence true in
, with an element above the value of every numeral? - (v) Is there a
procedure that decides validity for sentences built from
one-place predicate symbols only (no constants, function
symbols or
)?
Solution.
(i) Completeness: yes.
(ii) Completeness, second form: yes.
(iii) No theorem makes it so, and it need not be: the sentence of Exercise (C1: True in every finite model, used later) is true in every finite structure and false in
with read as the successor, so it is not valid.(iv) Compactness: yes (Example (A Model of Arithmetic with an Infinite Number)).
(v) The monadic remark: yes.
Marking scheme. (10 points) 2 for each part: 1 for the statement named (in (iii), for saying that no statement settles it), 1 for the answer (in (iii), “no”, with a counter-model). Fatal error (0 for (iii)): answering “yes, by completeness”.
C. Going deeper
Prove that no sentence
Solution (Hint 1). Use Exercise (B1: Arbitrarily large finite models).
Solution (Hint 2). Suppose
Solution. Suppose
Marking scheme. (10 points) 3 for the supposition stated precisely. 4 for models of every finite size exhibited. 3 for B1 (or compactness directly) applied, and the contradiction named. Fatal error (0 for the proof): a “proof” that only shows that one particular sentence fails.
Let
- (a) For a formula
with free variable , write a sentence saying “if some element satisfies , some least element satisfies ”, and explain why it is true in . - (b) Take
, where is a formula supposed to define the standard elements in . The sentence of (a) then names a least non-standard element . Choose an element below that is also non-standard, and conclude, without using the induction argument of this section, that no such exists.
Solution. (a) Choose a
variable
(b)
Marking scheme. (10 points) 4 for
(a): the sentence, with