Computable number
can be computed to arbitrary precision, while almost every real number is not computable.[src] In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm.[src] They are also known as the recursive numbers, effective numbers, computable reals, or recursive reals.[src] The concept of a computable real number was introduced by Émile Borel in 1912, using the intuitive notion of computability available at the time.[src] Equivalent definitions can be given using μ-recursive functions, Turing machines, or λ-calculus as the formal representation of algorithms.[src] The set of computable numbers is sometimes denoted by 𝕂.[src] The idea of computable numbers can be further extended to computable complex numbers(or gaussian computable numbers) - whose both real and imaginary components are computable.[src] The computable numbers form a real closed field and can be used in the place of real numbers for many, but not all, mathematical purposes.[src]
can be computed to arbitrary precision, while almost every real number is not computable.[src] In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm.[src] They are also known as the recursive numbers, effective numbers, computable reals, or recursive reals.[src] The concept of a computable real number was introduced by Émile Borel in 1912, using the intuitive notion of computability available at the time.[src] Equivalent definitions can be given using μ-recursive functions, Turing machines, or λ-calculus as the formal representation of algorithms.[src] The set of computable numbers is sometimes denoted by 𝕂.[src] The idea of computable numbers can be further extended to computable complex numbers(or gaussian computable numbers) - whose both real and imaginary components are computable.[src] The computable numbers form a real closed field and can be used in the place of real numbers for many, but not all, mathematical purposes.[src] ==Informal definition== In the following, Marvin Minsky defines the numbers to be computed in a manner similar to those defined by Alan Turing in 1936; i.e., as "sequences of digits interpreted as decimal fractions" between 0 and 1: The key notions in the definition are (1) that some n is specified at the start, (2) for any n the computation only takes a finite number of steps, after which the machine produces the desired output and terminates.[src] An alternate form of (2) – the machine successively prints all n of the digits on its tape, halting after printing the nth – emphasizes Minsky's observation: (3) That by use of a Turing machine, a finite definition – in the form of the machine's state table – is being used to define what is a potentially infinite string of decimal digits.[src] This is however not the modern definition which only requires a numerical value be attained to within any given accuracy.[src] The informal definition above is subject to a rounding problem called the table-maker's dilemma whereas the modern definition is not.[src] ==Formal definition== A real number a is computable if it can be approximated by some computable function f:\mathbb{N}\to\mathbb{Z} in the following manner: given any positive integer n, the function produces an integer f(n) such that: {f(n)-1\over n} \leq a \leq {f(n)+1\over n}.[src] A complex number is called computable if its real and imaginary parts are computable.[src] ===Equivalent definitions=== There are two similar definitions that are equivalent: There exists a computable function which, given any positive rational error bound \varepsilon , produces a rational number r such that |r - a| \leq \varepsilon.[src] There is a computable sequence of rational numbers q_i converging to a such that |q_i - q_{i+1}| for each i.[src] There is another equivalent definition of computable numbers via computable Dedekind cuts.[src] A computable Dedekind cut is a computable function D\; which when provided with a rational number r as input returns D(r)=\mathrm{true}\; or D(r)=\mathrm{false}\; , satisfying the following conditions: \exists r D(r)=\mathrm{true}\; \exists r D(r)=\mathrm{false}\; (D(r)=\mathrm{true}) \wedge (D(s)=\mathrm{false}) \Rightarrow r D(r)=\mathrm{true} \Rightarrow \exist s>r, D(s)=\mathrm{true}.\; An example is given by a program D that defines the cube root of 3.[src] Assuming q>0\; this is defined by: p^3 p^3>3 q^3 \Rightarrow D(p/q)=\mathrm{false}.\; A real number is computable if and only if there is a computable Dedekind cut D corresponding to it.[src] The function D is unique for each computable number (although of course two different programs may provide the same function).[src] ==Properties== ===Not computably enumerable=== Assigning a Gödel number to each Turing machine definition produces a subset S of the natural numbers corresponding to the computable numbers and identifies a surjection from S to the computable numbers.[src] There are only countably many Turing machines, showing that the computable numbers are subcountable.[src] The set S of these Gödel numbers, however, is not computably enumerable (and consequently, neither are subsets of S that are defined in terms of it).[src] This is because there is no algorithm to determine which Gödel numbers correspond to Turing machines that produce computable reals.[src] In order to produce a computable real, a Turing machine must compute a total function, but the corresponding decision problem is in Turing degree 0′′.[src] Consequently, there is no surjective computable function from the natural numbers to the set S of machines representing computable reals, and Cantor's diagonal argument cannot be used constructively to demonstrate uncountably many of them.[src] While the set of real numbers is uncountable, the set of computable numbers is classically countable and thus almost all real numbers are not computable.[src] Here, for any given computable number x, the well ordering principle provides that there is a minimal element in S which corresponds to x , and therefore there exists a subset consisting of the minimal elements, on which the map is a bijection.[src] The inverse of this bijection is an injection into the natural numbers of the computable numbers, proving that they are countable.[src] But, again, this subset is not computable, even though the computable reals are themselves ordered.[src] ===Properties as a field=== The arithmetical operations on computable numbers are themselves computable in the sense that whenever real numbers a and b are computable then the following real numbers are also computable: a + b, a - b, ab, and a/b if b is nonzero.[src] These operations are actually uniformly computable; for example, there is a Turing machine which on input (A,B, \epsilon ) produces output r, where A is the description of a Turing machine approximating a, B is the description of a Turing machine approximating b, and r is an \epsilon approximation of a + b.[src] The fact that computable real numbers form a field was first proved by Henry Gordon Rice in 1954.[src] Computable reals however do not form a computable field, because the definition of a computable field requires effective equality.[src] ===Non-computability of the ordering=== The order relation on the computable numbers is not computable.[src] Let A be the description of a Turing machine approximating the number a .[src] Then there is no Turing machine which on input A outputs "YES" if a > 0 and "NO" if a \le 0.[src] To see why, suppose the machine described by A keeps outputting 0 as \epsilon approximations.[src] It is not clear how long to wait before deciding that the machine will never output an approximation which forces a to be positive.[src] Thus the machine will eventually have to guess that the number will equal 0, in order to produce an output; the sequence may later become different from 0.[src] This idea can be used to show that the machine is incorrect on some sequences if it computes a total function.[src] A similar problem occurs when the computable reals are represented as Dedekind cuts.[src] The same holds for the equality relation: the equality test is not computable.[src] While the full order relation is not computable, the restriction of it to pairs of unequal numbers is computable.[src] That is, there is a program that takes as input two Turing machines A and B approximating numbers a and b , where a \ne b , and outputs whether a or a > b.[src] It is sufficient to use \epsilon -approximations where \epsilon so by taking increasingly small \epsilon (approaching 0), one eventually can decide whether a or a > b.[src] ===Other properties=== The computable real numbers do not share all the properties of the real numbers used in analysis.[src] For example, the least upper bound of a bounded increasing computable sequence of computable real numbers need not be a computable real number.[src] A sequence with this property is known as a Specker sequence, as the first construction is due to Ernst Specker in 1949.[src] Despite the existence of counterexamples such as these, parts of calculus and real analysis can be developed in the field of computable numbers, leading to the study of computable analysis.[src] The set of computable real numbers (as well as every countable, densely ordered subset of computable reals without ends) is order-isomorphic to the set of rational numbers.[src] ==Digit strings and the Cantor and Baire spaces== Turing's original paper defined computable numbers as follows: (The decimal expansion of a only refers to the digits following the decimal point.) Turing was aware that this definition is equivalent to the \epsilon -approximation definition given above.[src] The argument proceeds as follows: if a number is computable in the Turing sense, then it is also computable in the \epsilon sense: if n > \log_{10} (1/\epsilon) , then the first n digits of the decimal expansion for a provide an \epsilon approximation of a.[src] For the converse, we pick an \epsilon computable real number a and generate increasingly precise approximations until the nth digit after the decimal point is certain.[src] This always generates a decimal expansion equal to a but it may improperly end in an infinite sequence of 9's in which case it must have a finite (and thus computable) proper decimal expansion.[src] Unless certain topological properties of the real numbers are relevant, it is often more convenient to deal with elements of 2^{\omega} (total 0,1 valued functions) instead of real numbers in [0,1] .[src] The members of 2^{\omega} can be identified with binary decimal expansions, but since the decimal expansions .d_1d_2\ldots d_n0111\ldots and .d_1d_2\ldots d_n10 denote the same real number, the interval [0,1] can only be bijectively (and homeomorphically under the subset topology) identified with the subset of 2^{\omega} not ending in all 1's.[src] Note that this property of decimal expansions means that it is impossible to effectively identify the computable real numbers defined in terms of a decimal expansion and those defined in the \epsilon approximation sense.[src] Hirst has shown that there is no algorithm which takes as input the description of a Turing machine which produces \epsilon approximations for the computable number a, and produces as output a Turing machine which enumerates the digits of a in the sense of Turing's definition.[src] Similarly, it means that the arithmetic operations on the computable reals are not effective on their decimal representations as when adding decimal numbers.[src] In order to produce one digit, it may be necessary to look arbitrarily far to the right to determine if there is a carry to the current location.[src] This lack of uniformity is one reason why the contemporary definition of computable numbers uses \epsilon approximations rather than decimal expansions.[src] However, from a computability theoretic or measure theoretic perspective, the two structures 2^{\omega} and [0,1] are essentially identical.[src] Thus, computability theorists often refer to members of 2^{\omega} as reals.[src] While 2^{\omega} is totally disconnected, for questions about \Pi^0_1 classes or randomness it is easier to work in 2^{\omega} .[src] Elements of \omega^{\omega} are sometimes called reals as well and though containing a homeomorphic image of \mathbb{R} , \omega^{\omega} isn't even locally compact (in addition to being totally disconnected).[src] This leads to genuine differences in the computational properties.[src] For instance the x \in \mathbb{R} satisfying \forall(n \in \omega)\phi(x,n) , with \phi(x,n) quantifier free, must be computable while the unique x \in \omega^{\omega} satisfying a universal formula may have an arbitrarily high position in the hyperarithmetic hierarchy.[src] ==Use in place of the reals== The computable numbers include the specific real numbers which appear in practice, including all real algebraic numbers, as well as e, π, and many other transcendental numbers.[src] Though the computable reals exhaust those reals we can calculate or approximate, the assumption that all reals are computable leads to substantially different conclusions about the real numbers.[src] The question naturally arises of whether it is possible to dispose of the full set of reals and use computable numbers for all of mathematics.[src] This idea is appealing from a constructivist point of view, and has been pursued by the Russian school of constructive mathematics.[src] To actually develop analysis over computable numbers, some care must be taken.[src] For example, if one uses the classical definition of a sequence, the set of computable numbers is not closed under the basic operation of taking the supremum of a bounded sequence (for example, consider a Specker sequence, see the section above).[src] This difficulty is addressed by considering only sequences which have a computable modulus of convergence.[src] The resulting mathematical theory is called computable analysis.[src] ==Implementations of exact arithmetic== Computer packages representing real numbers as programs computing approximations have been proposed as early as 1985, under the name "exact arithmetic".[src] Modern examples include the CoRN library (Coq), and the RealLib package (C++).[src] A related line of work is based on taking a real RAM program and running it with rational or floating-point numbers of sufficient precision, such as the package.[src] ==See also== Constructible number Definable number Semicomputable function Transcomputational problem ==Notes== ==References== Computable numbers (and Turing's a-machines) were introduced in this paper; the definition of computable numbers uses infinite decimal sequences.[src] ==Further reading== This paper describes the development of the calculus over the computable number field.[src] §1.3.2 introduces the definition by nested sequences of intervals converging to the singleton real.[src] Other representations are discussed in §4.1.[src]
91 sentences · 91 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Computable number." encyclopegia.org, 2026, https://encyclopegia.org/wiki/computable-number. Accessed 25 November 2026.
Chicago
"Computable number." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/computable-number.
APA
encyclopegia.org. (2026). Computable number. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/computable-number
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON