Contents
Context
Model theory
model theory
Basic concepts and techniques
Dimension, ranks, forking
Universal constructions
Examples
Theorems
Arithmetic
number theory
number
- natural number, integer number, rational number, real number, irrational number, complex number, quaternion, octonion, adic number, cardinal number, ordinal number, surreal number
arithmetic
arithmetic geometry, function field analogy
Arakelov geometry
Contents
Idea
Peano arithmetic refers to a theory which formalizes arithmetic operations on the natural numbers and their properties. There is a first-order Peano arithmetic and a second-order Peano arithmetic, and one may speak of Peano arithmetic in higher-order type theory.
As first-order logic has certain syntactic and model-theoretic advantages over second-order logic, and has been much further developed, the default notion of Peano arithmetic is usually taken to be the first-order one. However, we will describe both the first- and second-order notions. Note that Peano’s original treatment was second-order.
Second-order Peano arithmetic
Against a fixed background of “sets” (which we consider categorically, e.g., a model of ETCS, or even just any topos), Peano arithmetic is formalized by stipulating a set with an element and an unary function , subject to the following axioms:
-
;
-
;
-
(Second-order induction) .
Regarding as an algebra of an endofunctor , the first two axioms say that the structure map is monic, and the induction axiom says that the only -subalgebra of is itself. (In particular, is tautologically an -algebra map where is given the -algebra structure . Being monic, the subalgebra is an isomorphism, by induction.)
It may be shown that these properties determine up to isomorphism (one says second-order Peano arithmetic is ‘categorical’, but this is not at all related to the notion of category), and moreover:
Proposition
In a topos, an object which satisfies the Peano axioms is a natural numbers object (and natural numbers objects satisfy the Peano axioms).
This is a special case of a much more general result which is part of the general theory of recursion and well-founded coalgebras:
Theorem
If is a topos and is a taut functor, then any -algebra whose structure map is monic and for which the only -subalgebra of is itself is an initial -algebra.
First-order Peano arithmetic
Here we cannot quantify over subsets, as in the second-order induction scheme, and the initial algebra techniques that can be used to manufacture addition and multiplication do not apply. Instead, addition and multiplication need to be built into the signature. Induction becomes an induction scheme over formulas in the language generated by the signature.
Thus, the signature of first-order Peano arithmetic consists of a constant , an unary function symbol , and binary function symbols . The Peano axioms are
-
;
-
;
-
;
-
,
-
;
-
;
-
;
-
(Induction scheme) For all formulas with free variables,
The third axiom is actually redundant, being an instance of the induction scheme (take ). We include it because it is needed for weaker systems of arithmetic in which the induction schema is curtailed or dropped, notably Robinson arithmetic.
In addition, the additional parameters are not needed in the induction scheme; adding the induction scheme for first-order formulae where the only parameter is :
- (Induction scheme) For all formulas ,
results in an equivalent theory to Peano arithmetic. See Parameters in arithmetic induction axiom schemas.
By the Lowenheim-Skolem theorem, there are "nonstandard" models of any infinite cardinality of Peano arithmetic.
We present here a formalization of first-order Peano arithmetic in a deduction system using inference rules. Such a formalization is important because first-order Peano arithmetic is needed to formally define the universe levels of the universe hierarchy of Russell universes or Coquand universes in many dependent type theories, such as the dependent type theory in the HoTT book.
First-order Peano arithmetic, as a first-order theory with sorts, consists of the following judgments
-
, that is a context
-
, that is a proposition,
-
, that is a true proposition,
-
, that is a sort,
-
, that is in sort .
In addition, we have rules stating that one could form the empty context, and one could add true proposition judgments and element judgments to the list of contexts:
We also have rules saying that given a context with a true proposition or element judgment, said judgment holds:
In addition, we have the natural deduction inference rules for classical propositional logic:
- Inference rules for true:
- Inference rules for false:
First-order Peano arithmetic consists of one sort :
for which it is possible to quantify over elements of :
as well as compare elements of for propositional equality:
- Inference rules for propositional equality on :
Then we have the axioms and signatures for Peano arithmetic, which are given by the following inference rules:
- Inference rules for successor:
- Inference rules for addition:
- Inference rules for multiplication:
- Axiom schema of induction:
This concludes the formalization of first-order Peano arithmetic.
References
Named after Giuseppe Peano; originating in
Review: