Cite

This course has no released version yet: the text at this address may change. Cite a released version when one exists.

/courses/second-order-arithmetic/language-and-models
@misc{second-order-arithmetic-language-and-models,
  title = {{The language and models of second-order arithmetic}},
  howpublished = {Lesson 1 of \emph{Second-order arithmetic}, Computability Theory course notes},
  url = {/courses/second-order-arithmetic/language-and-models},
  note = {Unreleased working version}
}

To cite a single statement, use the # link that appears next to its heading.

Lesson 1 of 3

The language and models of second-order arithmetic

The two-sorted language of second-order arithmetic, its formula classes, the axioms of Z₂, Henkin structures and ω-models, absoluteness of arithmetic formulas, and the program of reverse mathematics.

35 min2 questions
Before this lesson:Arithmetic definability (The arithmetic hierarchy)
Second-order arithmetic · lesson 1 of 3
  1. The language and models of second-order arithmetic
  2. The base theory RCA₀
  3. Mathematics in RCA₀

Reverse mathematics asks which set-existence axioms are needed to prove a given theorem of ordinary mathematics. The framework, proposed by Friedman (1975) and developed by Simpson, is second-order arithmetic: a theory of natural numbers and sets of natural numbers. Countable objects of analysis, algebra and combinatorics (real numbers, continuous functions on the reals, countable groups, colorings of pairs) can be coded by sets of numbers, so that their theorems become statements of second-order arithmetic. One then works in a weak base theory and proves equivalences between theorems and axioms. An empirical observation is that most of the theorems studied so far are either provable in the base theory or equivalent over it to one of four stronger systems; together with the base theory, these form the Big Five.

This lesson fixes the language, the axioms and the models. Throughout, the reader is assumed to know the language of first-order arithmetic and the arithmetic hierarchy (Arithmetic definability).

1.1 The language

Definition 1.1.#

The language L2\mathcal L_2 of second-order arithmetic has two sorts of variables: number variables x,y,z,…x, y, z, \dots, intended to range over N\nat, and set variables X,Y,Z,…X, Y, Z, \dots, intended to range over subsets of N\nat. Its non-logical symbols are the constants 0,10, 1, the binary function symbols +,⋅+, \cdot, the binary relation symbols =,<=, < on numbers, and the membership symbol ∈\in between a number and a set.

  • Terms are built from number variables and constants with ++ and ⋅\cdot; there are no set terms other than set variables.
  • Atomic formulas are t1=t2t_1 = t_2, t1<t2t_1 < t_2 and t∈Xt \in X, for terms t1,t2,tt_1, t_2, t and a set variable XX.
  • Formulas are built from atomic formulas with the connectives and the quantifiers ∀x,∃x\forall x, \exists x over numbers and ∀X,∃X\forall X, \exists X over sets.

Equality between sets is not primitive; X=YX = Y abbreviates ∀n (n∈X↔n∈Y)\forall n\, (n \in X \leftrightarrow n \in Y).

Formulas are classified by their quantifiers, allowing free variables of both sorts, called parameters.

  • A formula is bounded, or Σ00=Π00=Δ00\Sigma^0_0 = \Pi^0_0 = \Delta^0_0, if all its quantifiers are number quantifiers of the form ∀x<t\forall x < t or ∃x<t\exists x < t, with tt a term not containing xx.
  • A formula is Σn+10\Sigma^0_{n+1} if it has the form ∃x φ\exists x\, \varphi with φ\varphi a Πn0\Pi^0_n formula, and Πn+10\Pi^0_{n+1} if it has the form ∀x φ\forall x\, \varphi with φ\varphi a Σn0\Sigma^0_n formula; blocks of quantifiers of the same kind count as one.
  • A formula is arithmetic if it contains no set quantifier. It may contain free set variables.
  • A formula is Σ11\Sigma^1_1 if it has the form ∃X φ\exists X\, \varphi with φ\varphi arithmetic, and Π11\Pi^1_1 if it has the form ∀X φ\forall X\, \varphi with φ\varphi arithmetic; similarly for Σn1\Sigma^1_n and Πn1\Pi^1_n.

With a set parameter AA, the Σ10\Sigma^0_1 formulas define exactly the AA-c.e. sets: this is the relativization of Corollary 4.6 of “Arithmetic definability”, by the same proof. Consequently the Σn0\Sigma^0_n formulas with parameter AA define the Σn0(A)\Sigma^0_n(A) sets of Definition 1.5 of “Σ⁰ₙ and Π⁰ₙ sets”.

1.2 The axioms

Definition 1.2.#

The basic axioms are the universal closures of

n+1≠0,m+1=n+1→m=n,m+0=m,m+(n+1)=(m+n)+1,m⋅0=0,m⋅(n+1)=(m⋅n)+m,¬(m<0),m<n+1↔(m<n∨m=n).\begin{gathered} n + 1 \neq 0, \qquad m + 1 = n + 1 \rightarrow m = n, \qquad m + 0 = m, \qquad m + (n + 1) = (m + n) + 1, \\ m \cdot 0 = 0, \qquad m \cdot (n + 1) = (m \cdot n) + m, \qquad \neg (m < 0), \qquad m < n + 1 \leftrightarrow (m < n \vee m = n). \end{gathered}

The induction axiom is

∀X ((0∈X∧∀n (n∈X→n+1∈X))→∀n (n∈X)).\forall X\, \big( (0 \in X \wedge \forall n\, (n \in X \rightarrow n + 1 \in X)) \rightarrow \forall n\, (n \in X) \big).

For a class Γ\Gamma of formulas, the Γ\Gamma comprehension scheme consists of the universal closures of

∃X ∀n (n∈X↔φ(n))\exists X\, \forall n\, (n \in X \leftrightarrow \varphi(n))

for φ∈Γ\varphi \in \Gamma in which XX does not occur free. The Γ\Gamma induction scheme consists of the universal closures of

(φ(0)∧∀n (φ(n)→φ(n+1)))→∀n φ(n)(\varphi(0) \wedge \forall n\, (\varphi(n) \rightarrow \varphi(n+1))) \rightarrow \forall n\, \varphi(n)

for φ∈Γ\varphi \in \Gamma. Second-order arithmetic Z2\mathsf Z_2 is the theory consisting of the basic axioms, the induction axiom, and the comprehension scheme for all formulas of L2\mathcal L_2.

The parameters of φ\varphi are universally quantified: comprehension asserts that, for all values of the other free variables, the set defined by φ\varphi exists. Comprehension for formulas with set quantifiers is impredicative: the set XX is defined by quantifying over all sets, including XX itself. The subsystems studied in reverse mathematics restrict comprehension, and induction with it.

Proposition 1.3.#

If Γ\Gamma comprehension holds, the induction axiom implies the Γ\Gamma induction scheme.

Proof of Proposition 1.3.

Let φ∈Γ\varphi \in \Gamma with φ(0)\varphi(0) and ∀n (φ(n)→φ(n+1))\forall n\, (\varphi(n) \rightarrow \varphi(n+1)). By Γ\Gamma comprehension, the set X={n:φ(n)}X = \{ n : \varphi(n) \} exists. It contains 00 and is closed under successor, so it contains every nn by the induction axiom: φ(n)\varphi(n) holds for all nn.

In particular Z2\mathsf Z_2 proves the induction scheme for all formulas.

1.3 Structures and ω-models

Definition 1.4.#

An L2\mathcal L_2-structure is a tuple M=(M,S,+M,⋅M,<M,0M,1M)\mathcal M = (M, \mathcal S, +^{\mathcal M}, \cdot^{\mathcal M}, <^{\mathcal M}, 0^{\mathcal M}, 1^{\mathcal M}) where MM is a non-empty set, the first-order part, S⊆P(M)\mathcal S \subseteq \mathcal P(M) is the second-order part, +M,⋅M+^{\mathcal M}, \cdot^{\mathcal M} are binary operations on MM, <M<^{\mathcal M} is a binary relation on MM, and 0M,1M∈M0^{\mathcal M}, 1^{\mathcal M} \in M. Number variables range over MM, set variables over S\mathcal S, and ∈\in is interpreted as membership.

Satisfaction M⊨φ\mathcal M \models \varphi is defined as usual, the set quantifiers ranging over S\mathcal S only. Such structures are Henkin structures; a structure with S=P(M)\mathcal S = \mathcal P(M) is a full structure. With Henkin semantics, the logic of L2\mathcal L_2 is essentially first-order logic with two sorts, and enjoys the completeness theorem: a sentence is provable in a theory TT if and only if it holds in every model of TT. We admit this result: it is the completeness theorem for many-sorted first-order logic, which reduces to the one-sorted case by adding a unary predicate for each sort (see Simpson, Subsystems of Second Order Arithmetic, Section I.2, for L2\mathcal L_2-structures). In particular, to show that TT does not prove φ\varphi, it suffices to exhibit a model of TT in which φ\varphi fails.

Definition 1.5.#

An ω-model is a structure whose first-order part is N\nat with the usual operations and order. It is determined by its second-order part S⊆P(N)\mathcal S \subseteq \mathcal P(\nat), and we identify the two.

The structure P(N)\mathcal P(\nat) is the intended model of Z2\mathsf Z_2. A model whose first-order part is not isomorphic to N\nat contains non-standard numbers. Such models are needed to separate systems that differ only by their induction axioms, since every ω-model satisfies full induction (Proposition 1.6); most separations between the systems of this track are nevertheless obtained with ω-models.

Proposition 1.6.#

Let S⊆P(N)\mathcal S \subseteq \mathcal P(\nat) be an ω-model.

  1. For every arithmetic formula φ(X1,…,Xk,n1,…,nl)\varphi(X_1, \dots, X_k, n_1, \dots, n_l) and all A1,…,Ak∈SA_1, \dots, A_k \in \mathcal S and n1,…,nl∈Nn_1, \dots, n_l \in \nat, S⊨φ(A,n)\mathcal S \models \varphi(A, n) if and only if φ(A,n)\varphi(A, n) holds in the full structure P(N)\mathcal P(\nat).
  2. S\mathcal S satisfies the basic axioms and the induction scheme for all formulas of L2\mathcal L_2.
Proof of Proposition 1.6.
  1. By induction on φ\varphi: atomic formulas are evaluated in N\nat with the same parameters; the connectives commute with satisfaction; number quantifiers range over N\nat in both structures. Set quantifiers do not occur.
  2. The basic axioms hold in N\nat. For induction, let φ(n)\varphi(n) be any formula with parameters in S\mathcal S, true at 00 and preserved by successor in S\mathcal S. The set {n∈N:S⊨φ(n)}\{ n \in \nat : \mathcal S \models \varphi(n) \} contains 00 and is closed under successor, so it is N\nat, by induction in the metatheory.

Item 1 is the reason why computability theory is the natural tool for ω-models: an arithmetic statement about sets of the model means the same thing inside the model and in reality. A Σ11\Sigma^1_1 statement, on the other hand, may be true in P(N)\mathcal P(\nat) and false in S\mathcal S, if its witnesses are missing from S\mathcal S.

1.4 The program

A subsystem TT of Z2\mathsf Z_2 proves a statement φ\varphi if φ\varphi is derivable from the axioms of TT. Two statements φ\varphi and ψ\psi are equivalent over TT if TT proves φ↔ψ\varphi \leftrightarrow \psi. The typical result of reverse mathematics has the form: a theorem φ\varphi of ordinary mathematics, suitably coded, is provable in a system SS, and conversely φ\varphi implies the axioms of SS over the base theory RCA0\mathsf{RCA}_0. Since φ\varphi implies the axioms of SS over RCA0\mathsf{RCA}_0, these axioms are necessary to prove φ\varphi over RCA0\mathsf{RCA}_0. The axioms are proved from the theorem: hence the name reverse mathematics.

The five systems of the Big Five are, in increasing strength:

System Main axiom Computability counterpart
RCA0\mathsf{RCA}_0 Δ10\Delta^0_1 comprehension computable sets
WKL0\mathsf{WKL}_0 weak König’s lemma PA degrees
ACA0\mathsf{ACA}_0 arithmetic comprehension the Turing jump
ATR0\mathsf{ATR}_0 arithmetic transfinite recursion hyperarithmetic sets
Π11-CA0\Pi^1_1\text{-}\mathsf{CA}_0 Π11\Pi^1_1 comprehension the hyperjump

The next lesson introduces RCA0\mathsf{RCA}_0; the others are the subject of the course on the Big Five. Ramsey’s theorem for pairs, studied in the last course of the track, is the main exception to the Big Five phenomenon.

1.5 Exercises

Exercise 1.7 ★.

Show that P(N)\mathcal P(\nat) is a model of Z2\mathsf Z_2, and that the class of arithmetic sets is an ω-model of arithmetic comprehension, that is, of the comprehension scheme for arithmetic formulas.

Solution

In P(N)\mathcal P(\nat), every formula with parameters defines a subset of N\nat, which belongs to P(N)\mathcal P(\nat); the other axioms hold by Proposition 1.6. Let A\mathcal A be the class of arithmetic sets, and φ(n)\varphi(n) an arithmetic formula with parameters A1,…,Ak∈AA_1, \dots, A_k \in \mathcal A. By Proposition 1.6, A⊨φ(n)\mathcal A \models \varphi(n) if and only if φ(n)\varphi(n) is true. Each AiA_i is Σm0\Sigma^0_{m} for some mm, so substituting arithmetic definitions of the AiA_i in φ\varphi shows that {n:φ(n)}\{ n : \varphi(n) \} is arithmetic, hence belongs to A\mathcal A.

Exercise 1.8 ★★.

Show that a Π11\Pi^1_1 sentence true in P(N)\mathcal P(\nat) is true in every ω-model, and that a Σ11\Sigma^1_1 sentence true in some ω-model is true in P(N)\mathcal P(\nat). Give a Σ11\Sigma^1_1 sentence that is true in P(N)\mathcal P(\nat) and false in the ω-model S\mathcal S of the computable sets.

Solution

Let ∀X φ(X)\forall X\, \varphi(X) be true in P(N)\mathcal P(\nat), with φ\varphi arithmetic, and let S\mathcal S be an ω-model. For every A∈SA \in \mathcal S, φ(A)\varphi(A) is true, so S⊨φ(A)\mathcal S \models \varphi(A) by Proposition 1.6; hence S⊨∀X φ(X)\mathcal S \models \forall X\, \varphi(X). If S⊨∃X φ(X)\mathcal S \models \exists X\, \varphi(X), a witness A∈SA \in \mathcal S satisfies φ(A)\varphi(A) in reality, so the sentence is true in P(N)\mathcal P(\nat).

The sentence “there is a set XX such that, for every ee, if Φe\Phi_e is total with values in {0,1}\{0, 1\} then X(n)≠Φe(n)X(n) \neq \Phi_e(n) for some nn” is Σ11\Sigma^1_1: the relation Φe(n) ⁣ ⁣↓=m\Phi_e(n)\converge = m is Σ10\Sigma^0_1, so the matrix is arithmetic. It is true in P(N)\mathcal P(\nat), since non-computable sets exist, and false in S\mathcal S, since every member of S\mathcal S is equal to some total Φe\Phi_e.

1.6 Notes and references

Second-order arithmetic was introduced by Hilbert and Bernays in the Grundlagen der Mathematik (1934–1939), who showed that much of analysis can be developed in it. Friedman (1975) initiated reverse mathematics, and Simpson’s monograph is its standard reference; Hirschfeldt’s and Dzhafarov–Mummert’s books emphasize the computability-theoretic side.

  • H. Friedman, Some systems of second order arithmetic and their use, Proceedings of the International Congress of Mathematicians, Vancouver, 1974, vol. 1, 235–242.
  • S. G. Simpson, Subsystems of Second Order Arithmetic, 2nd edition, Cambridge University Press, 2009.
  • D. R. Hirschfeldt, Slicing the Truth, World Scientific, 2014.
  • D. D. Dzhafarov and C. Mummert, Reverse Mathematics: Problems, Reductions, and Proofs, Springer, 2022.