In mathematical logic, second-order arithmetic is a collection of axiomatic systems that formalize the natural numbers and their subsets. It is an alternative to axiomatic set theory as a foundation for much, but not all, of mathematics.
A precursor to second-order arithmetic that involves third-order parameters was introduced by David Hilbert and Paul Bernays in their book Grundlagen der Mathematik. The standard axiomatization of second-order arithmetic is denoted by Z<sub>2</sub>.
Second-order arithmetic includes, but is significantly stronger than, its first-order counterpart Peano arithmetic. Unlike Peano arithmetic, second-order arithmetic allows quantification over sets of natural numbers as well as numbers themselves. Because real numbers can be represented as (infinite) sets of natural numbers in well-known ways, and because second-order arithmetic allows quantification over such sets, it is possible to formalize the real numbers in second-order arithmetic. For this reason, second-order arithmetic is sometimes called "analysis".
Second-order arithmetic can also be seen as a weak version of set theory in which every element is either a natural number or a set of natural numbers. Although it is much weaker than ZermeloâÂÂFraenkel set theory, second-order arithmetic can prove essentially all of the results of classical mathematics expressible in its language.
A subsystem of second-order arithmetic is a theory in the language of second-order arithmetic each axiom of which is a theorem of full second-order arithmetic (Z<sub>2</sub>). Such subsystems are essential to reverse mathematics, a research program investigating how much of classical mathematics can be derived in certain weak subsystems of varying strength. Much of core mathematics can be formalized in these weak subsystems, some of which are defined below. Reverse mathematics also clarifies the extent and manner in which classical mathematics is nonconstructive.
The language of second-order arithmetic is two-sorted. The first sort of terms and in particular variables, usually denoted by lower case letters, consists of individuals, whose intended interpretation is as natural numbers. The other sort of variables, variously called "set variables", "class variables", or even "predicates" are usually denoted by upper-case letters. They refer to classes/predicates/properties of individuals, and so can be thought of as sets of natural numbers. Both individuals and set variables can be quantified universally or existentially. A formula with no bound set variables (that is, no quantifiers over set variables) is called arithmetical. An arithmetical formula may have free set variables and bound individual variables.
Individual terms are formed from the constant 0, the unary function S (the successor function), and the binary operations + and (addition and multiplication). The successor function adds 1 to its input. The relations = (equality) and < (comparison of natural numbers) relate two individuals, whereas the relation â (membership) relates an individual and a set (or class). Thus in notation the language of second-order arithmetic is given by the signature .
For example, , is a well-formed formula of second-order arithmetic that is arithmetical, has one free set variable X and one bound individual variable n (but no bound set variables, as is required of an arithmetical formula)—whereas is a well-formed formula that is not arithmetical, having one bound set variable X and one bound individual variable n.
Several different interpretations of the quantifiers are possible. If second-order arithmetic is studied using the full semantics of second-order logic then the set quantifiers range over all subsets of the range of the individual variables. If second-order arithmetic is formalized using the semantics of first-order logic (Henkin semantics) then any model includes a domain for the set variables to range over, and this domain may be a proper subset of the full powerset of the domain of individual variables.
The following axioms are known as the basic axioms, or sometimes the Robinson axioms. The resulting first-order theory, known as Robinson arithmetic, is essentially Peano arithmetic without induction. The domain of discourse for the quantified variables is the natural numbers, collectively denoted by N, and including the distinguished member , called "zero."
The primitive functions are the unary successor function, denoted by prefix , and two binary operations, addition and multiplication, denoted by the infix operator "+" and "", respectively. There is also a primitive binary relation called order, denoted by the infix operator "<".
Axioms governing the successor function and zero:
Addition defined recursively:
Multiplication defined recursively:
Axioms governing the order relation "<":
These axioms are all first-order statements. That is, all variables range over the natural numbers and not sets thereof, a fact even stronger than their being arithmetical. Moreover, there is but one existential quantifier, in Axiom 3. Axioms 1 and 2, together with an axiom schema of induction make up the usual PeanoâÂÂDedekind definition of N. Adding to these axioms any sort of axiom schema of induction makes redundant the axioms 3, 10, and 11.
If ÃÂ(n) is a formula of second-order arithmetic with a free individual variable n and possibly other free individual or set variables (written m<sub>1</sub>,...,m<sub>k</sub> and X<sub>1</sub>,...,X<sub>l</sub>), the induction axiom for ÃÂ is the axiom:
The (full) second-order induction scheme consists of all instances of this axiom, over all second-order formulas.
One particularly important instance of the induction scheme is when ÃÂ is the formula "" expressing the fact that n is a member of X (X being a free set variable): in this case, the induction axiom for ÃÂ is
This sentence is called the second-order induction axiom.
If ÃÂ(n) is a formula with a free variable n and possibly other free variables, but not the variable Z, the comprehension axiom for ÃÂ is the formula
This axiom makes it possible to form the set of natural numbers satisfying ÃÂ(n). There is a technical restriction that the formula ÃÂ may not contain the variable Z, for otherwise the formula would lead to the comprehension axiom
which is inconsistent. This convention is assumed in the remainder of this article.
The formal theory of second-order arithmetic (in the language of second-order arithmetic) consists of the basic axioms, the comprehension axiom for every formula ÃÂ (arithmetic or otherwise), and the second-order induction axiom. This theory is sometimes called full second-order arithmetic to distinguish it from its subsystems, defined below. Because full second-order semantics imply that every possible set exists, the comprehension axioms may be taken to be part of the deductive system when full second-order semantics is employed.
This section describes second-order arithmetic with first-order semantics. Thus a model of the language of second-order arithmetic consists of a set M (which forms the range of individual variables) together with a constant 0 (an element of M), a function S from M to M, two binary operations + and ÷ on M, a binary relation < on M, and a collection D of subsets of M, which is the range of the set variables. Omitting D produces a model of the language of first-order arithmetic.
When D is the full powerset of M, the model is called a full model. The use of full second-order semantics is equivalent to limiting the models of second-order arithmetic to the full models. In fact, the axioms of second-order arithmetic have only one full model. This follows from the fact that the Peano axioms with the second-order induction axiom have only one model under second-order semantics.
The first-order functions that are provably total in second-order arithmetic are precisely the same as those representable in system F. Almost equivalently, system F is the theory of functionals corresponding to second-order arithmetic in a manner parallel to how Gödel's system T corresponds to first-order arithmetic in the Dialectica interpretation.
When a model of the language of second-order arithmetic has certain properties, it can also be called these other names:
There are many named subsystems of second-order arithmetic.
A subscript 0 in the name of a subsystem indicates that it includes only a restricted portion of the full second-order induction scheme. Such a restriction lowers the proof-theoretic strength of the system significantly. For example, the system ACA<sub>0</sub> described below is equiconsistent with Peano arithmetic. The corresponding theory ACA, consisting of ACA<sub>0</sub> plus the full second-order induction scheme, is stronger than Peano arithmetic.
Many of the well-studied subsystems are related to closure properties of models. For example, it can be shown that every ÃÂ-model of full second-order arithmetic is closed under Turing jump, but not every ÃÂ-model closed under Turing jump is a model of full second-order arithmetic. The subsystem ACA<sub>0</sub> includes just enough axioms to capture the notion of closure under Turing jump.
ACA<sub>0</sub> is defined as the theory consisting of the basic axioms, the arithmetical comprehension axiom scheme (in other words the comprehension axiom for every arithmetical formula ÃÂ) and the ordinary second-order induction axiom. It would be equivalent to also include the entire arithmetical induction axiom scheme, in other words to include the induction axiom for every arithmetical formula ÃÂ.
It can be shown that a collection S of subsets of ÃÂ determines an ÃÂ-model of ACA<sub>0</sub> if and only if S is closed under Turing jump, Turing reducibility, and Turing join.
The subscript 0 in ACA<sub>0</sub> indicates that not every instance of the induction axiom scheme is included this subsystem. This makes no difference for ÃÂ-models, which automatically satisfy every instance of the induction axiom. It is of importance, however, in the study of non-ÃÂ-models. The system consisting of ACA<sub>0</sub> plus induction for all formulas is sometimes called ACA with no subscript.
The system ACA<sub>0</sub> is a conservative extension of first-order arithmetic (or first-order Peano axioms), defined as the basic axioms, plus the first-order induction axiom scheme (for all formulas àinvolving no class variables at all, bound or otherwise), in the language of first-order arithmetic (which does not permit class variables at all). In particular it has the same proof-theoretic ordinal õ<sub>0</sub> as first-order arithmetic, owing to the limited induction schema.
A formula is called bounded arithmetical, or ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">0</sub>, when all its quantifiers are of the form âÂÂn<t or âÂÂn<t (where n is the individual variable being quantified and t is an individual term), where
stands for
and
stands for
A formula is called ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> (or sometimes ã<sub>1</sub>), respectively à<sup>0</sup><sub style="margin-left:-0.65em">1</sub> (or sometimes à<sub>1</sub>) when it is of the form âÂÂmÃÂ, respectively âÂÂmàwhere àis a bounded arithmetical formula and m is an individual variable (that is free in ÃÂ). More generally, a formula is called ã<sup>0</sup><sub style="margin-left:-0.65em">n</sub>, respectively à<sup>0</sup><sub style="margin-left:-0.65em">n</sub> when it is obtained by adding existential, respectively universal, individual quantifiers to a à<sup>0</sup><sub style="margin-left:-0.65em">n−1</sub>, respectively ã<sup>0</sup><sub style="margin-left:-0.65em">n−1</sub> formula (and ã<sup>0</sup><sub style="margin-left:-0.65em">0</sub> and à<sup>0</sup><sub style="margin-left:-0.65em">0</sub> are both equal to ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">0</sub>). By construction, all these formulas are arithmetical (no class variables are ever bound) and, in fact, by putting the formula in Skolem prenex form one can see that every arithmetical formula is logically equivalent to a ã<sup>0</sup><sub style="margin-left:-0.65em">n</sub> or à<sup>0</sup><sub style="margin-left:-0.65em">n</sub> formula for all large enough n.
The subsystem RCA<sub>0</sub> is a weaker system than ACA<sub>0</sub> and is often used as the base system in reverse mathematics. It consists of: the basic axioms, the ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> induction scheme, and the ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub> comprehension scheme. The former term is clear: the ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> induction scheme is the induction axiom for every ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula ÃÂ. The term "ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub> comprehension" is more complex, because there is no such thing as a ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula. The ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub> comprehension scheme instead asserts the comprehension axiom for every ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula that is logically equivalent to a à<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula. This scheme includes, for every ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula àand every à<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formula ÃÂ, the axiom:
The set of first-order consequences of RCA<sub>0</sub> is the same as those of the subsystem IΣ<sub>1</sub> of Peano arithmetic in which induction is restricted to ã<sup>0</sup><sub style="margin-left:-0.65em">1</sub> formulas. In turn, IΣ<sub>1</sub> is conservative over primitive recursive arithmetic (PRA) for sentences. Moreover, the proof-theoretic ordinal of is ÃÂ<sup>ÃÂ</sup>, the same as that of PRA.
It can be seen that a collection S of subsets of àdetermines an ÃÂ-model of RCA<sub>0</sub> if and only if S is closed under Turing reducibility and Turing join. In particular, the collection of all computable subsets of àgives an ÃÂ-model of RCA<sub>0</sub>. This is the motivation behind the name of this systemâÂÂif a set can be proved to exist using RCA<sub>0</sub>, then the set is recursive (i.e. computable).
Sometimes an even weaker system than RCA<sub>0</sub> is desired. One such system is defined as follows: one must first augment the language of arithmetic with an exponential function symbol (in stronger systems the exponential can be defined in terms of addition and multiplication by the usual trick, but when the system becomes too weak this is no longer possible) and the basic axioms by the obvious axioms defining exponentiation inductively from multiplication; then the system consists of the (enriched) basic axioms, plus ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub> comprehension, plus ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">0</sub> induction.
Over ACA<sub>0</sub>, each formula of second-order arithmetic is equivalent to a ã<sup>1</sup><sub style="margin-left:-0.6em">n</sub> or à<sup>1</sup><sub style="margin-left:-0.6em">n</sub> formula for all large enough n. The system à<sup>1</sup><sub style="margin-left:-0.6em">1</sub>-comprehension is the system consisting of the basic axioms, plus the ordinary second-order induction axiom and the comprehension axiom for every (boldface) à<sup>1</sup><sub style="margin-left:-0.6em">1</sub> formula ÃÂ. This is equivalent to ã<sup>1</sup><sub style="margin-left:-0.6em">1</sub>-comprehension (on the other hand, ÃÂ<sup>1</sup><sub style="margin-left:-0.6em">1</sub>-comprehension, defined analogously to ÃÂ<sup>0</sup><sub style="margin-left:-0.65em">1</sub>-comprehension, is weaker).
Projective determinacy is the assertion that every two-player perfect information game with moves being natural numbers, game length ÃÂ and projective payoff set is determined, that is, one of the players has a winning strategy. (The first player wins the game if the play belongs to the payoff set; otherwise, the second player wins.) A set is projective if and only if (as a predicate) it is expressible by a formula in the language of second-order arithmetic, allowing real numbers as parameters, so projective determinacy is expressible as a schema in the language of Z<sub>2</sub>.
Many natural propositions expressible in the language of second-order arithmetic are independent of Z<sub>2</sub> and even ZFC but are provable from projective determinacy. Examples include coanalytic perfect subset property, measurability and the property of Baire for sets, uniformization, etc. Over a weak base theory (such as RCA<sub>0</sub>), projective determinacy implies comprehension and provides an essentially complete theory of second-order arithmetic — natural statements in the language of Z<sub>2</sub> that are independent of Z<sub>2</sub> with projective determinacy are hard to find.
ZFC + {there are n Woodin cardinals: n is a natural number} is conservative over Z<sub>2</sub> with projective determinacy, that is a statement in the language of second-order arithmetic is provable in Z<sub>2</sub> with projective determinacy if and only if its translation into the language of set theory is provable in ZFC + {there are n Woodin cardinals: nâÂÂN}.
Second-order arithmetic directly formalizes natural numbers and sets of natural numbers. However, it is able to formalize other mathematical objects indirectly via coding techniques, a fact that was first noticed by Weyl. The integers, rational numbers, and real numbers can all be formalized in the subsystem RCA<sub>0</sub>, along with complete separable metric spaces and continuous functions between them.
The research program of reverse mathematics uses these formalizations of mathematics in second-order arithmetic to study the set-existence axioms required to prove mathematical theorems. For example, the intermediate value theorem for functions from the reals to the reals is provable in RCA<sub>0</sub>, while the BolzanoâÂÂWeierstrass theorem is equivalent to ACA<sub>0</sub> over RCA<sub>0</sub>.
The aforementioned coding works well for continuous and total functions, assuming a higher-order base theory plus weak KÃ Ânig's lemma. As perhaps expected, in the case of topology, coding is not without problems.