WorksComputer Science
Non-computable derivatives of the fractional-part autocorrelation
Abstract
We describe a natural new example of non-computability in analysis. Namely, the multiplicative autocorrelation of the fractional-part function, is computable and differentiable almost everywhere, but its finite derivative can be non-computable even for a computable . We derive these results from an adaptation of our earlier work on computability of Brjuno-like functions.
The use of AI
The author acknowledges using an OpenAI model in writing this paper. The author has formulated the problem. The proofs are based on the author’s ideas, and, in particular, an earlier work [7]. The author assumes full responsibility for the content and its correctness.
Introduction and main results
This paper introduces an interesting new example of a natural non-computable function of a real variable. The multiplicative autocorrelation of the fractional-part function is defined by an absolutely convergent, nonnegative integral:
The analytic properties of were studied by Báez-Duarte, Balazard, Landreau, and Saias [1, 2] in the context of analytic number theory. In particular, is continuous and differentiable almost everywhere. Its value is effectively computable from the point of evaluation via an explicit approximation process. Yet, strikingly for such a simple-looking analytic expression, its derivative at a point may be well-defined, yet not be computable from . In fact, non-computability may occur even for a computable value of .
The connection with our previous work flows from the results of Balazard and Martin [4], who characterized the differentiability points of through a continued-fraction series introduced by Wilton [6]. We combine their identities with the non-computability theorem for the signed Wilton series obtained in our paper [7], and then refine the conclusion by constructing computable inputs. Both arguments require the same effective step: computing the correction terms that relate the Wilton series to .
Before stating the theorems, let us introduce several series. For irrational , set
where is the number of positive divisors of . Further, to define the Wilton function, set
and let
We denote by the set of Wilton numbers, namely the irrational for which (1.3) converges. Absolute convergence defines the smaller class of Brjuno numbers which play a special role in the study of small-divisor problems in holomorphic dynamics [8].
We use the Cauchy representation of real numbers. An oracle for is a function which returns rational approximations to with error less than on input . The notation means that one oracle algorithm computes from every Cauchy name of this fixed . A function on a specified domain is computable if one oracle algorithm works for every input in that domain. In particular, is a pointwise obstruction, stronger than the failure of a single algorithm to work uniformly on the whole domain.
The first result is a direct corollary of the signed Wilton theorem of [7], once we have made effective the known analytic identities for .
Theorem 1.1. The function is computable on . Every nonempty open interval contains a point at which exists as a finite real number and
Moreover, at every , the four quantities are mutually computable relative to : uniformly on this domain,
The non-computability input here is precisely [7 Theorems 5.1 and 5.2], applied to their second Wilton function. Theorem 1.1 does not, by itself, assert that the input value is computable. Our second result supplies computable and specifies the amount of information in the four values.
A real number is limit-computable if it is the limit of a computable sequence of rationals, without a required computable rate of convergence. It is left-computably enumerable (left-c.e.) if it admits such a nondecreasing approximation; right-c.e. is defined using nonincreasing approximations. A c.e. Turing degree is the degree of a computably enumerable subset of , and denotes the degree of the halting problem.
Theorem 1.2 (Computable-input refinement). Let be limit-computable, and let be a nonempty open interval with rational endpoints. There is a computable such that exists and
More precisely, the construction gives
with computable. Both and are computable uniformly from and a program producing a convergent rational approximation to . If the supplied approximation has finite total variation, then can be chosen Brjuno. In particular, this applies to a nondecreasing approximation.
Corollary 1.3. In every nonempty open subinterval of there is a computable Brjuno number for which are all finite and non-computable. They can be chosen to have any prescribed nonzero c.e. Turing degree.
Theorem 1.4 (Full degree spectrum). For every nonempty open interval and each ,
Each degree on the right is realized simultaneously by the four quantities at a single computable point in .
The full spectrum concerns Wilton points, not necessarily Brjuno points. Computable Brjuno points already suffice to realize all c.e. degrees, including the computable degree.
Section 2 presents the basic analytic properties of . Sections 3 and 4 prove the common reduction
where is computable from . Section 5 then proves the direct corollary of [7]. Section 6 supplies the adapted realization argument, and Section 7 deduces the degree spectrum and the one-sided computability statements.
Basic properties of the autocorrelation
Reciprocity and the Hilbert-space interpretation
Near zero the integrand in (1.1) equals , and near infinity it is bounded by , so is finite for every . A change of variables gives
This identity will reduce computation on to computation on .
The name “autocorrelation” has a literal Hilbert-space meaning. Let . In the Hilbert space we have
Cauchy–Schwarz therefore gives
where is Euler’s constant. The value at 1 follows by integration over successive unit intervals and Stirling’s formula; see [2 Propositions 85 and 87]. Our algorithm below computes directly from the integral and does not require this special-value formula.
Regularity and differentiability
Balazard and Martin prove that the global modulus of continuity
satisfies
see [4 Proposition 31]. This describes the regularity of , but we do not use the unspecified constant in the term to compute it. Proposition 3.1 supplies an explicit modulus and an effective truncation bound for that purpose.
At a positive rational in lowest terms, has a logarithmic cusp:
by [2 Proposition 98]. Thus every positive rational is a strict local maximum, with infinite one-sided slopes. These singularities explain the cusps visible in Figure 1.
!Graph of the autocorrelation on bbox=0.21,0.10,0.84,0.34
Figure 1. The autocorrelation on . Values at mesh points were computed using the finite cotangent-sum formula of [2 Proposition 89] and joined. The graph illustrates the rational cusps.
For irrational , there is an exact criterion: exists as a finite real number if and only if [4 Theorem 1 and Proposition 30]. The Wilton set has full Lebesgue measure in , so is differentiable almost everywhere there – and (10) extends this conclusion to . The identities for the derivative values are stated in Theorem 4.1.
Effective evaluation of the autocorrelation and the correction
Computability of the autocorrelation
We first evaluate truncated integrals at rational arguments, then use an explicit modulus to pass to arbitrary Cauchy names.
Proposition 3.1. The function is computable on . On , one has , and for each integer ,
Proof. Let denote the integral in (1) truncated at . Its tail lies in , uniformly in . For rational , split at the finitely many rational points where or is integral. On an intervening interval,
Integrating uses only rational arithmetic and logarithms of positive rationals. The contribution of is , and . Thus is uniformly computable at rational inputs.
To pass to arbitrary Cauchy names, suppose and write . For almost every ,
Before intersection with , the support of the th indicator is , with upper endpoint when . Its integral against is . Hence
Adding the tail bounds gives (14). Given an error tolerance, first choose effectively and then approximate by a sufficiently close rational in . This computes without having
to decide coincidences between discontinuity locations at an arbitrary real input. The bound follows from the contribution of and the upper bound 1 for the remaining integral.
Finally, with , reciprocity gives
All operations here are computable, including max, so the algorithm extends to without deciding whether . □
Computability of the correction term
The identities in Theorem 4.1 express , , and in terms of and a correction . We now prove that is computable on every irrational input, whether or not converges. Following [4 Section 4.1], define
where at 0, and put
The difference from is the uniform effective tail bound below.
Proposition 3.2. The function is computable on , and is computable on . More explicitly, for every integer ,
Proof. Proposition 3.1 and the computable continuous extension of give computability of . At the endpoint, for example, and imply . Also on .
Write , with convergent denominators , , and . The standard identities give
In particular, and
This proves (3.4).
The digits of an irrational continued fraction can be computed from its Cauchy name. At each finite step, the real whose integer part is needed is not an integer, so increasing precision eventually determines that digit. Thus every finite term of (3.3) is uniformly computable from . The effective tail bound completes the algorithm. □
Classical identities and an effective transfer principle
The following theorem both identifies the differentiability points and relates the four values there. In the notation of [4], our is , and is . Their Bernoulli function is off the integers and on the integers. At irrational arguments this convention agrees with (1.2).
Theorem 4.1 (Balazard–Martin). For , the series converge simultaneously, and their convergence is equivalent to differentiability of at . At such a point,
References and the derivative formula. The convergence assertions and (4.1) are [4 Theorems 1 and 2]; the additional correction at rational points in that paper vanishes on our domain. For (4.2), use their identity (6), already established in [1]:
In this integral denotes its periodic integrable representative. Every Wilton point is a Lebesgue point of [4 Proposition 12]. Since is continuous at irrational points, (4.1) makes it a Lebesgue point of as well. The derivative of the integral in (4.3) is therefore at the point in question. Differentiating (4.3) and eliminating the integral yields (4.2). □
The divisor weight in is also natural. Formally inserting the Fourier series of into gives
The passage from this formal calculation to equality of the ordinarily convergent series is part of the classical theorem, not an application of absolute rearrangement.
Define on
Propositions 3.1 and 3.2 make computable. Combining this fact with the classical identities gives the transfer used in both non-computability arguments.
Proposition 4.2 (Effective transfer). For every ,
These identities are uniformly computably invertible when an oracle for is available. In particular, (1.5) holds, and
Proof. The formulas follow from Theorem 4.1. All correction terms are computable from , and the coefficients , , and are nonzero and computable from . For example,
The other inversions are equally explicit. □
Corollary 4.3. At every computable Wilton point, the finite numbers have the same Turing degree.
Direct application of YS
Theorem 5.1 (Signed Wilton case in [7]). There exists for which .
This is [7 Theorems 5.1 and 5.2], specialized to the second Wilton function defined in their equation (2.3). Their index corresponds to in (3); the sign is , and the logarithm is . Thus the functions agree exactly. The construction in their Section 5 yields a finite convergent value, and their definition of non-computability at a point is the oracle-based notion used here. We use the theorem without reproducing that construction.
For completeness, the following elementary observation supplies the localization in Theorem 1.1.
Lemma 5.2. If and , every continued-fraction cylinder in contains a point with .
Proof. Let the cylinder be specified by a finite word , and set
Equivalently, if , then . For the convergents of the fixed prefix,
The map and its inverse on the cylinder are computable, so . Splitting the Wilton series after terms gives
where
Both and the positive coefficient are computable from . The split series converges because does. If , inverting (26) would compute from , hence from , a contradiction. □
Proof of Theorem 1.1. Computability of is Proposition 3.1, and the uniform reductions are Proposition 4.2. Choose from Theorem 5.1. Every nonempty open subinterval of contains a continued-fraction cylinder: cylinder diameters tend to zero, as follows from . Lemma 5.2 gives with . Theorem 4.1 gives existence of all four finite values, and Proposition 4.2 gives their non-computability relative to . □
Refinement of the non-computability argument
Effective continued-fraction estimates
Recall the conventions
and use the recurrences
A computable infinite sequence of positive integer partial quotients determines a computable irrational. Indeed,
Thus a prescribed precision requires only an effectively determined finite prefix, irrespective of the sizes of the partial quotients. Conversely, the continued-fraction digits of an irrational are computable from a Cauchy name: at each finite step the real whose integer part is required is not an integer, so increasing the working precision eventually determines it.
Lemma 6.1. Uniformly over all irrational , the series
have effective tail bounds. In particular, for every integer ,
Proof. The recurrence gives , hence (6.1). For or , with , the function is decreasing for , so
Summing the two geometric majorants proves the claim. □
Put
We use the classical comparison estimate
see [3 Proposition 1]. Also,
Lemma 6.2. The function
is computable on . Consequently, whenever either signed series converges,
Moreover, is Brjuno if and only if .
Proof. Each summand is computable from an irrational . The absolute tail is bounded by (6.2), so the series is effectively convergent, even when itself is undefined. The remaining claims follow from the absolute convergence of the difference series. □
Realizing a convergent approximation
Lemma 6.3. Suppose , , and is rational. Set
Then
Proof. We have
The first term lies in and the last in . The asserted bound follows. □
Proposition 6.4. Let be a computable sequence of rationals in with and . Given any finite continued-fraction prefix of even length, one can compute an irrational extending that prefix and a computable real such that and
For this construction, is Brjuno if and only if .
Proof. Let the length of the prescribed prefix be , possibly zero. Put
and assign the target terms
Starting after the prescribed prefix, define successively
All floors in this formula are floors of rational numbers, and therefore are obtained by exact integer arithmetic. Every partial quotient is a positive integer. Equation (27) shows that the resulting infinite continued fraction is a computable irrational, uniformly from the supplied data. Lemma 6.3 gives, for ,
The sequence is uniformly computable, and its absolute sum has the effective tail bound of Lemma 6.1. Thus
is a computable real, uniformly from the approximation program and the prefix.
Because is even, the sum of the target terms over the first complete pairs is
A partial sum stopping within the next pair differs by , which tends to zero since converges. Therefore the full signed series of targets converges to , not just its paired subsequence. It follows from (36) that
The finite sum is computable. Lemma 6.2 now yields
where is computable with the asserted uniformity.
Finally, all and are nonnegative, the error in (36) is absolutely summable, and
Thus if and only if the approximation has finite total variation. Lemma 6.2 proves the last claim. □
Remark 6.5. Every nonempty rational open interval in contains a continued-fraction cylinder of even depth. Such a cylinder can be found effectively: enumerate finite words of even length, compute their rational endpoints, and test whether the closed interval between those endpoints lies inside the given interval. The cylinder diameters tend to zero, so the search terminates. Prescribing this prefix places the constructed point in the desired interval. A finite initial segment of an approximation can always be changed or prepended to arrange .
Proof of Theorem 1.2. Take the supplied computable rational approximation to , clip it to , and prepend 0. Clipping cannot increase total variation, and prepending one term preserves its finiteness. Choose an even-depth cylinder in as in Remark 6.5, and apply Proposition 6.4. The identity , with computable , gives . Theorem 4.1 and Corollary 4.3 supply the other values and reductions. The assertion concerning Brjuno numbers follows from the total-variation criterion in Proposition 6.4. □
Degree spectrum and further consequences
Proof of Corollary 1.3. For a c.e. set of the desired nonzero degree, let
This is a left-c.e. real in , and its separated base-four digits give . A computable enumeration of supplies a nondecreasing rational approximation. Apply Theorem 1.2. In particular, taking to be the halting set makes all four outputs Turing equivalent to the halting problem. □
Proof of Theorem 1.4. At a computable irrational input, every finite partial sum of is a uniformly computable real. At a convergence point, approximating the th partial sum to error gives a computable rational sequence converging to its value. Similarly, at a computable differentiability point of the computable function , rational approximations to the difference quotients give a computable convergent sequence with limit . Thus all these values are limit-computable, and their degrees are at most .
Conversely, every Turing degree at most contains a limit-computable real , by the limit lemma [5]. For example, apply a computable pointwise approximation to a set of that degree and encode its bits by separated base-four digits; a fixed rational translation keeps the resulting real away from the endpoints. Theorem 1.2 realizes the same degree for all four quantities in any prescribed rational subinterval. Every open subinterval contains such a rational subinterval, proving the full assertion. □
The one-sided computability of the Brjuno examples
For a nondecreasing approximation to a left-c.e. real , the proof and the analytic identities give computable constants with
Consequently and are left-c.e., while and are right-c.e. When is noncomputable none of these four reals is computable. These one-sided assertions concern the constructed points; we do not assert them for arbitrary computable Wilton numbers.
References
References
- [1]L. Báez-Duarte, M. Balazard, B. Landreau, and E. Saias, Étude de l’autocorrélation multiplicative de la fonction “partie fractionnaire”, Ramanujan J. 9 (2005), 215–240. doi:10.1007/s11139-005-0834-4.
- [2]L. Báez-Duarte, M. Balazard, B. Landreau, and E. Saias, Sur l’autocorrélation multiplicative de la fonction “partie fractionnaire”, detailed companion calculations (2003), arXiv:math/0306251. Proposition numbers cited in the text refer to this version.
- [3]M. Balazard and B. Martin, Comportement local moyen de Brujno, Fund. Math. 218 (2012), no. 3, 193–224. doi:10.4064/fm218-3-1.
- [4]M. Balazard and B. Martin, Sur l’autocorrélation multiplicative de la fonction “partie fractionnaire” et une fonction définie par J. R. Wilton, preprint (2013), arXiv:1305.4395.arxiv.org/abs/1305.4395
- [5]J. R. Shoenfield, On degrees of unsolvability, Ann. of Math. (2) 69 (1959), no. 3, 644–653. doi:10.2307/1970028.DOI
- [6]J. R. Wilton, An approximate functional equation with applications to a problem of Diophantine approximation, J. reine angew. Math. 169 (1933), 219–237.DOI
- [7]M. Yampolsky and I. O. Shevchenko, Computability of Brujno-like functions, Canad. J. Math., First View, 1–41; published online November 12, 2025.
- [8]J.-C. Yoccoz, Théorème de Siegel, nombres de Bruno et polynômes quadratiques, Astérisque, Vol. 231, Société Mathématique de France, Paris, 1995, pp. 3–88.