In
mathematical logic
Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of for ...
, 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 f ...
atic systems that formalize the
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''Cardinal n ...
s and their subsets. 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 mathematics, ...
as a
foundation
Foundation may refer to:
* Foundation (nonprofit), a type of charitable organization
** Foundation (United States law), a type of charitable organization in the U.S.
** Private foundation, a charitable organization that, while serving a good cause ...
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, one of the most influential mathematicians of the 19th and early 20th centuries. Hilbert discovered and developed a broad range of fundamental ideas in many a ...
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 of ...
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
In mathematics and other formal sciences, first-order or first order most often means either:
* "linear" (a polynomial of degree at most one), as in first-order approximation and other calculus uses, where it is contrasted with "polynomials of high ...
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 nearly u ...
. 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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s can be represented as (
infinite
Infinite may refer to:
Mathematics
*Infinite set, a set that is not a finite set
*Infinity, an abstract concept describing something without any limit
Music
* Infinite (group), a South Korean boy band
*''Infinite'' (EP), debut EP of American m ...
) 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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
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 ...
" (Sieg 2013, p. 291).
Second-order arithmetic can also be seen as a weak version of
set theory
Set theory is the branch of mathematical logic that studies 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 mathematics, is mostly conce ...
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 such as ...
, second-order arithmetic can prove essentially all of the results of
classical mathematics In the foundations of mathematics, classical mathematics refers generally to the mainstream approach to mathematics, which is based on classical logic and ZFC set theory. It stands in contrast to other types of mathematics such as constructive m ...
expressible in its language.
A subsystem of second-order arithmetic is a
theory
A theory is a rational type of abstract thinking about a phenomenon, or the results of such thinking. The process of contemplative and rational thinking is often associated with such processes as observational study or research. Theories may be s ...
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
Reverse mathematics is a program in mathematical logic that seeks to determine which axioms are required to prove theorems of mathematics. Its defining method can briefly be described as "going backwards from the theorems to the axioms", in cont ...
, 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 that which exists as a distinct entity. Individuality (or self-hood) is the state or quality of being an individual; particularly (in the case of humans) of being a person unique from other people and possessing one's own Maslow ...
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
Bound or bounds may refer to:
Mathematics
* Bound variable
* Upper and lower bounds, observed limits of mathematical functions
Physics
* Bound state, a particle that has a tendency to remain localized in one or more regions of space
Geography
*B ...
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. A formal language can be ...
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 onl ...
then the set quantifiers range over all subsets of the range of the number variables. If second-order arithmetic is formalized using the semantics of
first-order logic
First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
(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 number variables (Shapiro 1991, pp. 74–75).
Axioms
Basic
The following axioms are known as the ''basic axioms'', or sometimes the ''Robinson axioms.'' The resulting
first-order theory
First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantif ...
, known as
Robinson arithmetic
In mathematics, Robinson arithmetic is a finitely axiomatized fragment of first-order Peano arithmetic (PA), first set out by R. M. Robinson in 1950. It is usually denoted Q. Q is almost PA without the axiom schema of mathematical induction. Q is ...
, 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 nearly u ...
without induction. The
domain of discourse
In the formal sciences, the domain of discourse, also called the universe of discourse, universal set, or simply universe, is the set of entities over which certain variables of interest in some formal treatment may range.
Overview
The domain ...
for the
quantified variables is the
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''Cardinal n ...
s, collectively denoted by N, and including the distinguished member
, called "
zero
0 (zero) is a number representing an empty quantity. In place-value notation
Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or ...
."
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 Word stem, stem of a word. Adding it to the beginning of one word changes it into another word. For example, when the prefix ''un-'' is added to the word ''happy'', it creates the word ''unhappy'' ...
, 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, an internal binary op ...
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), division. ...
and
multiplication
Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being additi ...
, denoted by
infix
An infix is an affix inserted inside a word stem (an existing word or the core of a family of words). It contrasts with ''adfix,'' a rare term for an affix attached to the outside of a stem, such as a prefix or suffix.
When marking text for int ...
"+" and "
", respectively. There is also a primitive
binary relation
In mathematics, a binary relation associates elements of one set, called the ''domain'', with elements of another set, called the ''codomain''. A binary relation over Set (mathematics), sets and is a new set of ordered pairs consisting of ele ...
called
order
Order, ORDER or Orders may refer to:
* Categorization, the process in which ideas and objects are recognized, differentiated, and understood
* Heterarchy, a system of organization wherein the elements have the potential to be ranked a number of d ...
, denoted by infix "<".
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. In place-value notation
Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or ...
:
:1.
("the successor of a natural number is never zero")
:2.
("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; that is, implies . (Equivalently, implies in the equivalent contrapositiv ...
")
:3.
("every natural number is zero or a successor")
Addition defined recursion, recursively:
:4.
:5.
Multiplication defined recursively:
:6.
:7.
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 ...
"<":
:8.
("no natural number is smaller than zero")
:9.
:10.
("every natural number is zero or bigger than zero")
:11.
These axioms are all
first-order statements. That is, all variables range over the
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''Cardinal n ...
s and not
sets thereof, a fact even stronger than their being arithmetical. Moreover, there is but one
existential quantifier
In predicate logic, an existential quantification is a type of quantifier, a logical constant which is interpreted as "there exists", "there is at least one", or "for some". It is usually denoted by the logical operator symbol ∃, which, w ...
, 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 number variable ''n'' and possibly other free number or set variables (written ''m'' and ''X''), 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 these semantics are employed (Shapiro 1991, p. 66).
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 nearly ...
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 polymorphis ...
(Girard and Taylor 1987, pp. 122–123). 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 In proof theory, the Dialectica interpretation is a proof interpretation of intuitionistic arithmetic (Heyting arithmetic) into a finite type extension of primitive recursive arithmetic, the so-called System T. It was developed by Kurt Gödel to pr ...
.
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.
[W. Marek]
Stable sets, a characterization of β2-models of full second-order arithmetic and some related facts
(1973, pp.176-177). Accessed 2021 November 4. Some notions that are absolute with respect to β-models include "
encodes a well-order" and "
is a tree".
*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 (Friedman 1976). Such a restriction lowers the
proof-theoretic strength
In proof theory, ordinal analysis assigns ordinal number, ordinals (often large countable ordinals) to mathematical theories as a measure of their strength.
If theories have the same proof-theoretic ordinal they are often equiconsistency, equico ...
of the system significantly. For example, the system ACA
0 described below is
equiconsistent
In mathematical logic, two theories are equiconsistent if the consistency of one theory implies the consistency of the other theory, and vice versa. In this case, they are, roughly speaking, "as consistent as each other".
In general, it is not p ...
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 nearly u ...
. The corresponding theory ACA, consisting of ACA
0 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 w ...
, but not every ω-model closed under Turing jump is a model of full second-order arithmetic. The subsystem ACA
0 includes just enough axioms to capture the notion of closure under Turing jump.
ACA
0 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 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
0 if and only if ''S'' is closed under Turing jump, Turing reducibility, and Turing join (Simpson 2009, pp. 311–313).
The subscript 0 in ACA
0 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
0 plus induction for all formulas is sometimes called ACA with no subscript.
The system ACA
0 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
In proof theory, ordinal analysis assigns ordinals (often large countable ordinals) to mathematical theories as a measure of their strength.
If theories have the same proof-theoretic ordinal they are often equiconsistent, and if one theory has ...
ε
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
: