fbpx
Wikipedia

Computable number

In mathematics, computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm. They are also known as the recursive numbers, effective numbers[1] or the computable reals or recursive reals.[citation needed] The concept of a computable real number was introduced by Emile Borel in 1912, using the intuitive notion of computability available at the time.[2]

π can be computed to arbitrary precision, while almost every real number is not computable.

Equivalent definitions can be given using μ-recursive functions, Turing machines, or λ-calculus as the formal representation of algorithms. 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.

Informal definition using a Turing machine as example edit

In the following, Marvin Minsky defines the numbers to be computed in a manner similar to those defined by Alan Turing in 1936;[3] i.e., as "sequences of digits interpreted as decimal fractions" between 0 and 1:[4]

A computable number [is] one for which there is a Turing machine which, given n on its initial tape, terminates with the nth digit of that number [encoded on its tape].

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.

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.

This is however not the modern definition which only requires the result be accurate to within any given accuracy. The informal definition above is subject to a rounding problem called the table-maker's dilemma whereas the modern definition is not.

Formal definition edit

A real number a is computable if it can be approximated by some computable function   in the following manner: given any positive integer n, the function produces an integer f(n) such that:

 

There are two similar definitions that are equivalent:

  • There exists a computable function which, given any positive rational error bound  , produces a rational number r such that  
  • There is a computable sequence of rational numbers   converging to   such that   for each i.

There is another equivalent definition of computable numbers via computable Dedekind cuts. A computable Dedekind cut is a computable function   which when provided with a rational number   as input returns   or  , satisfying the following conditions:

 
 
 
 

An example is given by a program D that defines the cube root of 3. Assuming   this is defined by:

 
 

A real number is computable if and only if there is a computable Dedekind cut D corresponding to it. The function D is unique for each computable number (although of course two different programs may provide the same function).

A complex number is called computable if its real and imaginary parts are computable.

Properties edit

Not computably enumerable edit

Assigning a Gödel number to each Turing machine definition produces a subset   of the natural numbers corresponding to the computable numbers and identifies a surjection from   to the computable numbers. There are only countably many Turing machines, showing that the computable numbers are subcountable. The set   of these Gödel numbers, however, is not computably enumerable (and consequently, neither are subsets of   that are defined in terms of it). This is because there is no algorithm to determine which Gödel numbers correspond to Turing machines that produce computable reals. 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′′. Consequently, there is no surjective computable function from the natural numbers to the set   of machines representing computable reals, and Cantor's diagonal argument cannot be used constructively to demonstrate uncountably many of them.

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. Here, for any given computable number   the well ordering principle provides that there is a minimal element in   which corresponds to  , and therefore there exists a subset consisting of the minimal elements, on which the map is a bijection. The inverse of this bijection is an injection into the natural numbers of the computable numbers, proving that they are countable. But, again, this subset is not computable, even though the computable reals are themselves ordered.

Properties as a field edit

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. These operations are actually uniformly computable; for example, there is a Turing machine which on input (A,B, ) 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   approximation of a+b.

The fact that computable real numbers form a field was first proved by Henry Gordon Rice in 1954.[5]

Computable reals however do not form a computable field, because the definition of a computable field requires effective equality.

Non-computability of the ordering edit

The order relation on the computable numbers is not computable. Let A be the description of a Turing machine approximating the number  . Then there is no Turing machine which on input A outputs "YES" if   and "NO" if   To see why, suppose the machine described by A keeps outputting 0 as   approximations. It is not clear how long to wait before deciding that the machine will never output an approximation which forces a to be positive. 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. This idea can be used to show that the machine is incorrect on some sequences if it computes a total function. A similar problem occurs when the computable reals are represented as Dedekind cuts. The same holds for the equality relation : the equality test is not computable.

While the full order relation is not computable, the restriction of it to pairs of unequal numbers is computable. That is, there is a program that takes as input two Turing machines A and B approximating numbers   and  , where  , and outputs whether   or   It is sufficient to use  -approximations where   so by taking increasingly small   (approaching 0), one eventually can decide whether   or  

Other properties edit

The computable real numbers do not share all the properties of the real numbers used in analysis. For example, the least upper bound of a bounded increasing computable sequence of computable real numbers need not be a computable real number.[6] A sequence with this property is known as a Specker sequence, as the first construction is due to Ernst Specker in 1949.[7] 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.

Every computable number is arithmetically definable, but not vice versa. There are many arithmetically definable, noncomputable real numbers, including:

Both of these examples in fact define an infinite set of definable, uncomputable numbers, one for each Universal Turing machine. A real number is computable if and only if the set of natural numbers it represents (when written in binary and viewed as a characteristic function) is computable.

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.

Digit strings and the Cantor and Baire spaces edit

Turing's original paper defined computable numbers as follows:

A real number is computable if its digit sequence can be produced by some algorithm or Turing machine. The algorithm takes an integer   as input and produces the  -th digit of the real number's decimal expansion as output.

(The decimal expansion of a only refers to the digits following the decimal point.)

Turing was aware that this definition is equivalent to the  -approximation definition given above. The argument proceeds as follows: if a number is computable in the Turing sense, then it is also computable in the   sense: if  , then the first n digits of the decimal expansion for a provide an   approximation of a. For the converse, we pick an   computable real number a and generate increasingly precise approximations until the nth digit after the decimal point is certain. 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.

Unless certain topological properties of the real numbers are relevant, it is often more convenient to deal with elements of   (total 0,1 valued functions) instead of reals numbers in  . The members of   can be identified with binary decimal expansions, but since the decimal expansions   and   denote the same real number, the interval   can only be bijectively (and homeomorphically under the subset topology) identified with the subset of   not ending in all 1's.

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   approximation sense. Hirst has shown that there is no algorithm which takes as input the description of a Turing machine which produces   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.[8] Similarly, it means that the arithmetic operations on the computable reals are not effective on their decimal representations as when adding decimal numbers. 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. This lack of uniformity is one reason why the contemporary definition of computable numbers uses   approximations rather than decimal expansions.

However, from a computability theoretic or measure theoretic perspective, the two structures   and   are essentially identical. Thus, computability theorists often refer to members of   as reals. While   is totally disconnected, for questions about   classes or randomness it is easier to work in  .

Elements of   are sometimes called reals as well and though containing a homeomorphic image of  ,   isn't even locally compact (in addition to being totally disconnected). This leads to genuine differences in the computational properties. For instance the   satisfying  , with   quantifier free, must be computable while the unique   satisfying a universal formula may have an arbitrarily high position in the hyperarithmetic hierarchy.

Use in place of the reals edit

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. 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. 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. This idea is appealing from a constructivist point of view, and has been pursued by what Errett Bishop and Fred Richman call the Russian school of constructive mathematics.[citation needed] [9]

To actually develop analysis over computable numbers, some care must be taken. 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). This difficulty is addressed by considering only sequences which have a computable modulus of convergence. The resulting mathematical theory is called computable analysis.

Implementations of exact arithmetic edit

Computer packages representing real numbers as programs computing approximations have been proposed as early as 1985, under the name "exact arithmetic".[10] Modern examples include the CoRN library (Coq),[11] and the RealLib package (C++).[12] 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 iRRAM package.[13]

See also edit

Notes edit

  1. ^ van der Hoeven (2006).
  2. ^ P. Odifreddi, Classical Recursion Theory (1989), p.8. North-Holland, 0-444-87295-7
  3. ^ Turing (1936).
  4. ^ Minsky (1967).
  5. ^ Rice (1954).
  6. ^ Bridges & Richman (1987), p. 58.
  7. ^ Specker (1949).
  8. ^ Hirst (2007).
  9. ^ Zalta, Edward N., ed. (2022), "Russian School of Constructive Mathematics", Constructive Mathematics, Metaphysics Research Lab, Stanford University
  10. ^ Boehm, Hans-J.; Cartwright, Robert; Riggle, Mark; O'Donnell, Michael J. (8 August 1986). "Exact real arithmetic: A case study in higher order programming" (PDF). Proceedings of the 1986 ACM conference on LISP and functional programming - LFP '86. pp. 162–173. doi:10.1145/319838.319860. ISBN 0897912004. S2CID 12934546. (PDF) from the original on 2020-09-24.
  11. ^ O’Connor, Russell (2008). "Certified Exact Transcendental Real Number Computation in Coq". Theorem Proving in Higher Order Logics. Lecture Notes in Computer Science. Vol. 5170. pp. 246–261. arXiv:0805.2438. doi:10.1007/978-3-540-71067-7_21. ISBN 978-3-540-71065-3. S2CID 17959745.
  12. ^ Lambov (2015).
  13. ^ Gowland, Paul; Lester, David (2001). "A Survey of Exact Arithmetic Implementations" (PDF). Computability and Complexity in Analysis. Lecture Notes in Computer Science. Vol. 2064. Springer. pp. 30–47. doi:10.1007/3-540-45335-0_3. ISBN 978-3-540-42197-9. (PDF) from the original on 2022-03-24.

References edit

  • Bridges, Douglas; Richman, Fred (1987). Varieties of Constructive Mathematics. Cambridge University Press. ISBN 978-0-521-31802-0.
  • Hirst, Jeffry L. (2007). "Representations of reals in reverse mathematics". Bulletin of the Polish Academy of Sciences, Mathematics. 55 (4): 303–316. doi:10.4064/ba55-4-2.
  • Lambov, Branimir (5 April 2015). "RealLib". GitHub.
  • Minsky, Marvin (1967). "9. The Computable Real Numbers". Computation: Finite and Infinite Machines. Prentice-Hall. ISBN 0-13-165563-9. OCLC 0131655639.
  • Rice, Henry Gordon (1954). "Recursive real numbers". Proceedings of the American Mathematical Society. 5 (5): 784–791. doi:10.1090/S0002-9939-1954-0063328-5. JSTOR 2031867.
  • Specker, E. (1949). "Nicht konstruktiv beweisbare Sätze der Analysis" (PDF). Journal of Symbolic Logic. 14 (3): 145–158. doi:10.2307/2267043. JSTOR 2267043. S2CID 11382421. (PDF) from the original on 2018-07-21.
  • Turing, A. M. (1936). "On Computable Numbers, with an Application to the Entscheidungsproblem". Proceedings of the London Mathematical Society. Series 2. 42 (1) (published 1937): 230–65. doi:10.1112/plms/s2-42.1.230. S2CID 73712.
    Turing, A. M. (1938). "On Computable Numbers, with an Application to the Entscheidungsproblem: A correction". Proceedings of the London Mathematical Society. Series 2. 43 (6) (published 1937): 544–6. doi:10.1112/plms/s2-43.6.544. Computable numbers (and Turing's a-machines) were introduced in this paper; the definition of computable numbers uses infinite decimal sequences.
  • van der Hoeven, Joris (2006). "Computations with effective real numbers". Theoretical Computer Science. 351 (1): 52–60. doi:10.1016/j.tcs.2005.09.060.

Further reading edit

  • Aberth, Oliver (1968). "Analysis in the Computable Number Field". Journal of the Association for Computing Machinery. 15 (2): 276–299. doi:10.1145/321450.321460. S2CID 18135005. This paper describes the development of the calculus over the computable number field.
  • Bishop, Errett; Bridges, Douglas (1985). Constructive Analysis. Springer. ISBN 0-387-15066-8.
  • Stoltenberg-Hansen, V.; Tucker, J.V. (1999). "Computable Rings and Fields". In Griffor, E.R. (ed.). Handbook of Computability Theory. Elsevier. pp. 363–448. ISBN 978-0-08-053304-9.
  • Weihrauch, Klaus (2000). Computable analysis. Texts in Theoretical Computer Science. Springer. ISBN 3-540-66817-9. §1.3.2 introduces the definition by nested sequences of intervals converging to the singleton real. Other representations are discussed in §4.1.
  • Weihrauch, Klaus (1995). A simple introduction to computable analysis. Fernuniv., Fachbereich Informatik.

computable, number, confused, with, constructible, number, mathematics, computable, numbers, real, numbers, that, computed, within, desired, precision, finite, terminating, algorithm, they, also, known, recursive, numbers, effective, numbers, computable, reals. Not to be confused with constructible number In mathematics computable numbers are the real numbers that can be computed to within any desired precision by a finite terminating algorithm They are also known as the recursive numbers effective numbers 1 or the computable reals or recursive reals citation needed The concept of a computable real number was introduced by Emile Borel in 1912 using the intuitive notion of computability available at the time 2 p can be computed to arbitrary precision while almost every real number is not computable Equivalent definitions can be given using m recursive functions Turing machines or l calculus as the formal representation of algorithms 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 Contents 1 Informal definition using a Turing machine as example 2 Formal definition 3 Properties 3 1 Not computably enumerable 3 2 Properties as a field 3 3 Non computability of the ordering 3 4 Other properties 4 Digit strings and the Cantor and Baire spaces 5 Use in place of the reals 6 Implementations of exact arithmetic 7 See also 8 Notes 9 References 10 Further readingInformal definition using a Turing machine as example editIn the following Marvin Minsky defines the numbers to be computed in a manner similar to those defined by Alan Turing in 1936 3 i e as sequences of digits interpreted as decimal fractions between 0 and 1 4 A computable number is one for which there is a Turing machine which given n on its initial tape terminates with the nth digit of that number encoded on its tape 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 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 This is however not the modern definition which only requires the result be accurate to within any given accuracy The informal definition above is subject to a rounding problem called the table maker s dilemma whereas the modern definition is not Formal definition editA real number a is computable if it can be approximated by some computable function f N Z displaystyle f mathbb N to mathbb Z nbsp in the following manner given any positive integer n the function produces an integer f n such that f n 1n a f n 1n displaystyle f n 1 over n leq a leq f n 1 over n nbsp There are two similar definitions that are equivalent There exists a computable function which given any positive rational error bound e displaystyle varepsilon nbsp produces a rational number r such that r a e displaystyle r a leq varepsilon nbsp There is a computable sequence of rational numbers qi displaystyle q i nbsp converging to a displaystyle a nbsp such that qi qi 1 lt 2 i displaystyle q i q i 1 lt 2 i nbsp for each i There is another equivalent definition of computable numbers via computable Dedekind cuts A computable Dedekind cut is a computable function D displaystyle D nbsp which when provided with a rational number r displaystyle r nbsp as input returns D r true displaystyle D r mathrm true nbsp or D r false displaystyle D r mathrm false nbsp satisfying the following conditions rD r true displaystyle exists rD r mathrm true nbsp rD r false displaystyle exists rD r mathrm false nbsp D r true D s false r lt s displaystyle D r mathrm true wedge D s mathrm false Rightarrow r lt s nbsp D r true s gt r D s true displaystyle D r mathrm true Rightarrow exists s gt r D s mathrm true nbsp An example is given by a program D that defines the cube root of 3 Assuming q gt 0 displaystyle q gt 0 nbsp this is defined by p3 lt 3q3 D p q true displaystyle p 3 lt 3q 3 Rightarrow D p q mathrm true nbsp p3 gt 3q3 D p q false displaystyle p 3 gt 3q 3 Rightarrow D p q mathrm false nbsp A real number is computable if and only if there is a computable Dedekind cut D corresponding to it The function D is unique for each computable number although of course two different programs may provide the same function A complex number is called computable if its real and imaginary parts are computable Properties editNot computably enumerable edit Assigning a Godel number to each Turing machine definition produces a subset S displaystyle S nbsp of the natural numbers corresponding to the computable numbers and identifies a surjection from S displaystyle S nbsp to the computable numbers There are only countably many Turing machines showing that the computable numbers are subcountable The set S displaystyle S nbsp of these Godel numbers however is not computably enumerable and consequently neither are subsets of S displaystyle S nbsp that are defined in terms of it This is because there is no algorithm to determine which Godel numbers correspond to Turing machines that produce computable reals 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 Consequently there is no surjective computable function from the natural numbers to the set S displaystyle S nbsp of machines representing computable reals and Cantor s diagonal argument cannot be used constructively to demonstrate uncountably many of them 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 Here for any given computable number x displaystyle x nbsp the well ordering principle provides that there is a minimal element in S displaystyle S nbsp which corresponds to x displaystyle x nbsp and therefore there exists a subset consisting of the minimal elements on which the map is a bijection The inverse of this bijection is an injection into the natural numbers of the computable numbers proving that they are countable But again this subset is not computable even though the computable reals are themselves ordered Properties as a field edit 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 These operations are actually uniformly computable for example there is a Turing machine which on input A B ϵ displaystyle epsilon nbsp 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 ϵ displaystyle epsilon nbsp approximation of a b The fact that computable real numbers form a field was first proved by Henry Gordon Rice in 1954 5 Computable reals however do not form a computable field because the definition of a computable field requires effective equality Non computability of the ordering edit The order relation on the computable numbers is not computable Let A be the description of a Turing machine approximating the number a displaystyle a nbsp Then there is no Turing machine which on input A outputs YES if a gt 0 displaystyle a gt 0 nbsp and NO if a 0 displaystyle a leq 0 nbsp To see why suppose the machine described by A keeps outputting 0 as ϵ displaystyle epsilon nbsp approximations It is not clear how long to wait before deciding that the machine will never output an approximation which forces a to be positive 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 This idea can be used to show that the machine is incorrect on some sequences if it computes a total function A similar problem occurs when the computable reals are represented as Dedekind cuts The same holds for the equality relation the equality test is not computable While the full order relation is not computable the restriction of it to pairs of unequal numbers is computable That is there is a program that takes as input two Turing machines A and B approximating numbers a displaystyle a nbsp and b displaystyle b nbsp where a b displaystyle a neq b nbsp and outputs whether a lt b displaystyle a lt b nbsp or a gt b displaystyle a gt b nbsp It is sufficient to use ϵ displaystyle epsilon nbsp approximations where ϵ lt b a 2 displaystyle epsilon lt b a 2 nbsp so by taking increasingly small ϵ displaystyle epsilon nbsp approaching 0 one eventually can decide whether a lt b displaystyle a lt b nbsp or a gt b displaystyle a gt b nbsp Other properties edit The computable real numbers do not share all the properties of the real numbers used in analysis For example the least upper bound of a bounded increasing computable sequence of computable real numbers need not be a computable real number 6 A sequence with this property is known as a Specker sequence as the first construction is due to Ernst Specker in 1949 7 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 Every computable number is arithmetically definable but not vice versa There are many arithmetically definable noncomputable real numbers including any number that encodes the solution of the halting problem or any other undecidable problem according to a chosen encoding scheme Chaitin s constant W displaystyle Omega nbsp which is a type of real number that is Turing equivalent to the halting problem Both of these examples in fact define an infinite set of definable uncomputable numbers one for each Universal Turing machine A real number is computable if and only if the set of natural numbers it represents when written in binary and viewed as a characteristic function is computable 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 Digit strings and the Cantor and Baire spaces editTuring s original paper defined computable numbers as follows A real number is computable if its digit sequence can be produced by some algorithm or Turing machine The algorithm takes an integer n 1 displaystyle n geq 1 nbsp as input and produces the n displaystyle n nbsp th digit of the real number s decimal expansion as output The decimal expansion of a only refers to the digits following the decimal point Turing was aware that this definition is equivalent to the ϵ displaystyle epsilon nbsp approximation definition given above The argument proceeds as follows if a number is computable in the Turing sense then it is also computable in the ϵ displaystyle epsilon nbsp sense if n gt log10 1 ϵ displaystyle n gt log 10 1 epsilon nbsp then the first n digits of the decimal expansion for a provide an ϵ displaystyle epsilon nbsp approximation of a For the converse we pick an ϵ displaystyle epsilon nbsp computable real number a and generate increasingly precise approximations until the nth digit after the decimal point is certain 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 Unless certain topological properties of the real numbers are relevant it is often more convenient to deal with elements of 2w displaystyle 2 omega nbsp total 0 1 valued functions instead of reals numbers in 0 1 displaystyle 0 1 nbsp The members of 2w displaystyle 2 omega nbsp can be identified with binary decimal expansions but since the decimal expansions d1d2 dn0111 displaystyle d 1 d 2 ldots d n 0111 ldots nbsp and d1d2 dn10 displaystyle d 1 d 2 ldots d n 10 nbsp denote the same real number the interval 0 1 displaystyle 0 1 nbsp can only be bijectively and homeomorphically under the subset topology identified with the subset of 2w displaystyle 2 omega nbsp not ending in all 1 s 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 ϵ displaystyle epsilon nbsp approximation sense Hirst has shown that there is no algorithm which takes as input the description of a Turing machine which produces ϵ displaystyle epsilon nbsp 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 8 Similarly it means that the arithmetic operations on the computable reals are not effective on their decimal representations as when adding decimal numbers 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 This lack of uniformity is one reason why the contemporary definition of computable numbers uses ϵ displaystyle epsilon nbsp approximations rather than decimal expansions However from a computability theoretic or measure theoretic perspective the two structures 2w displaystyle 2 omega nbsp and 0 1 displaystyle 0 1 nbsp are essentially identical Thus computability theorists often refer to members of 2w displaystyle 2 omega nbsp as reals While 2w displaystyle 2 omega nbsp is totally disconnected for questions about P10 displaystyle Pi 1 0 nbsp classes or randomness it is easier to work in 2w displaystyle 2 omega nbsp Elements of ww displaystyle omega omega nbsp are sometimes called reals as well and though containing a homeomorphic image of R displaystyle mathbb R nbsp ww displaystyle omega omega nbsp isn t even locally compact in addition to being totally disconnected This leads to genuine differences in the computational properties For instance the x R displaystyle x in mathbb R nbsp satisfying n w ϕ x n displaystyle forall n in omega phi x n nbsp with ϕ x n displaystyle phi x n nbsp quantifier free must be computable while the unique x ww displaystyle x in omega omega nbsp satisfying a universal formula may have an arbitrarily high position in the hyperarithmetic hierarchy Use in place of the reals editThe computable numbers include the specific real numbers which appear in practice including all real algebraic numbers as well as e p and many other transcendental numbers 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 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 This idea is appealing from a constructivist point of view and has been pursued by what Errett Bishop and Fred Richman call the Russian school of constructive mathematics citation needed 9 To actually develop analysis over computable numbers some care must be taken 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 This difficulty is addressed by considering only sequences which have a computable modulus of convergence The resulting mathematical theory is called computable analysis Implementations of exact arithmetic editComputer packages representing real numbers as programs computing approximations have been proposed as early as 1985 under the name exact arithmetic 10 Modern examples include the CoRN library Coq 11 and the RealLib package C 12 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 iRRAM package 13 See also editConstructible number Definable number Semicomputable function Transcomputational problemNotes edit van der Hoeven 2006 P Odifreddi Classical Recursion Theory 1989 p 8 North Holland 0 444 87295 7 Turing 1936 Minsky 1967 Rice 1954 Bridges amp Richman 1987 p 58 Specker 1949 Hirst 2007 Zalta Edward N ed 2022 Russian School of Constructive Mathematics Constructive Mathematics Metaphysics Research Lab Stanford University Boehm Hans J Cartwright Robert Riggle Mark O Donnell Michael J 8 August 1986 Exact real arithmetic A case study in higher order programming PDF Proceedings of the 1986 ACM conference on LISP and functional programming LFP 86 pp 162 173 doi 10 1145 319838 319860 ISBN 0897912004 S2CID 12934546 Archived PDF from the original on 2020 09 24 O Connor Russell 2008 Certified Exact Transcendental Real Number Computation in Coq Theorem Proving in Higher Order Logics Lecture Notes in Computer Science Vol 5170 pp 246 261 arXiv 0805 2438 doi 10 1007 978 3 540 71067 7 21 ISBN 978 3 540 71065 3 S2CID 17959745 Lambov 2015 Gowland Paul Lester David 2001 A Survey of Exact Arithmetic Implementations PDF Computability and Complexity in Analysis Lecture Notes in Computer Science Vol 2064 Springer pp 30 47 doi 10 1007 3 540 45335 0 3 ISBN 978 3 540 42197 9 Archived PDF from the original on 2022 03 24 References editBridges Douglas Richman Fred 1987 Varieties of Constructive Mathematics Cambridge University Press ISBN 978 0 521 31802 0 Hirst Jeffry L 2007 Representations of reals in reverse mathematics Bulletin of the Polish Academy of Sciences Mathematics 55 4 303 316 doi 10 4064 ba55 4 2 Lambov Branimir 5 April 2015 RealLib GitHub Minsky Marvin 1967 9 The Computable Real Numbers Computation Finite and Infinite Machines Prentice Hall ISBN 0 13 165563 9 OCLC 0131655639 Rice Henry Gordon 1954 Recursive real numbers Proceedings of the American Mathematical Society 5 5 784 791 doi 10 1090 S0002 9939 1954 0063328 5 JSTOR 2031867 Specker E 1949 Nicht konstruktiv beweisbare Satze der Analysis PDF Journal of Symbolic Logic 14 3 145 158 doi 10 2307 2267043 JSTOR 2267043 S2CID 11382421 Archived PDF from the original on 2018 07 21 Turing A M 1936 On Computable Numbers with an Application to the Entscheidungsproblem Proceedings of the London Mathematical Society Series 2 42 1 published 1937 230 65 doi 10 1112 plms s2 42 1 230 S2CID 73712 Turing A M 1938 On Computable Numbers with an Application to the Entscheidungsproblem A correction Proceedings of the London Mathematical Society Series 2 43 6 published 1937 544 6 doi 10 1112 plms s2 43 6 544 Computable numbers and Turing s a machines were introduced in this paper the definition of computable numbers uses infinite decimal sequences van der Hoeven Joris 2006 Computations with effective real numbers Theoretical Computer Science 351 1 52 60 doi 10 1016 j tcs 2005 09 060 Further reading editAberth Oliver 1968 Analysis in the Computable Number Field Journal of the Association for Computing Machinery 15 2 276 299 doi 10 1145 321450 321460 S2CID 18135005 This paper describes the development of the calculus over the computable number field Bishop Errett Bridges Douglas 1985 Constructive Analysis Springer ISBN 0 387 15066 8 Stoltenberg Hansen V Tucker J V 1999 Computable Rings and Fields In Griffor E R ed Handbook of Computability Theory Elsevier pp 363 448 ISBN 978 0 08 053304 9 Weihrauch Klaus 2000 Computable analysis Texts in Theoretical Computer Science Springer ISBN 3 540 66817 9 1 3 2 introduces the definition by nested sequences of intervals converging to the singleton real Other representations are discussed in 4 1 Weihrauch Klaus 1995 A simple introduction to computable analysis Fernuniv Fachbereich Informatik Retrieved from https en wikipedia org w index php title Computable number amp oldid 1176673329, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.