In
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, second-order arithmetic is a collection of
axiom
An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
atic systems that formalize the
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s and their
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s. It is an alternative to
axiomatic set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
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
David Hilbert (; ; 23 January 1862 – 14 February 1943) was a German mathematician and philosopher of mathematics and one of the most influential mathematicians of his time.
Hilbert discovered and developed a broad range of fundamental idea ...
and
Paul Bernays
Paul Isaac Bernays ( ; ; 17 October 1888 – 18 September 1977) was a Swiss mathematician who made significant contributions to mathematical logic, axiomatic set theory, and the philosophy of mathematics. He was an assistant and close collaborator ...
in their book ''
Grundlagen der Mathematik
''Grundlagen der Mathematik'' (English: ''Foundations of Mathematics'') is a two-volume work by David Hilbert and Paul Bernays. Originally published in 1934 and 1939, it presents fundamental mathematical ideas and introduced second-order arithme ...
''. The standard axiomatization of second-order arithmetic is denoted by Z
2.
Second-order arithmetic includes, but is significantly stronger than, its
first-order counterpart
Peano arithmetic
In mathematical logic, the Peano axioms (, ), also known as the Dedekind–Peano axioms or the Peano postulates, are axioms for the natural numbers presented by the 19th-century Italian mathematician Giuseppe Peano. These axioms have been used nea ...
. Unlike Peano arithmetic, second-order arithmetic allows
quantification over sets of natural numbers as well as numbers themselves. Because
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s 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 number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s in second-order arithmetic. For this reason, second-order arithmetic is sometimes called "
analysis
Analysis (: analyses) is the process of breaking a complex topic or substance into smaller parts in order to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle (38 ...
".
Second-order arithmetic can also be seen as a weak version of
set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
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
In set theory, Zermelo–Fraenkel set theory, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is an axiomatic system that was proposed in the early twentieth century in order to formulate a theory of sets free of paradoxes suc ...
, 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
A theory is a systematic and rational form of abstract thinking about a phenomenon, or the conclusions derived from such thinking. It involves contemplative and logical reasoning, often supported by processes such as observation, experimentation, ...
in the language of second-order arithmetic each axiom of which is a theorem of full second-order arithmetic (Z
2). 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.
Definition
Syntax
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
individual
An individual is one that exists as a distinct entity. Individuality (or self-hood) is the state or quality of living as an individual; particularly (in the case of humans) as a person unique from other people and possessing one's own needs or g ...
s, 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
In mathematics, the successor function or successor operation sends a natural number to the next one. The successor function is denoted by ''S'', so ''S''(''n'') = ''n'' +1. For example, ''S''(1) = 2 and ''S''(2) = 3. The successor functio ...
''), 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
In mathematical logic, propositional logic and predicate logic, a well-formed formula, abbreviated WFF or wff, often simply formula, is a finite sequence of symbols from a given alphabet that is part of a formal language.
The abbreviation wf ...
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''.
Semantics
Several different interpretations of the quantifiers are possible. If second-order arithmetic is studied using the full semantics of
second-order logic
In logic and mathematics, second-order logic is an extension of first-order logic, which itself is an extension of propositional logic. Second-order logic is in turn extended by higher-order logic and type theory.
First-order logic quantifies on ...
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
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
(
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
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of the domain of individual variables.
Axioms
Basic
The following axioms are known as the ''basic axioms'', or sometimes the ''Robinson axioms.'' The resulting
first-order theory
In mathematical logic, a theory (also called a formal theory) is a set of sentences in a formal language. In most scenarios a deductive system is first understood from context, giving rise to a formal system that combines the language with deduct ...
, known as
Robinson arithmetic, is essentially
Peano arithmetic
In mathematical logic, the Peano axioms (, ), also known as the Dedekind–Peano axioms or the Peano postulates, are axioms for the natural numbers presented by the 19th-century Italian mathematician Giuseppe Peano. These axioms have been used nea ...
without induction. The
domain of discourse
In the formal sciences, the domain of discourse or universe of discourse (borrowing from the mathematical concept of ''universe'') is the set of entities over which certain variables of interest in some formal treatment may range.
It is also ...
for the
quantified variables is the
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s, collectively denoted by N, and including the distinguished member
, called "
zero
0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
."
The primitive functions are the unary
successor function
In mathematics, the successor function or successor operation sends a natural number to the next one. The successor function is denoted by ''S'', so ''S''(''n'') = ''n'' +1. For example, ''S''(1) = 2 and ''S''(2) = 3. The successor functio ...
, denoted by
prefix
A prefix is an affix which is placed before the stem of a word. Particularly in the study of languages, a prefix is also called a preformative, because it alters the form of the word to which it is affixed.
Prefixes, like other affixes, can b ...
, and two
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation ...
s,
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
and
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, denoted by the
infix operator "+" and "
", respectively. There is also a primitive
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
called
order, denoted by the infix operator "<".
Axioms governing the
successor function
In mathematics, the successor function or successor operation sends a natural number to the next one. The successor function is denoted by ''S'', so ''S''(''n'') = ''n'' +1. For example, ''S''(1) = 2 and ''S''(2) = 3. The successor functio ...
and
zero
0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
:
#
("the successor of a natural number is never zero")
#
("the successor function is
injective
In mathematics, an injective function (also known as injection, or one-to-one function ) is a function that maps distinct elements of its domain to distinct elements of its codomain; that is, implies (equivalently by contraposition, impl ...
")
#
("every natural number is zero or a successor")
Addition defined recursion, recursively:
#
#
Multiplication defined recursively:
#
#
Axioms governing the order relation
Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intro ...
"<":
# ("no natural number is smaller than zero")
#
# ("every natural number is zero or bigger than zero")
#
These axioms are all first-order statements. That is, all variables range over the natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s and not sets thereof, a fact even stronger than their being arithmetical. Moreover, there is but one existential quantifier
Existentialism is a family of philosophy, philosophical views and inquiry that explore the human individual's struggle to lead an Authenticity (philosophy), authentic life despite the apparent Absurdity#The Absurd, absurdity or incomprehensibili ...
, 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.
Induction and comprehension schema
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''1,...,''m''''k'' and ''X''1,...,''X''''l''), 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 full system
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.
Models
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
In mathematical logic, the Peano axioms (, ), also known as the Dedekind–Peano axioms or the Peano postulates, are axioms for the natural numbers presented by the 19th-century Italian mathematician Giuseppe Peano. These axioms have been used nea ...
with the second-order induction axiom have only one model under second-order semantics.
Definable functions
The first-order functions that are provably total in second-order arithmetic are precisely the same as those representable in system F
System F (also polymorphic lambda calculus or second-order lambda calculus) is a typed lambda calculus that introduces, to simply typed lambda calculus, a mechanism of universal quantification over types. System F formalizes parametric polymorph ...
. 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.
More types of models
When a model of the language of second-order arithmetic has certain properties, it can also be called these other names:
*When ''M'' is the usual set of natural numbers with its usual operations, is called an ω-model. In this case, the model may be identified with ''D'', its collection of sets of naturals, because this set is enough to completely determine an ω-model. The unique full -model, which is the usual set of natural numbers with its usual structure and all its subsets, is called the intended or standard model of second-order arithmetic.
*A model of the language of second-order arithmetic is called a β-model if , i.e. the Σ11-statements with parameters from that are satisfied by are the same as those satisfied by the full model. Some notions that are absolute with respect to β-models include " encodes a well-order
In mathematics, a well-order (or well-ordering or well-order relation) on a set is a total ordering on with the property that every non-empty subset of has a least element in this ordering. The set together with the ordering is then calle ...
" and " is a tree
In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, e.g., including only woody plants with secondary growth, only ...
".
*The above result has been extended to the concept of a β''n''-model for , which has the same definition as the above except is replaced by , i.e. is replaced by . Using this definition β0-models are the same as ω-models.
Subsystems
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 ACA0 described below is equiconsistent with Peano arithmetic
In mathematical logic, the Peano axioms (, ), also known as the Dedekind–Peano axioms or the Peano postulates, are axioms for the natural numbers presented by the 19th-century Italian mathematician Giuseppe Peano. These axioms have been used nea ...
. The corresponding theory ACA, consisting of ACA0 plus the full second-order induction scheme, is stronger than Peano arithmetic.
Arithmetical comprehension
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
In computability theory, the Turing jump or Turing jump operator, named for Alan Turing, is an operation that assigns to each decision problem a successively harder decision problem with the property that is not decidable by an oracle machine ...
, but not every ω-model closed under Turing jump is a model of full second-order arithmetic. The subsystem ACA0 includes just enough axioms to capture the notion of closure under Turing jump.
ACA0 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 ACA0 if and only if ''S'' is closed under Turing jump, Turing reducibility
In computability theory, a Turing reduction from a decision problem A to a decision problem B is an oracle machine that decides problem A given an oracle for B (Rogers 1967, Soare 1987) in finitely many steps. It can be understood as an algorithm ...
, and Turing join.
The subscript 0 in ACA0 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 ACA0 plus induction for all formulas is sometimes called ACA with no subscript.
The system ACA0 is a conservative extension
In mathematical logic, a conservative extension is a supertheory of a theory which is often convenient for proving theorems, but proves no new theorems about the language of the original theory. Similarly, a non-conservative extension is a superth ...
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 ε0 as first-order arithmetic, owing to the limited induction schema.
The arithmetical hierarchy for formulas
A formula is called ''bounded arithmetical'', or Δ00, 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
: