lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2...

88
M 2 -Computable Real Numbers Dimiter Skordev 1 Andreas Weiermann 2 1 University of Sofia, Bulgaria 2 Ghent University, Belgium Workshop on Computability Theory 2009, Sofia The results on the subject of the talk are obtained by the authors and Ivan Georgiev during the period June 2008 – July 2009.

Transcript of lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2...

Page 1: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-Computable Real Numbers

Dimiter Skordev1 Andreas Weiermann2

1University of Sofia, Bulgaria

2Ghent University, Belgium

Workshop on Computability Theory 2009, Sofia

The results on the subject of the talk are obtained by the authors

and Ivan Georgiev during the period June 2008 – July 2009.

Page 2: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Outline1 Introduction

The class M2

F-computability of real numbers

2 Proving M2-computability by using appropriate partial sumsM2-computability of the number eM2-computability of Liouville’s numberA partial generalization

3 Stronger tools for proving M2-computability of real numbersM2-computable real-valued function with natural argumentsLogarithmically bounded summationM2-computability of sums of series

4 Applications of the stronger toolsM2-computability of πA generalizationSome otherM2-computable constantsPreservation ofM2-computability by certain functions

5 Conclusion

6 References

Page 3: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2

Definition. The class M2 is the smallest class F of totalfunctions in N such that F contains the projection functions,the constant 0, the successor function, the multiplicationfunction, as well as the function λxy .x � y , and F is closedunder substitution and bounded least number operator.

Remark. There are different variants of the definition of(µi ≤ y)[f (x1, . . . , xk , i) = 0] for the case when there is noi ≤ y with f (x1, . . . , xk , i) = 0 , namely by using 0, y or y + 1as the corresponding value. It does not matter which of themis accepted. The function λxy .x � y may be replaced withλxy .∣x − y ∣.All functions fromM2 are lower elementary in Skolem’s sense,but it is not known whether the converse is true (it would betrue if and only ifM2 was closed under bounded summation).

Page 4: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2

Definition. The class M2 is the smallest class F of totalfunctions in N such that F contains the projection functions,the constant 0, the successor function, the multiplicationfunction, as well as the function λxy .x � y , and F is closedunder substitution and bounded least number operator.

Remark. There are different variants of the definition of(µi ≤ y)[f (x1, . . . , xk , i) = 0] for the case when there is noi ≤ y with f (x1, . . . , xk , i) = 0 , namely by using 0, y or y + 1as the corresponding value. It does not matter which of themis accepted. The function λxy .x � y may be replaced withλxy .∣x − y ∣.All functions fromM2 are lower elementary in Skolem’s sense,but it is not known whether the converse is true (it would betrue if and only ifM2 was closed under bounded summation).

Page 5: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2

Definition. The class M2 is the smallest class F of totalfunctions in N such that F contains the projection functions,the constant 0, the successor function, the multiplicationfunction, as well as the function λxy .x � y , and F is closedunder substitution and bounded least number operator.

Remark. There are different variants of the definition of(µi ≤ y)[f (x1, . . . , xk , i) = 0] for the case when there is noi ≤ y with f (x1, . . . , xk , i) = 0 , namely by using 0, y or y + 1as the corresponding value. It does not matter which of themis accepted. The function λxy .x � y may be replaced withλxy .∣x − y ∣.All functions fromM2 are lower elementary in Skolem’s sense,but it is not known whether the converse is true (it would betrue if and only ifM2 was closed under bounded summation).

Page 6: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2 and the ∆0 definability notion

The class M2 consists exactly of the total functions in Nwhich are polynomially bounded and have ∆0 definablegraphs. Hence a relation in N is ∆0 definable if and only if itscharacteristic function belongs to M2.

Theorem (Paris–Wilkie–Woods, Berarducci–D’Aquino). If thegraph of a function f ∶ Nk+1 → N is ∆0 definable, then so arethe graphs of the functions

g(x1, . . . , xk , y) = ∑i≤log2(y+1)

f (x1, . . . , xk , i),

h(x1, . . . , xk , y ) = ∏i≤y

f (x1, . . . , xk , i).

Corollary. If f ∶ Nk+1 → N is in M2, and g ,h are as above,then g ∈M2 and λx1 . . . xkyz .min(h(x1, . . . , xk , y), z) ∈M2.

Page 7: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2 and the ∆0 definability notion

The class M2 consists exactly of the total functions in Nwhich are polynomially bounded and have ∆0 definablegraphs. Hence a relation in N is ∆0 definable if and only if itscharacteristic function belongs to M2.

Theorem (Paris–Wilkie–Woods, Berarducci–D’Aquino). If thegraph of a function f ∶ Nk+1 → N is ∆0 definable, then so arethe graphs of the functions

g(x1, . . . , xk , y) = ∑i≤log2(y+1)

f (x1, . . . , xk , i),

h(x1, . . . , xk , y ) = ∏i≤y

f (x1, . . . , xk , i).

Corollary. If f ∶ Nk+1 → N is in M2, and g ,h are as above,then g ∈M2 and λx1 . . . xkyz .min(h(x1, . . . , xk , y), z) ∈M2.

Page 8: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The classM2 and the ∆0 definability notion

The class M2 consists exactly of the total functions in Nwhich are polynomially bounded and have ∆0 definablegraphs. Hence a relation in N is ∆0 definable if and only if itscharacteristic function belongs to M2.

Theorem (Paris–Wilkie–Woods, Berarducci–D’Aquino). If thegraph of a function f ∶ Nk+1 → N is ∆0 definable, then so arethe graphs of the functions

g(x1, . . . , xk , y) = ∑i≤log2(y+1)

f (x1, . . . , xk , i),

h(x1, . . . , xk , y ) = ∏i≤y

f (x1, . . . , xk , i).

Corollary. If f ∶ Nk+1 → N is in M2, and g ,h are as above,then g ∈M2 and λx1 . . . xkyz .min(h(x1, . . . , xk , y), z) ∈M2.

Page 9: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Computability of real numbers

Definition. A sequence r0, r1, r2, . . . of rational numbers iscalled recursive if there exist recursive functions f , g and hsuch that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . .

Definition. A real number α is called computable if thereexists a recursive sequence r0, r1, r2, . . . of rational numberssuch that ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . .

Remark. A definition with ∣rn − α∣ ≤ (n + 1)−1 instead of∣rn − α∣ ≤ 2−n would be equivalent to the above one, since2−n ≤ (n + 1)−1, and for any recursive sequence r0, r1, r2, . . . ofrational numbers the sequence r ′0, r

1, r′

2, . . . , defined byr ′n = r2n−1, is also recursive.

Page 10: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Computability of real numbers

Definition. A sequence r0, r1, r2, . . . of rational numbers iscalled recursive if there exist recursive functions f , g and hsuch that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . .

Definition. A real number α is called computable if thereexists a recursive sequence r0, r1, r2, . . . of rational numberssuch that ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . .

Remark. A definition with ∣rn − α∣ ≤ (n + 1)−1 instead of∣rn − α∣ ≤ 2−n would be equivalent to the above one, since2−n ≤ (n + 1)−1, and for any recursive sequence r0, r1, r2, . . . ofrational numbers the sequence r ′0, r

1, r′

2, . . . , defined byr ′n = r2n−1, is also recursive.

Page 11: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Computability of real numbers

Definition. A sequence r0, r1, r2, . . . of rational numbers iscalled recursive if there exist recursive functions f , g and hsuch that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . .

Definition. A real number α is called computable if thereexists a recursive sequence r0, r1, r2, . . . of rational numberssuch that ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . .

Remark. A definition with ∣rn − α∣ ≤ (n + 1)−1 instead of∣rn − α∣ ≤ 2−n would be equivalent to the above one, since2−n ≤ (n + 1)−1, and for any recursive sequence r0, r1, r2, . . . ofrational numbers the sequence r ′0, r

1, r′

2, . . . , defined byr ′n = r2n−1, is also recursive.

Page 12: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

F -computability of real numbers

Definition. Let F be a class of total functions in the set ofthe natural numbers (for instance the class M2).

A sequence r0, r1, r2, . . . of rational numbers is called anF-sequence if there exist functions f ,g ,h ∈ F such that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . .

A real number α is called F-computable if there exists anF-sequence r0, r1, r2, . . . of rational numbers such that∣rn − α∣ ≤ (n + 1)−1, n = 0,1,2, . . . The set of theF-computable real numbers will be denoted by RF .

Remark. In the case of F =M2, a definition with∣rn − α∣ ≤ 2−n instead of ∣rn − α∣ ≤ (n + 1)−1 would be notequivalent to the above one!

Page 13: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

F -computability of real numbers

Definition. Let F be a class of total functions in the set ofthe natural numbers (for instance the class M2).

A sequence r0, r1, r2, . . . of rational numbers is called anF-sequence if there exist functions f ,g ,h ∈ F such that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . .

A real number α is called F-computable if there exists anF-sequence r0, r1, r2, . . . of rational numbers such that∣rn − α∣ ≤ (n + 1)−1, n = 0,1,2, . . . The set of theF-computable real numbers will be denoted by RF .

Remark. In the case of F =M2, a definition with∣rn − α∣ ≤ 2−n instead of ∣rn − α∣ ≤ (n + 1)−1 would be notequivalent to the above one!

Page 14: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

F -computability of real numbers

Definition. Let F be a class of total functions in the set ofthe natural numbers (for instance the class M2).

A sequence r0, r1, r2, . . . of rational numbers is called anF-sequence if there exist functions f ,g ,h ∈ F such that

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . .

A real number α is called F-computable if there exists anF-sequence r0, r1, r2, . . . of rational numbers such that∣rn − α∣ ≤ (n + 1)−1, n = 0,1,2, . . . The set of theF-computable real numbers will be denoted by RF .

Remark. In the case of F =M2, a definition with∣rn − α∣ ≤ 2−n instead of ∣rn − α∣ ≤ (n + 1)−1 would be notequivalent to the above one!

Page 15: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the statement in the last remark

Suppose ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . . , where

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . ,

f ,g ,h ∶ N→ N. Whenever rn ≠ rn+1, then

3 ⋅ 2−n−1 ≥ ∣rn − rn+1∣ ≥ 1

(h(n) + 1)(h(n + 1) + 1) ,

and therefore 3(h(n) + 1)(h(n + 1) + 1) ≥ 2n+1. With a functionh ∈M2, the above inequality will be violated for all sufficientlylarge n, hence we will have rn = rn+1 for all such n, and α must bea rational number. On the other hand, there are irrational numbers(e.g.

√2) that are M2-computable in the sense of the definition

with ∣rn − α∣ ≤ (n + 1)−1 (we have ∣rn −√

2∣ < (n + 1)−1 with

rn = kn/(n + 1), where kn = min{k ∈ N ∣ k2> 2(n + 1)2})

Page 16: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the statement in the last remark

Suppose ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . . , where

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . ,

f ,g ,h ∶ N→ N. Whenever rn ≠ rn+1, then

3 ⋅ 2−n−1 ≥ ∣rn − rn+1∣ ≥ 1

(h(n) + 1)(h(n + 1) + 1) ,

and therefore 3(h(n) + 1)(h(n + 1) + 1) ≥ 2n+1. With a functionh ∈M2, the above inequality will be violated for all sufficientlylarge n, hence we will have rn = rn+1 for all such n, and α must bea rational number. On the other hand, there are irrational numbers(e.g.

√2) that are M2-computable in the sense of the definition

with ∣rn − α∣ ≤ (n + 1)−1 (we have ∣rn −√

2∣ < (n + 1)−1 with

rn = kn/(n + 1), where kn = min{k ∈ N ∣ k2> 2(n + 1)2})

Page 17: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the statement in the last remark

Suppose ∣rn − α∣ ≤ 2−n, n = 0,1,2, . . . , where

rn =f (n) − g(n)

h(n) + 1, n = 0,1,2, . . . ,

f ,g ,h ∶ N→ N. Whenever rn ≠ rn+1, then

3 ⋅ 2−n−1 ≥ ∣rn − rn+1∣ ≥ 1

(h(n) + 1)(h(n + 1) + 1) ,

and therefore 3(h(n) + 1)(h(n + 1) + 1) ≥ 2n+1. With a functionh ∈M2, the above inequality will be violated for all sufficientlylarge n, hence we will have rn = rn+1 for all such n, and α must bea rational number. On the other hand, there are irrational numbers(e.g.

√2) that are M2-computable in the sense of the definition

with ∣rn − α∣ ≤ (n + 1)−1 (we have ∣rn −√

2∣ < (n + 1)−1 with

rn = kn/(n + 1), where kn = min{k ∈ N ∣ k2> 2(n + 1)2})

Page 18: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Fields of F -computable numbers

Theorem. Let F be a class of total functions in N. Then:

If F contains the successor, projection, multiplicationfunctions, as well as the function λxy .∣x − y ∣, and F is closedunder substitution, then RF is a field.If F satisfies the above assumptions, and, in addition, F isclosed under the bounded least number operator, then RF is areal closed field.

Corollary. RM2 is a real closed field.

Page 19: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Fields of F -computable numbers

Theorem. Let F be a class of total functions in N. Then:

If F contains the successor, projection, multiplicationfunctions, as well as the function λxy .∣x − y ∣, and F is closedunder substitution, then RF is a field.If F satisfies the above assumptions, and, in addition, F isclosed under the bounded least number operator, then RF is areal closed field.

Corollary. RM2 is a real closed field.

Page 20: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Fields of F -computable numbers

Theorem. Let F be a class of total functions in N. Then:

If F contains the successor, projection, multiplicationfunctions, as well as the function λxy .∣x − y ∣, and F is closedunder substitution, then RF is a field.If F satisfies the above assumptions, and, in addition, F isclosed under the bounded least number operator, then RF is areal closed field.

Corollary. RM2 is a real closed field.

Page 21: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of significant concrete real numbers

It seems that many significant concrete real numbers areM2-computable. We show, for instance, that the numbers eand π, as well as Liouville’s transcendental number areM2-computable (unfortunately, we do not know what is thesituation with the Euler-Mascheroni constant). TheM2-computability of e and of Liouville’s number can be shown byusingM2-sequences consisting of appropriate partial sums ofinfinite series representing these numbers.1 In the case of π,however, we do not use anM2-sequence of partial sums, but oneconsisting of appropriate approximations of them.

1The same sequences were used before in a paper of the first author forproving that e and Liouville’s number belong to RE2 , where E2 is the secondGrzegorczyk class. The possibility to use these sequences for proving theM2-computability of their limits was observed by the second author in June2008.

Page 22: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of significant concrete real numbers

It seems that many significant concrete real numbers areM2-computable. We show, for instance, that the numbers eand π, as well as Liouville’s transcendental number areM2-computable (unfortunately, we do not know what is thesituation with the Euler-Mascheroni constant). TheM2-computability of e and of Liouville’s number can be shown byusingM2-sequences consisting of appropriate partial sums ofinfinite series representing these numbers.1 In the case of π,however, we do not use anM2-sequence of partial sums, but oneconsisting of appropriate approximations of them.

1The same sequences were used before in a paper of the first author forproving that e and Liouville’s number belong to RE2 , where E2 is the secondGrzegorczyk class. The possibility to use these sequences for proving theM2-computability of their limits was observed by the second author in June2008.

Page 23: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of significant concrete real numbers

It seems that many significant concrete real numbers areM2-computable. We show, for instance, that the numbers eand π, as well as Liouville’s transcendental number areM2-computable (unfortunately, we do not know what is thesituation with the Euler-Mascheroni constant). TheM2-computability of e and of Liouville’s number can be shown byusingM2-sequences consisting of appropriate partial sums ofinfinite series representing these numbers.1 In the case of π,however, we do not use anM2-sequence of partial sums, but oneconsisting of appropriate approximations of them.

1The same sequences were used before in a paper of the first author forproving that e and Liouville’s number belong to RE2 , where E2 is the secondGrzegorczyk class. The possibility to use these sequences for proving theM2-computability of their limits was observed by the second author in June2008.

Page 24: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of significant concrete real numbers

It seems that many significant concrete real numbers areM2-computable. We show, for instance, that the numbers eand π, as well as Liouville’s transcendental number areM2-computable (unfortunately, we do not know what is thesituation with the Euler-Mascheroni constant). TheM2-computability of e and of Liouville’s number can be shown byusingM2-sequences consisting of appropriate partial sums ofinfinite series representing these numbers.1 In the case of π,however, we do not use anM2-sequence of partial sums, but oneconsisting of appropriate approximations of them.

1The same sequences were used before in a paper of the first author forproving that e and Liouville’s number belong to RE2 , where E2 is the secondGrzegorczyk class. The possibility to use these sequences for proving theM2-computability of their limits was observed by the second author in June2008.

Page 25: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the number e

For any k ∈ N, let sk= 1 + 1/1! + 1/2! +⋯ + 1/k! . Then we have∣sk − e ∣ < 1

k!k for k = 1,2,3, . . . Let kn= min{k ∣ k!k ≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − e ∣ < (n + 1)−1 for all n ∈ N. We will showthat the sequence r0, r1, r2, . . . is anM2-sequence. This will bedone by using the equality rn = kn!skn/kn! and proving that thefunctions λn.kn!skn and λn.kn! belong toM2. The second of thembelongs to M2, since the equality m = kn! is equivalent to

(∃k ≤ m)(m = k!&mk ≥ n + 1&m(k − 1) ≤ nk),

this condition implies m ≤ 2n + 1, and the graph of the factorialfunction is ∆0 definable. The statement that λn.kn!skn ∈M2

follows from the fact that 2kn≤ 2kn! ≤ 4n + 2, hence

kn ≤ log2(4n + 2) and therefore

kn!skn = ∑i≤log2(4n+2)

⌊kn!/min(i !, kn! + 1)⌋.

Page 26: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the number e

For any k ∈ N, let sk= 1 + 1/1! + 1/2! +⋯ + 1/k! . Then we have∣sk − e ∣ < 1

k!k for k = 1,2,3, . . . Let kn= min{k ∣ k!k ≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − e ∣ < (n + 1)−1 for all n ∈ N. We will showthat the sequence r0, r1, r2, . . . is anM2-sequence. This will bedone by using the equality rn = kn!skn/kn! and proving that thefunctions λn.kn!skn and λn.kn! belong toM2. The second of thembelongs to M2, since the equality m = kn! is equivalent to

(∃k ≤ m)(m = k!&mk ≥ n + 1&m(k − 1) ≤ nk),

this condition implies m ≤ 2n + 1, and the graph of the factorialfunction is ∆0 definable. The statement that λn.kn!skn ∈M2

follows from the fact that 2kn≤ 2kn! ≤ 4n + 2, hence

kn ≤ log2(4n + 2) and therefore

kn!skn = ∑i≤log2(4n+2)

⌊kn!/min(i !, kn! + 1)⌋.

Page 27: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the number e

For any k ∈ N, let sk= 1 + 1/1! + 1/2! +⋯ + 1/k! . Then we have∣sk − e ∣ < 1

k!k for k = 1,2,3, . . . Let kn= min{k ∣ k!k ≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − e ∣ < (n + 1)−1 for all n ∈ N. We will showthat the sequence r0, r1, r2, . . . is anM2-sequence. This will bedone by using the equality rn = kn!skn/kn! and proving that thefunctions λn.kn!skn and λn.kn! belong toM2. The second of thembelongs to M2, since the equality m = kn! is equivalent to

(∃k ≤ m)(m = k!&mk ≥ n + 1&m(k − 1) ≤ nk),

this condition implies m ≤ 2n + 1, and the graph of the factorialfunction is ∆0 definable. The statement that λn.kn!skn ∈M2

follows from the fact that 2kn≤ 2kn! ≤ 4n + 2, hence

kn ≤ log2(4n + 2) and therefore

kn!skn = ∑i≤log2(4n+2)

⌊kn!/min(i !, kn! + 1)⌋.

Page 28: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the number e

For any k ∈ N, let sk= 1 + 1/1! + 1/2! +⋯ + 1/k! . Then we have∣sk − e ∣ < 1

k!k for k = 1,2,3, . . . Let kn= min{k ∣ k!k ≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − e ∣ < (n + 1)−1 for all n ∈ N. We will showthat the sequence r0, r1, r2, . . . is anM2-sequence. This will bedone by using the equality rn = kn!skn/kn! and proving that thefunctions λn.kn!skn and λn.kn! belong toM2. The second of thembelongs to M2, since the equality m = kn! is equivalent to

(∃k ≤ m)(m = k!&mk ≥ n + 1&m(k − 1) ≤ nk),

this condition implies m ≤ 2n + 1, and the graph of the factorialfunction is ∆0 definable. The statement that λn.kn!skn ∈M2

follows from the fact that 2kn≤ 2kn! ≤ 4n + 2, hence

kn ≤ log2(4n + 2) and therefore

kn!skn = ∑i≤log2(4n+2)

⌊kn!/min(i !, kn! + 1)⌋.

Page 29: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of Liouville’s number

Liouville’s number L is the infinite sum 10−1!+ 10−2! + 10−3! +⋯

Let sk= 10−1!+ 10−2!

+ . . . + 10−k! for any k ∈ N. Then we have∣sk − L∣ < 1

10k!k for all k ∈ N. Let kn= min{k ∣10k!k≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − L∣ < (n + 1)−1 for all n ∈ N. The sequencer0, r1, r2, . . . will be shown to be an M2-sequence by proving thatthe functions λn.10kn!skn and λn.10kn! belong to M2. The secondof them belongs to M2, since m = 10kn! is equivalent to

(n = 0&m = 1) ∨ (∃i , j ≤ n)(j = i !&m = 10j(i+1)&

(∃l ≤ n)(l = 10ji)& (∀l ≤ n)(l ≠ 10j(i+1)2)),

this condition implies m ≤ n2+ 9, and the graphs of the factorial

function and of the function λx .10x are ∆0 definable. To provethat λn.10kn!skn ∈M2, we show that kn ≤ log2(n + 2) and hence

10kn!skn = min(n,1) ∑1≤i≤log2(n+2)

⌊10kn!/min(10i!,10kn!+ 1)⌋.

Page 30: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of Liouville’s number

Liouville’s number L is the infinite sum 10−1!+ 10−2! + 10−3! +⋯

Let sk= 10−1!+ 10−2!

+ . . . + 10−k! for any k ∈ N. Then we have∣sk − L∣ < 1

10k!k for all k ∈ N. Let kn= min{k ∣10k!k≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − L∣ < (n + 1)−1 for all n ∈ N. The sequencer0, r1, r2, . . . will be shown to be an M2-sequence by proving thatthe functions λn.10kn!skn and λn.10kn! belong to M2. The secondof them belongs to M2, since m = 10kn! is equivalent to

(n = 0&m = 1) ∨ (∃i , j ≤ n)(j = i !&m = 10j(i+1)&

(∃l ≤ n)(l = 10ji)& (∀l ≤ n)(l ≠ 10j(i+1)2)),

this condition implies m ≤ n2+ 9, and the graphs of the factorial

function and of the function λx .10x are ∆0 definable. To provethat λn.10kn!skn ∈M2, we show that kn ≤ log2(n + 2) and hence

10kn!skn = min(n,1) ∑1≤i≤log2(n+2)

⌊10kn!/min(10i!,10kn!+ 1)⌋.

Page 31: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of Liouville’s number

Liouville’s number L is the infinite sum 10−1!+ 10−2! + 10−3! +⋯

Let sk= 10−1!+ 10−2!

+ . . . + 10−k! for any k ∈ N. Then we have∣sk − L∣ < 1

10k!k for all k ∈ N. Let kn= min{k ∣10k!k≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − L∣ < (n + 1)−1 for all n ∈ N. The sequencer0, r1, r2, . . . will be shown to be an M2-sequence by proving thatthe functions λn.10kn!skn and λn.10kn! belong to M2. The secondof them belongs to M2, since m = 10kn! is equivalent to

(n = 0&m = 1) ∨ (∃i , j ≤ n)(j = i !&m = 10j(i+1)&

(∃l ≤ n)(l = 10ji)& (∀l ≤ n)(l ≠ 10j(i+1)2)),

this condition implies m ≤ n2+ 9, and the graphs of the factorial

function and of the function λx .10x are ∆0 definable. To provethat λn.10kn!skn ∈M2, we show that kn ≤ log2(n + 2) and hence

10kn!skn = min(n,1) ∑1≤i≤log2(n+2)

⌊10kn!/min(10i!,10kn!+ 1)⌋.

Page 32: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of Liouville’s number

Liouville’s number L is the infinite sum 10−1!+ 10−2! + 10−3! +⋯

Let sk= 10−1!+ 10−2!

+ . . . + 10−k! for any k ∈ N. Then we have∣sk − L∣ < 1

10k!k for all k ∈ N. Let kn= min{k ∣10k!k≥ n + 1}, rn= skn

for any n ∈ N. Then ∣rn − L∣ < (n + 1)−1 for all n ∈ N. The sequencer0, r1, r2, . . . will be shown to be an M2-sequence by proving thatthe functions λn.10kn!skn and λn.10kn! belong to M2. The secondof them belongs to M2, since m = 10kn! is equivalent to

(n = 0&m = 1) ∨ (∃i , j ≤ n)(j = i !&m = 10j(i+1)&

(∃l ≤ n)(l = 10ji)& (∀l ≤ n)(l ≠ 10j(i+1)2)),

this condition implies m ≤ n2+ 9, and the graphs of the factorial

function and of the function λx .10x are ∆0 definable. To provethat λn.10kn!skn ∈M2, we show that kn ≤ log2(n + 2) and hence

10kn!skn = min(n,1) ∑1≤i≤log2(n+2)

⌊10kn!/min(10i!,10kn!+ 1)⌋.

Page 33: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial generalization

Theorem. Let α = 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯, whereϕ ∶ N→ N ∖ {0}, ϕ(i) is a proper divisor of ϕ(i + 1) for anyi ∈ N, and the graph of ϕ is ∆0 definable. Then α ∈ RM2 .

Proof. Let sk= 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯ + 1/ϕ(k) forany k ∈ N. Then ∣sk − α∣ ≤ 2/ϕ(k + 1) for all k ∈ N. Letkn= min{k ∣ϕ(k + 1) ≥ 2n + 2}, rn= skn for any n ∈ N. Then∣rn − α∣ ≤ (n + 1)−1 for all n ∈ N. We will show thatr0, r1, r2, . . . is anM2-sequence. This will be done by usingthe equality rn = ϕ(kn)skn/ϕ(kn) and proving that thefunctions λn.ϕ(kn)skn and λn.ϕ(kn) belong to M2. Thesecond of them belongs to M2, since m = ϕ(kn) is equivalentto (∃k ≤ m)(m = ϕ(k)&(k = 0 ∨m ≤ 2n + 1)&(∀l ≤2n + 1)(l ≠ ϕ(k + 1))), and this condition implies

m ≤ 2n +ϕ(0). To prove that λn.ϕ(kn)skn ∈M2, we note thatkn ≤ log2(2n + ϕ(0)) and hence

ϕ(kn)skn = ∑i≤log2(2n+ϕ(0))

⌊ϕ(kn) /min(ϕ(i), ϕ(kn) + 1)⌋.

Page 34: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial generalization

Theorem. Let α = 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯, whereϕ ∶ N→ N ∖ {0}, ϕ(i) is a proper divisor of ϕ(i + 1) for anyi ∈ N, and the graph of ϕ is ∆0 definable. Then α ∈ RM2 .

Proof. Let sk= 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯ + 1/ϕ(k) forany k ∈ N. Then ∣sk − α∣ ≤ 2/ϕ(k + 1) for all k ∈ N. Letkn= min{k ∣ϕ(k + 1) ≥ 2n + 2}, rn= skn for any n ∈ N. Then∣rn − α∣ ≤ (n + 1)−1 for all n ∈ N. We will show thatr0, r1, r2, . . . is anM2-sequence. This will be done by usingthe equality rn = ϕ(kn)skn/ϕ(kn) and proving that thefunctions λn.ϕ(kn)skn and λn.ϕ(kn) belong toM2. Thesecond of them belongs to M2, since m = ϕ(kn) is equivalentto (∃k ≤ m)(m = ϕ(k)&(k = 0 ∨m ≤ 2n + 1)&(∀l ≤2n + 1)(l ≠ ϕ(k + 1))), and this condition implies

m ≤ 2n +ϕ(0). To prove that λn.ϕ(kn)skn ∈M2, we note thatkn ≤ log2(2n + ϕ(0)) and hence

ϕ(kn)skn = ∑i≤log2(2n+ϕ(0))

⌊ϕ(kn) /min(ϕ(i), ϕ(kn) + 1)⌋.

Page 35: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial generalization

Theorem. Let α = 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯, whereϕ ∶ N→ N ∖ {0}, ϕ(i) is a proper divisor of ϕ(i + 1) for anyi ∈ N, and the graph of ϕ is ∆0 definable. Then α ∈ RM2 .

Proof. Let sk= 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯ + 1/ϕ(k) forany k ∈ N. Then ∣sk − α∣ ≤ 2/ϕ(k + 1) for all k ∈ N. Letkn= min{k ∣ϕ(k + 1) ≥ 2n + 2}, rn= skn for any n ∈ N. Then∣rn − α∣ ≤ (n + 1)−1 for all n ∈ N. We will show thatr0, r1, r2, . . . is anM2-sequence. This will be done by usingthe equality rn = ϕ(kn)skn/ϕ(kn) and proving that thefunctions λn.ϕ(kn)skn and λn.ϕ(kn) belong toM2. Thesecond of them belongs to M2, since m = ϕ(kn) is equivalentto (∃k ≤ m)(m = ϕ(k)&(k = 0 ∨m ≤ 2n + 1)&(∀l ≤2n + 1)(l ≠ ϕ(k + 1))), and this condition implies

m ≤ 2n +ϕ(0). To prove that λn.ϕ(kn)skn ∈M2, we note thatkn ≤ log2(2n + ϕ(0)) and hence

ϕ(kn)skn = ∑i≤log2(2n+ϕ(0))

⌊ϕ(kn) /min(ϕ(i), ϕ(kn) + 1)⌋.

Page 36: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial generalization

Theorem. Let α = 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯, whereϕ ∶ N→ N ∖ {0}, ϕ(i) is a proper divisor of ϕ(i + 1) for anyi ∈ N, and the graph of ϕ is ∆0 definable. Then α ∈ RM2 .

Proof. Let sk= 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯ + 1/ϕ(k) forany k ∈ N. Then ∣sk − α∣ ≤ 2/ϕ(k + 1) for all k ∈ N. Letkn= min{k ∣ϕ(k + 1) ≥ 2n + 2}, rn= skn for any n ∈ N. Then∣rn − α∣ ≤ (n + 1)−1 for all n ∈ N. We will show thatr0, r1, r2, . . . is anM2-sequence. This will be done by usingthe equality rn = ϕ(kn)skn/ϕ(kn) and proving that thefunctions λn.ϕ(kn)skn and λn.ϕ(kn) belong toM2. Thesecond of them belongs to M2, since m = ϕ(kn) is equivalentto (∃k ≤ m)(m = ϕ(k)&(k = 0 ∨m ≤ 2n + 1)&(∀l ≤2n + 1)(l ≠ ϕ(k + 1))), and this condition implies

m ≤ 2n +ϕ(0). To prove that λn.ϕ(kn)skn ∈M2, we note thatkn ≤ log2(2n + ϕ(0)) and hence

ϕ(kn)skn = ∑i≤log2(2n+ϕ(0))

⌊ϕ(kn) /min(ϕ(i), ϕ(kn) + 1)⌋.

Page 37: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial generalization

Theorem. Let α = 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯, whereϕ ∶ N→ N ∖ {0}, ϕ(i) is a proper divisor of ϕ(i + 1) for anyi ∈ N, and the graph of ϕ is ∆0 definable. Then α ∈ RM2 .

Proof. Let sk= 1/ϕ(0) + 1/ϕ(1) + 1/ϕ(2) +⋯ + 1/ϕ(k) forany k ∈ N. Then ∣sk − α∣ ≤ 2/ϕ(k + 1) for all k ∈ N. Letkn= min{k ∣ϕ(k + 1) ≥ 2n + 2}, rn= skn for any n ∈ N. Then∣rn − α∣ ≤ (n + 1)−1 for all n ∈ N. We will show thatr0, r1, r2, . . . is anM2-sequence. This will be done by usingthe equality rn = ϕ(kn)skn/ϕ(kn) and proving that thefunctions λn.ϕ(kn)skn and λn.ϕ(kn) belong toM2. Thesecond of them belongs to M2, since m = ϕ(kn) is equivalentto (∃k ≤ m)(m = ϕ(k)&(k = 0 ∨m ≤ 2n + 1)&(∀l ≤2n + 1)(l ≠ ϕ(k + 1))), and this condition implies

m ≤ 2n +ϕ(0). To prove that λn.ϕ(kn)skn ∈M2, we note thatkn ≤ log2(2n + ϕ(0)) and hence

ϕ(kn)skn = ∑i≤log2(2n+ϕ(0))

⌊ϕ(kn) /min(ϕ(i), ϕ(kn) + 1)⌋.

Page 38: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computable real-valued functionwith natural arguments

Definition. A function θ ∶ Nl → R is calledM2-computable ifthere exist l + 1-argument functions f ,g ,h ∈M2 such that

∣ f (x1, . . . , xl ,n) − g(x1, . . . , xl ,n)h(x1, . . . , xl ,n) + 1

− θ(x1, . . . , xl)∣ ≤ 1

n + 1

for all x1, . . . , xl ,n in N.

All values of anM2-computable real-valued function withnatural arguments belong to RM2 (the 0-argumentM2-computable real-valued functions can be identified withelements of RM2). Any substitution of functions from theclass M2 into anM2-computable real-valued function withnatural arguments produces again a function of this kind.

Page 39: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computable real-valued functionwith natural arguments

Definition. A function θ ∶ Nl → R is calledM2-computable ifthere exist l + 1-argument functions f ,g ,h ∈M2 such that

∣ f (x1, . . . , xl ,n) − g(x1, . . . , xl ,n)h(x1, . . . , xl ,n) + 1

− θ(x1, . . . , xl)∣ ≤ 1

n + 1

for all x1, . . . , xl ,n in N.

All values of anM2-computable real-valued function withnatural arguments belong to RM2 (the 0-argumentM2-computable real-valued functions can be identified withelements of RM2). Any substitution of functions from theclass M2 into anM2-computable real-valued function withnatural arguments produces again a function of this kind.

Page 40: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Grzegorczyk-type approximation

Lemma. Let θ ∶ Nl → R be anM2-computable function.Then there exist l +1-argument functions F ,G ∈M2 such that

∣F (x1, . . . , xl ,n) −G(x1, . . . , xl ,n)n + 1

− θ(x1, . . . , xl)∣ ≤ 1

n + 1

for all x1, . . . , xl ,n in N.

Proof. There exists a two-argument function A inM2 such

that ∣A(i , j) − ij+1 ∣ ≤ 1

2 for all i , j ∈ N. Let f ,g ,h be such as in

the definition in the previous frame. We set

F (x ,n) = A((n + 1)(f (x ,2n + 1) � g(x ,2n + 1)),h(x ,2n + 1)),G(x ,n) = A((n + 1)(g(x ,2n + 1) � f (x ,2n + 1)),h(x ,2n + 1)),and we use the fact that

∣F (x ,n) −G(x ,n)n + 1

f (x ,2n + 1) − g(x ,2n + 1)h(x ,2n + 1) + 1

∣ ≤ 1

2n + 2.

Page 41: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Grzegorczyk-type approximation

Lemma. Let θ ∶ Nl → R be anM2-computable function.Then there exist l +1-argument functions F ,G ∈M2 such that

∣F (x1, . . . , xl ,n) −G(x1, . . . , xl ,n)n + 1

− θ(x1, . . . , xl)∣ ≤ 1

n + 1

for all x1, . . . , xl ,n in N.

Proof. There exists a two-argument function A inM2 such

that ∣A(i , j) − ij+1 ∣ ≤ 1

2 for all i , j ∈ N. Let f ,g ,h be such as in

the definition in the previous frame. We set

F (x ,n) = A((n + 1)(f (x ,2n + 1) � g(x ,2n + 1)),h(x ,2n + 1)),G(x ,n) = A((n + 1)(g(x ,2n + 1) � f (x ,2n + 1)),h(x ,2n + 1)),and we use the fact that

∣F (x ,n) −G(x ,n)n + 1

f (x ,2n + 1) − g(x ,2n + 1)h(x ,2n + 1) + 1

∣ ≤ 1

2n + 2.

Page 42: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Grzegorczyk-type approximation

Lemma. Let θ ∶ Nl → R be anM2-computable function.Then there exist l +1-argument functions F ,G ∈M2 such that

∣F (x1, . . . , xl ,n) −G(x1, . . . , xl ,n)n + 1

− θ(x1, . . . , xl)∣ ≤ 1

n + 1

for all x1, . . . , xl ,n in N.

Proof. There exists a two-argument function A inM2 such

that ∣A(i , j) − ij+1 ∣ ≤ 1

2 for all i , j ∈ N. Let f ,g ,h be such as in

the definition in the previous frame. We set

F (x ,n) = A((n + 1)(f (x ,2n + 1) � g(x ,2n + 1)),h(x ,2n + 1)),G(x ,n) = A((n + 1)(g(x ,2n + 1) � f (x ,2n + 1)),h(x ,2n + 1)),and we use the fact that

∣F (x ,n) −G(x ,n)n + 1

f (x ,2n + 1) − g(x ,2n + 1)h(x ,2n + 1) + 1

∣ ≤ 1

2n + 2.

Page 43: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Arithmetical operations onM2-computablereal-valued functions of natural arguments

Lemma. Let θi ∶ Nl → R, i = 1,2, be M2-computablefunctions. Then so are also θ1 + θ2, θ1 − θ2 and θ1θ2.

Proof. Let F1,G1,F2,G2 ∶ Nl+1 → N belong toM2, and let

∣Fi(x ,n) −Gi(x ,n)n + 1

− θi(x)∣ ≤ 1

n + 1, i = 1,2,

for all x in Nl and all n in N. To prove the statement about θ1θ2(the other cases are easier), we define k, f ,g ∶ Nl+1 → N by

k(x ,n) = (∣F1(x ,0)−G1(x ,0)∣+∣F2(x ,0)−G2(x ,0)∣+3)(n+1)−1,f (x ,n) = F1(x , k(x ,n))F2(x , k(x ,n))+G1(x , k(x ,n))G2(x , k(x ,n)),g(x ,n) = F1(x , k(x ,n))G2(x , k(x ,n))+G1(x , k(x ,n))F2(x , k(x ,n)).Then k, f ,g ∈M2, and, for all x in Nl and all n in N, we have

∣ f (x ,n) − g(x ,n)(k(x ,n) + 1)2 − θ1(x)θ2(x)∣ ≤

1

n + 1.

Page 44: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Arithmetical operations onM2-computablereal-valued functions of natural arguments

Lemma. Let θi ∶ Nl → R, i = 1,2, be M2-computablefunctions. Then so are also θ1 + θ2, θ1 − θ2 and θ1θ2.

Proof. Let F1,G1,F2,G2 ∶ Nl+1 → N belong toM2, and let

∣Fi(x ,n) −Gi(x ,n)n + 1

− θi(x)∣ ≤ 1

n + 1, i = 1,2,

for all x in Nl and all n in N. To prove the statement about θ1θ2(the other cases are easier), we define k, f ,g ∶ Nl+1 → N by

k(x ,n) = (∣F1(x ,0)−G1(x ,0)∣+∣F2(x ,0)−G2(x ,0)∣+3)(n+1)−1,f (x ,n) = F1(x , k(x ,n))F2(x , k(x ,n))+G1(x , k(x ,n))G2(x , k(x ,n)),g(x ,n) = F1(x , k(x ,n))G2(x , k(x ,n))+G1(x , k(x ,n))F2(x , k(x ,n)).Then k, f ,g ∈M2, and, for all x in Nl and all n in N, we have

∣ f (x ,n) − g(x ,n)(k(x ,n) + 1)2 − θ1(x)θ2(x)∣ ≤

1

n + 1.

Page 45: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Arithmetical operations onM2-computablereal-valued functions of natural arguments

Lemma. Let θi ∶ Nl → R, i = 1,2, be M2-computablefunctions. Then so are also θ1 + θ2, θ1 − θ2 and θ1θ2.

Proof. Let F1,G1,F2,G2 ∶ Nl+1 → N belong toM2, and let

∣Fi(x ,n) −Gi(x ,n)n + 1

− θi(x)∣ ≤ 1

n + 1, i = 1,2,

for all x in Nl and all n in N. To prove the statement about θ1θ2(the other cases are easier), we define k, f ,g ∶ Nl+1 → N by

k(x ,n) = (∣F1(x ,0)−G1(x ,0)∣+∣F2(x ,0)−G2(x ,0)∣+3)(n+1)−1,f (x ,n) = F1(x , k(x ,n))F2(x , k(x ,n))+G1(x , k(x ,n))G2(x , k(x ,n)),g(x ,n) = F1(x , k(x ,n))G2(x , k(x ,n))+G1(x , k(x ,n))F2(x , k(x ,n)).Then k, f ,g ∈M2, and, for all x in Nl and all n in N, we have

∣ f (x ,n) − g(x ,n)(k(x ,n) + 1)2 − θ1(x)θ2(x)∣ ≤

1

n + 1.

Page 46: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Logarithmically bounded summation

Lemma (Georgiev, 2009). Let θ ∶ Nk+1 → R be anM2-computable function, and θΣ

∶ Nk+1 → R be defined by

θΣ(x1, . . . , xk , y) = ∑i≤log2(y+1)

θ(x1, . . . , xk , i).

Then θΣ is also M2-computable.

Proof. Let F ,G be as in the first lemma with l = k + 1. If

hΣ(x , y ,n) = (n + 1)⌊log2(y + 1)⌋ + n,

f Σ(x , y ,n) = ∑i≤log2(y+1)

F (x , i ,hΣ(x , y ,n)),

gΣ(x , y ,n) = ∑i≤log2(y+1)

G(x , i ,hΣ(x , y ,n)),

then

∣ fΣ(x , y ,n) − gΣ(x , y ,n)

hΣ(x , y ,n) + 1− θΣ(x , y)∣ ≤ 1

n + 1.

Page 47: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Logarithmically bounded summation

Lemma (Georgiev, 2009). Let θ ∶ Nk+1 → R be anM2-computable function, and θΣ

∶ Nk+1 → R be defined by

θΣ(x1, . . . , xk , y) = ∑i≤log2(y+1)

θ(x1, . . . , xk , i).

Then θΣ is also M2-computable.

Proof. Let F ,G be as in the first lemma with l = k + 1. If

hΣ(x , y ,n) = (n + 1)⌊log2(y + 1)⌋ + n,

f Σ(x , y ,n) = ∑i≤log2(y+1)

F (x , i ,hΣ(x , y ,n)),

gΣ(x , y ,n) = ∑i≤log2(y+1)

G(x , i ,hΣ(x , y ,n)),

then

∣ fΣ(x , y ,n) − gΣ(x , y ,n)

hΣ(x , y ,n) + 1− θΣ(x , y)∣ ≤ 1

n + 1.

Page 48: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of sums of series

Lemma (Georgiev, 2009). Let θ ∶ Nk+1 → R be anM2-computable function such that the series

∑i=0

θ(x1, . . . , xk , i)

converges for all x1, . . . , xk in N, and σ(x1, . . . , xk) be its sum.Let there exist a k + 1-argument function p ∈M2 such that

RRRRRRRRRRRR∑

i>log2(y+1)θ(x1, . . . , xk , i)

RRRRRRRRRRRR≤

1

n + 1

for any natural numbers x1, . . . , xk ,n and y = p(x1, . . . , xk ,n).Then the function σ is also M2-computable.

Proof. By the previous lemma and the definition ofM2-computability of a real-valued function with naturalarguments.

Page 49: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of sums of series

Lemma (Georgiev, 2009). Let θ ∶ Nk+1 → R be anM2-computable function such that the series

∑i=0

θ(x1, . . . , xk , i)

converges for all x1, . . . , xk in N, and σ(x1, . . . , xk) be its sum.Let there exist a k + 1-argument function p ∈M2 such that

RRRRRRRRRRRR∑

i>log2(y+1)θ(x1, . . . , xk , i)

RRRRRRRRRRRR≤

1

n + 1

for any natural numbers x1, . . . , xk ,n and y = p(x1, . . . , xk ,n).Then the function σ is also M2-computable.

Proof. By the previous lemma and the definition ofM2-computability of a real-valued function with naturalarguments.

Page 50: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of π

Since π = 4 arctan 1, it is sufficient to prove that arctan 1 ∈ RM2 .This will be done by using the equality

arctan 1 = arctan1

2+ arctan

1

3and proving that arctan 1

m ∈ RM2 for any natural number m,

greater than 1. Let m ∈ N and m > 1. Then we can apply theprevious lemma to the expansion

arctan1

m=

∑i=0

θ(i),

where θ(i)= (−1)i(2i+1)m2i+1 . The assumptions of the lemma are

satisfied thanks to the inequalities

∣ (i + 1) mod 2 − i mod 2

min((2i + 1)(m + 2)2i+1,n + 1) − θ(i)∣ <1

n + 1,

RRRRRRRRRRRR∑

i>log2(y+1)θ(i)RRRRRRRRRRRR<

1

2(y + 1)2 .

Page 51: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of π

Since π = 4 arctan 1, it is sufficient to prove that arctan 1 ∈ RM2 .This will be done by using the equality

arctan 1 = arctan1

2+ arctan

1

3and proving that arctan 1

m ∈ RM2 for any natural number m,

greater than 1. Let m ∈ N and m > 1. Then we can apply theprevious lemma to the expansion

arctan1

m=

∑i=0

θ(i),

where θ(i)= (−1)i(2i+1)m2i+1 . The assumptions of the lemma are

satisfied thanks to the inequalities

∣ (i + 1) mod 2 − i mod 2

min((2i + 1)(m + 2)2i+1,n + 1) − θ(i)∣ <1

n + 1,

RRRRRRRRRRRR∑

i>log2(y+1)θ(i)RRRRRRRRRRRR<

1

2(y + 1)2 .

Page 52: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of π

Since π = 4 arctan 1, it is sufficient to prove that arctan 1 ∈ RM2 .This will be done by using the equality

arctan 1 = arctan1

2+ arctan

1

3and proving that arctan 1

m ∈ RM2 for any natural number m,

greater than 1. Let m ∈ N and m > 1. Then we can apply theprevious lemma to the expansion

arctan1

m=

∑i=0

θ(i),

where θ(i)= (−1)i(2i+1)m2i+1 . The assumptions of the lemma are

satisfied thanks to the inequalities

∣ (i + 1) mod 2 − i mod 2

min((2i + 1)(m + 2)2i+1,n + 1) − θ(i)∣ <1

n + 1,

RRRRRRRRRRRR∑

i>log2(y+1)θ(i)RRRRRRRRRRRR<

1

2(y + 1)2 .

Page 53: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A generalization

Theorem. Let χ,ψ,ϕ ∶ Nl+1 → N, where χ,ψ ∈M2, ϕ has a∆0 definable graph, and a real number ρ > 1 exists such thatϕ(x , i) ≥ ρi for all x ∈ Nl , i ∈ N. Let θ ∶ Nl+1 → R be defined byθ(x , i) = (−1)χ(x ,i)ψ(x , i)/ϕ(x , i), Then the series ∑∞i=0 θ(x , i)is convergent, and its sum is aM2-computable function of x .

Proof. The convergence is clear since ψ is bounded by somepolynomial, and it is easy to see that θ is M2-computable. Nowlet p ∶ Nl+1 → N be defined by p(x ,n)= (a(b + 1)(n + 1))c − 1,where a,b, c are positive integers such that 1 + 1/b < ρ,(1+ 1/b)c ≥ 2, and ∣θ(x , i)∣ ≤ a(1+ 1/b)−i for all i ∈ N. Clearlyp ∈M2. Let x ∈ Nl ,n ∈ N, y = p(x ,n), m = ⌊log2(y + 1)⌋ + 1.Then m > c log2(a(b + 1)(n + 1)), hence

RRRRRRRRRRRR∑

i>log2(y+1)θ(x , i)

RRRRRRRRRRRR= ∣∞

∑i=m

θ(x , i)∣ ≤∞

∑i=m

a(1 + 1/b)−i =

a(1 + 1/b)−m(b + 1) < a((1 + 1/b)c)− log2(a(b+1)(n+1))(b + 1) ≤a(a(b + 1)(n + 1))−1(b + 1) = 1

n + 1.

Page 54: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A generalization

Theorem. Let χ,ψ,ϕ ∶ Nl+1 → N, where χ,ψ ∈M2, ϕ has a∆0 definable graph, and a real number ρ > 1 exists such thatϕ(x , i) ≥ ρi for all x ∈ Nl , i ∈ N. Let θ ∶ Nl+1 → R be defined byθ(x , i) = (−1)χ(x ,i)ψ(x , i)/ϕ(x , i), Then the series ∑∞i=0 θ(x , i)is convergent, and its sum is aM2-computable function of x .

Proof. The convergence is clear since ψ is bounded by somepolynomial, and it is easy to see that θ is M2-computable. Nowlet p ∶ Nl+1 → N be defined by p(x ,n)= (a(b + 1)(n + 1))c − 1,where a,b, c are positive integers such that 1 + 1/b < ρ,(1+ 1/b)c ≥ 2, and ∣θ(x , i)∣ ≤ a(1+ 1/b)−i for all i ∈ N. Clearlyp ∈M2. Let x ∈ Nl ,n ∈ N, y = p(x ,n), m = ⌊log2(y + 1)⌋ + 1.Then m > c log2(a(b + 1)(n + 1)), hence

RRRRRRRRRRRR∑

i>log2(y+1)θ(x , i)

RRRRRRRRRRRR= ∣∞

∑i=m

θ(x , i)∣ ≤∞

∑i=m

a(1 + 1/b)−i =

a(1 + 1/b)−m(b + 1) < a((1 + 1/b)c)− log2(a(b+1)(n+1))(b + 1) ≤a(a(b + 1)(n + 1))−1(b + 1) = 1

n + 1.

Page 55: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A generalization

Theorem. Let χ,ψ,ϕ ∶ Nl+1 → N, where χ,ψ ∈M2, ϕ has a∆0 definable graph, and a real number ρ > 1 exists such thatϕ(x , i) ≥ ρi for all x ∈ Nl , i ∈ N. Let θ ∶ Nl+1 → R be defined byθ(x , i) = (−1)χ(x ,i)ψ(x , i)/ϕ(x , i), Then the series ∑∞i=0 θ(x , i)is convergent, and its sum is aM2-computable function of x .

Proof. The convergence is clear since ψ is bounded by somepolynomial, and it is easy to see that θ is M2-computable. Nowlet p ∶ Nl+1 → N be defined by p(x ,n)= (a(b + 1)(n + 1))c − 1,where a,b, c are positive integers such that 1 + 1/b < ρ,(1+ 1/b)c ≥ 2, and ∣θ(x , i)∣ ≤ a(1+ 1/b)−i for all i ∈ N. Clearlyp ∈M2. Let x ∈ Nl ,n ∈ N, y = p(x ,n), m = ⌊log2(y + 1)⌋ + 1.Then m > c log2(a(b + 1)(n + 1)), hence

RRRRRRRRRRRR∑

i>log2(y+1)θ(x , i)

RRRRRRRRRRRR= ∣∞

∑i=m

θ(x , i)∣ ≤∞

∑i=m

a(1 + 1/b)−i =

a(1 + 1/b)−m(b + 1) < a((1 + 1/b)c)− log2(a(b+1)(n+1))(b + 1) ≤a(a(b + 1)(n + 1))−1(b + 1) = 1

n + 1.

Page 56: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A generalization

Theorem. Let χ,ψ,ϕ ∶ Nl+1 → N, where χ,ψ ∈M2, ϕ has a∆0 definable graph, and a real number ρ > 1 exists such thatϕ(x , i) ≥ ρi for all x ∈ Nl , i ∈ N. Let θ ∶ Nl+1 → R be defined byθ(x , i) = (−1)χ(x ,i)ψ(x , i)/ϕ(x , i), Then the series ∑∞i=0 θ(x , i)is convergent, and its sum is aM2-computable function of x .

Proof. The convergence is clear since ψ is bounded by somepolynomial, and it is easy to see that θ is M2-computable. Nowlet p ∶ Nl+1 → N be defined by p(x ,n)= (a(b + 1)(n + 1))c − 1,where a,b, c are positive integers such that 1 + 1/b < ρ,(1+ 1/b)c ≥ 2, and ∣θ(x , i)∣ ≤ a(1+ 1/b)−i for all i ∈ N. Clearlyp ∈M2. Let x ∈ Nl ,n ∈ N, y = p(x ,n), m = ⌊log2(y + 1)⌋ + 1.Then m > c log2(a(b + 1)(n + 1)), hence

RRRRRRRRRRRR∑

i>log2(y+1)θ(x , i)

RRRRRRRRRRRR= ∣∞

∑i=m

θ(x , i)∣ ≤∞

∑i=m

a(1 + 1/b)−i =

a(1 + 1/b)−m(b + 1) < a((1 + 1/b)c)− log2(a(b+1)(n+1))(b + 1) ≤a(a(b + 1)(n + 1))−1(b + 1) = 1

n + 1.

Page 57: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Some otherM2-computable constants

In the MSc thesis of Ivan Georgiev (defended in March 2009)proofs of the M2-computability of the following constants werealso given (the corresponding expansions were used in the proofs):

The Erdos-Borwein Constant

E =∞

∑i=1

1

2i− 1

The logarithm of the Golden Mean

2(lnϕ)2 =∞

∑i=1

(−1)i+1i2(2i

i)

The Paper Folding Constant

σ =∞

∑i=0

2−2i (1 − 2−2

i+2)−1

Page 58: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Some otherM2-computable constants

In the MSc thesis of Ivan Georgiev (defended in March 2009)proofs of the M2-computability of the following constants werealso given (the corresponding expansions were used in the proofs):

The Erdos-Borwein Constant

E =∞

∑i=1

1

2i− 1

The logarithm of the Golden Mean

2(lnϕ)2 =∞

∑i=1

(−1)i+1i2(2i

i)

The Paper Folding Constant

σ =∞

∑i=0

2−2i (1 − 2−2

i+2)−1

Page 59: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Some otherM2-computable constants

In the MSc thesis of Ivan Georgiev (defended in March 2009)proofs of the M2-computability of the following constants werealso given (the corresponding expansions were used in the proofs):

The Erdos-Borwein Constant

E =∞

∑i=1

1

2i− 1

The logarithm of the Golden Mean

2(lnϕ)2 =∞

∑i=1

(−1)i+1i2(2i

i)

The Paper Folding Constant

σ =∞

∑i=0

2−2i (1 − 2−2

i+2)−1

Page 60: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A formula for the logarithms of the positive integers

Theorem. For any n ∈ N ∖ {0}, the following equality holds:

n = 2⌊log2 n⌋ ∏i<⌊log2 n⌋

⌊n/2i⌋⌊n/2i ⌋ − ⌊n/2i ⌋mod2

.

Example. 102 = 26⋅

5150 ⋅

2524 ⋅

32 .

Proof. Let n ∈ N ∖ {0}, and let us set m= ⌊log2 n⌋,ai= ⌊n/2i⌋mod2, i = 0,1,2, . . . Since ⌊n/2i⌋ = 2 ⌊n/2i+1⌋ + ai

for any i ∈ N, ⌊n/20⌋ = n, ⌊n/2m⌋ = 1, and ⌊n/2i+1⌋ ≥ 1 for anyi < m, we have

n =∏i<m

⌊n/2i⌋⌊n/2i+1⌋ = 2m∏

i<m

⌊n/2i⌋⌊n/2i ⌋ − ai

.

Corollary. For any n ∈ N ∖ {0}, the following equality holds:

lnn = ⌊log2 n⌋ ln 2 + ∑i<⌊log2 n⌋

(⌊n/2i⌋mod2) ln ⌊n/2i⌋⌊n/2i ⌋ − 1

.

Page 61: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A formula for the logarithms of the positive integers

Theorem. For any n ∈ N ∖ {0}, the following equality holds:

n = 2⌊log2 n⌋ ∏i<⌊log2 n⌋

⌊n/2i⌋⌊n/2i ⌋ − ⌊n/2i ⌋mod2

.

Example. 102 = 26⋅

5150 ⋅

2524 ⋅

32 .

Proof. Let n ∈ N ∖ {0}, and let us set m= ⌊log2 n⌋,ai= ⌊n/2i⌋mod2, i = 0,1,2, . . . Since ⌊n/2i⌋ = 2 ⌊n/2i+1⌋ + ai

for any i ∈ N, ⌊n/20⌋ = n, ⌊n/2m⌋ = 1, and ⌊n/2i+1⌋ ≥ 1 for anyi < m, we have

n =∏i<m

⌊n/2i⌋⌊n/2i+1⌋ = 2m∏

i<m

⌊n/2i⌋⌊n/2i ⌋ − ai

.

Corollary. For any n ∈ N ∖ {0}, the following equality holds:

lnn = ⌊log2 n⌋ ln 2 + ∑i<⌊log2 n⌋

(⌊n/2i⌋mod2) ln ⌊n/2i⌋⌊n/2i ⌋ − 1

.

Page 62: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A formula for the logarithms of the positive integers

Theorem. For any n ∈ N ∖ {0}, the following equality holds:

n = 2⌊log2 n⌋ ∏i<⌊log2 n⌋

⌊n/2i⌋⌊n/2i ⌋ − ⌊n/2i ⌋mod2

.

Example. 102 = 26⋅

5150 ⋅

2524 ⋅

32 .

Proof. Let n ∈ N ∖ {0}, and let us set m= ⌊log2 n⌋,ai= ⌊n/2i⌋mod2, i = 0,1,2, . . . Since ⌊n/2i⌋ = 2 ⌊n/2i+1⌋ + ai

for any i ∈ N, ⌊n/20⌋ = n, ⌊n/2m⌋ = 1, and ⌊n/2i+1⌋ ≥ 1 for anyi < m, we have

n =∏i<m

⌊n/2i⌋⌊n/2i+1⌋ = 2m∏

i<m

⌊n/2i⌋⌊n/2i ⌋ − ai

.

Corollary. For any n ∈ N ∖ {0}, the following equality holds:

lnn = ⌊log2 n⌋ ln 2 + ∑i<⌊log2 n⌋

(⌊n/2i⌋mod2) ln ⌊n/2i⌋⌊n/2i ⌋ − 1

.

Page 63: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A formula for the logarithms of the positive integers

Theorem. For any n ∈ N ∖ {0}, the following equality holds:

n = 2⌊log2 n⌋ ∏i<⌊log2 n⌋

⌊n/2i⌋⌊n/2i ⌋ − ⌊n/2i ⌋mod2

.

Example. 102 = 26⋅

5150 ⋅

2524 ⋅

32 .

Proof. Let n ∈ N ∖ {0}, and let us set m= ⌊log2 n⌋,ai= ⌊n/2i⌋mod2, i = 0,1,2, . . . Since ⌊n/2i⌋ = 2 ⌊n/2i+1⌋ + ai

for any i ∈ N, ⌊n/20⌋ = n, ⌊n/2m⌋ = 1, and ⌊n/2i+1⌋ ≥ 1 for anyi < m, we have

n =∏i<m

⌊n/2i⌋⌊n/2i+1⌋ = 2m∏

i<m

⌊n/2i⌋⌊n/2i ⌋ − ai

.

Corollary. For any n ∈ N ∖ {0}, the following equality holds:

lnn = ⌊log2 n⌋ ln 2 + ∑i<⌊log2 n⌋

(⌊n/2i⌋mod2) ln ⌊n/2i⌋⌊n/2i ⌋ − 1

.

Page 64: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the logarithmic functionon the positive integers

Theorem. The function Λ ∶ N→ R defined by Λ(t) = ln(t + 1)is M2-computable.

Proof. By the corollary in the previous frame,

Λ(t) = ⌊log2(t + 1)⌋Φ(0) + ∑i≤log2(t+1)

Ψ (⌊(t + 1)/2i⌋ � 2),

where

Φ(x) = lnx + 2

x + 1= 2

∑i=0

1

(2i + 1)(2x + 3)2i+1,

Ψ(x) = (x mod 2)Φ(x).Corollary. There exist three-argument functions F ,G ∈M2

such that

∣F (p,q,n) −G(p,q,n)n + 1

− lnp + 1

q + 1∣ ≤ 1

n + 1

for all p,q,n in N.

Page 65: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the logarithmic functionon the positive integers

Theorem. The function Λ ∶ N→ R defined by Λ(t) = ln(t + 1)is M2-computable.

Proof. By the corollary in the previous frame,

Λ(t) = ⌊log2(t + 1)⌋Φ(0) + ∑i≤log2(t+1)

Ψ (⌊(t + 1)/2i⌋ � 2),

where

Φ(x) = lnx + 2

x + 1= 2

∑i=0

1

(2i + 1)(2x + 3)2i+1,

Ψ(x) = (x mod 2)Φ(x).Corollary. There exist three-argument functions F ,G ∈M2

such that

∣F (p,q,n) −G(p,q,n)n + 1

− lnp + 1

q + 1∣ ≤ 1

n + 1

for all p,q,n in N.

Page 66: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

M2-computability of the logarithmic functionon the positive integers

Theorem. The function Λ ∶ N→ R defined by Λ(t) = ln(t + 1)is M2-computable.

Proof. By the corollary in the previous frame,

Λ(t) = ⌊log2(t + 1)⌋Φ(0) + ∑i≤log2(t+1)

Ψ (⌊(t + 1)/2i⌋ � 2),

where

Φ(x) = lnx + 2

x + 1= 2

∑i=0

1

(2i + 1)(2x + 3)2i+1,

Ψ(x) = (x mod 2)Φ(x).Corollary. There exist three-argument functions F ,G ∈M2

such that

∣F (p,q,n) −G(p,q,n)n + 1

− lnp + 1

q + 1∣ ≤ 1

n + 1

for all p,q,n in N.

Page 67: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The logarithmic function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed under substitution. Then ln ξ ∈ RFfor any positive ξ ∈ RF .Proof. Let ξ > 0 and ξ ∈ RF . Then some F-sequencex0, x1, x2, . . . satisfies ∣xn − ξ∣ ≤ (n + 1)−1 for all n ∈ N. Letx ′n= x(k+1)n+k , where k is a natural number such that 3

k+1 ≤ ξ.Then x ′0, x

1, x′

2, . . . is again an F-sequence, and, for any n ∈ N,∣x ′n − ξ∣ ≤ ((k + 1)(n + 1))−1 ≤ 1

k+1 . Thus x ′n ≥2

k+1 , and hence

∣ln x ′n − ln ξ∣ < k + 1

2((k + 1)(n + 1))−1 = 1

2n + 2.

Functions P,Q ∈ F can be found such that x ′n =P(n)+1Q(n)+1 for all

n ∈ N. If F and G are as in the last corollary, and we set

f (n)= F (P(n),Q(n),2n + 1), g(n)= G(P(n),Q(n),2n + 1),then f ,g ∈ F , and, for all n ∈ N, we have

∣ f (n) − g(n)2n + 2

− ln ξ∣ ≤ ∣ f (n) − g(n)2n + 2

− ln x ′n∣ + ∣ln x ′n − ln ξ∣ < 1

n + 1.

Page 68: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The logarithmic function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed under substitution. Then ln ξ ∈ RFfor any positive ξ ∈ RF .Proof. Let ξ > 0 and ξ ∈ RF . Then some F-sequencex0, x1, x2, . . . satisfies ∣xn − ξ∣ ≤ (n + 1)−1 for all n ∈ N. Letx ′n= x(k+1)n+k , where k is a natural number such that 3

k+1 ≤ ξ.Then x ′0, x

1, x′

2, . . . is again an F-sequence, and, for any n ∈ N,∣x ′n − ξ∣ ≤ ((k + 1)(n + 1))−1 ≤ 1

k+1 . Thus x ′n ≥2

k+1 , and hence

∣ln x ′n − ln ξ∣ < k + 1

2((k + 1)(n + 1))−1 = 1

2n + 2.

Functions P,Q ∈ F can be found such that x ′n =P(n)+1Q(n)+1 for all

n ∈ N. If F and G are as in the last corollary, and we set

f (n)= F (P(n),Q(n),2n + 1), g(n)= G(P(n),Q(n),2n + 1),then f ,g ∈ F , and, for all n ∈ N, we have

∣ f (n) − g(n)2n + 2

− ln ξ∣ ≤ ∣ f (n) − g(n)2n + 2

− ln x ′n∣ + ∣ln x ′n − ln ξ∣ < 1

n + 1.

Page 69: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The logarithmic function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed under substitution. Then ln ξ ∈ RFfor any positive ξ ∈ RF .Proof. Let ξ > 0 and ξ ∈ RF . Then some F-sequencex0, x1, x2, . . . satisfies ∣xn − ξ∣ ≤ (n + 1)−1 for all n ∈ N. Letx ′n= x(k+1)n+k , where k is a natural number such that 3

k+1 ≤ ξ.Then x ′0, x

1, x′

2, . . . is again an F-sequence, and, for any n ∈ N,∣x ′n − ξ∣ ≤ ((k + 1)(n + 1))−1 ≤ 1

k+1 . Thus x ′n ≥2

k+1 , and hence

∣ln x ′n − ln ξ∣ < k + 1

2((k + 1)(n + 1))−1 = 1

2n + 2.

Functions P,Q ∈ F can be found such that x ′n =P(n)+1Q(n)+1 for all

n ∈ N. If F and G are as in the last corollary, and we set

f (n)= F (P(n),Q(n),2n + 1), g(n)= G(P(n),Q(n),2n + 1),then f ,g ∈ F , and, for all n ∈ N, we have

∣ f (n) − g(n)2n + 2

− ln ξ∣ ≤ ∣ f (n) − g(n)2n + 2

− ln x ′n∣ + ∣ln x ′n − ln ξ∣ < 1

n + 1.

Page 70: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The logarithmic function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed under substitution. Then ln ξ ∈ RFfor any positive ξ ∈ RF .Proof. Let ξ > 0 and ξ ∈ RF . Then some F-sequencex0, x1, x2, . . . satisfies ∣xn − ξ∣ ≤ (n + 1)−1 for all n ∈ N. Letx ′n= x(k+1)n+k , where k is a natural number such that 3

k+1 ≤ ξ.Then x ′0, x

1, x′

2, . . . is again an F-sequence, and, for any n ∈ N,∣x ′n − ξ∣ ≤ ((k + 1)(n + 1))−1 ≤ 1

k+1 . Thus x ′n ≥2

k+1 , and hence

∣ln x ′n − ln ξ∣ < k + 1

2((k + 1)(n + 1))−1 = 1

2n + 2.

Functions P,Q ∈ F can be found such that x ′n =P(n)+1Q(n)+1 for all

n ∈ N. If F and G are as in the last corollary, and we set

f (n)= F (P(n),Q(n),2n + 1), g(n)= G(P(n),Q(n),2n + 1),then f ,g ∈ F , and, for all n ∈ N, we have

∣ f (n) − g(n)2n + 2

− ln ξ∣ ≤ ∣ f (n) − g(n)2n + 2

− ln x ′n∣ + ∣ln x ′n − ln ξ∣ < 1

n + 1.

Page 71: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The exponential function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed both under substitution and underbounded least number operator. Then eη

∈ RF for any η ∈ RF .

Proof. Let η ∈ RF . Then some F-sequence y0, y1, y2, . . .satisfies ∣yn − η∣ ≤ (n + 1)−1 for all n ∈ N. For any n, i ∈ N, letxn,i=

i+1n+1 . Let a ∈ N, a ≥ eη. We set further

yn,i=F (i ,n, n) −G(i ,n, n)

n + 1

with F ,G as in the last corollary and n= 4a(n + 1) − 1, hence∣yn,i − ln xn,i ∣ ≤ 1

4a(n+1) . Finally, by setting

in= min{ i ∣ yn,i ≥ yn +1

2a(n + 1) ∨ xn,i = a} , xn= xn,in −1

n + 1

we get an F-sequence x0, x1.x2, . . ., such that 0 ≤ xn < xn,in ≤ afor all n ∈ N. We will show that ∣xn − eη ∣ ≤ (n + 1)−1 for any n ∈ N.

Page 72: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The exponential function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed both under substitution and underbounded least number operator. Then eη

∈ RF for any η ∈ RF .

Proof. Let η ∈ RF . Then some F-sequence y0, y1, y2, . . .satisfies ∣yn − η∣ ≤ (n + 1)−1 for all n ∈ N. For any n, i ∈ N, letxn,i=

i+1n+1 . Let a ∈ N, a ≥ eη. We set further

yn,i=F (i ,n, n) −G(i ,n, n)

n + 1

with F ,G as in the last corollary and n= 4a(n + 1) − 1, hence∣yn,i − ln xn,i ∣ ≤ 1

4a(n+1) . Finally, by setting

in= min{ i ∣ yn,i ≥ yn +1

2a(n + 1) ∨ xn,i = a} , xn= xn,in −1

n + 1

we get an F-sequence x0, x1.x2, . . ., such that 0 ≤ xn < xn,in ≤ afor all n ∈ N. We will show that ∣xn − eη ∣ ≤ (n + 1)−1 for any n ∈ N.

Page 73: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The exponential function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed both under substitution and underbounded least number operator. Then eη

∈ RF for any η ∈ RF .

Proof. Let η ∈ RF . Then some F-sequence y0, y1, y2, . . .satisfies ∣yn − η∣ ≤ (n + 1)−1 for all n ∈ N. For any n, i ∈ N, letxn,i=

i+1n+1 . Let a ∈ N, a ≥ eη. We set further

yn,i=F (i ,n, n) −G(i ,n, n)

n + 1

with F ,G as in the last corollary and n= 4a(n + 1) − 1, hence∣yn,i − ln xn,i ∣ ≤ 1

4a(n+1) . Finally, by setting

in= min{ i ∣ yn,i ≥ yn +1

2a(n + 1) ∨ xn,i = a} , xn= xn,in −1

n + 1

we get an F-sequence x0, x1.x2, . . ., such that 0 ≤ xn < xn,in ≤ afor all n ∈ N. We will show that ∣xn − eη ∣ ≤ (n + 1)−1 for any n ∈ N.

Page 74: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

The exponential function preservesM2-computability

Theorem. Let F be a class of total functions in N such thatF ⊇M2 and F is closed both under substitution and underbounded least number operator. Then eη

∈ RF for any η ∈ RF .

Proof. Let η ∈ RF . Then some F-sequence y0, y1, y2, . . .satisfies ∣yn − η∣ ≤ (n + 1)−1 for all n ∈ N. For any n, i ∈ N, letxn,i=

i+1n+1 . Let a ∈ N, a ≥ eη. We set further

yn,i=F (i ,n, n) −G(i ,n, n)

n + 1

with F ,G as in the last corollary and n= 4a(n + 1) − 1, hence∣yn,i − ln xn,i ∣ ≤ 1

4a(n+1) . Finally, by setting

in= min{ i ∣ yn,i ≥ yn +1

2a(n + 1) ∨ xn,i = a} , xn= xn,in −1

n + 1

we get an F-sequence x0, x1.x2, . . ., such that 0 ≤ xn < xn,in ≤ afor all n ∈ N. We will show that ∣xn − eη ∣ ≤ (n + 1)−1 for any n ∈ N.

Page 75: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the inequality ∣xn − eη∣ ≤ (n + 1)−1

We start with proving that, for any n ∈ N, we havexn + (n + 1)−1 ≥ eη, i.e. xn,in ≥ eη. This is clear in the case ofxn,in = a. Consider now an n ∈ N such that xn,in ≠ a. By thedefinition of in, the inequality yn,in ≥ yn +

12a(n+1) holds. Then

ln xn,in ≥ yn,in −1

4a(n+1) ≥ yn +1

4a(n+1) ≥ η, hence xn,in ≥ eη.

It is sufficient now to prove that eη≥ xn − (n + 1)−1 for any n ∈ N.

This inequality clearly holds if in ≤ 1, since then xn,in ≤2

n+1 , hencexn − (n + 1)−1 ≤ 0 < eη.

Suppose now that in > 1. Then, again by the definition of in, theinequality yn,in−1 < yn +

12a(n+1) holds. Therefore

ln xn,in−1 ≤ yn,in−1 +1

4a(n+1) < yn +3

4a(n+1) ≤ η +1

a(n+1) , hence

η > ln xn,in−1 −1

a(n+1) . Since xn,in−2 < xn,in−1 < a, we have

ln xn,in−1 − ln xn,in−2 >1a(xn,in−1 − xn,in−2) = 1

a(n+1) , hence

η > ln xn,in−2 and therefore eη> xn,in−2 = xn − (n + 1)−1.

Page 76: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the inequality ∣xn − eη∣ ≤ (n + 1)−1

We start with proving that, for any n ∈ N, we havexn + (n + 1)−1 ≥ eη, i.e. xn,in ≥ eη. This is clear in the case ofxn,in = a. Consider now an n ∈ N such that xn,in ≠ a. By thedefinition of in, the inequality yn,in ≥ yn +

12a(n+1) holds. Then

ln xn,in ≥ yn,in −1

4a(n+1) ≥ yn +1

4a(n+1) ≥ η, hence xn,in ≥ eη.

It is sufficient now to prove that eη≥ xn − (n + 1)−1 for any n ∈ N.

This inequality clearly holds if in ≤ 1, since then xn,in ≤2

n+1 , hencexn − (n + 1)−1 ≤ 0 < eη.

Suppose now that in > 1. Then, again by the definition of in, theinequality yn,in−1 < yn +

12a(n+1) holds. Therefore

ln xn,in−1 ≤ yn,in−1 +1

4a(n+1) < yn +3

4a(n+1) ≤ η +1

a(n+1) , hence

η > ln xn,in−1 −1

a(n+1) . Since xn,in−2 < xn,in−1 < a, we have

ln xn,in−1 − ln xn,in−2 >1a(xn,in−1 − xn,in−2) = 1

a(n+1) , hence

η > ln xn,in−2 and therefore eη> xn,in−2 = xn − (n + 1)−1.

Page 77: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the inequality ∣xn − eη∣ ≤ (n + 1)−1

We start with proving that, for any n ∈ N, we havexn + (n + 1)−1 ≥ eη, i.e. xn,in ≥ eη. This is clear in the case ofxn,in = a. Consider now an n ∈ N such that xn,in ≠ a. By thedefinition of in, the inequality yn,in ≥ yn +

12a(n+1) holds. Then

ln xn,in ≥ yn,in −1

4a(n+1) ≥ yn +1

4a(n+1) ≥ η, hence xn,in ≥ eη.

It is sufficient now to prove that eη≥ xn − (n + 1)−1 for any n ∈ N.

This inequality clearly holds if in ≤ 1, since then xn,in ≤2

n+1 , hencexn − (n + 1)−1 ≤ 0 < eη.

Suppose now that in > 1. Then, again by the definition of in, theinequality yn,in−1 < yn +

12a(n+1) holds. Therefore

ln xn,in−1 ≤ yn,in−1 +1

4a(n+1) < yn +3

4a(n+1) ≤ η +1

a(n+1) , hence

η > ln xn,in−1 −1

a(n+1) . Since xn,in−2 < xn,in−1 < a, we have

ln xn,in−1 − ln xn,in−2 >1a(xn,in−1 − xn,in−2) = 1

a(n+1) , hence

η > ln xn,in−2 and therefore eη> xn,in−2 = xn − (n + 1)−1.

Page 78: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Proof of the inequality ∣xn − eη∣ ≤ (n + 1)−1

We start with proving that, for any n ∈ N, we havexn + (n + 1)−1 ≥ eη, i.e. xn,in ≥ eη. This is clear in the case ofxn,in = a. Consider now an n ∈ N such that xn,in ≠ a. By thedefinition of in, the inequality yn,in ≥ yn +

12a(n+1) holds. Then

ln xn,in ≥ yn,in −1

4a(n+1) ≥ yn +1

4a(n+1) ≥ η, hence xn,in ≥ eη.

It is sufficient now to prove that eη≥ xn − (n + 1)−1 for any n ∈ N.

This inequality clearly holds if in ≤ 1, since then xn,in ≤2

n+1 , hencexn − (n + 1)−1 ≤ 0 < eη.

Suppose now that in > 1. Then, again by the definition of in, theinequality yn,in−1 < yn +

12a(n+1) holds. Therefore

ln xn,in−1 ≤ yn,in−1 +1

4a(n+1) < yn +3

4a(n+1) ≤ η +1

a(n+1) , hence

η > ln xn,in−1 −1

a(n+1) . Since xn,in−2 < xn,in−1 < a, we have

ln xn,in−1 − ln xn,in−2 >1a(xn,in−1 − xn,in−2) = 1

a(n+1) , hence

η > ln xn,in−2 and therefore eη> xn,in−2 = xn − (n + 1)−1.

Page 79: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the sine and cosine functions

Theorem. For any rational number x , the real numbers sin xand cos x are M2-computable.

Proof. It is sufficient to prove the statement of the theoremfor x > 0. For any m ∈ N ∖ {0}, the numbers sin 1

m and cos 1m

are M2-computable thanks to the expansions

sin1

m=

∑i=0

(−1)i(2i + 1)!m2i+1

, cos1

m=

∑i=0

(−1)i(2i)!m2i

.

The M2-computability of sin x and cos x for any positiverational number x follows from here by an induction makinguse of the equalities

sinn + 1

m= sin

n

mcos

1

m+ cos

n

msin

1

m,

cosn + 1

m= cos

n

mcos

1

m− sin

n

msin

1

m.

Page 80: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the sine and cosine functions

Theorem. For any rational number x , the real numbers sin xand cos x are M2-computable.

Proof. It is sufficient to prove the statement of the theoremfor x > 0. For any m ∈ N ∖ {0}, the numbers sin 1

m and cos 1m

are M2-computable thanks to the expansions

sin1

m=

∑i=0

(−1)i(2i + 1)!m2i+1

, cos1

m=

∑i=0

(−1)i(2i)!m2i

.

The M2-computability of sin x and cos x for any positiverational number x follows from here by an induction makinguse of the equalities

sinn + 1

m= sin

n

mcos

1

m+ cos

n

msin

1

m,

cosn + 1

m= cos

n

mcos

1

m− sin

n

msin

1

m.

Page 81: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the sine and cosine functions

Theorem. For any rational number x , the real numbers sin xand cos x are M2-computable.

Proof. It is sufficient to prove the statement of the theoremfor x > 0. For any m ∈ N ∖ {0}, the numbers sin 1

m and cos 1m

are M2-computable thanks to the expansions

sin1

m=

∑i=0

(−1)i(2i + 1)!m2i+1

, cos1

m=

∑i=0

(−1)i(2i)!m2i

.

The M2-computability of sin x and cos x for any positiverational number x follows from here by an induction makinguse of the equalities

sinn + 1

m= sin

n

mcos

1

m+ cos

n

msin

1

m,

cosn + 1

m= cos

n

mcos

1

m− sin

n

msin

1

m.

Page 82: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the arctan function

Theorem. For any rational number x , arctan x ∈ RM2 .

Proof. Let A be the set of all rational numbers x such thatarctan x is a sum of finitely many numbers of the formarctan 1

m with m ∈ N ∖ {0,1}. We will prove the theorem byshowing that all positive rational numbers belong to A. Wenote that 1 ∈ A, and, whenever x ≥ 0, y ≥ 0, the equality

arctan x = arctan y + arctanx − y

1 + xy

holds. By using its instance with x = y + 1 we see thatN ∖ {0} ⊂ A. Now an induction on q can be used to show thatpq ∈ A for any relatively prime p,q ∈ N∖ {0}. The case of q = 1is already settled, and the case of p = 1 is obvious. Let p > 1and q > 1. Then (pq′) mod q = 1 for some positive integerq′ < q, hence pq′ = qp′ + 1 for some p′ ∈ N ∖ {0}, and theabove equality yields

arctanp

q= arctan

p′

q′+ arctan

1

qq′ + pp′.

Page 83: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the arctan function

Theorem. For any rational number x , arctan x ∈ RM2 .

Proof. Let A be the set of all rational numbers x such thatarctan x is a sum of finitely many numbers of the formarctan 1

m with m ∈ N ∖ {0,1}. We will prove the theorem byshowing that all positive rational numbers belong to A. Wenote that 1 ∈ A, and, whenever x ≥ 0, y ≥ 0, the equality

arctan x = arctan y + arctanx − y

1 + xy

holds. By using its instance with x = y + 1 we see thatN ∖ {0} ⊂ A. Now an induction on q can be used to show thatpq ∈ A for any relatively prime p,q ∈ N∖ {0}. The case of q = 1is already settled, and the case of p = 1 is obvious. Let p > 1and q > 1. Then (pq′) mod q = 1 for some positive integerq′ < q, hence pq′ = qp′ + 1 for some p′ ∈ N ∖ {0}, and theabove equality yields

arctanp

q= arctan

p′

q′+ arctan

1

qq′ + pp′.

Page 84: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the arctan function

Theorem. For any rational number x , arctan x ∈ RM2 .

Proof. Let A be the set of all rational numbers x such thatarctan x is a sum of finitely many numbers of the formarctan 1

m with m ∈ N ∖ {0,1}. We will prove the theorem byshowing that all positive rational numbers belong to A. Wenote that 1 ∈ A, and, whenever x ≥ 0, y ≥ 0, the equality

arctan x = arctan y + arctanx − y

1 + xy

holds. By using its instance with x = y + 1 we see thatN ∖ {0} ⊂ A. Now an induction on q can be used to show thatpq ∈ A for any relatively prime p,q ∈ N∖ {0}. The case of q = 1is already settled, and the case of p = 1 is obvious. Let p > 1and q > 1. Then (pq′) mod q = 1 for some positive integerq′ < q, hence pq′ = qp′ + 1 for some p′ ∈ N ∖ {0}, and theabove equality yields

arctanp

q= arctan

p′

q′+ arctan

1

qq′ + pp′.

Page 85: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

A partial result concerning the arctan function

Theorem. For any rational number x , arctan x ∈ RM2 .

Proof. Let A be the set of all rational numbers x such thatarctan x is a sum of finitely many numbers of the formarctan 1

m with m ∈ N ∖ {0,1}. We will prove the theorem byshowing that all positive rational numbers belong to A. Wenote that 1 ∈ A, and, whenever x ≥ 0, y ≥ 0, the equality

arctan x = arctan y + arctanx − y

1 + xy

holds. By using its instance with x = y + 1 we see thatN ∖ {0} ⊂ A. Now an induction on q can be used to show thatpq ∈ A for any relatively prime p,q ∈ N∖ {0}. The case of q = 1is already settled, and the case of p = 1 is obvious. Let p > 1and q > 1. Then (pq′) mod q = 1 for some positive integerq′ < q, hence pq′ = qp′ + 1 for some p′ ∈ N ∖ {0}, and theabove equality yields

arctanp

q= arctan

p′

q′+ arctan

1

qq′ + pp′.

Page 86: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

Conclusion

The theory ofM2-computability of real numbers seems to be aninteresting, challenging and exciting subject.

Page 87: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

References

Berarducci, A., D’Aquino, P., ∆0 complexity of the relationy =∏i≤n F (i), Ann. Pure Appl. Logic, 75 (1995), 49–56.

Georgiev, I., “Subrecursive Computability in Analysis”, MScThesis, Sofia University, 2009 (in Bulgarian).

Grzegorczyk, A., “Some Classes of Recursive Functions”Dissertationes Math. (Rozprawy Mat.), 4, Warsaw, 1953.

Paris, J. B., Wilkie, A. J, Woods, A. R., Provability of thepigeonhole principle and the existence of infinitely manyprimes, Journal of Symbolic Logic, 53 (1988), 1235–1244.

Skordev, D., Computability of real numbers by using a givenclass of functions in the set of the natural numbers, Math.Log. Quart., 48 (2002), Suppl. 1, 91–106.

Tent, K., Ziegler, M., Computable functions of reals,arXiv:0903. 1384v4 [math.LO], March 2009 (Last updated:July 24, 2009)

Page 88: lc2009.fmi.uni-sofia.bg · Outline 1 Introduction The class M2 F-computability of real numbers 2 Proving M2-computability by using appropriate partial sums M2-computability of the

THANK YOU FOR YOUR ATTENTION!