Contents
Context
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
Throughout mathematics there are various entities referred to as “numbers”; in modern mathematics it would be more accurate to refer to any one of various types called “number systems”, and simply define a number to be a term of such a type.
A numeral on the other hand is a syntactic representation of a number, part of a system of numeration.
It is interesting to try to describe the general conditions under which something comes to be designated as a “number”. After all, such number systems tend to form commutative rings or at least commutative rigs, but not all commutative rigs are considered to consist of “numbers”, or at least that is not how the language is used in practice.
The root notion, known to the great ancient civilizations and particularly ancient Hellenic civilization, is that of (the system of) natural numbers, and in some way or other each of the various number systems are extensions of that one. If we may attempt a broad classification, qualitatively there are two broad types of number systems:
Roughly speaking, transfinite numbers tend to be quantities that measure sizes of elements in ZF-type structures (as in algebraic set theory, or in the study of games in the sense of Conway), sometimes arising through a process of decategorification.
In algebraic number theory, there seem to be two distinct general trends in the creation of new number systems from old (starting from the natural numbers):
-
-
- Passing to a finite extension of some sort
For example, one passes from the rig of natural numbers to the ring of integers through additive group completion, or from the integral domain of integers to the field of rationals through a field of fractions completion. Or, one constructs number fields as finite extensions of the field of rational numbers (similarly, algebraic integers inside such a number field as those elements such that is a finite rank extension of ). Or, one constructs various local field completions of number fields, based on the valuations one can define on them; these include the real numbers and complex numbers and -adic numbers. Or, one has various finite-dimensional algebra extensions such systems, including for example the quaternions (aka Hamiltonian numbers) and octonions (aka Cayley numbers), and various -adic relatives of these.
Sometimes one singles out subtypes of such types; for example, the field of all algebraic numbers is the union of all number fields considered within the type of complex numbers. Sometimes numbers are designated according to what they are not, for example one speaks of irrational (= non-rational) numbers and of transcendental (= non-algebraic complex) numbers.
In dependent type theory
Assuming the type of natural numbers, we display the construction of, consecutively, the rings of
in dependent type theory with quotient types (such as homotopy type theory with the univalence axiom), as terms of ring structure (see there):
Here we use the notation for dependent functions, dependent pairs and their type telescopes from dependent functions and dependent pairs – table.
Throughout we omit displaying the certificates of identification type involved (associativity etc.). Mostly their construction is immediate, a little thought is required only for the convergence certificates of the operations on the real numbers: We show the “regular Cauchy real number type” due to Bishop (1967); the ideas for obtaining the required identification certificates may be found in Bishop (1967, pp. 15) and Bishop & Bridges (1985, pp. 18), full formalization in Agda is in Lundfall (2015), Murray (2022).
For and an equivalence relation with corresponding , we write
for the corresponding quotient type.
We display functions on such quotient sets as operations on the quotiened set , leaving again implicit the certificates that these functions do respect the relations and hence do restrict to the quotient.
The natural numbers
Here we assume the type of natural numbers, for detailed discussion see there.
Just briefly:
denotes the inductive type generated from
By recursion this induces the usual operations of addition and multiplication, which we denote as usual:
Not to clutter the notation, we will consecutively overload this notation in the following. For example, the addition of integer numbers in the following is defined on representatives as
and it is tacitly understood that the addition symbol operation on the left goes , while that on the right is the one from above: .
The integer numbers
The ring of integer numbers:
(1)
The inclusion of natural numbers into integer numbers:
The ordering of integer numbers:
(2)
The positive integer numbers:
(3)
The ring of rational numbers:
(4)
ordering of the rational numbers induced from the ordering (2) of the integer numbers:
(5)
When constructing the real numbers in (8) below, we use the following common abbreviations:
The multiplicative inverse of a positive natural number:
(6)
The square of a rational number:
(7)
The real numbers
The real numbers:
(8)
The complex numbers
The complex numbers:
Related pages on numbers
(…)
References
History:
Construction of the number systems up to the real numbers in constructive analysis:
Formalization in Agda: