1. Introduction
From 1991 to 1993, Lapidus (in the more general and higher-dimensional case of fractal drums), as well as Lapidus and Pomerance established connections between complex dimensions and the theory of the Riemann zeta function by studying the connection between fractal strings and their spectra; see [
1,
2,
3]. Then, in [
4], Lapidus and Maier used the intuition coming from the notion of complex dimensions in order to rigorously reformulate the Riemann hypothesis as an inverse spectral problem for fractal strings. The notion of complex dimensions was precisely defined and the corresponding rigorous theory of complex dimensions was fully developed by Lapidus and van Frankenhuijsen, for example in [
5,
6,
7,
8], in the one-dimensional case of fractal strings. Recently, the higher-dimensional theory of complex dimensions was fully developed by Lapidus, Radunović and Žubrinić in the book [
9] and a series of accompanying papers; see also the first author’s recent survey article [
10].
The present paper focuses, in particular, on self-similar strings (and their natural generalizations), the boundary of which is a self-similar set (in
), satisfying a mild non-overlapping condition, as introduced and studied in [
5,
6,
7,
8].
Given a closed, bounded and nonempty interval
I of length
L, and
contraction similitudes of
,
a self-similar fractal string (or self-similar string, in short) is constructed through a procedure reminiscent of the construction of the Cantor set. In the first step, one subdivides the interval
I into the images
If one imposes a mild separation condition on the contraction similitudes, the images (
1) now lie in the interval
I, and they do not overlap, except possibly at the endpoints. Moreover, the complement in
I of their union consists of one or more disjoint open intervals, called the first lengths. This process is then repeated with each of the images in (
1), resulting in another finite collection of disjoint open intervals. The final result will be a countably infinite collection of pairwise disjoint and bounded open intervals, all contained in the original interval
I. The union of these open intervals is the self-similar fractal string.
From the perspective of the current paper, there is an important dichotomy in the set of all self-similar fractal strings, according to which any self-similar fractal string is either lattice or nonlattice, depending on the scaling ratios with which a self-similar fractal string is constructed. (Note the two meanings of ‘lattice’. On the one hand, a lattice string is a certain kind of fractal string studied in fractal geometry. On the other hand, the LLL algorithm is a generalization of Euclid’s algorithm aimed at finding a reduced basis of a lattice as a discrete subgroup of
of rank
N; see
Section 3.1.) More specifically, the lattice (resp., nonlattice) case is when all (resp., two or more) of the logarithms of the
N distinct scaling ratios are rationally dependent (resp., independent), with necessarily
. In other words, the multiplicative group
generated by the
N distinct scaling ratios is of rank 1 in the lattice case (that is,
, for some
, called the multiplicative generator) and is of rank
, in the nonlattice case. By definition, the generic nonlattice case is when
and the rank of
G is equal to
N.
In the lattice case, the complex dimensions (see
Section 2 for a reminder of the definition of the complex dimensions as the poles of the ‘geometric zeta function’ associated with a fractal string.) can be numerically obtained via the roots of certain polynomials that are typically sparse with large degrees, and lie periodically on finitely many vertical lines counted according to multiplicity. Furthermore, on each vertical line, they are separated by a positive real number
, called the oscillatory period of the string. (See [
5] (Chapter 2), ref. [
6] (Theorem 2.5), and [
8] (Theorems 2.16 and 3.6)).
For nonlattice self-similar fractal strings, which are the main focus of the present paper, the complex dimensions cannot be numerically obtained in the same way as in the lattice case. Indeed, they correspond to the roots of a transcendental (rather than polynomial) equation. They can, however, be approximated by the complex dimensions of a sequence of lattice strings with larger and larger oscillatory periods. The Lattice String Approximation algorithm of Lapidus and van Frankenhuijsen, referred to in this paper as the LSA algorithm, allows one to replace the study of nonlattice self-similar fractal strings by the study of suitable approximating sequences of lattice self-similar fractal strings. Using this algorithm, M. L. Lapidus and M. van Frankenhuijsen have shown that the sets of complex dimensions of nonlattice self-similar fractal strings are quasiperiodically distributed, in a precise sense (see, e.g., [
6] (Theorem 3.6, Remark 3.7) and [
7,
8] (Section 3.4.2)), and they have illustrated their results by means of a number of examples (see, e.g., the examples from Section 7 in [
6] and their counterparts in Chapters 2 and 3 of [
8]). Following the suggestion by those same authors in the introduction of [
6], and in [
7,
8] (Remark 3.38), the current paper presents an implementation of the LSA algorithm incorporating the application of a powerful lattice basis reduction algorithm, which is due to A. K. Lenstra, H. W. Lenstra and L. Lovász and is known as the LLL algorithm, in order to generate simultaneous Diophantine approximations; see [
11] (Proposition 1.39) and [
12] (Proposition 9.4). It also uses the open source software MPSolve, due to D. A. Bini, G. Fiorentino and L. Robol in [
13,
14], in order to approximate the roots of large degree sparse polynomials. Indeed, the LLL algorithm along with MPSolve allow for a deeper numerical and visual exploration of the quasiperiodic patterns of the complex dimensions of self-similar strings via the LSA algorithm than what has already been done in [
5,
6,
7,
8].
In the latter part of [
8] (Chapter 3), a number of mathematical results were obtained concerning either the nonlattice case with two distinct scaling ratios (amenable to the use of continued fractions) as well as the nonlattice case with three or more distinct scaling ratios (therefore, typically requiring more complicated simultaneous Diophantine approximation algorithms). In the present paper, it has become possible, in particular, to explore more deeply and accurately additional nonlattice strings with rank greater than or equal to three, i.e., those that cannot be solved using continued fractions.
The rest of this paper is organized as follows.
Section 2 consists of some background on complex dimensions and self-similar fractal strings, leading up to the restatement of [
8] (Theorem 3.18) (see also [
6] (Theorem 3.6)), which provides the LSA algorithm. Then, in
Section 3, a brief overview of lattice basis reduction is given, along with a restatement and proof of [
12] (Proposition 9.4) to illustrate how the LLL algorithm is applied to simultaneous Diophantine approximations. In the latter part of
Section 3 (see
Section 3.2.1), we describe our implementation of the LLL algorithm for simultaneous Diophantine approximations which uses continued fractions. In
Section 4, using our implementation of the LLL algorithm, together with MPSolve, a number of examples aimed at illustrating the quasiperiodic patterns of the complex dimensions of nonlattice self-similar fractal strings, and in the more general setting, of the roots (i.e., the zeros) of nonlattice Dirichlet polynomials, are shown and commented upon. These include examples previously studied in [
5,
6,
7,
8], which can now be viewed in a new light by using our refined numerical approach, and new handpicked examples which are computationally easier to explore and for which interesting new phenomena arise. The mathematical experiments performed in the current paper, along with earlier work in [
6,
7,
8,
15], have led to new questions and open problems which are briefly discussed in the concluding comments section, namely,
Section 5.
2. Preliminary Materials
An (ordinary) fractal string
consists of a bounded open subset
; such a set
is a disjoint union of countably many disjoint open intervals. The lengths
of the open intervals are called the lengths of
, and since
is a bounded set, it is assumed without loss of generality that
and that
as
(We ignore here the trivial case when
is a finite union of open intervals).
Let
denote the abscissa of convergence (Note that
, for every
and all
).
of the geometric zeta function
of
. Since there are infinitely many lengths,
diverges at
. Furthermore, since
has finite Lebesgue measure,
converges at
. Hence, it follows from standard results about general Dirichlet series (see, e.g., [
16]) that the second equality in the above definition of
holds, and, therefore, that
.
Definition 1. The dimension of a fractal string with associated bounded open set Ω, denoted by , is defined as the (
inner)
Minkowski dimension of Ω:where denotes the volume (i.e., total length) of the inner tubular neighborhood of with radius ε given by According to [
8] (Theorem 1.10) (see also [
2]), the abscissa of convergence
of a fractal string
coincides with the dimension
of
:
.
Definition 2. Suppose has a meromorphic continuation to the entire complex plane. Then the poles of are called the complex dimensions of .
Remark 1. While the theory of complex dimensions is developed in [5,6,7,8,9] for geometric zeta functions not necessarily having a meromorphic continuation to all of , the present paper only requires the simpler case considered in Definition 2 (which is the case, in particular, of all self-similar fractal strings). See also [10] for a recent survey of the theory of complex fractal dimensions. The geometric importance of the set of complex dimensions of a fractal string
with boundary
, which always includes its inner Minkowski dimension
, is justified because, for example, the complex dimensions appear in an essential way in the explicit formula for the volume
of the inner tubular neighborhood of the boundary
; see the corresponding “fractal tube formulas” obtained in Chapter 8 of [
8]. Accordingly, the complex dimensions give very detailed information about the intrinsic oscillations that are inherent to fractal geometries; see also Remark 2 below. The current paper, however, deals with the complex dimensions viewed only as a discrete subset of the complex plane, and the focus is on the special type of fractal strings that are constructed through an iterative process involving scaling, as is discussed in
Section 2.1.
Remark 2. In [5,6,7,8] (when ) and in [9,10] (when the integer is arbitrary), a geometric object is said to be fractal if it has at least one nonreal complex dimension (It then has at least two nonreal complex dimensions since, clearly, nonreal complex dimensions come in complex conjugate pairs). This definition applies to fractal strings (including all self-similar strings, which are shown to be fractal in this sense) (In fact, self-similar strings have infinitely many nonreal complex dimensions; see, e.g., Equation (2.37) in [8] (Theorem 2.16).), that correspond to the case, and to bounded subsets of (for any integer ) as well as, more generally, to relative fractal drums, which are natural higher-dimensional counterparts of fractal strings. 2.1. Self-Similar Fractal Strings
Let
I be a connected interval with length
L. Let
be
contraction similitudes with distinct scaling ratios
What this means is that for all
,
Assume that after having applied to
I each of the maps
in (
2), for
, the resulting images
do not overlap, except possibly at the endpoints, and that
.
These assumptions imply that the complement of the union,
, in
I consists of
K pairwise disjoint open intervals with lengths
called the first intervals. Note that the quantities
, called the gaps, along with the scaling ratios
, satisfy the equation
The process which was just described above is then repeated for each of the
M images
, for
, in (
3) in order to produce
additional pairwise disjoint open intervals in
I. Repeating this process ad infinitum yields countably many open intervals, which defines a fractal string
with bounded open set
given by the (necessarily disjoint) union of these open intervals. Any fractal string obtained in this manner is called a self-similar fractal string (or a self-similar string, in short).
Lapidus and van Frankenhuijsen have shown that the geometric zeta functions of self-similar fractal strings have meromorphic continuations to all of
; see Theorem 2.3 in Chapter 2 of [
8]. Specifically, the geometric zeta function
of any self-similar fractal string with scaling ratios
, gaps
, and total length
L is given by
Both the numerator and the denominator of the right-hand side of (
4) are special kinds of exponential polynomials, known as Dirichlet polynomials. Hence, as was done in [
6] and Chapter 3 of [
8], the more general situation of the sets of complex dimensions of Dirichlet polynomials is considered, as is next explained.
Definition 3. Given an integer , let , and let . The function given byis called a Dirichlet polynomial with scaling ratios and respective multiplicities . (In the geometric situation of a self-similar string discussed just above, and , while the ’s, with , correspond to the distinct scaling ratios, among the scaling ratios of . Hence, in particular, in this case, and, modulo a suitable abuse of notation, for each distinct scaling ratio , for , is indeed the multiplicity of ). Therefore, the set of complex dimensions of any self-similar fractal string is a subset of the set of complex dimensions of an associated Dirichlet polynomial
, as given in (
5). While, in general, some of the zeros of the denominator of the right-hand side of (
4) could be cancelled by the roots of its numerator (see [
8] (Section 2.3.3)), in the important special case of a single gap length (i.e., when
), the complex dimensions precisely coincide with the complex dimensions of
. This can be seen directly (in light of (
4)) or else by choosing the length
L of the interval to be the reciprocal of the single gap length, which simplifies the geometric zeta function in such a way that the numerator, on the right-hand side of (
4), is equal to 1; note that this rescaling has no effect on the complex dimensions. Hence, in that case, there are no cancellations, and all of the roots of
are complex dimensions.
The result in (
4) establishes a deep connection between the study of complex dimensions of self-similar fractal strings and that of the roots of Dirichlet polynomials which was gaining interest as early as the start of the nineteenth century; see, e.g., [
6,
7,
8,
17,
18], along with the relevant references therein.
In light of the discussion surrounding Equation (
4), it suffices to study more generally the sets of complex dimensions of Dirichlet polynomials, which will be the focus for the remainder of this paper. For the purpose of investigating the sets of complex dimensions of Dirichlet polynomials, it is assumed without any loss of generality that
and
in (
5). That is, in the remainder of this paper, we will only consider Dirichlet polynomials of the form
with
and
as in Definition 3.
2.2. Lattice/Nonlattice Dichotomy and Lattice String Approximation
Let
f be a Dirichlet polynomial, with distinct scaling ratios
and multiplicities
, given by (
6). Define the weights
of
f by
, for
.
Definition 4. A Dirichlet polynomial f is called lattice if is rational for , and it is called nonlattice otherwise. (Note that if , then f must be lattice because is rational).
It is straightforward to check that a Dirichlet polynomial
f is lattice if and only if there exists a (necessarily unique) real number
r in
, called the multiplicative generator of
f, and positive integers
, without common divisors, such that
for
. Put another way, the lattice case is when the rank of the additive group
equals 1, and the nonlattice case is when this rank is
.
Definition 5. The rank of a Dirichlet polynomial is defined to be the rank of the group G defined above. Then, is called generic nonlattice if the number N of distinct scaling ratios satisfies and is equal to the rank of ; furthermore, still of , it is said to be nongeneric nonlattice, otherwise. In other words, is generic nonlattice if and only if and are rationally independent.
Moreover, a self-similar fractal string is called (generic) nonlattice if its associated Dirichlet polynomial is (generic) nonlattice. A thorough description of the structure of the sets of complex dimensions of Dirichlet polynomials is provided by [
8] (Theorem 3.6). Some of the most relevant features to the current paper are as follows:
The set of complex dimensions of any Dirichlet polynomial is a subset of the horizontally bounded vertical strip
where
and
D are the unique real numbers satisfying the equations (If
, then the second sum on the left-hand side of (
7) is equal to zero, by convention).
respectively. These numbers satisfy the inequality
. If the multiplicities are positive integers, then the complex dimensions are symmetric about the real axis, the number
D defined above is positive, and it is the only real root of
f; furthermore, it is a simple root.
Remark 3. In the case of a self-similar string , the nonnegative number D does not exceed 1 and coincides with , the inner Minkowski dimension of : , in the notation introduced earlier for fractal strings.
2.2.1. Lattice Versus Nonlattice
If the Dirichlet polynomial (
6), with distinct scaling ratios
is lattice, then according to Definition 4, the associated real numbers
which are explicitly determined by the weights
are all rational. Therefore, there exist positive integers
such that
According to [
8] (Theorem 3.6), the complex dimensions of a lattice Dirichlet polynomial
lie periodically on finitely many vertical lines, and on each line they are separated by the positive number
called the oscillatory period of
.
More precisely, following the discussion surrounding [
8] (Equation (2.48), p. 58), the roots are computed by first rewriting
as a polynomial
of degree
in the complex variable
, where
is the multiplicative generator of
:
There are
roots of
, counted with multiplicity. Each one is of the form
where
, and it corresponds to a unique root of
, namely,
Therefore, given a lattice Dirichlet polynomial
f with oscillatory period
, there exist complex numbers
such that the set
of complex dimensions of
f is given by
where for
,
Now, let
f be a nonlattice Dirichlet polynomial given by
and with weights
. Then,
and at least one of the associated real numbers
is irrational; see Definition 4. Writing
and noting that not all of the associated real numbers in (
8) are rational, one sees that
cannot be expressed as a polynomial, which means that the approach which was just described above to compute the roots of a lattice Dirichlet polynomial is not applicable in the nonlattice case. Instead, the roots are approximated by a procedure developed by the two authors of [
5,
6,
7,
8]. The practicality of their procedure rests upon a long standing-problem in the theory of Diophantine approximations: namely, to efficiently generate infinitely many good rational approximations, with a common denominator, to a vector of real numbers with at least one irrational coordinate; see, e.g., [
19].
Using this approximation procedure, referred to in the current paper as the Lattice String Approximation algorithm (LSA algorithm for short), the authors of [
5,
6,
7,
8] showed that the set of complex dimensions of nonlattice Dirichlet polynomial equations exhibit continuously evolving periodic patterns; they say that the complex dimensions of nonlattice Dirichlet polynomials have a quasiperiodic pattern; see, e.g., Remark 3.7 in [
6] and Section 3.4 in [
8].
2.2.2. Lattice String Approximation
The LSA algorithm is based on the theory of Diophantine approximations, which deals with the approximation of real numbers by rational numbers. The main step of the algorithm replaces the real numbers
in (
8) with rational approximations having a common denominator. The resulting Dirichlet polynomial is lattice, and the roots of this resulting Dirichlet polynomial approximate the roots of (
11) in a very special way. Therefore, before stating Theorem 1 below, which provides the algorithm, the following lemma on simultaneous Diophantine approximation is stated; see, e.g., [
20] (Theorem 1A, p. 27). This well-known result is a generalization to several real numbers of Dirichlet us approximation theorem, itself a consequence of the pigeonhole principle.
Lemma 1. Let be a nonlattice Dirichlet polynomial with associated weights , where . Then, for every real number , there exist infinitely many vectors such thatfor all integers j such that and integers q such that . Moreover, as . Let
f be a nonlattice Dirichlet polynomial with associated real numbers as in (
8). If a real number
and positive integers
are computed such that
Q and the vector
satisfy inequality (
12), for each integer
, then the pair
is called a simultaneous Diophantine approximation to the associated real numbers in (
8) (In the standard literature, the denominator
q in a simultaneous Diophantine approximation also satisfies the inequality
in Lemma 1. However, since the proof of Theorem 1 does not use this estimate, we ignore this fact here and in the sequel). We are now ready to state the following key result ([
8] (Theorem 3.18, p. 34)).
Theorem 1 (M. L. Lapidus and M. van Frankenhuijsen; [
5,
6,
7,
8]).
Let be a nonlattice Dirichlet polynomial of the form (
6)
with scaling ratios and multiplicities , where (Recall that one must then have ; otherwise, one would be in the lattice case). Let , and let q and be as in Lemma 1 (except possibly without the condition ). Then, the Dirichlet polynomialis lattice with generator and oscillatory periodMoreover, for every approximation error , if s belongs to the ε-region of stability (of radius εCQ
p)thenwhereis the LSA constant of (Note that since , we have that here). Remark 4. For a fixed order of accuracy , we call a root of a lattice string approximation lying inside its ε-region of stability a stable root, and we say that is more stable than if the ε-region of stability of contains that of .
In summary, Theorem 1 says that a simultaneous Diophantine approximation
to the real numbers in (
8) determines a lattice string approximation
with the property that its values are close to the values of
, with prescribed approximation error
, within a region of stability with radius that is proportional to
; the smaller the approximation error, the smaller the region of stability. The implication of Theorem 1 is that the roots of
are almost periodically distributed. That is, given a lattice string approximation
to a nonlattice Dirichlet polynomial
, the roots of
are near the periodically distributed roots of
, for a certain number of periods. Then, the roots of
start to deviate from this periodic pattern, and a new periodic pattern, associated with a more stable lattice string approximation, gradually emerges; see ibid.
Before illustrating this discussion by means of several examples in
Section 4, we present our implementation of the LLL algorithm for simultaneous Diophantine approximations in the following section, which we will use in order to explore the roots of the more complicated Dirichlet polynomials with rank three or more.
3. Simultaneous Diophantine Approximations
In general, approximating the sets of complex dimensions of a nonlattice Dirichlet polynomial via the LSA algorithm requires a practical method for generating simultaneous Diophantine approximations. In 1982, A. K. Lenstra, H. W. Lenstra, and L. Lovász (or LLL, for brevity) presented in their paper [
11] the first polynomial-time algorithm to factor a nonzero polynomial
into irreducible factors in
. Specifically, the number of arithmetic operations needed is bounded by a constant multiple of
, where
n is the size of the input; see [
11] (Proposition 1.26). The authors of that paper showed that their algorithm, which is now commonly referred to as the LLL algorithm, can generate simultaneous Diophantine approximations; see Theorem 2 below. As suggested by Lapidus and van Frankenhuijsen in [
7] (p. 99), and then later in [
8] (Remark 3.38, p. 101), the current paper utilizes the LLL algorithm in order to generate lattice string approximations.
The present section gives an overview of the LLL algorithm, and explains how it can be used to generate simultaneous Diophantine approximations. For more detail on the LLL algorithm and the corresponding method of lattice basis reduction, the interested reader can consult the original paper [
11], together with Bremner’s book [
12], providing an introductory exposition of the algorithm.
3.1. Lattice Basis Reduction
Definition 6. Let n be a positive integer. A subset L of the n-dimensional real vector space is called a (full-rank) lattice if there exists a basis of such that The subset β is called a basis of L, and n is called the rank of L. Moreover, for each , letwhere for each , . Then, the determinant of L is defined by , where X is the matrix given by ; the matrix X is called the basis matrix of L for β. It readily follows from the following proposition that the positive number does not depend on the choice of basis, as is stated in Corollary 1 below.
Proposition 1. Let and be two bases of a lattice L of . Let X and Y be the basis matrices of L corresponding to the bases and , respectively. Then,for some matrix B with integer entries and determinant ; hence, either B or (if n is odd) belongs to . Proof. Since
, for each
, there exist integers
such that
This means that there exist
matrices
A and
B with integer entries given by
respectively, such that
and
. By substitution,
. Since
Y is invertible, it follows that
, and so
. Since
A and
B have integer entries, it follows that
, as desired. □
Corollary 1. Under the hypotheses and with the notation of Proposition 1, Therefore, the determinant of L, , is independent of the choice of the basis of L used to evaluate it.
Suppose that we are given a lattice
. In a shortest vector problem, one finds the shortest nonzero vector in
L. That is, one tries to compute
In the
-approximation version of such a problem, one finds a nonzero lattice vector of length at most
, for a given real number
. These types of problems have many applications in number theory and cryptography; see, e.g., [
12] (Chapters 7 and 9). No efficient algorithm is known to find the shortest vector in a lattice, or even just the length of the shortest vector. The LLL algorithm is the first polynomial-time algorithm to compute what is called an
-reduced basis for a given lattice; see [
11] (Proposition 1.26). Simply put, an
-reduced basis for a lattice
L is one with short vectors that are nearly orthogonal.
The α-Reduced Basis for a Lattice
Let
be a basis of
, and let
. For
, define
where, for
,
The vectors , called the Gram–Schmidt orthogonalization of , form an orthogonal basis of , and the numbers are called the Gram–Schmidt coefficients of the orthogonalization.
Definition 7. Let be a basis for a lattice , and let be its Gram–Schmidt orthogonalization with Gram–Schmidt coefficients , for . Furthermore, let α be such that . The basis β is said to be α-reduced if the following two conditions are satisfied:
- (i)
;
- (ii)
.
3.2. Simultaneous Diophantine Approximations via LLL
In this section, we discuss the key steps needed in order to generate lattice string approximations by using the LLL algorithm. Our implementation uses continued fractions, as opposed to using rational numbers with denominator equal to a power of 2, which was the approach used in [
21] (Remark 4.1, p. 177).
After having recalled a technical result from [
11] (Proposition 3.5 below), we state and prove the main result of [
11], from our present perspective, namely, Theorem 2. This result establishes the LLL algorithm as a useful tool for computing simultaneous Diophantine approximations to two or more real numbers.
Proposition 2 ([
11] (Proposition 1.6); as described, e.g., in [
12] (Proposition 4.6)).
Let be an α-reduced basis for a lattice , and let be its Gram–Schmidt orthogonalization. Then, the following three properties hold:
- (i)
;
- (ii)
;
- (iii)
.
Theorem 2 (A. K. Lenstra, H. W. Lenstra and L. Lovász, [
11] (Proposition 1.39); as described, e.g., in [
12] (Proposition 9.4) ).
Given rational numbers and δ satisfying , there exists a polynomial-time algorithm (called the LLL algorithm) which finds integers and such that Proof. Let
L be the lattice of rank
with basis matrix
Using the LLL Algorithm, generate a reduced basis for L, with reduction parameter . Then, if Y denotes the basis matrix of L for , Proposition 1 says that there exists an matrix C with integer entries such that .
That is, there exist
for
such that
Put
, and for
, put
. Then, It follows from the third inequality (i.e., from part (iii) in Proposition 2) that
Note that if
, then
, where
but that contradicts (
17). Upon replacing
by
, it can be assumed without loss of generality that
. Therefore, since the length of
is greater than or equal to any of the components of
,
so that
and hence,
This completes the main part of the proof of the theorem. Moreover, since the number of arithmetic operations needed by LLL is
, where
B is a constant that is explicitly determined from the rows of
X (see [
11] (Proposition 1.26)), we now have the desired polynomial-time algorithm. □
3.2.1. Description of Our Current Implementation
There have been a number of implementations of the LLL algorithm for generating simultaneous Diophantine approximations to a set of real numbers
aimed at generating approximations with bounded Dirichlet coefficient (see, e.g., [
21] (Definition 1.2, p. 168)) and prescribed quality; see, e.g., [
21,
22]. The first known practical algorithm for generating simultaneous Diophantine approximations was given by Jacobi in [
23]. See [
24] for a general review of the problem of simultaneous Diophantine approximation, including some of the algorithms proposed after Jacobi’s algorithm. Our implementation is focused on computing sequences of increasingly accurate simultaneous Diophantine approximations.
Any practical implementation of the LLL algorithm uses rational numbers. For example, in an iterative version of the LLL algorithm from [
21], which finds higher-dimensional simultaneous Diophantine approximations (see [
20] (Chapter 2, Theorem 1E)), all of the irrational numbers in their implementation are approximated by rational numbers with denominator
, for some
(i.e., by dyadic numbers). Our implementation follows the one in [
12] (Section 9.2) and uses the continued fraction process (see, e.g., [
20] (Chapter 1)), which generates, for any real number
, an infinite sequence of “reduced fractions”
that approximate
. Each rational number
is called the
convergent to
, and it is a well-known fact that every convergent
to
satisfies the inequality
see, e.g., [
20] (Chapter 1). Therefore, since
(see the proof of [
20] (Chapter 1, Lemma 4D)), for any real number
, there exists
such that the ordered pair
Q,
satisfies inequality (
12) from Lemma 1, and thus forms a simultaneous Diophantine approximation to
; see the paragraph preceding the statement of Theorem 1.
Denote the
convergent to the real number
by
We start by initializing
(close to 1) and a positive integer
, which together determine the step-size
, and then proceed to generate the first convergents
to the real numbers in (
18) via the continued fraction process. Then, as in the proof of Theorem 2, we take the convergents in (
19) along with the current value of
, and use them both to generate integers
that satisfy each of the inequalities in (
16).
For each
, define the errors
We distinguish two cases.
- Case 1.
If
then the simultaneous Diophantine approximation
to the real numbers in (
18) is obtained, and the entire process is repeated after replacing
with
. Note that since
and
, we have that
so that
. In this case, we say that none of the rational approximations
can distinguish between the convergent
, and the real number
.
- Case 2.
For each
with
, the convergent
is updated to the next convergent
, which is closer to
. With the current value of
and the updated convergents, a new set of integers
satisfying the inequalities in (
16) is achieved, and we check whether we are still in Case 2. Since
is fixed, this process of updating convergents and checking will eventually terminate because the denominators of the continued fractions tend to infinity, putting us back in Case 1, and therefore yielding another simultaneous Diophantine approximation; see
Table 1.
Remark 5. We choose to use the continued fraction process in our implementation because it is very efficient. Specifically, each convergent is best possible (a rational number is a best possible approximation of a real number α if does not decrease if is replaced by another rational number written in reduced form and with a smaller denominator), and in principle, the continued fraction process is identical to the Euclidean algorithm. We also note that our implementation extends the one from [12] because it finds a sequence of meaningful simultaneous Diophantine approximations, in the sense described in Case 1 and Case 2 above. While it is true that the rational implementation in [21] also finds meaningful approximations, it does not use the continued fraction process. 4. The Quasiperiodic Patterns in the Nonlattice Case
Using the LSA algorithm, together with our implementation of the LLL algorithm for simultaneous Diophantine approximation (see
Section 3.2.1), and the multiprecision polynomial solver MPSolve, which is due to D. A. Bini, G. Fiorentino and L. Robol [
13,
14], we study examples of nonlattice Dirichlet polynomials previously studied in, e.g., [
6,
8], as well as several new examples, all aimed at illustrating the discussion in the first paragraph, following the statement of Theorem 1, which describes how the quasiperiodic patterns from the complex dimensions of nonlattice Dirichlet polynomials begin to emerge.
The visual exploration of the quasiperiodic patterns in this section extend those from the previous works by the two authors of [
5,
6,
7,
8]; see, especially [
8] (Figure 3.6, p.87), ref. [
6] (Figure 9, p.62), and also [
8] (Figure 3.2, p. 71), along with the associated examples, which show the roots of several lattice string approximations to nonlattice Dirichlet polynomials in sequence, and illustrate the emergence of a quasiperiodic pattern. Our approach starts by taking the best lattice string approximation
that we can compute to a nonlattice Dirichlet polynomial
, where, by “best”, we mean having the largest
-region of stability. We then compute the roots of
, using the complex version of Newton’s method with the stable roots of
as initial guesses, up to a region large enough to include several periods of stable roots from a few increasingly good lattice string approximations (All of the applications of the LSA algorithm to the examples given in
Section 4 use
. While this approximation error is small enough to separate the roots of
vertically, it does not separate them horizontally. Therefore, it is possible that we miss some roots when applying Newton’s method. In any case, the roots which we obtain suffice to show the emergence of a quasiperiodic pattern, which is the central aim of this section). By plotting the roots of these lattice string approximations against the roots of
, we show how the roots of
are near the roots of each approximation for a certain number of periods of that approximation (sometimes, only for a fraction of a period), and how they eventually start to move away from those roots. We also show plots of the best lattice string approximations that we computed, giving an impression of the quasiperiodic pattern on a larger scale; compare with [
8] (Figure 3.7, p. 88). We also present an especially crafted nonlattice Dirichlet polynomial whose roots exhibit a global structure which has not been observed before.
If the rank of the additive group
G corresponding to a nonlattice Dirichlet polynomial
is equal to two, we can use the continued fraction process alone in order to generate lattice string approximations to
. Otherwise, the rank is more than two, and we turn to our implementation of the LLL algorithm for simultaneous Diophantine approximation. In any case, we plot the roots of a lattice string approximation
corresponding to the simultaneous Diophantine approximation given by the pair
Q,
by computing the roots of an associated polynomial in
with degree
, and which is typically sparse; see the discussion surrounding the equation in (
9) from
Section 2.2.1. In
Section 4.2, we show both generic and nongeneric nonlattice examples with rank two, and in
Section 4.3, we show generic and nongeneric nonlattice examples with rank three or more. In practice, lattice string approximations with at least one period of stable roots correspond to polynomials with very large degree. Consequently, it takes a significant amount of computing power to implement the approach described above. In [
8], (Section 3.8), the first two authors of the present paper state: “The maximal degree 5000 is the limit of computation: It took several hours with our software on a Sun workstation to compute the golden diagram, which involved solving a polynomial equation of degree 4181. However, finding the roots of the polynomial is the most time-consuming part of the computation. Since these polynomials contain only a few monomials, there may exist ways to speed up this part of the computation.” In the current paper, using MPSolve and the high performance computer ELSA at the third author’s institution, the maximal degree 300,000 k is now our limit.
In the present paper, we are careful about the combination of scaling ratios and multiplicities from a nonlattice Dirichlet polynomial . Indeed, if they are not balanced properly, even the best lattice string approximations that we would be able to compute will have very few stable roots. Specifically, there is still the issue of the size of the LSA constant C in the radius of the -region of stability, and which in some cases can be smaller than the reciprocal of Q. Therefore, we pay special attention to the LSA constant C and show how to reverse engineer examples with C being not too small. Hence, not only do we provide a new implementation of the LLL algorithm that enables us to deal with more complicated examples, but we also give a “starter-kit” for the interested reader to explore the quasiperiodic patterns of nonlattice Dirichlet polynomials.
4.1. A Special Class of Nonlattice Dirichlet Polynomials
Let
be a nonlattice Dirichlet polynomial, which is associated to the real numbers
explicitly determined from the scaling ratios of
. Setting
and
, for all
, we write
Recall that each simultaneous Diophantine approximation given by the ordered pair
Q,
to the real numbers
, such that
approximates
, for all integers
j such that
, determines the lattice string approximation
to
, and that for any approximation error
, the radius of the
-region of stability
of
is
, where
is the LSA constant of
from Theorem 1, and
is the oscillatory period of
.
Consider the class of nonlattice Dirichlet polynomials of the form
where
and
. Note that
and that since
is nonlattice,
is irrational, for some integer
j such that
. All of the examples of nonlattice Dirichlet polynomials shown in [
5,
6,
7,
8] are of the form (
22), except for both the scaled and unscaled versions of the example in [
8] (Example 3.55, p. 113). The following new theorem provides infinitely many nonlattice Dirichlet polynomials of the form (
22), with LSA constant arbitrarily close to
.
Theorem 3. Let be a rank two nonlattice Dirichlet polynomial of the form (22). Then, the LSA constant of is given bywhere . Moreover, For any , there exists a nonlattice Dirichlet polynomial of the form (22) with LSA constant C satisfying the inequality . Proof. The formula for
C is found by a direct substitution; see Equation (
14) in Theorem 1 above. By requiring that
, we have
Since we can always manufacture a nonlattice Dirichlet polynomial of the form (
22), with
arbitrarily close to zero and
arbitrarily close to 2 from the right, the theorem follows. □
4.2. Rank Two Examples
Recall from Definition 5 that the rank of a nonlattice Dirichlet polynomial
is equal to the number of rationally independent numbers in the set
If the rank is equal to two, then exactly one of the associated real numbers in (
21) is irrational, and we can use the continued fraction process to generate lattice string approximations to
:
Suppose that only
is irrational. We start by computing a convergent
to
, and then we modify the remaining real numbers (which are all rational) so that they have denominator
b. Then, we obtain the simultaneous Diophantine approximation given by the pair
Q,
to the real numbers in (
21), where
,
,
and
Finally, we obtain the lattice sting approximation
with generator
and oscillatory period
.
Otherwise, the rank is greater than two (since
is nonlattice), and in that case we use the LLL algorithm in order to generate lattice string approximations; examples with rank greater than two are discussed in
Section 4.3.
For any lattice string approximation
to a nonlattice Dirichlet polynomial
, we define
4.2.1. The 2-3 and the Golden Polynomial
Example 1. The 2-3 polynomialfrom, e.g., [8] (Section 2.3.5, pp. 49–50 and Section 3.8, pp. 115, 117), has scaling ratios , and multiplicities . It is also of the form (22), with and . Table 2 shows data for several lattice string approximations to the 2-3 polynomial. For example, the lattice string approximationhas about three periods of stable roots, and it is determined from the simultaneous Diophantine approximation given by the pair , to the real number . Note that the best lattice string approximation to the 2-3 polynomial obtained in [6,8] comes from the convergent , and does not even have one full period of stable roots. Figure 1 shows how the roots of the 2-3 polynomial (marked with dots) are near the roots of (marked with circles), and how they eventually start to move away from them. Notice that the point at which the roots of the 2-3 polynomial start to move away from the roots of the lattice string approximation agrees with the theoretical prediction from [8]; see Theorem 1. We also observe that the roots seem to stay close to the roots of for much longer near the extreme vertical lines and . We do not have an explanation for this phenomenon, which occurs in all of the examples discussed in the current paper. In fact, Example 3 below shows the roots of a lattice string approximation staying close to a third line. Figure 2 displays stable roots of the lattice string approximation , giving an impression of the quasiperiodic pattern on a larger scale. We note that large scale plots like the ones in Figure 2 were provided for only three out of the ten rank two examples from [6,8]. In the sequel, we will exhibit additional plots of this kind, and arising from far better lattice string approximations. Furthermore, these plots suggest that the patterns from the roots of very good lattice string approximations lie in a wide spectrum, all the way from highly disordered to regular; compare, especially, Figure 2 with Figure 9. Example 2. The golden polynomialfrom, e.g., [8] (Section 2.3.5, pp. 49, 51–52, 53, and Section 3.6, pp. 104–106), has scaling ratios , and multiplicities , where denotes the golden ratio. It is also of the form (22), with and ; see also the golden+ polynomial in, e.g., [8] (Section 3.2.2, pp. 73–74). We compute lattice string approximations to the golden polynomial by generating convergents to the golden ratio. One way to do this, aside from using the continued fraction process, is to take the Fibonacci numbersand divide each one, starting with the second, by the preceding number. Table 3 shows data for several lattice string approximations to the golden polynomial. Notice that we obtain fewer lattice string approximations to the golden polynomial with at least one period of stable roots than we did for the 2-3 polynomial in Example 1. On the other hand, our best lattice string approximation to the golden polynomial has roots that are stable for about twenty seven periods, whereas for the 2-3 polynomial studied in Example 1, our best one has roots that are stable for about sixteen periods. Figure 3 shows how the roots of the golden polynomial (marked with dots) are near the roots of the lattice string approximations (marked with circles) and (marked with diamonds), and how they eventually start to move away from them. We see again that the point at which the roots of the golden polynomial start to move away from the roots of and is consistent with the theoretical prediction. Figure 4 shows stable roots of the lattice string approximation , giving an impression of the quasiperiodic pattern on a larger scale. Observe how the roots constitute a slightly less regular pattern than the one in Figure 2. Furthermore, we note that the best lattice string approximation to the golden polynomial in [6,8] was determined from the convergent to the golden ratio ϕ. Example 3. Consider the nongeneric nonlattice Dirichlet polynomial This example was inspired by the 2-3-4-6 polynomialfrom [8] (Section 3.7.1, pp. 113, 115–116), which is of the form (22), with , , , and , , . The LSA constant of is of the order of , rendering the quasiperiodic pattern of its roots difficult to explore via the LSA algorithm. By scaling the multiplicities , , by a factor of , we obtain the nongeneric nonlattice Dirichlet polynomial , with LSA constant , calculated by using the formula (23) in Theorem 3. As a result, we obtain a more tractable version of the 2-3-4-6 polynomial. Table 4 shows data for several lattice string approximations to , and just like for the 2-3 polynomial in Example 1, we generate lattice string approximations by approximating . We note, however, that they are not as good as the ones from Table 2 because the LSA constant is smaller. Figure 5 displays the roots of moving away from the roots of . We again observe that the roots remain close to the roots of near the two extreme vertical lines and , as shown in parts (a) and (c) of Figure 5, respectively. However, we see in part (b) of Figure 5 some of the roots staying close to a third line, . Figure 6 shows one period of stable roots of the lattice string approximation , giving an impression of two distinct quasiperiodic patterns on each side of the vertical line . Note that while the part to the left is smaller than the part on the right, both parts consist of roughly the same number of roots, which may be inferred by observing that the roots in the left part seem to be more densely distributed than the ones in the right part. 4.3. Rank Three or More Examples
In this section, we discuss examples with rank greater than two, which make use of our implementation of the LLL algorithm. While the authors of [
6,
8] did show two examples with rank greater than two, specifically, the 2-3-5 polynomial of rank three from, e.g., [
8] (Section 3.6, pp. 108–109) and the 2-3-5-7 polynomial of rank four from [
8] (Section 3.7.1, pp. 113–114), the visual presentation of the roots was severely limited, due to the absence of tools like the LLL algorithm and MPSolve. Here, we plot the roots of the 2-3-5-7 polynomial, and also the roots of two new examples, all of which are of the form (
22).
Recall that generating lattice string approximations to nonlattice Dirichlet polynomials with rank greater than two means generating simultaneous Diophantine approximations to two or more real numbers. The naive approach is to build off the process described in the second to last paragraph before
Section 4.2.1, and simply generate a convergent to each irrational number and then find a common denominator. However, this process is extremely inefficient.
Example 4. The 2-3-5-7 polynomialfrom [8] (Section 3.7.1, pp. 113–114) is a generic nonlattice example with rank four. It is of the form (22), with LSA constant . Table 5 shows the data for the lattice string approximations we computed, and we note that with such a small LSA constant, and because the LLL algorithm is not as efficient as the continued fraction process, we cannot even get a single lattice string approximation with roots that are stable for at least one period. Figure 7 and Figure 8 show the roots of each lattice string approximation from Table 5. Example 5. The 3-4-13 polynomialis a generic nonlattice example with rank three. It is of the form (22), with LSA constant ; see Table 6 for the data on the lattice string approximations we computed. Figure 9 displays the roots of the lattice string approximation . Observe how irregular the roots are, when compared to the other examples shown in the rest of Section 4. Furthermore, note the dense pocket of roots near the imaginary axis. Example 6. Let be an irrational number, and consider the nonlattice Dirichlet polynomialwhere is irrational, , and . Choosing , , and , we obtain a nongeneric nonlattice Dirichlet polynomial of the form (22), with rank three and with LSA constant ; see Table 7 for data on the lattice string approximations we computed. Figure 10 shows plots of the roots of two lattice string approximations, giving a totally new large scale impression of the quasiperiodic pattern. Figure 11 shows the roots of lattice string approximations moving away from the roots of . 5. Concluding Remarks
We close this paper by a few comments concerning future research directions motivated, in part, by the present work and by earlier work in [
8] (Chapter 3) (about the quasiperiodic patterns of the complex dimensions of nonlattice self-similar fractal strings), as well as by [
15]. We limit ourselves here to a few questions concerning those matters.
While this is not a topic discussed in the present paper, it is worthwhile to mention that the LSA algorithm from [
5,
6,
7,
8] also establishes a deep connection to the theory of mathematical quasicrystals; for such quasicrystals, see, e.g., [
15,
25,
26,
27,
28], and the relevant references therein. See also, especially, the open problem formulated in [
8] (Problem 3.22, restated in Problem 1 below) asking to view the quasiperiodic set of complex dimensions of a nonlattice self-similar string (or, more generally, the set of zeros of a nonlattice Dirichlet polynomial) as a generalized mathematical quasicrystal; this problem was recently addressed by the third author in their Ph. D. thesis (see Chapter 4 of [
29]), and it will be the topic of a future joint paper [
30].
Problem 1. ([
7] (p. 86), ref. [
8] (Problem 3.22, p. 89)).
Is there a natural way in which the quasiperiodic pattern of the sets of complex dimensions of nonlattice Dirichlet polynomials can be understood in terms of a notion of a suitable (generalized) quasicrystal or of an associated quasiperiodic tiling? Generalized quasicrystals of complex dimensions also play an important role in a related, but significantly more general context, in the book by the first author, [
15].
Aspects of Theorem 1 ([
8] (Theorem 3.18, p. 84)) need to be refined. While this theorem is very helpful, in particular, for explaining when the roots of
start to move away from the roots of a lattice string approximation, it does not explain why they stay close near certain lines for much longer. This would suggest, among other things, that the density results and plots concerning the roots of nonlattice Dirichlet polynomials obtained in [
8] (Section 3.6) can be improved, at least in certain cases.
Along similar lines, can we explain the observations made in Example 3 regarding the concentration of the roots near the extreme vertical lines
and
, as well as near a third vertical line (here, the line
); see, especially,
Figure 5. How general is this phenomenon?
Another, rather puzzling, phenomenon is the appearance in both parts of
Figure 10 (about Example 6) of very regular patterns and shapes. Can we find a good mathematical explanation for this new phenomenon? Furthermore, can we predict when related phenomena will arise and what types of shapes or patterns can be expected?
Based on the quasiperiodic patterns described in
Section 4 of the present paper, it seems reasonable to expect that the patterns for the roots of a nonlattice Dirichlet polynomial exhibit the property of repetitivity often used to qualify one of the features of mathematical quasicrystals; see, e.g., [
25,
26,
27,
28], Appendix F of [
15] and the relevant references therein. It would be interesting to precisely formulate and then prove the corresponding statement in our present situation, at least for a suitable class of nonlattice Dirichlet polynomials (and, in particular, of nonlattice self-similar fractal strings). One may also ask a similar question regarding the property of finite local complexity; for the latter geometric property, see, e.g., ibid, including [
27] (Definition 1.2).
Understanding the diffraction measures and patterns of sets of roots of lattice and, eventually, of nonlattice, Dirichlet polynomials is the object of two papers in preparation by the authors ([
30], along with its sequel). For now, our main result in this context, to be discussed in [
30], concerns the lattice case. However, a conjecture of the first author, along with the LSA algorithm from [
8] (described in Theorem 1 above), may likely provide a clue as to what the general nonlattice case should entail. The numerical and graphical results obtained in the present work should also be helpful in this endeavor.