This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

A Cobham theorem for scalar multiplication

Philipp Hieronymi Mathematical Institute
University of Bonn
Endenicher Allee 60
53115 Bonn
Germany
hieronymi@math.uni-bonn.de
Sven Manthe Mathematical Institute
University of Bonn
Endenicher Allee 60
53115 Bonn
Germany
sven.manthe@uni-bonn.de
 and  Chris Schulz Department of Pure Mathematics
200 University Avenue West
Waterloo, Ontario
N2L 3G1
Canada
chris.schulz@uwaterloo.ca
Abstract.

Let α,β>0\alpha,\beta\in\mathbb{R}_{>0} be such that α,β\alpha,\beta are quadratic and (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta). Then every subset of n\mathbb{R}^{n} definable in both (,<,+,,xαx)(\mathbb{R},{<},+,\mathbb{Z},x\mapsto\alpha x) and (,<,+,,xβx)(\mathbb{R},{<},+,\mathbb{Z},x\mapsto\beta x) is already definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). As a consequence we generalize Cobham-Semënov theorems for sets of real numbers to β\beta-numeration systems, where β\beta is a quadratic irrational.

1. Introduction

This paper is part of a larger enterprise to study expansions of the structure (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}) by fragments of multiplication. As an easy consequence of Büchi’s theorem on the decidability of the monadic second-order theory of one successor [12], the first-order theory of (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}) is known to be decidable. Arguably due to Skolem [36], but later independently rediscovered by Weispfenning [37] and Miller [29], it has quantifier-elimination in the larger signature expanded by function symbols for the floor function and xqxx\mapsto qx for each qq\in\mathbb{Q}. These results haven been implemented and used in algorithm verification of properties of reactive and hybrid systems, see for example [2, 8, 18, 34]. Therefore it is only natural to consider more expressive expansions of this structure, in particular by fragments of multiplication. Gödel’s famous first incompleteness theorem obviously implies that expanding (,<,+,)(\mathbb{R},<,+,\mathbb{Z}) by a symbol for multiplication on \mathbb{R} results in an structure with an undecidable theory. However, even substantially smaller fragments of multiplication yield undecidability. Let α\alpha be a real number and let α\mathcal{R}_{\alpha} denote the structure (,<,+,,xαx)(\mathbb{R},{<},+,\mathbb{Z},x\mapsto\alpha x). By [21, Theorem A] the first-order theory of α\mathcal{R}_{\alpha} is only decidable when α\alpha is a quadratic number, that is, a solution to a quadratic polynomial equation with integer coefficients. Thus studying α\mathcal{R}_{\alpha} and its reducts and fragments has become an active area of research, in particular when α\alpha is quadratic (see for example [23, 22, 25]). Here, we answer a question raised in [20, Question 6]. Throughout this paper we follow the convention common in theoretical computer science that definability means definability without parameters.

Theorem A.

Let α,β>0\alpha,\beta\in\mathbb{R}_{>0} be such that α,β\alpha,\beta are quadratic and (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta), and let XnX\subseteq\mathbb{R}^{n} be definable in both α\mathcal{R}_{\alpha} and β\mathcal{R}_{\beta}. Then XX is definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}).

By Hieronymi and Tychoniviech [24] the structure (,<,+,,xαx,xβx)(\mathbb{R},{<},+,\mathbb{Z},x\mapsto\alpha x,x\mapsto\beta x) defines with parameters multiplication on \mathbb{R} whenever 1,α,β1,\alpha,\beta are \mathbb{Q}-linearly independent, and hence defines with parameters every projective set in the sense of descriptive set theory. It follows by quantifying over parameters needed to define multiplication that the first-order theory of the structure is undecidable and that every arithmetical subset of n\mathbb{N}^{n} is definable without parameters. Thus the structure generated by sets definable in either α\mathcal{R}_{\alpha} or β\mathcal{R}_{\beta} is as logically complicated, as can be, while by our Theorem A the structure generated by all sets definable in both α\mathcal{R}_{\alpha} and β\mathcal{R}_{\beta} is as simple as it could be.

Theorem A can be seen as an analogue of Cobham’s theorem for scalar multiplication. Indeed, as we explain now, the connection is much stronger and more direct than it might appear. The famous theorems of Cobham [16] and Semënov [35] state that for multiplicatively independent k,>1k,\ell\in\mathbb{N}_{>1} every subset of n\mathbb{N}^{n} that is both kk- and \ell-recognizable is already definable in (,+)(\mathbb{N},+). This result has been generalized in many direction, both in terms of numeration systems and in terms of the underlying domain \mathbb{N}. See Durand and Rigo [17] for a survey. A Pisot number is a real algebraic integer greater than 1 all whose Galois conjugates are less than 1 in absolute value. Bès [3] shows that for multiplicatively independent Pisot numbers α,β\alpha,\beta, and for two linear numeration system UU, UU^{\prime} whose characteristic polynomials are the minimal polynomials of α\alpha and β\beta respectively, a subset of n\mathbb{N}^{n} that is both UU- and UU^{\prime}-recognizable is definable in (,+)(\mathbb{N},+). Boigelot et al [6, 7] extend the Cobham-Semënov theorem to subsets of \mathbb{R} showing that for multiplicatively independent k,>1k,\ell\in\mathbb{N}_{>1} every subset of n\mathbb{R}^{n} that is both weakly kk- and weakly \ell-recognizable is already definable in (,<,+,)(\mathbb{R},<,+,\mathbb{Z}). In this setting over \mathbb{R}, it is natural to consider so-called β\beta-numeration systems introduced by Rényi [31], in which the usual integer base kk is replaced by a real number β\beta larger than 11. For details, see [28, Chapter 7]. Charlier et al [14] introduce the corresponding notion of β\beta-recognizability. Here we prove an extension of the results from [6, 7] to such numeration systems.

Theorem B.

Let α,β>1\alpha,\beta\in\mathbb{R}_{>1} be multiplicatively independent irrational Pisot numbers such that (α)(β)=\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q}, and let X[0,1]dX\subseteq[0,1]^{d} be both α\alpha- and β\beta-recognizable. Then XX is definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}).

Theorem B at least partially answers a question of Rigo [32, p. 48]. When α,β\alpha,\beta are quadratic, we have that (α)(β)=\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q} if and only if (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta). Moreover, in this situation α\alpha and β\beta are multiplicatively independent (see Fact 2.11 for a proof). Thus in order to deduce Theorem A from Theorem B, we need to reduce to the bounded case and establish the equivalence of α\alpha-recognizability and definability in α\mathcal{R}_{\alpha}. Various results showing the equivalence between recognizability and definability exist and often go back to Büchi’s original work. For example, see Bruyère et al [11] and Boigelot et al [9] for the equivalence between kk-recognizable and kk-definable for kk\in\mathbb{N}. The equivalence between β\beta-recognizability and β\beta-definability for Pisot numbers is established in [14, Theorem 16 & 22], but no argument is made there that their notion of β\beta-definability corresponds to definability in β\mathcal{R}_{\beta}. Here we provide this extra argument in Theorem 4.4, showing how α\alpha-recognizability corresponds to definability in α\mathcal{R}_{\alpha} for quadratic irrational α\alpha. Indeed, we also show that these notions of recognizability and definability coincide with notions of recognizability using Ostrowski numeration systems instead of β\beta-numeration systems. This should be of interest in its own right, as it explains the connection between the a priori unrelated work in [14] and [20].

There is a subtlety regarding recognizability that we need to address in this setting. In [9] a positive real number in kk-ary is encoded as an infinite word over {0,,k1}{}\{0,\dots,k-1\}\cup\{\star\}, where \star serves as the radix point111For ease of exposition, we don’t worry here about the encoding of negative numbers.. Loosely speaking, a positive real number aa such that

a=bmkm++b1k+b0+b1k1+,a=b_{m}k^{m}+\dots+b_{1}k+b_{0}+b_{-1}k^{-1}+\dots,

is encoded as the infinite word bmb1b0b1b_{m}\cdots b_{1}b_{0}\star b_{-1}\cdots. Thus in this setup the integer part of aa and the fractional part of aa are read sequentially. However, there are also encodings that read the integer part and the fractional part in parallel. Such an encoding is used for example in Chaudhuri et al [15]. Here, the above real number aa corresponds to the infinite word

(b0,b1)(b1,b2)(bm,b(m+1))(0,b(m+2))(b_{0},b_{-1})(b_{1},b_{-2})\cdots(b_{m},b_{-(m+1)})(0,b_{-(m+2)})\cdots

over the alphabet {0,,k1}2\{0,\dots,k-1\}^{2}. The second encoding is strictly more expressive, as the function mapping kik^{i} to kik^{-i} is recognizable using this parallel encoding. In previous work this difference has not been addressed, but here it becomes necessary as definability in α\mathcal{R}_{\alpha} corresponds to recognizability using the stronger parallel encoding. The precise definitions of these two different notions of recognizability are given in Section 3 of this paper.

Following the argument in [6] we want to reduce Theorem A to the special cases that XdX\subseteq\mathbb{Z}^{d} or X[0,1]dX\subseteq[0,1]^{d}. In [6, Section 4.1] the corresponding argument uses special properties of kk- and \ell-recognizable sets. In Proposition 2.14 we will establish a more general definability criterion and use it instead. This is closely connected to recent work of Bès and Choffrut [4, 5]. To reduce Theorem A to Theorem B, it is left to show that Theorem A holds when XdX\subseteq\mathbb{Z}^{d}. This is achieved in Section 6 by adjusting the main argument from [3].

The proof of Theorem B itself is similar to the one for integer bases in [6, 7]. However, in [6, Lemma 6.3] ultimate periodicity of certain sufficiently tame sets is obtained from Cobham’s theorem. Although we prove a similar result in Theorem 6.1, the reduction does not work in our case as the set of natural numbers cannot be described easily in terms of α\alpha-power representations when α\alpha is irrational. Thus, a more complicated argument for periodicity is required, given here in the proof of Proposition 5.6. It is also worth pointing out that in the case of integer bases Cobham’s theorem for multiplicatively independent bases is only obtained for weakly recognizable sets [6, Theorem 3.3], and the result for general recognizable sets [6, Theorem 3.4] needs the stronger assumption that the integer bases have different sets of prime factors. If r,s>1r,s\in\mathbb{N}_{>1} are multiplicatively independent, then s1s^{-1} has an ultimately periodic rr-representation, and the assumption on prime factors ensures that the period lengths of sns^{-n} are unbounded (see [6, Lemma 6.6]). In contrast, when (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta), then β1\beta^{-1} has no ultimately periodic α\alpha-representation, simplifying the proof of our analogue of [6, Property 6.7]. Our assumption (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta) also is strictly stronger than multiplicative independence, but optimal in the sense that no version of our result holds for (α)=(β)\mathbb{Q}(\alpha)=\mathbb{Q}(\beta).

One last comment about the proof: the analogue of Semënov’s theorem for subsets of n\mathbb{R}^{n} is proved in [7], using ideas from [6]. We do not follow the argument in [7], but rather combine [7, Section 3.2] more directly with the argument in [6] in our Proposition 5.4.

Acknowledgments

P.H. and S.M. were partially supported by the Hausdorff Center for Mathematics at the University of Bonn (DFG EXC 2047). P.H. and C.S. were partially supported by NSF grant DMS-1654725. We thank Alexis Bès for answering our question.

2. Preliminaries

In this section we recall preliminary results from automata theory, number theory and logic. Before we do so, we fix some notation.

Let XX be a set. We write #X\#X for the cardinality of XX. Let Σ\Sigma be an alphabet. Given a (possibly infinite word) ww over Σ\Sigma, we write wiw_{i} for the ii-th letter of ww, and |w||w| for the length of ww. We let Σ\Sigma^{*} denote the set of finite words over Σ\Sigma, and Σω\Sigma^{\omega} the set of infinite words over Σ\Sigma. For u1,,unΣωu_{1},\dots,u_{n}\in\Sigma^{\omega}, we define the convolution c(u1,,un)c(u_{1},\dots,u_{n}) as the element of (Σn)ω(\Sigma^{n})^{\omega} whose value at position ii is the nn-tuple consisting of the values of u1,,unu_{1},\dots,u_{n} at position ii. For i{1,,n}i\in\{1,\dots,n\}, the projection πi:(Σn)ωΣω\pi_{i}:(\Sigma^{n})^{\omega}\to\Sigma^{\omega} is the function that maps c(u1,,un)c(u_{1},\dots,u_{n}) to uiu_{i}.

2.1. ω\omega-regular languages

We recall some well-known definitions and results about ω\omega-regular languages. Proofs can be found for example in Khoussainov and Nerode [26].

A (non-deterministic) Muller automaton is a quintuple 𝒜=(Q,Σ,T,I,F)\mathcal{A}=(Q,\Sigma,T,I,F) with QQ a finite set of states, Σ\Sigma a finite alphabet, TQ×Σ×QT\subseteq Q\times\Sigma\times Q a transition relation, IQI\subseteq Q a set of initial states, and F2QF\subseteq 2^{Q} a set of acceptance conditions. Instead of (q1,s,q2)T(q_{1},s,q_{2})\in T we also write q1𝑠q2q_{1}\xrightarrow{s}q_{2}. An infinite word w=w0w1Σωw=w_{0}w_{1}\cdots\in\Sigma^{\omega} is accepted by 𝒜\mathcal{A} if there is a sequence (qn)nQ(q_{n})_{n\in\mathbb{N}}\in Q^{\mathbb{N}} of states such that q0Iq_{0}\in I, and qnwnqn+1q_{n}\xrightarrow{w_{n}}q_{n+1} for all nn\in\mathbb{N}, and {qQ:{n:qn=q} is infinite}F\left\{q\in Q:\left\{n:q_{n}=q\right\}\text{ is infinite}\right\}\in F. The language L(𝒜)L(\mathcal{A}) accepted by 𝒜\mathcal{A} is the set of words accepted by 𝒜\mathcal{A}.

Let 𝒜=(Q,Σ,T,I,F)\mathcal{A}=(Q,\Sigma,T,I,F) be a Muller automaton. We say 𝒜\mathcal{A} is Büchi automaton if there is CQC\subseteq Q such that

F={BQ:CB}.F=\left\{B\subseteq Q:C\subseteq B\right\}.

We say 𝒜\mathcal{A} is deterministic if #I1\#I\leq 1 and for all pQ,sΣp\in Q,s\in\Sigma there is at most one qQq\in Q with p𝑠qp\xrightarrow{s}q. We say 𝒜\mathcal{A} is total if #I1\#I\geq 1 and for all pQ,sΣp\in Q,s\in\Sigma there is at least one qQq\in Q with p𝑠qp\xrightarrow{s}q.

Let Σ\Sigma be an alphabet. An ω\omega-language KK is a subset of Σω\Sigma^{\omega}. For LΣL\subseteq\Sigma^{*}, we define the ω\omega-language

Lω:={v1v2v3:viL and |vi|>0 for each i},LK:={vw:vL,wK}.L^{\omega}:=\left\{v_{1}v_{2}v_{3}\cdots\ :\ v_{i}\in L\text{ and }\left|v_{i}\right|>0\text{ for each $i\in\mathbb{N}$}\right\},LK:=\left\{vw\ :\ v\in L,w\in K\right\}.
Fact 2.1.

Let LL be an ω\omega-language. Then the following are equivalent:

  1. (1)

    There is a Muller automaton 𝒜\mathcal{A} with L(𝒜)=LL(\mathcal{A})=L.

  2. (2)

    There is a total, deterministic Muller automaton 𝒜\mathcal{A} with L(𝒜)=LL(\mathcal{A})=L.

  3. (3)

    There is a total Büchi automaton 𝒜\mathcal{A} with L(𝒜)=LL(\mathcal{A})=L.

  4. (4)

    There are regular languages Ki,LiK_{i},L_{i} with L=i=1nKiLiωL=\bigcup_{i=1}^{n}K_{i}L_{i}^{\omega}.

In this case, LL is called ω\omega-regular.

Of crucial importance for this paper is the fact that ω\omega-regular languages are closed under the usual first-order logical operations.

Fact 2.2.

The collection of ω\omega-regular languages is stable under boolean combinations, convolutions and projections.

Fact 2.3.

Let K,LK,L be ω\omega-regular languages over Σ\Sigma. If K,LK,L contain the same ultimately periodic words, then K=LK=L.

Proof.

The case L=L=\emptyset follows immediately from Fact 2.1(4), and the general case by applying this case to the symmetric difference KLK\triangle L. ∎

2.2. Continued fractions

We recall some basic and well-known definitions and results about continued fractions. Except for the definition of Ostrowski representations of real numbers, all these results can be found in every basic textbook on continued fractions. We refer the reader to Rockett and Szüsz [33] for proofs of these results, simply because to the authors’ knowledge it is the only book discussing Ostrowski representations of real numbers in detail.

A finite continued fraction expansion [a0;a1,,ak][a_{0};a_{1},\dots,a_{k}] is an expression of the form

a0+1a1+1a2+1+1aka_{0}+\frac{1}{a_{1}+\frac{1}{a_{2}+\frac{1}{\ddots+\frac{1}{a_{k}}}}}

For a real number α\alpha, we say [a0;a1,,ak,][a_{0};a_{1},\dots,a_{k},\dots] is the continued fraction expansion of α\alpha if α=limk[a0;a1,,ak]\alpha=\lim_{k\to\infty}[a_{0};a_{1},\dots,a_{k}] and a0a_{0}\in\mathbb{Z}, ai>0a_{i}\in\mathbb{N}_{>0} for i>0i>0. For the rest of this subsection, fix a positive irrational real number α\alpha and assume that [a0;a1,,ak,][a_{0};a_{1},\dots,a_{k},\dots] is the continued fraction expansion of α\alpha.

Definition 2.4.

Let k1k\geq 1. We define pk/qkp_{k}/q_{k}\in\mathbb{Q} to be the kk-th convergent of α\alpha, that is the quotient pk/qkp_{k}/q_{k} where pkp_{k}\in\mathbb{N}, qkq_{k}\in\mathbb{Z}, gcd(pk,qk)=1\gcd(p_{k},q_{k})=1 and

pkqk=[a0;a1,,ak].\frac{p_{k}}{q_{k}}=[a_{0};a_{1},\dots,a_{k}].

The kk-th difference of α\alpha is defined as βk:=qkαpk\beta_{k}:=q_{k}\alpha-p_{k}. We define ζk\zeta_{k}\in\mathbb{R} to be the kk-th complete quotient of α\alpha, that is ζk=[ak;ak+1,ak+2,]\zeta_{k}=[a_{k};a_{k+1},a_{k+2},\dots].

Maybe the most important fact about the convergents we will use, is that both their numerators and denominators satisfy the following recurrence relation.

Fact 2.5.

[33, Chapter I.1 p. 2] Let q1:=0q_{-1}:=0 and p1:=1p_{-1}:=1. Then q0=1q_{0}=1, p0=a0p_{0}=a_{0} and for k0k\geq 0,

qk+1\displaystyle q_{k+1} =ak+1qk+qk1,\displaystyle=a_{k+1}\cdot q_{k}+q_{k-1},
pk+1\displaystyle p_{k+1} =ak+1pk+pk1.\displaystyle=a_{k+1}\cdot p_{k}+p_{k-1}.

We directly get that βk+1=ak+1βk+βk1\beta_{k+1}=a_{k+1}\beta_{k}+\beta_{k-1} for for k0k\geq 0. We will now introduce a numeration system due to Ostrowski [30].

Fact 2.6 ([33, Chapter II.4 p. 24]).

Let NN\in\mathbb{N}. Then NN can be written uniquely as

N=k=0nbk+1qk,N=\sum_{k=0}^{n}b_{k+1}q_{k},

where nn\in\mathbb{N} and the bkb_{k}’s are in \mathbb{N} such that b1<a1b_{1}<a_{1} and for all knk\in\mathbb{N}_{\leq n}, bkakb_{k}\leq a_{k} and, if bk=akb_{k}=a_{k}, then bk1=0b_{k-1}=0.

We call the representation of a natural number NN given by Fact 2.6 the normalized α\alpha-Ostrowski representation of NN. Of course, we will drop the reference to α\alpha whenever α\alpha is clear from the context. If φ\varphi is the golden ratio, the φ\varphi-Ostrowski representation is better known as the Zeckendorf representation, see Zeckendorf [38]. We will also need a similar representation of a real number.

Fact 2.7 ([33, Chapter II.6 Theorem 1]).

Let cc\in\mathbb{R} be such that 1ζ1c<11ζ1-\frac{1}{\zeta_{1}}\leq c<1-\frac{1}{\zeta_{1}}. Then cc can be written uniquely in the form

c=k=0bk+1βk,c=\sum_{k=0}^{\infty}b_{k+1}\beta_{k},

where bkb_{k}\in\mathbb{N}, 0b1<a10\leq b_{1}<a_{1}, 0bkak0\leq b_{k}\leq a_{k}, for k>1k>1, and bk=0b_{k}=0 if bk+1=ak+1b_{k+1}=a_{k+1}, and bk<akb_{k}<a_{k} for infinitely many odd kk.

We call the representation of cc given by Fact 2.7 the normalized α\alpha-Ostrowski representation of cc.

Fact 2.8 ([20, Fact 2.13]).

Let b,c[1ζ1,11ζ1)b,c\in[-\frac{1}{\zeta_{1}},1-\frac{1}{\zeta_{1}}) be such that bcb\neq c, and let b1,b2,,c1,c2,b_{1},b_{2},\dots,c_{1},c_{2},\ldots\in\mathbb{N} be such that k=0bk+1βk\sum_{k=0}^{\infty}b_{k+1}\beta_{k} and k=0ck+1βk\sum_{k=0}^{\infty}c_{k+1}\beta_{k} are the α\alpha-Ostrowski representations of bb and cc respectively. Let k>0k\in\mathbb{N}_{>0} be minimal such that bkckb_{k}\neq c_{k}. Then b<cb<c if and only if

  • (i)

    bk<ckb_{k}<c_{k} if kk is odd;

  • (ii)

    bk>ckb_{k}>c_{k} if kk is even.

2.3. Quadratic irrationals

Now suppose that α\alpha is quadratic. For kk\in\mathbb{N}, set Γk:=[ak110]\Gamma_{k}:=\begin{bmatrix}a_{k}&1\\ 1&0\end{bmatrix}. Note that by Fact 2.5

k=0mΓk=[pmpm1qmqm1].\prod_{k=0}^{m}\Gamma_{k}=\begin{bmatrix}p_{m}&p_{m-1}\\ q_{m}&q_{m-1}\end{bmatrix}.

By Lagrange’s theorem (see [33, Theorem III.2]) the continued fraction expansion of α\alpha is ultimately periodic. Let P(α)P(\alpha)\in\mathbb{N} be the minimal element of \mathbb{N} such that there is N(α)N(\alpha)\in\mathbb{N} with an=an+P(α)a_{n}=a_{n+P(\alpha)} for all natural numbers nN(α)n\geq N(\alpha). Set

Γα:=k=N(α)N(α)+P(α)1Γk.\Gamma_{\alpha}:=\prod_{k=N(\alpha)}^{N(\alpha)+P(\alpha)-1}\Gamma_{k}.

Observe that detΓα{1,1}\det\Gamma_{\alpha}\in\{-1,1\}. Let 𝒪α\mathcal{O}_{\alpha} be the ring of integers of (α)\mathbb{Q}(\alpha).

We now collect two surely well-known facts about Γα\Gamma_{\alpha}. Since we did not find exact references, we include the proofs for the convenience of the reader.

Fact 2.9.

The characteristic polynomial of Γα\Gamma_{\alpha} is the minimal polynomial of an element of 𝒪α×\mathcal{O}_{\alpha}^{\times}, whose roots have distinct absolute values. The eigenvalue with greatest absolute value is greater than 11.

Proof.

Since replacing α\alpha by some [0;ak,ak+1,][0;a_{k},a_{k+1},\dots] does neither change (α)\mathbb{Q}(\alpha) nor Γα\Gamma_{\alpha}, we can assume that the continued fraction expansion is purely periodic. Therefore

Γα=k=0P(α)1Γk=[pP(α)1pP(α)2qP(α)1qP(α)2].\Gamma_{\alpha}=\prod_{k=0}^{P(\alpha)-1}\Gamma_{k}=\begin{bmatrix}p_{P(\alpha)-1}&p_{P(\alpha)-2}\\ q_{P(\alpha)-1}&q_{P(\alpha)-2}\end{bmatrix}.

Thus the characteristic polynomial of Γα\Gamma_{\alpha} is

X2(qP(α)2+pP(α)1)X+(qP(α)1pP(α)2qP(α)2pP(α)1).X^{2}-(q_{P(\alpha)-2}+p_{P(\alpha)-1})X+(q_{P(\alpha)-1}p_{P(\alpha)-2}-q_{P(\alpha)-2}p_{P(\alpha)-1}).

As in the proof of [33, Ch. III, §1, Thm. 1] we conclude that α\alpha is a root of

qP(α)1X2+(qP(α)2pP(α)1)XpP(α)2=0.q_{P(\alpha)-1}X^{2}+(q_{P(\alpha)-2}-p_{P(\alpha)-1})X-p_{P(\alpha)-2}=0.

The discriminant of this polynomial equals

(qP(α)2pP(α)1)2+4qP(α)1pP(α)2=(qP(α)2+pP(α)1)2+4(qP(α)1pP(α)2qP(α)2pP(α)1).(q_{P(\alpha)-2}-p_{P(\alpha)-1})^{2}+4q_{P(\alpha)-1}p_{P(\alpha)-2}=(q_{P(\alpha)-2}+p_{P(\alpha)-1})^{2}+4(q_{P(\alpha)-1}p_{P(\alpha)-2}-q_{P(\alpha)-2}p_{P(\alpha)-1}).

Thus both polynomials have the same nonzero discriminant. Hence the characteristic polynomial of Γα\Gamma_{\alpha} has two distinct roots, both in (α)\mathbb{Q}(\alpha). Since (qP(α)2+pP(α)1)<0-(q_{P(\alpha)-2}+p_{P(\alpha)-1})<0, these two roots have distinct absolute values and the greater one is positive. ∎

In the following, Γα\left\lVert\Gamma_{\alpha}\right\rVert denotes the operator norm supv=1Γαv\sup_{\left\lVert v\right\rVert=1}\left\lVert\Gamma_{\alpha}v\right\rVert. Note that it equals the largest absolute value of an eigenvalue of Γα\Gamma_{\alpha}.

Fact 2.10.

Let kk\in\mathbb{N} be such that k<P(α)k<P(\alpha). Then there are mm\in\mathbb{N} and C,D,E(α)×C,D,E\in\mathbb{Q}(\alpha)^{\times} such that for all nmn\in\mathbb{N}_{\geq m}

qnP(α)+k\displaystyle q_{nP(\alpha)+k} =CΓαn+D(detΓαΓα)n,\displaystyle=C\left\lVert\Gamma_{\alpha}\right\rVert^{n}+D(\det\Gamma_{\alpha}\left\lVert\Gamma_{\alpha}\right\rVert)^{-n},
βnP(α)+k\displaystyle\beta_{nP(\alpha)+k} =E(detΓαΓα)n.\displaystyle=E(\det\Gamma_{\alpha}\left\lVert\Gamma_{\alpha}\right\rVert)^{-n}.
Proof.

Let MM\in\mathbb{N} be such that an=an+P(α)a_{n}=a_{n+P(\alpha)} for all nMn\in\mathbb{N}_{\geq M}. Increasing MM, we can assume that M=mP(α)+kM=mP(\alpha)+k for some mm\in\mathbb{N}. Let v1,v2(α)2v_{1},v_{2}\in\mathbb{Q}(\alpha)^{2} be eigenvectors of Γα\Gamma_{\alpha}, corresponding to the eigenvalues λ1=Γα,λ2=detΓαΓα1\lambda_{1}=\left\lVert\Gamma_{\alpha}\right\rVert,\lambda_{2}=\det\Gamma_{\alpha}\left\lVert\Gamma_{\alpha}\right\rVert^{-1}, such that

[pMqM]=v1+v2.\begin{bmatrix}p_{M}\\ q_{M}\end{bmatrix}=v_{1}+v_{2}.

Then

[pM+nP(α)qM+nP(α)]=Γαn[pMqM]=λ1nv1+λ2nv2.\begin{bmatrix}p_{M+nP(\alpha)}\\ q_{M+nP(\alpha)}\end{bmatrix}=\Gamma_{\alpha}^{n}\begin{bmatrix}p_{M}\\ q_{M}\end{bmatrix}=\lambda_{1}^{n}v_{1}+\lambda_{2}^{n}v_{2}.

Note that for nmn\geq m

[pnP(α)+kqnP(α)+k]=Γαm[pM+nP(α)qM+nP(α)]=λ1n(Γαmv1)+λ2n(Γαmv2).\begin{bmatrix}p_{nP(\alpha)+k}\\ q_{nP(\alpha)+k}\end{bmatrix}=\Gamma_{\alpha}^{-m}\begin{bmatrix}p_{M+nP(\alpha)}\\ q_{M+nP(\alpha)}\end{bmatrix}=\lambda_{1}^{n}\Big{(}\Gamma_{\alpha}^{-m}v_{1}\Big{)}+\lambda_{2}^{n}\Big{(}\Gamma_{\alpha}^{-m}v_{2}\Big{)}.

Let CC be the second coordinate of Γαmv1\Gamma_{\alpha}^{-m}v_{1} and let DD be the second coordinate of Γαmv2\Gamma_{\alpha}^{-m}v_{2}. Since qnP(α)+kq_{nP(\alpha)+k}\to\infty as nn\to\infty, we have that C0C\neq 0. Hence {Cλ1n:n}\{C\lambda_{1}^{n}\ :\ n\in\mathbb{N}\}\nsubseteq\mathbb{Q} by irrationality of λ1\lambda_{1}. Since qnP(α)+kq_{nP(\alpha)+k}\in\mathbb{Q}, we conclude D0D\neq 0.
The proof for βnP(α)+k\beta_{nP(\alpha)+k} is analogous, noting that v1=0v_{1}=0 in this case since |βnP(α)+k|0\left|\beta_{nP(\alpha)+k}\right|\to 0 as nn\to\infty. ∎

We collect one final fact about quadratic numbers. It shows that the assumptions on α\alpha and β\beta in Theorem A imply the assumptions in Theorem B.

Fact 2.11.

Let α,β>0\alpha,\beta\in\mathbb{R}_{>0} be quadratic irrationals with (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta). Then α\alpha and β\beta are multiplicatively independent.

Proof.

Towards a contradiction, suppose that there are m,nm,n\in\mathbb{N} such that αm=βn\alpha^{m}=\beta^{n}. Without loss of generality, we can assume that mm and nn are coprime. For kk\in\mathbb{N} write αk=uk+vkz\alpha^{k}=u_{k}+v_{k}\sqrt{z} with uk,vk,zu_{k},v_{k},z\in\mathbb{Q} and v1,z0v_{1},z\neq 0. Then vmv_{m} is a nontrivial \mathbb{N}-linear combination of

u1m1v1,u1m3v13,,u1m12(m1)/2v12(m1)/2+1,u_{1}^{m-1}v_{1},u_{1}^{m-3}v_{1}^{3},\dots,u_{1}^{m-1-2\left\lfloor(m-1)/2\right\rfloor}v_{1}^{2\left\lfloor(m-1)/2\right\rfloor+1},

which all have the same sign. Since αm(α)(β)=\alpha^{m}\in\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q}, we have vm=0v_{m}=0 and so u1=0u_{1}=0. Thus mm is even. Analogously we see that nn is even. Then m,nm,n are not coprime, contradicting our assumption. ∎

2.4. Non-definability and a theorem of Bès and Choffrut

We now collect some definability and non-definability results in expansions of the real ordered additive group. Let KK\subseteq\mathbb{R} be a subfield, and consider the signature

K:={<,+,1,(λk)kK},\mathcal{L}_{K}:=\{<,+,1,(\lambda_{k})_{k\in K}\},

where λk:\lambda_{k}:\mathbb{R}\to\mathbb{R} maps xx to kxkx. We will consider the K\mathcal{L}_{K}-structure (,<,+,1,(xαx)αK)\Big{(}\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K}\Big{)}. It is well known that this structure has quantifier-elimination. It follows that every set definable in (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K}) is a finite union of open and closed KK-polyhedra. When K=K=\mathbb{Q}, it is clear that (,<,+,1,(xαx)α)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in\mathbb{Q}}) and (,<,+,1)(\mathbb{R},{<},+,1) define the same sets. The following fact shows that adding \mathbb{Z} to (,<,+,1)(\mathbb{R},{<},+,1), does not add new bounded definable sets.

Fact 2.12.

[4, Lemma 2.4] Let XnX\subseteq\mathbb{R}^{n} be definable in (,<,+,)(\mathbb{R},<,+,\mathbb{Z}), let a1,,an,b1,,bna_{1},\dots,a_{n},b_{1},\dots,b_{n}\in\mathbb{Q}. Then

X([a1,b1]××[an,bn])X\cap\Big{(}[a_{1},b_{1}]\times\dots\times[a_{n},b_{n}]\Big{)}

is definable in (,<,+,1)(\mathbb{R},<,+,1).

Fix dd\in\mathbb{N} for the remainder of this subsection. Let K(P)\mathcal{L}_{K}(P) be the signature K\mathcal{L}_{K} together with an dd-ary predicate symbol PP. This allows us to consider for XdX\subseteq\mathbb{R}^{d} the K(P)\mathcal{L}_{K}(P)-structure (,<,+,1,(xαx)αK,X)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X).

The following theorem was shown for K=K=\mathbb{Q} by Bès and Choffrut [5]. An inspection of their proof shows that the statement holds for arbitrary subfields of \mathbb{R}.

Fact 2.13.

[5, Theorem 5.8] Let KK\subseteq\mathbb{R} be a subfield. Then there exists an K(P)\mathcal{L}_{K}(P)-sentence Φn\Phi_{n} such that for every XnX\subseteq\mathbb{R}^{n} for which every nonempty set definable in (,<,+,1,(xαx)αK,X)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X) contains a point with components in KK, the following are equivalent:

  1. (1)

    (,<,+,1,(xαx)αK,X)Φn(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X)\models\Phi_{n},

  2. (2)

    XX is (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K})-definable.

Following the argument in [6] we want to reduce Theorem A to the special case that XdX\subseteq\mathbb{Z}^{d} or X[0,1]dX\subseteq[0,1]^{d}. In [6, Section 4.1] the corresponding argument uses special properties of kk- and \ell-recognizable sets. Here we will use the following general proposition.

Proposition 2.14.

Let XdX\subseteq\mathbb{R}^{d} be not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). Then one of the following holds:

  1. (1)

    (,<,+,,X)(\mathbb{R},{<},+,\mathbb{Z},X) defines a subset of [0,1]d[0,1]^{d} not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}).

  2. (2)

    (,<,+,,X)(\mathbb{R},{<},+,\mathbb{Z},X) defines a subset of d\mathbb{N}^{d} not definable in (,<,+)(\mathbb{Z},{<},+).

To prove Proposition 2.14, we need two elementary results about the expressive strength of K(P)\mathcal{L}_{K}(P)-formulas. We expect both (and maybe even Proposition 2.14 itself) to be known, but include proofs for the convenience of the reader.

Fact 2.15.

Let k{0,,d}k\in\{0,\dots,d\}. Then there exists an (P)\mathcal{L}_{\mathbb{Q}}(P)-sentence Ψk,d\Psi_{k,d} such that for every XdX\subseteq\mathbb{R}^{d}, the following are equivalent:

  1. (1)

    (,<,+,1,(xαx)α,X)Ψk,d(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in\mathbb{Q}},X)\models\Psi_{k,d},

  2. (2)

    XX is a kk-dimensional affine \mathbb{R}-subspace of d\mathbb{R}^{d}.

Similarly, there exists an (P)\mathcal{L}_{\mathbb{Q}}(P)-formula Ψk,d(x)\Psi^{\prime}_{k,d}(x) such that for every XdX\subseteq\mathbb{R}^{d} and ada\in\mathbb{R}^{d}, the following are equivalent:

  1. (1)

    (,<,+,1,(xαx)α,X)Ψk,d(a)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in\mathbb{Q}},X)\models\Psi_{k,d}(a),

  2. (2)

    There are a neighborhood UU of aa and a kk-dimensional affine \mathbb{R}-subspace VV of d\mathbb{R}^{d} such that XU=VUX\cap U=V\cap U.

Proof.

Note that XX is an \mathbb{R}-subspace of n\mathbb{R}^{n} if and only if it is closed, an additive subgroup, and stable under multiplication by 12\frac{1}{2}. Thus we can easily express whether XX is an affine subspace, by an (P)\mathcal{L}_{\mathbb{Q}}(P)-sentence. An \mathbb{R}-subspace WW of d\mathbb{R}^{d} has dimension at least kk if and only if there are v1,,vkWv_{1},\dots,v_{k}\in W and a strictly increasing sequence (i1,,ik){1,,n}k(i_{1},\dots,i_{k})\in\{1,\dots,n\}^{k} such that for all j{1,,k}j\in\{1,\dots,k\}

vj,1==vj,ij1=0 and vj,ij0.v_{j,1}=\dots=v_{j,i_{j}-1}=0\text{ and }v_{j,i_{j}}\neq 0.

Indeed, every such tuple is linearly independent, and conversely every linearly independent tuple can be transformed into such a tuple by Gaussian elimination. The set of tuples satisfying the above condition is \mathcal{L}_{\mathbb{Q}}-definable. Hence we can express using an (P)\mathcal{L}_{\mathbb{Q}}(P)-sentence if an \mathbb{R}-subspace of n\mathbb{R}^{n} has dimension at least kk. The first part of the lemma follows easily.
For the second part it suffices to construct such a formula for a fixed open box UU around the origin of diameter ε\varepsilon. We can use the construction of the first part, just weakening the condition of being an additive subgroup to “a+bXa+b\in X whenever a,bXa,b\in X and a,b,a+bUa,b,a+b\in U”. ∎

Fact 2.16.

Let KK\subseteq\mathbb{R} be a subfield. Then there exists a dd-ary K(P)\mathcal{L}_{K}(P)-formula Θd(x1,,xd)\Theta_{d}(x_{1},\dots,x_{d}) such that for every bounded XdX\subseteq\mathbb{R}^{d} definable in (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K}), the set VdV\subseteq\mathbb{R}^{d} defined by Θd\Theta_{d} in (,<,+,1,(xαx)αK,X)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X) satisfies the following properties:

  1. (1)

    VV is finite, and

  2. (2)

    XX is a union of KK-polyhedra with vertices in VV.

Proof.

We show by decreasing induction on kdk\leq d that there is an K(P)\mathcal{L}_{K}(P)-formula Θk,d(x1,,xd)\Theta_{k,d}(x_{1},\dots,x_{d}) such that for every bounded set XdX\subseteq\mathbb{R}^{d} definable in (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K})

  1. (1)

    the set

    {ad:(,<,+,1,(xαx)αK,X)Θk,d(a)}\{a\in\mathbb{R}^{d}\ :\ (\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X)\models\Theta_{k,d}(a)\}

    is a finite union of k\leq k-simplices,

  2. (2)

    XX is a union of KK-polyhedra all whose k\leq k-faces are contained in this set.

Then Θ0,d(x1,,xd)\Theta_{0,d}(x_{1},\dots,x_{d}) is the desired formula.
For k=dk=d, simply set Θk,d\Theta_{k,d} to be \top, using that sets definable in (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K}) are finite unions of KK-polyhedra. Suppose now that k{0,,d1}k\in\{0,\dots,d-1\} and we have constructed Θk,d\Theta_{k,d} with the desired property. By Fact 2.15 there is an K(P)\mathcal{L}_{K}(P)-formula Θk1,d(x1,,xd)\Theta_{k-1,d}(x_{1},\dots,x_{d}) such that for every bounded set XdX\subseteq\mathbb{R}^{d} definable in (,<,+,1,(xαx)αK)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K}), and every bdb\in\mathbb{R}^{d}, the following are equivalent

  1. (1)

    (,<,+,1,(xαx)αK,X)Θk1,d(b)(\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X)\models\Theta_{k-1,d}(b),

  2. (2)

    there is no kk-dimensional affine subspace WW and no neighbourhood UU of bb such that either

    1. (a)

      {aX:(,<,+,1,(xαx)αK,X)Θk,d(a)}U=WU\{a\in X\ :\ (\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X)\models\Theta_{k,d}(a)\}\cap U=W\cap U, or

    2. (b)

      {adX:(,<,+,1,(xαx)αK,X)Θk,d(a)}U=WU\{a\in\mathbb{R}^{d}\setminus X\ :\ (\mathbb{R},{<},+,1,(x\mapsto\alpha x)_{\alpha\in K},X)\models\Theta_{k,d}(a)\}\cap U=W\cap U.

We leave it to the reader to check that this formula has the desired properties. ∎

Proof of Proposition 2.14.

Suppose (1) fails. Without loss of generality, we may assume that X0dX\subseteq\mathbb{R}_{\geq 0}^{d}. By the failure of (1) and Fact 2.12, we have that for each m=(m1,,md)dm=(m_{1},\dots,m_{d})\in\mathbb{N}^{d}, the set Xi=1d[mi,mi+1]X\cap\prod_{i=1}^{d}[m_{i},m_{i}+1] is definable in (,<,+,1)(\mathbb{R},<,+,1). Let WW be the union of the sets of Fact 2.16, applied to \mathbb{Q} and Xi=1d[mi,mi+1]X\cap\prod_{i=1}^{d}[m_{i},m_{i}+1], over mdm\in\mathbb{N}^{d}. Then WW is definable in (,<,+,,X)(\mathbb{R},{<},+,\mathbb{Z},X) and countable. Set

B={(x1x1,,xdxd):xW}.B=\left\{(x_{1}-\left\lfloor x_{1}\right\rfloor,\dots,x_{d}-\left\lfloor x_{d}\right\rfloor)\ :\ x\in W\right\}.

Note that BB is a countable subset of [0,1]d[0,1]^{d} definable in (,<,+,,X)(\mathbb{R},{<},+,\mathbb{Z},X). By the failure of (1), the set BB is definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}), and hence a finite subset of d\mathbb{Q}^{d}. Set

C:={1ki=1kbi:1kd+1 and biB}.C:=\left\{\frac{1}{k}\sum_{i=1}^{k}b_{i}:1\leq k\leq d+1\text{ and }b_{i}\in B\right\}.

Note that each simplex occurring in (X(m1,,md))[0,1]d(X-(m_{1},\dots,m_{d}))\cap[0,1]^{d} contains an element of CC as interior point. This follows immediately as its vertices lie in BB. Thus (X(m1,,md))[0,1]d=(X(m1,,md))[0,1]d(X-(m_{1},\dots,m_{d}))\cap[0,1]^{d}=(X-(m_{1}^{\prime},\dots,m_{d}^{\prime}))\cap[0,1]^{d} if and only if this equality holds after intersecting with CC.
Hence the equivalence relation thus defined has finitely many equivalence classes and is definable in (,<,+,,X)(\mathbb{R},{<},+,\mathbb{Z},X). It can not be definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}), because XX is not. Thus one of its finitely many equivalence classes is also not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}), thus witnessing (2). ∎

We finish this subsection by introducing some notation and tools that allow us to track local non-definability of sets.

Definition 2.17.

Let SdS\subseteq\mathbb{R}^{d}, and let xdx\in\mathbb{R}^{d}. We say xx is a bad point with respect to SS if for every neighborhood UU of xx, the set SUS\cap U is not definable in (,<,+,1)(\mathbb{R},{<},+,1).

Lemma 2.18.

Let XdX\subseteq\mathbb{R}^{d}, and let q=(q1,,qd)dq=(q_{1},\dots,q_{d})\in\mathbb{Q}^{d} be a bad point with respect to XX. Then (,<,+,1,X)(\mathbb{R},{<},+,1,X) defines a set X[0,1]dX^{\prime}\subseteq[0,1]^{d} such that 0 is a bad point with respect to XX^{\prime}.

Proof.

Throughout, definable means definable in (,<,+,1)(\mathbb{R},{<},+,1). By translating, we reduce to the case that X[0,1]dX\subseteq[0,1]^{d}. Set

Ak:={(x1,,xd)d:kixikiqi},A_{k}:=\{(x_{1},\dots,x_{d})\in\mathbb{R}^{d}\ :\ k_{i}x_{i}\leq k_{i}q_{i}\},

and observe that d=k{1,1}dAk\mathbb{R}^{d}=\bigcup_{k\in\left\{-1,1\right\}^{d}}A_{k}. We now show that there is k0{1,1}dk_{0}\in\left\{-1,1\right\}^{d} such that qq is a bad point with respect to XAk0X\cap A_{k_{0}}. Indeed, suppose qq is not a bad point with respect to XAkX\cap A_{k} for k{1,1}dk\in\left\{-1,1\right\}^{d}. Thus for each k{1,1}dk\in\left\{-1,1\right\}^{d} we pick an open neighborhood UkU_{k} of qq such that (XAk)Uk(X\cap A_{k})\cap U_{k} is definable. By intersecting with an open box whose corners have rational coordinates, we may assume that each UkU_{k} is definable. Thus for each k{1,1}dk\in\left\{-1,1\right\}^{d} the set

(XAk)k{1,1}dUk(X\cap A_{k})\cap\bigcap_{k^{\prime}\in\left\{-1,1\right\}^{d}}U_{k^{\prime}}

is definable. Since the AkA_{k}’s cover d\mathbb{R}^{d}, we conclude that XkUkX\cap\bigcap_{k^{\prime}}U_{k^{\prime}} is definable. This contradicts that qq is a bad point with respect to XX.

We may that assume k0=(1,,1)k_{0}=(-1,\dots,-1) by applying a reflection along a coordinate axis. Since qq is a bad point with respect to XAk0X\cap A_{k_{0}}, we get by translation that 0 is a bad point with respect to

(XAk0)q=(Xq)[0,1]d.(X\cap A_{k_{0}})-q=(X-q)\cap[0,1]^{d}.

3. Regularity and numeration systems

In this section, we introduce an abstract notion of a numeration system for real numbers that is convenient for our purposes and allows us to prove equivalence of recognizability and definability for such a system.

As mentioned in the introduction, we not only want to give a uniform treatment of a large class of numeration systems, we also need to address the differences that arise from the choice of encoding the integer part and fractional part of a real number either parallely or sequentially. In this section, we define the correct notions of parallel and sequential regularity for extended ω\omega-words.

Definition 3.1.

An extended ω\omega-word is a sequence (xi)i(x_{i})_{i\in\mathbb{Z}}\in\mathbb{N}^{\mathbb{Z}} such that

  1. (1)

    there is NN\in\mathbb{Z} with xi=0x_{i}=0 for all iNi\in\mathbb{Z}_{\geq N}, and

  2. (2)

    {xi:i}\{x_{i}\ :\ i\in\mathbb{Z}\} is bounded.

Let 𝒲\mathcal{W} denote the set of extended ω\omega-words, and for each MM\in\mathbb{N} we let 𝒲M\mathcal{W}_{M} denote the set of extended ω\omega-words (xi)i(x_{i})_{i\in\mathbb{Z}} with xiMx_{i}\leq M for all ii\in\mathbb{Z}. We say that X𝒲X\subseteq\mathcal{W} is bounded by MM if X𝒲MX\subseteq\mathcal{W}_{M}.

When we write xNxN1x0x1x2x_{N}x_{N-1}\cdots x_{0}\star x_{-1}x_{-2}\cdots, where NN\in\mathbb{N} and xix_{i}\in\mathbb{N} for all iNi\in\mathbb{Z}_{\leq N}, we mean the extended ω\omega-word (wi)i(w_{i})_{i\in\mathbb{Z}} such that

wi={xiiN0otherwise.w_{i}=\begin{cases}x_{i}&i\leq N\\ 0&\,\text{otherwise.}\end{cases}

Note that every extended word is of this form, and the representation is unique up to choosing NN. We call the subword xNxN1x0x_{N}x_{N-1}\cdots x_{0} in this representation the integral part and the infinite subword x1x2x_{-1}x_{-2}\cdots the fractional part of (wi)i(w_{i})_{i\in\mathbb{Z}}.

Definition 3.2.

Let X𝒲nX\subseteq\mathcal{W}^{n} be bounded by MM. We call

{((xN1,,xNn)(x01,,x0n)(x11,,x1n))(ΣMn{})ω:(xN1x01x11,,xNnx0nx1n)X}\{((x^{1}_{N},\dots,x^{n}_{N})\cdots(x^{1}_{0},\dots,x^{n}_{0})\star(x^{1}_{-1},\dots,x^{n}_{-1})\cdots)\in(\Sigma_{M}^{n}\cup\{\star\})^{\omega}\\ \ :\ (x^{1}_{N}\cdots x^{1}_{0}\star x^{1}_{-1}\cdots,\dots,x^{n}_{N}\cdots x^{n}_{0}\star x^{n}_{-1}\cdots)\in X\}

the sequential representation of XX, and we say XX is sequentially regular if its sequential representation is ω\omega-regular. We call

{((x01,x11,x02,,x0n,x1n)(x11,x21,x12,,x1n,x2n))(ΣM2n)ω:(xN1x01x11,,xNnx0nx1n)X}\{((x^{1}_{0},x^{1}_{-1},x^{2}_{0},\dots,x^{n}_{0},x^{n}_{-1})(x^{1}_{1},x^{1}_{-2},x^{2}_{1},\dots,x^{n}_{1},x^{n}_{-2})\cdots)\in(\Sigma_{M}^{2n})^{\omega}\\ \ :\ (x^{1}_{N}\cdots x^{1}_{0}\star x^{1}_{-1}\cdots,\dots,x^{n}_{N}\cdots x^{n}_{0}\star x^{n}_{-1}\cdots)\in X\}

the parallel representation of XX, and we say XX is parallelly regular if its parallel representation is ω\omega-regular. A relation or function is sequentially (parallelly) regular if its graph is.

Proposition 3.3.

Let X𝒲MnX\subseteq\mathcal{W}^{n}_{M} be sequentially regular. Then XX is parallelly regular.

The converse is easily seen to fail: simply consider the set with sequential representation

{ana2a1a0a0a1an0ω:a0a1anΣM}.\{a_{n}\cdots a_{2}a_{1}a_{0}\star a_{0}a_{1}\cdots a_{n}0^{\omega}:a_{0}a_{1}\cdots a_{n}\in\Sigma_{M}^{*}\}.

This set is parallelly regular, but not sequentially regular.

Proof of Proposition 3.3.

Let 𝒜=(Q,ΣMn{},T,I,F)\mathcal{A}=(Q,\Sigma_{M}^{n}\cup\{\star\},T,I,F) be a Büchi automaton recognizing the sequential representation of XX. Let 𝒜p1,p2=(Q,ΣMn{},Tp1,p2,I,F)\mathcal{A}_{p_{1},p_{2}}=(Q,\Sigma_{M}^{n}\cup\{\star\},T_{p_{1},p_{2}},I,F) be the Büchi automaton obtained from 𝒜\mathcal{A} such that

Tp1,p2=T{(q1,,q2):(q1,q2)(p1,p2)}.T_{p_{1},p_{2}}=T\setminus\{(q_{1},\star,q_{2})\ :(q_{1},q_{2})\neq(p_{1},p_{2})\}.

Since each accepting computation contains a unique transition of the form p1p2p_{1}\xrightarrow{\star}p_{2}, the accepted language of 𝒜\mathcal{A} is the finite union over the languages accepted by 𝒜p1,p2\mathcal{A}_{p_{1},p_{2}} for p1p2p_{1}\xrightarrow{\star}p_{2} in 𝒜\mathcal{A}. Thus we may assume that 𝒜\mathcal{A} has a unique such transition.

In this case define the Büchi automaton

𝒜=(Q2×{0,1},ΣM2n,T,{(p1,p2,0)},I×F×{0,1}),\mathcal{A}^{\prime}=(Q^{2}\times\{0,1\},\Sigma_{M}^{2n},T^{\prime},\{(p_{1},p_{2},0)\},I\times F\times\left\{0,1\right\}),

where

T\displaystyle T^{\prime} ={((q1,q2,0),(s1,s2),(q3,q4,i)):q1s1q3 and q4s2q2}\displaystyle=\{((q_{1},q_{2},0),(s_{1},s_{2}),(q_{3},q_{4},i)):q_{1}\xrightarrow{s_{1}}q_{3}\text{ and }q_{4}\xrightarrow{s_{2}}q_{2}\}
{((q,q2,1),(0,s2),(q,q4,1)):q2s2q4}.\displaystyle\cup\{((q,q_{2},1),(0,s_{2}),(q,q_{4},1)):q_{2}\xrightarrow{s_{2}}q_{4}\}.

So, we simulate 𝒜\mathcal{A} on the first coordinate backwards from p1p_{1}, recognizing the integral part, and on the second coordinate forwards from p2p_{2}, recognizing the fractional part. The transition moves from one copy of Q2Q^{2} to the other when the integral part has ended. It is clear from the construction that 𝒜\mathcal{A}^{\prime} recognizes the parallel representation of XX. ∎

3.1. Numeration systems

We are now ready to introduce a notion of abstract numeration systems.

Definition 3.4.
  1. (1)

    A pre-numeration system is a sequence U=(Ui)iU=(U_{i})_{i\in\mathbb{Z}}\in\mathbb{R}^{\mathbb{Z}} such that

    1. (a)

      |Ui|<|Uj||U_{i}|<|U_{j}| for all i,ji,j\in\mathbb{Z} with i<ji<j, and

    2. (b)

      for all MM\in\mathbb{N} and w𝒲Mw\in\mathcal{W}_{M} the series iwiUi\sum_{i}w_{i}U_{i} converges.

  2. (2)

    We define

    []U:M𝒲M\displaystyle[-]_{U}\colon\bigcup_{M}\mathcal{W}_{M} ,\displaystyle\to\mathbb{R},
    w\displaystyle w iwiUi.\displaystyle\mapsto\sum_{i}w_{i}U_{i}.

    Similarly, if ww is just an ω\omega-word, we define [w]U[w]_{U} as the value of the corresponding extended word, i.e., [w]U:=[w]U[w]_{U}:=[\star w]_{U}, and if ww is a finite word, we set [w]U:=[w0ω]U[w]_{U}:=[w\star 0^{\omega}]_{U}.

  3. (3)

    A UU-representation of xx\in\mathbb{R} is an extended word ww with [w]U=x[w]_{U}=x.

Definition 3.5.

A numeration system is a triple 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) consisting of

  1. (1)

    a natural number MM,

  2. (2)

    a pre-numeration system UU, and

  3. (3)

    a right inverse ρ:0𝒲M\rho:\mathbb{R}_{\geq 0}\to\mathcal{W}_{M} of the restriction of []U[-]_{U} to 𝒲M\mathcal{W}_{M}.

We write []𝒮[-]_{\mathcal{S}} for []U[-]_{U}, and an 𝒮\mathcal{S}-representation of x0x\in\mathbb{R}_{\geq 0} is an UU-representation of xx.

Note that an 𝒮\mathcal{S}-representation of a non-negative real number is not unique.

Definition 3.6.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a numeration system. We say w𝒲Mw\in\mathcal{W}_{M} is 𝒮\mathcal{S}-normalized if ww is in the image of ρ\rho. The 𝒮\mathcal{S}-normalization of ww is ρ([w]𝒮)\rho([w]_{\mathcal{S}}).
We define 𝒮\mathbb{N}_{\mathcal{S}} as the set of numbers x0x\in\mathbb{R}_{\geq 0} such that ρ(x)=y0ω\rho(x)=y\star 0^{\omega} for some y{0,,M}y\in\left\{0,\dots,M\right\}^{*}.
We say 𝒮\mathcal{S} is greedy if for all w𝒲Mw\in\mathcal{W}_{M}, the following are equivalent:

  1. (1)

    ww is 𝒮\mathcal{S}-normalized,

  2. (2)

    i=j1ρ(x)iUi<Uj\sum_{i=-\infty}^{j-1}\rho(x)_{i}U_{i}<U_{j} for all jj\in\mathbb{Z}.

Example 3.7.

Let β>1\beta\in\mathbb{R}_{>1}. Clearly, Uβ:=(βi)iU_{\beta}:=(\beta^{i})_{i\in\mathbb{Z}} is a pre-numeration system. We extend it to a greedy numeration system 𝒮β\mathcal{S}_{\beta}, which we call the power numeration system based on β\beta: set Mβ:=β1M_{\beta}:=\lceil\beta\rceil-1, and let ρβ:0𝒲M\rho_{\beta}:\mathbb{R}_{\geq 0}\to\mathcal{W}_{M} map x0x\in\mathbb{R}_{\geq 0} to the lexicographically maximal w𝒲Mw\in\mathcal{W}_{M} with [w]Uβ=x[w]_{U\beta}=x. The 𝒮β\mathcal{S}_{\beta}-representations of a positive number are precisely its β\beta-representation as introduced in [31], and its β\beta-expansion (as in [14, Section 2.1]) is its normalized 𝒮β\mathcal{S}_{\beta}-representation.

Of course, 𝒮10\mathcal{S}_{10} is the usual decimal numeration system, that is, ρ(x)\rho(x) is the unique decimal representation of x0x\in\mathbb{R}_{\geq 0} that does not end in 9ω9^{\omega}.

Example 3.8.

Let α\alpha be a quadratic irrational number. The continued fraction expansion

[a0;a1,,ak,][a_{0};a_{1},\dots,a_{k},\dots]

of α\alpha is ultimately periodic, and in particular bounded. The Ostrowski numeration system 𝒪α=(Mα,Uα,ρα)\mathcal{O}_{\alpha}=(M^{\alpha},U^{\alpha},\rho^{\alpha}) with respect to α\alpha is defined as follows:

  1. (1)

    Mα:=maxkakM^{\alpha}:=\max_{k\in\mathbb{N}}a_{k}

  2. (2)

    Uiα:={qi+1,if i0,βi,otherwise,U^{\alpha}_{i}:=\begin{cases}q_{i+1},&\text{if $i\geq 0$,}\\ \beta_{-i},&\text{otherwise,}\end{cases}

  3. (3)

    ρα:0𝒲Mα\rho^{\alpha}:\mathbb{R}_{\geq 0}\to\mathcal{W}_{M_{\alpha}} maps xx to the unique b=(bi)i𝒲Mαb=(b_{i})_{i\in\mathbb{Z}}\in\mathcal{W}_{M_{\alpha}} such that

    1. (a)

      x=[b]Uα,x=[b]_{U^{\alpha}},

    2. (b)

      b0,b1<a1,bk+1,bkakb_{0},b_{-1}<a_{1},b_{k+1},b_{-k}\leq a_{k}, and bk+1=akb_{k+1}=a_{k} (resp. bk=akb_{-k}=a_{k}) implies bk=0b_{k}=0 (resp. bk+1=0b_{-k+1}=0), for all kk\in\mathbb{N}, and

    3. (c)

      bk<akb_{-k}<a_{k} for infinitely many odd kk\in\mathbb{N}.

Well-definedness of ρα\rho^{\alpha} follows from Facts 2.6 and 2.7.

3.2. Feasible numeration systems

So far, we have imposed nearly no conditions on our numeration systems. However, the numeration system we wish to consider all satisfy strong regularity conditions.

Definition 3.9.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a numeration system. We say 𝒮\mathcal{S} is feasible if

  1. (1)

    the 𝒮\mathcal{S}-normalization map 𝒲M𝒲M\mathcal{W}_{M}\to\mathcal{W}_{M} sending ww to ρ([w]𝒮)\rho([w]_{\mathcal{S}}) is sequentially regular,

  2. (2)

    the relation

    {(w1,w2)𝒲M2:[w1]𝒮<[w2]𝒮}\{(w_{1},w_{2})\in\mathcal{W}_{M}^{2}\ :\ [w_{1}]_{\mathcal{S}}<[w_{2}]_{\mathcal{S}}\}

    is sequentially regular,

  3. (3)

    there is kk\in\mathbb{N} such that every word of the form

    an0kan10ka00ka10ka20ka_{n}0^{k}a_{n-1}0^{k}\cdots a_{0}0^{k}\star a_{-1}0^{k}a_{-2}0^{k}\cdots

    with ai{0,1}a_{i}\in\{0,1\} is 𝒮\mathcal{S}-normalized.

Lemma 3.10.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a greedy numeration system. Then 𝒮\mathcal{S} is feasible if and only if 𝒮\mathcal{S}-normalization is sequentially regular and there is k0k\geq 0 such that every word 10k10k10k10^{k}\cdots 10^{k}\star 10^{k}\cdots is 𝒮\mathcal{S}-normalized.

Proof.

On normalized words, the order << is given by lexicographic ordering, which is clearly sequentially regular. Replacing the ones in the word by aia_{i} preserves normalizedness by definition of greediness. ∎

Corollary 3.11.

Let β>1\beta\in\mathbb{R}_{>1}. Then 𝒮β\mathcal{S}_{\beta} is feasible if and only if 𝒮β\mathcal{S}_{\beta}-normalization is sequentially regular.

Proof.

It suffices to show that there exists kk\in\mathbb{N} such that (10k)n(10k)ω(10^{k})^{n}\star(10^{k})^{\omega} is 𝒮β\mathcal{S}_{\beta}-normalized for all nn\in\mathbb{N}. Suppose not. Let kk\in\mathbb{N} be such that βk<12\beta^{-k}<\frac{1}{2}. By our assumption there is jj\in\mathbb{Z} such that i=j1βkiβkj\sum_{i=-\infty}^{j-1}\beta^{ki}\geq\beta^{kj}. By shifting we may assume that j=0j=0. We obtain a contradiction, since

1>(1βk)11=i=1βki1.1>(1-\beta^{-k})^{-1}-1=\sum_{i=-\infty}^{-1}\beta^{ki}\geq 1.\qed

If β\beta is a Pisot number, then 𝒮β\mathcal{S}_{\beta}-normalization is sequentially regular by Frougny [19, Corollary 3.4].

Corollary 3.12.

Let β>1\beta\in\mathbb{R}_{>1} be a Pisot number. Then 𝒮β\mathcal{S}_{\beta} is feasible.

3.3. Recognizability

We are now ready to formally define recognizability of subsets of 0n\mathbb{R}_{\geq 0}^{n}.

Definition 3.13.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a numeration system. We say X0nX\subseteq\mathbb{R}_{\geq 0}^{n} is sequentially (parallelly) 𝒮\mathcal{S}-recognizable, if ρ(X)\rho(X) is sequentially (parallelly) regular.

It is easy to check that for β>1\beta\in\mathbb{R}_{>1}, sequential 𝒮β\mathcal{S}_{\beta}-recognizability corresponds to β\beta-recognizability as defined in [14]. It is important to point out that we restrict ourselves to subsets of the non-negative real numbers in order to keep the exposition as simple as possible. See for example [14, p.91] or [15, Section II] for ways of extending our encodings to negative numbers.

Proposition 3.14.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a feasible numeration system, and let X0nX\subseteq\mathbb{R}_{\geq 0}^{n}. Then the following are equivalent:

  1. (1)

    XX is sequentially (parallelly) 𝒮\mathcal{S}-recognizable,

  2. (2)

    {(w1,,wn)𝒲Mn:([w1]𝒮,,[wn]𝒮)X}\{(w_{1},\dots,w_{n})\in\mathcal{W}_{M}^{n}\ :\ ([w_{1}]_{\mathcal{S}},\dots,[w_{n}]_{\mathcal{S}})\in X\} is sequentially (parallelly) regular.

Proof.

The stated set is the preimage of ρ(X)\rho(X) under the 𝒮\mathcal{S}-normalization map. ∎

Lemma 3.15.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a numeration system such that there is k0k\geq 0 such that every word of the form an0kan10ka00k0a10ka20ka_{n}0^{k}{a_{n-1}}0^{k}\cdots a_{0}0^{k-\ell}\star 0^{\ell}a_{-1}0^{k}a_{-2}0^{k}\cdots with ai{0,1}a_{i}\in\left\{0,1\right\} and 0k0\leq\ell\leq k is 𝒮\mathcal{S}-normalized. Then the following are equivalent:

  1. (1)

    the graph of addition {(x,y,z)03:x+y=z}\{(x,y,z)\in\mathbb{R}_{\geq 0}^{3}\ :\ x+y=z\} is sequentially 𝒮\mathcal{S}-recognizable,

  2. (2)

    𝒮\mathcal{S}-normalization is sequentially regular.

Proof.

Suppose that 𝒮\mathcal{S}-normalization is sequentially regular. Then the graph of addition is sequentially 𝒮\mathcal{S}-recognizable, as addition may be performed by first adding componentwise two elements in 𝒲M\mathcal{W}_{M}, which is clearly sequentally regular, and then applying 𝒮\mathcal{S}-normalization.

Conversely, first note that

B:={(ρ(x1),,ρ(xk),ρ(y))𝒲Mk+1:x1,,xk,y0,y=i=1kxi}B:=\{(\rho(x_{1}),\dots,\rho(x_{k}),\rho(y))\in\mathcal{W}_{M}^{k+1}\ :\ x_{1},\dots,x_{k},y\in\mathbb{R}_{\geq 0},\ y=\sum_{i=1}^{k}x_{i}\}

is sequentially regular. Observe that there is a map f=(f1,,fk):𝒲M𝒲Mkf=(f_{1},\dots,f_{k}):\mathcal{W}_{M}\to\mathcal{W}_{M}^{k} such that for each i=1,,ki=1,\dots,k, and w𝒲mw\in\mathcal{W}_{m}

  • the coordinate function fif_{i} is sequentially regular,

  • fi(w)f_{i}(w) is of the form stated in the assumption, and

  • ρ(w)=i=1kρ(fi(w))\rho(w)=\sum_{i=1}^{k}\rho(f_{i}(w)).

Since fi(w)f_{i}(w) is 𝒮\mathcal{S}-normalized for each w𝒲Mw\in\mathcal{W}_{M} and i{1,,k}i\in\{1,\dots,k\}, the 𝒮\mathcal{S}-normalization of ww is the unique v𝒲Mv\in\mathcal{W}_{M} such that (ρ(f1(w)),,ρ(fk(w)),v)B(\rho(f_{1}(w)),\dots,\rho(f_{k}(w)),v)\in B. Since BB and the graph of ff are sequentially regular, it follows that 𝒮\mathcal{S}-normalization is sequentially regular as well. ∎

Corollary 3.16.

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a feasible numeration system. Then the graph of addition is sequentially 𝒮\mathcal{S}-recognizable.

We now ready to prove feasibility of Ostrowski numeration systems.

Corollary 3.17.

Let α\alpha\in\mathbb{R} be a quadratic irrational number. Then 𝒪α\mathcal{O}_{\alpha} is feasible and 𝒪α=\mathbb{N}_{\mathcal{O}_{\alpha}}=\mathbb{N}.

Proof.

Clearly 𝒪α=\mathbb{N}_{\mathcal{O}_{\alpha}}=\mathbb{N} and the order relation is sequentially 𝒪α\mathcal{O}_{\alpha}-recognizable by Fact 2.8. Furthermore, each 1010101010\cdots\star 10\cdots is a normalized 𝒪α\mathcal{O}_{\alpha}-representation. Thus sequential regularity of normalization by Lemma 3.15 follows from sequential 𝒪α\mathcal{O}_{\alpha}-recognizability of the graph of addition. This is [20, Lemma 3.15]. ∎

Lemma 3.18.

Let γ\gamma be a Pisot number and let nn\in\mathbb{N}. Then a set is sequentially (parallelly) 𝒮γ\mathcal{S}_{\gamma}-recognizable if and only if it is sequentially (parallelly) 𝒮γn\mathcal{S}_{\gamma^{n}}-recognizable.

Proof.

Note that 𝒮γn\mathcal{S}_{\gamma^{n}}-representations correspond to 𝒮γ\mathcal{S}_{\gamma}-representations (in either case not necessarily normalized) which are zero at every index not divisible by nn. Thus the claim follows from the regularity of normalization. ∎

Lemma 3.19.

Let γ>1\gamma\in\mathbb{R}_{>1} and let wM𝒲Mw\in\bigcup_{M}\mathcal{W}_{M}. If ww is ultimately periodic, then [w]𝒮γ(γ)[w]_{\mathcal{S}_{\gamma}}\in\mathbb{Q}(\gamma).

Proof.

If w=v0ωw=v0^{\omega} for N,v{0,,N,}N\in\mathbb{N},v\in\left\{0,\dots,N,\star\right\}^{*}, this follows from γ(γ)\gamma\in\mathbb{Q}(\gamma). Hence it remains to consider w=vωw=v^{\omega}. Then

[w]𝒮γ=[v0ω]𝒮γi=0γi|v|=[v0ω]𝒮γ1γ|v|(γ).[w]_{\mathcal{S}_{\gamma}}=[v0^{\omega}]_{\mathcal{S}_{\gamma}}\sum_{i=0}^{\infty}\gamma^{-i\left|v\right|}=\frac{[v0^{\omega}]_{\mathcal{S}_{\gamma}}}{1-\gamma^{-\left|v\right|}}\in\mathbb{Q}(\gamma).\qed

4. Recognizability and Definability

Let 𝒮=(M,U,ρ)\mathcal{S}=(M,U,\rho) be a numeration system. In the following, we abuse notation and also use UU to denote the set {Ui:i}\{U_{i}\ :\ i\in\mathbb{Z}\}. For ii\in\mathbb{N}, we define a binary relation ViV_{i} on \mathbb{R} such that for all x,yx,y\in\mathbb{R}

Vi(x,y) if and only if there is j such that y=Uj and i=ρ(x)j.V_{i}(x,y)\text{ if and only if there is $j\in\mathbb{Z}$ such that $y=U_{j}$ and $i=\rho(x)_{j}$.}

Set

𝒮:=(,<,+,U0,(Vi)i),𝒩𝒮:=(𝒮,<,+,U0,(Vi)i).\mathcal{R}_{\mathcal{S}}:=(\mathbb{R},{<},+,U_{0},(V_{i})_{i\in\mathbb{N}}),\quad\mathcal{N}_{\mathcal{S}}:=(\mathbb{N}_{\mathcal{S}},{<},+,U_{0},(V_{i})_{i\in\mathbb{N}}).

Let τ:UU\tau:U\to U be the map sending UiU_{i} to UiU_{-i} for each ii\in\mathbb{Z}. We let 𝒮+\mathcal{R}_{\mathcal{S}}^{+} be (𝒮,τ)(\mathcal{R}_{\mathcal{S}},\tau).

Proposition 4.1.

The sets UU and 𝒮\mathbb{N}_{\mathcal{S}} are definable in 𝒮\mathcal{R}_{\mathcal{S}}.

Proof.

Check that UU is definable by V0(0,x)V1(0,x)VM(0,x)V_{0}(0,x)\lor V_{1}(0,x)\lor\dots\lor V_{M}(0,x). We can define 𝒮\mathbb{N}_{\mathcal{S}} using

u(uU|u|<|U0|)V0(x,u).\forall u\ (u\in U\land\left|u\right|<\left|U_{0}\right|)\rightarrow V_{0}(x,u).\qed

We will now establish two results connecting recognizability and definability. The arguments follow the proof of [11, Theorem 6.1] using also ideas from the proof of [10, Theorem 16].

Theorem 4.2.

Suppose 𝒮\mathcal{S} is feasible. Let X0nX\subseteq\mathbb{R}_{\geq 0}^{n}. Then

  1. (1)

    XX is sequentially 𝒮\mathcal{S}-recognizable if and only if XX is definable in 𝒮\mathcal{R}_{\mathcal{S}}.

  2. (2)

    XX is parallelly 𝒮\mathcal{S}-recognizable if and only if XX is definable in 𝒮+\mathcal{R}_{\mathcal{S}}^{+}.

Moreover, if XX is bounded, then the conditions of (1) and (2) are equivalent.
For X𝒮nX\subseteq\mathbb{N}_{\mathcal{S}}^{n} the following conditions are equivalent:

  1. (a)

    XX is sequentially 𝒮\mathcal{S}-recognizable.

  2. (b)

    XX is definable in 𝒩𝒮\mathcal{N}_{\mathcal{S}}.

  3. (c)

    XX is parallelly 𝒮\mathcal{S}-recognizable.

Proof.

We first explain how definability implies recognizability. Since ω\omega-regular languages are closed under union, complementation and projection by Fact 2.2, it suffices to show that +,<,U0,Vi+,<,U_{0},V_{i} are sequentially 𝒮\mathcal{S}-recognizable and τ\tau is parallelly 𝒮\mathcal{S}-recognizable. It is easy to see that U0,Vi,τU_{0},V_{i},\tau are sequentially 𝒮\mathcal{S}-recognizable. The order << is sequentially 𝒮\mathcal{S}-recognizable by feasibility of 𝒮\mathcal{S}. Finally, addition is sequentially 𝒮\mathcal{S}-recognizable by Corollary 3.16.

We now consider (1). Let X0nX\subseteq\mathbb{R}_{\geq 0}^{n} be sequentially 𝒮\mathcal{S}-recognizable. Let

𝒜=(Q,ΣMn{},T,{p},F)\mathcal{A}=(Q,\Sigma_{M}^{n}\cup\{\star\},T,\left\{p\right\},F)

be a Büchi automaton recognizing the sequential representation of ρ(X)\rho(X). Since 𝒮\mathcal{S} is feasible, there is a kk\in\mathbb{N} such that every word of the form an0ka00ka10ka_{n}0^{k}\cdots a_{0}0^{k}\star a_{-1}0^{k}\cdots is 𝒮\mathcal{S}-normalized.

Let w1,,wn𝒲Mw_{1},\dots,w_{n}\in\mathcal{W}_{M} and let NN\in\mathbb{N} be such that wi,j=0w_{i,j}=0 for i=1,,ni=1,\dots,n and j>Nj\in\mathbb{N}_{>N}. Set

w:=((w1,N,,wn,N)(w1,0,,wn,0)(w1,1,,wn,1)).w:=((w_{1,N},\dots,w_{n,N})\cdots(w_{1,0},\dots,w_{n,0})\star(w_{1,-1},\dots,w_{n,-1})\cdots).

Then the following are equivalent:

  • ([w1]𝒮,,[wn]𝒮)X([w_{1}]_{\mathcal{S}},\dots,[w_{n}]_{\mathcal{S}})\in X,

  • 𝒜\mathcal{A} accepts ww,

  • there is a sequence (qi)iN(q_{i})_{i\in\mathbb{Z}_{\leq N}} of states such that

    • qN=pq_{N}=p,

    • there is qFq\in F such that {i:qi=q}\{i\ :\ q_{i}=q\} is infinite,

    • (qi,(w1,i,,wn,i),qi1)T(q_{i},(w_{1,i},\dots,w_{n,i}),q_{i-1})\in T for every iNi\in\mathbb{Z}_{\leq N}.

We encode the sequence (qi)<iN(q_{i})_{-\infty<i\leq N} by a QQ-indexed tuple of extended ω\omega-words whose qq-th entry is

(\ast) δq,qN0kδq,qN10kδq,q00kδq,q10k,\delta_{q,q_{N}}0^{k}\delta_{q,q_{N-1}}0^{k}\cdots\delta_{q,q_{0}}0^{k}\star\delta_{q,q_{-1}}0^{k}\cdots,

where δ\delta is the Kronecker-δ\delta. These words are 𝒮\mathcal{S}-normalized by definition of kk. Thus the existence of such a sequence of states can be expressed by the formula stating the existence of a QQ-tuple Z=(Zq)qQQZ=(Z_{q})_{q\in Q}\in\mathbb{R}^{Q} of real numbers encoding a valid sequence of states in this way and satisfying the above conditions. It remains to exhibit formulas for this.

The successor function σ:UU\sigma\colon U\to U mapping UiU_{i} to Ui+1U_{i+1} is definable in 𝒮\mathcal{R}_{\mathcal{S}}, since |Ui|<|Uj||U_{i}|<|U_{j}| for all i,ji,j\in\mathbb{Z} with i<ji<j. Clearly there are formulas φ(u,z)\varphi(u,z), ψ(u,z)\psi(u,z) and (ψq(u,z))qQ(\psi_{q}(u,z))_{q\in Q} in the signature of 𝒮\mathcal{R}_{\mathcal{S}} such that for all jj\in\mathbb{Z}, qQq^{\prime}\in Q and Z=(Zq)qQQZ=(Z_{q})_{q\in Q}\in\mathbb{R}^{Q}

  • 𝒮uz(φ(u,z)ψ(u,z))uU\mathcal{R}_{\mathcal{S}}\models\forall u\forall z(\varphi(u,z)\lor\psi(u,z))\rightarrow u\in U.

  • 𝒮φ(Uj,Z)\mathcal{R}_{\mathcal{S}}\models\varphi(U_{j},Z) if and only if for all qQρ(Zq)j=0q\in Q\ \rho(Z_{q})_{j}=0

  • 𝒮ψq(Uj,Z)\mathcal{R}_{\mathcal{S}}\models\psi_{q^{\prime}}(U_{j},Z) if and only if for all qQq\in Q

    ρ(Zq)j={1 if q=q,0 otherwise.\rho(Z_{q})_{j}=\begin{cases}1&\text{ if }q=q^{\prime},\\ 0&\text{ otherwise}.\end{cases}

Let ψ(u,z)\psi(u,z) be the formula qQψq(u,z)\bigvee_{q\in Q}\psi_{q}(u,z), and set

χ1(z)\displaystyle\chi_{1}(z) :=u(ψ(u,z)(φ(σ1u,z)φ(σ2u,z)φ(σku,z)ψ(σk1u,z))),\displaystyle:=\forall u\Big{(}\psi(u,z)\to\big{(}\varphi(\sigma^{-1}u,z)\land\varphi(\sigma^{-2}u,z)\land\dots\land\varphi(\sigma^{-k}u,z)\land\psi(\sigma^{-k-1}u,z)\big{)}\Big{)},
χ2(z)\displaystyle\chi_{2}(z) :=u(ψ(u,z)u(|u|>|u|uUφ(u,z)),\displaystyle:=\exists u\big{(}\psi(u,z)\land\forall u^{\prime}(\left|u^{\prime}\right|>\left|u\right|\land u^{\prime}\in U\to\varphi(u^{\prime},z)\big{)},
χ3(z)\displaystyle\chi_{3}(z) :=ψ(σ1U0,z).\displaystyle:=\psi(\sigma^{-1}U_{0},z).

The reader can now easily check that for every Z=(Zq)qQQZ=(Z_{q})_{q\in Q}\in\mathbb{R}^{Q} the following are equivalent:

  • 𝒮χ1(Z)χ2(Z)χ3(Z)\mathcal{R}_{\mathcal{S}}\models\chi_{1}(Z)\land\chi_{2}(Z)\land\chi_{3}(Z),

  • there is a sequence (qi)iN(q_{i})_{i\in\mathbb{Z}_{\leq N}} such that ZqZ_{q} is of the form (\ast4) for every qQq\in Q.

Using ViV_{i} and δ\delta, one can also easily constructs a formula ηr,s(u,v1,,vn)\eta_{r,s}(u,v_{1},\dots,v_{n}) in the signature of 𝒮\mathcal{R}_{\mathcal{S}} such that

𝒮ηr,s(Uj,[w1]𝒮,,[wn]𝒮) if and only if (r,(w1,j,,wn,j),s)T.\mathcal{R}_{\mathcal{S}}\models\eta_{r,s}(U_{j},[w_{1}]_{\mathcal{S}},\dots,[w_{n}]_{\mathcal{S}})\text{ if and only if }(r,(w_{1,j},\dots,w_{n,j}),s)\in T.

Using these observations one can verify that 𝒜\mathcal{A} accepts ww if and only if

𝒮\displaystyle\mathcal{R}_{\mathcal{S}}\models z(χ1(z)χ2(z)χ3(z)\displaystyle\exists z(\chi_{1}(z)\land\chi_{2}(z)\land\chi_{3}(z)
\displaystyle\land u(ψp(u,z)u(|u|>|u|uUφ(u,z))\displaystyle\exists u\big{(}\psi_{p}(u,z)\land\forall u^{\prime}(\left|u^{\prime}\right|>\left|u\right|\land u^{\prime}\in U\to\varphi(u^{\prime},z)\big{)}
\displaystyle\land qFε>0u(|u|<εψq(u,z))\displaystyle\bigvee_{q\in F}\forall\varepsilon>0\exists u(\left|u\right|<\varepsilon\land\psi_{q}(u,z))
\displaystyle\land r,sQu(ψr(u,z)ψs(σk1u,z)ηr,s(u,[w1]𝒮,,[wn]𝒮)).\displaystyle\bigwedge_{r,s\in Q}\forall u(\psi_{r}(u,z)\land\psi_{s}(\sigma^{-k-1}u,z)\to\eta_{r,s}(u,[w_{1}]_{\mathcal{S}},\dots,[w_{n}]_{\mathcal{S}})).

This completes the proof of (1).

For (2) we only need to modify the construction for (1): We have N=1N=-1, which will only simplify the formula. However, for checking the transition relation, we need not only access to ViV_{i} of UjU_{j} and the input, but also of ViV_{i} of UjU_{-j} and the input. This can be achieved using τ\tau. We leave the details for the reader to check.

To show that (1) implies (2) for bounded XX, we may reduce to the case where the integer part of each member of XX is zero. Then the graph of the map sending the sequential representation to the parallel representation is clearly regular.

We now show the equivalence of (a), (b) and (c). We already know (b)\implies(a)\implies(c). It remains to show that parallelly 𝒮\mathcal{S}-recognizable subsets of 𝒮n\mathbb{N}^{n}_{\mathcal{S}} are 𝒩𝒮\mathcal{N}_{\mathcal{S}}-definable. This can be done by the same argument as for (2). One only needs to observe that Vi(τu,x)V_{i}(\tau u,x) is constantly 0, when x𝒮x\in\mathbb{N}_{\mathcal{S}} and u{Ui:i>0}u\in\left\{U_{i}:i>0\right\}. Thus in the formula in (2) we can replace such occurrences of ViV_{i} by 0. ∎

Corollary 4.3.

Suppose 𝒮\mathcal{S} is feasible. Then the first-order theory of 𝒮+\mathcal{R}^{+}_{\mathcal{S}} is decidable.

Proof.

It suffices to show the decidability of the first-order theory of the substructure with underlying set 0\mathbb{R}_{\geq 0}. Note that the construction in Theorem 4.2(2) is effective. Thus the decidability of the first-order theory can be reduced to the emptiness problem for Büchi automata which is well-known to be decidable. ∎

Theorem 4.4.

Let α\alpha be a quadratic irrational, let γ𝒪α×\gamma\in\mathcal{O}_{\alpha}^{\times} with γ>1\gamma>1, and let X>0nX\subseteq\mathbb{R}_{>0}^{n}. The following statements are equivalent:

  1. (1)

    XX is parallelly 𝒪α\mathcal{O}_{\alpha}-recognizable,

  2. (2)

    XX is parallelly 𝒮γ\mathcal{S}_{\gamma}-recognizable,

  3. (3)

    XX is definable in (,<,+,,α)(\mathbb{R},{<},+,\mathbb{Z},\alpha\mathbb{Z}),

  4. (4)

    XX is definable in (,<,+,,xαx)(\mathbb{R},{<},+,\mathbb{Z},x\mapsto\alpha x).

Proof.

The implication (3)\implies(4) is immediate. For (1)\implies(3), by Theorem 4.2 it suffices to show that (,<,+,,α)(\mathbb{R},{<},+,\mathbb{Z},\alpha\mathbb{Z}) defines 𝒪α+\mathcal{R}_{\mathcal{O}_{\alpha}}^{+}. This is essentially [20, Section 4].

Consider the equivalence (1)\iff(2). It suffices to show that the bijection

Φ:ρα(0)ργ(0)\Phi:\rho^{\alpha}(\mathbb{R}_{\geq 0})\to\rho_{\gamma}(\mathbb{R}_{\geq 0})

that for every x0x\in\mathbb{R}_{\geq 0} maps the normalized 𝒪α\mathcal{O}_{\alpha}-representation ρα(x)\rho^{\alpha}(x) to the normalized 𝒮γ\mathcal{S}_{\gamma}-representation ργ(x)\rho_{\gamma}(x), is parallelly regular. Indeed, then its inverse is also parallelly regular, and by composing with these maps we can show every subset of 0n\mathbb{R}^{n}_{\geq 0} that is parallelly 𝒪α\mathcal{O}_{\alpha}-recognizable, is also parallelly 𝒮γ\mathcal{S}_{\gamma}-recognizable and vice versa.

By Dirichlet’s unit theorem, 𝒪α×/{1,+1}\mathcal{O}_{\alpha}^{\times}/\left\{-1,+1\right\} is a free abelian group of rank 11. Thus there are k,k,\ell\in\mathbb{N} such that γk=Γα\gamma^{k}=\left\lVert\Gamma_{\alpha}\right\rVert^{\ell}. Hence, by Lemma 3.18 we may assume γ=Γα\gamma=\left\lVert\Gamma_{\alpha}\right\rVert and detΓα=1\det\Gamma_{\alpha}=1. Let m,C,D,Em,C,D,E be given by Fact 2.10.

Let NN\in\mathbb{N}. We first construct MM\in\mathbb{N} and a parallelly regular map fN:𝒲Mα𝒲Mf_{N}\colon\mathcal{W}_{M^{\alpha}}\to\mathcal{W}_{M} such that for all w𝒲Mαw\in\mathcal{W}_{M^{\alpha}}

  1. (a)

    [fN(w)]𝒪α=[w]𝒪α[f_{N}(w)]_{\mathcal{O}_{\alpha}}=[w]_{\mathcal{O}_{\alpha}}, and

  2. (b)

    all entries of fN(w)f_{N}(w) at indices ii\in\mathbb{Z} with |i|<N|i|<N vanish.

It is easy to see that there is an MM\in\mathbb{N} such that every nonnegative real number has a (not necessarily normalized) 𝒪α\mathcal{O}_{\alpha}-representation all whose entries at indices ii\in\mathbb{Z} with |i|<N|i|<N vanish. Then for w𝒲Mαw\in\mathcal{W}_{M^{\alpha}}, we define fN(w)𝒲Mf_{N}(w)\in\mathcal{W}_{M} as the lexicographically maximal 𝒪α\mathcal{O}_{\alpha}-representation of [w]𝒪α[w]_{\mathcal{O}_{\alpha}} in 𝒲M\mathcal{W}_{M} such that (b) holds. By parallell regularity of the lexicographic order and 𝒪α\mathcal{O}_{\alpha}-normalization, the function fNf_{N} is parallelly regular. Set f:=fmP(α)f:=f_{mP(\alpha)}.

For each k{1,,P(α)}k\in\{1,\dots,P(\alpha)\}, let VkV_{k} be the set of all w=(wi)i𝒲Mw=(w_{i})_{i\in\mathbb{Z}}\in\mathcal{W}_{M} such that for all ii\in\mathbb{Z}

  • wi=0w_{i}=0 if ikmodP(α)i\not\equiv k\mod P(\alpha), and

  • wi=0w_{i}=0 if |i|<mP(α)|i|<mP(\alpha).

Let VkV_{k}^{\mathbb{Z}} be the subset of all w=(wi)iVkw=(w_{i})_{i\in\mathbb{Z}}\in V_{k} such that wi=0w_{i}=0 for all i<0i\in\mathbb{Z}_{<0}, and let VkV_{k}^{\mathbb{R}} be the subset of all w=(wi)iVkw=(w_{i})_{i\in\mathbb{Z}}\in V_{k} such that wi=0w_{i}=0 for all i0i\in\mathbb{Z}_{\geq 0}. These sets are easily seen to be parallelly regular. Futhermore, there is a parallelly regular map g=(g1,,g2P(α)):𝒲M𝒲M2P(α)g=(g_{1},\dots,g_{2P(\alpha)}):\mathcal{W}_{M}\to\mathcal{W}_{M}^{2P(\alpha)} such that (g2k1(w),g2k(w))Vk×Vk(g_{2k-1}(w),g_{2k}(w))\in V_{k}^{\mathbb{Z}}\times V_{k}^{\mathbb{R}} for all k{1,,P(α)}k\in\{1,\dots,P(\alpha)\}, and [w]𝒮γ==12P(α)[g(w)]𝒮γ[w]_{\mathcal{S}_{\gamma}}=\sum_{\ell=1}^{2P(\alpha)}[g_{\ell}(w)]_{\mathcal{S}_{\gamma}}.

Let wVkw\in V_{k}^{\mathbb{Z}}. Then ww is of the form

(\ast) wn0P(α)10P(α)1w20P(α)1w10k1+mP(α)0ω.w_{n}0^{P(\alpha)-1}\cdots 0^{P(\alpha)-1}w_{2}0^{P(\alpha)-1}w_{1}0^{k-1+mP(\alpha)}\star 0^{\omega}.

Let hk,1:Vk𝒲Mh_{k}^{\mathbb{Z},1}:V_{k}^{\mathbb{Z}}\to\mathcal{W}_{M} be the function that maps ww of the form (\ast4) to

wnw2w10ω,w_{n}\cdots w_{2}w_{1}\star 0^{\omega},

and let hk,2:Vk𝒲Mh_{k}^{\mathbb{Z},2}:V_{k}^{\mathbb{Z}}\to\mathcal{W}_{M} be the function that maps ww of the form (\ast4) to

0w1w2wn0ω.0\star w_{1}w_{2}\cdots w_{n}0^{\omega}.

Since reversing and shifting are parallelly regular, both functions are parallelly regular. We obtain from Fact 2.10 that

[w]𝒪α=C[wnw2w10ω]𝒮γ+D[0w1w2wn0ω]𝒮γ=C[hk,1(w)]𝒮γ+D[hk,2(w)]𝒮γ.[w]_{\mathcal{O}_{\alpha}}=C[w_{n}\dots w_{2}w_{1}\star 0^{\omega}]_{\mathcal{S}_{\gamma}}+D[0\star w_{1}w_{2}\dots w_{n}0^{\omega}]_{\mathcal{S}_{\gamma}}=C[h_{k}^{\mathbb{Z},1}(w)]_{\mathcal{S}_{\gamma}}+D[h_{k}^{\mathbb{Z},2}(w)]_{\mathcal{S}_{\gamma}}.

Let wVkw\in V_{k}^{\mathbb{R}}. Then ww is of the form

(\ast\ast) 00k1+mP(α)w10P(α)1w20P(α)1.0\star 0^{k-1+mP(\alpha)}w_{1}0^{P(\alpha)-1}w_{2}0^{P(\alpha)-1}\cdots.

Let hk:Vk𝒲Mh_{k}^{\mathbb{R}}:V_{k}^{\mathbb{R}}\to\mathcal{W}_{M} be the function that maps ww of the form (\ast\ast4) to 0w1w20\star w_{1}w_{2}\cdots. Since shifting is parallelly regular, this function is also parallelly regular. By Fact 2.10

[w]𝒪α=E[0w1w2]𝒮γ=[hk(w)]𝒮γ.[w]_{\mathcal{O}_{\alpha}}=E[0\star w_{1}w_{2}\dots]_{\mathcal{S}_{\gamma}}=[h_{k}^{\mathbb{R}}(w)]_{\mathcal{S}_{\gamma}}.

Let wρα(0)w\in\rho^{\alpha}(\mathbb{R}_{\geq 0}). Combing the above observations, we obtain

[w]𝒪α=k=1P(α)(C[(hk,1g2k1f)(w)]𝒮γ+D[(hk,2g2k1f)(w)]𝒮γ)+k=1P(α)E[(hkg2kf)(w)]𝒮γ.[w]_{\mathcal{O}_{\alpha}}=\sum_{k=1}^{P(\alpha)}\Big{(}C[(h_{k}^{\mathbb{Z},1}\circ g_{2k-1}\circ f)(w)]_{\mathcal{S}_{\gamma}}+D[(h_{k}^{\mathbb{Z},2}\circ g_{2k-1}\circ f)(w)]_{\mathcal{S}_{\gamma}}\Big{)}+\sum_{k=1}^{P(\alpha)}E[(h_{k}^{\mathbb{R}}\circ g_{2k}\circ f)(w)]_{\mathcal{S}_{\gamma}}.

Thus

Φ(w)=ργ(k=1P(α)(C[(hk,1g2k1f)(w)]𝒮γ+D[(hk,2g2k1f)(w)]𝒮γ)+k=1P(α)E[(hkg2kf)(w)]𝒮γ).\Phi(w)=\rho_{\gamma}\Bigg{(}\sum_{k=1}^{P(\alpha)}\Big{(}C[(h_{k}^{\mathbb{Z},1}\circ g_{2k-1}\circ f)(w)]_{\mathcal{S}_{\gamma}}+D[(h_{k}^{\mathbb{Z},2}\circ g_{2k-1}\circ f)(w)]_{\mathcal{S}_{\gamma}}\Big{)}+\sum_{k=1}^{P(\alpha)}E[(h_{k}^{\mathbb{R}}\circ g_{2k}\circ f)(w)]_{\mathcal{S}_{\gamma}}\Bigg{)}.

Since 𝒮γ\mathcal{S}_{\gamma}-normalization is parallelly regular and scalar multiplication and addition are parallelly 𝒮γ\mathcal{S}_{\gamma}-recognizable, it follows that Φ\Phi is parallelly regular.

For the implication (4)\implies(1), it suffices to show that ,+,<,γ\mathbb{Z},+,<,\gamma\cdot- are parallelly 𝒪α\mathcal{O}_{\alpha}-recognizable, since given ++, multiplication with α\alpha and γ\gamma are interdefinable. By Theorem 4.2 it is enough to show that these sets are definable in 𝒪α+\mathcal{R}_{\mathcal{O}_{\alpha}}^{+}. For addition and order this is is immediate, and for \mathbb{Z} it follows from Proposition 4.1. Note that multiplication by γ\gamma corresponds to a shift in the 𝒮γ\mathcal{S}_{\gamma}-representation and hence is definable in 𝒮γ+\mathcal{R}_{\mathcal{S}_{\gamma}}^{+}. Thus multiplication by γ\gamma is definable in 𝒪α+\mathcal{R}_{\mathcal{O}_{\alpha}}^{+} by the equivalence of (1) and (2) and Theorem 4.2. ∎

5. The main argument

In this section we present the main technical step in the proof of Theorem B. The thrust of the argument is essentially the same as in [6, Section 5&6], exploiting product-stability in different numeration systems. As before, we need to make non-trivial adjustments for our use of irrational bases. We begin with a statement that is established for rr- and ss-recognizable subsets of \mathbb{R} in [6, Section 5.1].

Lemma 5.1.

Let α1,,αn\alpha_{1},\dots,\alpha_{n} be irrational Pisot numbers with i=1n(αi)=\bigcap_{i=1}^{n}\mathbb{Q}(\alpha_{i})=\mathbb{Q}, and let X[0,1]dX\subseteq[0,1]^{d} be such that XX is sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for i{1,,n}i\in\left\{1,\dots,n\right\}, but not definable in (,<,+,1)(\mathbb{R},{<},+,1). Then there is a bad point with respect to XX that lies in d\mathbb{Q}^{d}.

Proof.

Let BB be the set of points x[0,1]dx\in[0,1]^{d} such that there is no open box UU around xx such that UXU\cap X is a finite union of polyhedra. Note that BB is a subset of the set of bad points with respect to XX. Furthermore, BB is definable in (,<,+,1,X)(\mathbb{R},{<},+,1,X) by Fact 2.13, thus by Theorem 4.2 sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for i{1,,n}i\in\left\{1,\dots,n\right\}.

Towards a contradiction, assume B=B=\emptyset. Then for each x[0,1]dx\in[0,1]^{d} there is an open box UxU_{x} around xx such that UxXU_{x}\cap X is a finite union of polyhedra. By compactness finitely many UxU_{x} cover [0,1]d[0,1]^{d} and so XX is a finite union of polyhedra. By Fact 2.16 there is a finite set VV definable in (,<,+,1,X)(\mathbb{R},{<},+,1,X) containing all vertices of these polyhedra. Since VV is finite and is sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable, then it follows from Lemma 3.19 that

Vi=1n(αi)d=d.V\subseteq\bigcap_{i=1}^{n}\mathbb{Q}(\alpha_{i})^{d}=\mathbb{Q}^{d}.

Thus XX is definable in (,<,+,1)(\mathbb{R},{<},+,1), contradicting the assumptions on XX.

Hence BB is nonempty. Since BB is compact, there is a lexicographically minimal pBp\in B. It remains to show pdp\in\mathbb{Q}^{d}. Since {p}\{p\} is definable in (,<,+,1,B)(\mathbb{R},{<},+,1,B), it is sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for all i{1,,n}i\in\left\{1,\dots,n\right\}. As above, it follows that pdp\in\mathbb{Q}^{d}. ∎

5.1. Product and sum stability

We now recall the definitions of product- and sum-stability.

Definition 5.2.

Let X,DX,D\subseteq\mathbb{R} and let tt\in\mathbb{R}. We say XX is tt-product stable in DD if for all xDx\in D with txDtx\in D

xX if and only if txX.x\in X\text{ if and only if }tx\in X.

We say XX is tt-sum stable in DD if for all xDx\in D with x+tDx+t\in D

xX if and only if x+tX.x\in X\text{ if and only if }x+t\in X.

For X>0X\subseteq\mathbb{R}_{>0} we set

Π(X)\displaystyle\Pi(X) :={t>0:X is t-product stable in >0},\displaystyle:=\{t\in\mathbb{R}_{>0}\ :\ X\text{ is $t$-product stable in }\mathbb{R}_{>0}\},
Σ(X)\displaystyle\Sigma(X) :={t:X is t-sum stable in >0}.\displaystyle:=\{t\in\mathbb{R}\ :\ X\text{ is $t$-sum stable in }\mathbb{R}_{>0}\}.

If XX is parallelly 𝒮α\mathcal{S}_{\alpha}-recognizable for a Pisot number α\alpha, then Σ(X)\Sigma(X) is parallelly 𝒮α\mathcal{S}_{\alpha}-recognizable, as it is defined by a formula. Moreover, Σ(X)\Sigma(X) is a subgroup of (,+)(\mathbb{R},+).

We now prove the following analogue of [6, Lemma 5.2].

Lemma 5.3.

Let α1,,αn\alpha_{1},\dots,\alpha_{n} be irrational Pisot numbers with i=1n(αi)=\bigcap_{i=1}^{n}\mathbb{Q}(\alpha_{i})=\mathbb{Q}, and let X[0,1]dX\subseteq[0,1]^{d} be parallelly 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for all i{1,,n}i\in\left\{1,\dots,n\right\}, but not definable in (,<,+,1)(\mathbb{R},{<},+,1). Then there is Y[0,1]dY\subseteq[0,1]^{d} and N>0N\in\mathbb{N}_{>0} such that

  1. (1)

    YY is sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for all i{1,,n}i\in\left\{1,\dots,n\right\},

  2. (2)

    YY is αiN\alpha_{i}^{N}-product stable in [0,1]d[0,1]^{d} for all i{1,,n}i\in\{1,\dots,n\},

  3. (3)

    YY is not definable in (,<,+,1)(\mathbb{R},{<},+,1).

Proof.

By Lemmas 5.1 and 2.18 we may assume that 0 is a bad point for XX. Let i{1,,n}i\in\{1,\dots,n\} and let 𝒜i\mathcal{A}_{i} be a total deterministic Muller automaton sequentially recognizing ραi(X)\rho_{\alpha_{i}}(X) over the alphabet Σi={0,,αi}d{}\Sigma_{i}=\left\{0,\dots,\left\lfloor\alpha_{i}\right\rfloor\right\}^{d}\cup\left\{\star\right\}. Hence there is a path of length mim_{i} from the initial state to a cycle of length NiN_{i}, with all labels 0d0\in\mathbb{N}^{d}. Thus for every word wΣiw\in\Sigma_{i}^{*},

𝒜i accepts 0miw if and only if 𝒜i accepts 0mi+Niw.\mathcal{A}_{i}\text{ accepts }\star 0^{m_{i}}w\text{ if and only if }\mathcal{A}_{i}\text{ accepts }\star 0^{m_{i}+N_{i}}w.

However,

[0mi+Niw]𝒮αi=αiNi[0miw]𝒮αi.[0^{m_{i}+N_{i}}w]_{\mathcal{S}_{\alpha_{i}}}=\alpha_{i}^{N_{i}}[0^{m_{i}}w]_{\mathcal{S}_{\alpha_{i}}}.

Hence X[0,αmi]X\cap[0,\alpha^{-m_{i}}] is αiNi\alpha_{i}^{N_{i}}-product stable in [0,αimi][0,\alpha_{i}^{-m_{i}}].

Now let NN be the least common multiple of N1,,NdN_{1},\dots,N_{d}, and let qq\in\mathbb{Q} be larger than αiN\alpha_{i}^{N} for each i{1,,d}i\in\{1,\dots,d\}. Set Y=qX[0,1]Y=qX\cap[0,1]. Then YY is αiN\alpha_{i}^{N}-product stable in [0,1]d[0,1]^{d} and sequentially 𝒮αi\mathcal{S}_{\alpha_{i}}-recognizable for i=1,,ni=1,\dots,n. Since 0 is a bad point with respect to XX, we know that YY is not definable in (,<,+,1)(\mathbb{R},{<},+,1). ∎

Note that [6, Lemma 5.2] only handles the case d=1d=1. We now show the stronger statement that YY can be taken to be a subset of [0,1][0,1]. The proof is based on ideas from [7, Section 3.2].

Proposition 5.4.

Let α,β\alpha,\beta be irrational Pisot numbers with (α)(β)=\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q}, and let X[0,1]dX\subseteq[0,1]^{d} be parallelly 𝒮α\mathcal{S}_{\alpha}-recognizable and 𝒮β\mathcal{S}_{\beta}-recognizable, but not definable in (,<,+,1)(\mathbb{R},{<},+,1). Then there is an 𝒮α\mathcal{S}_{\alpha}-recognizable subset of [0,1][0,1] that is not definable in (,<,+,1)(\mathbb{R},{<},+,1), and αN\alpha^{N}-product stable and βN\beta^{N}-product stable in [0,1][0,1] for some N>0N\in\mathbb{N}_{>0}.

Proof.

By Lemma 5.3 we may assume that XX is αN\alpha^{N}- and βN\beta^{N}-product stable in [0,1]d[0,1]^{d} for some N>0N>0. We prove the statement by induction on dd. The case d=1d=1 is trivial. Now let d>1d>1. By the induction hypothesis we may assume that Xbd([0,1]d)X\cap\operatorname{bd}([0,1]^{d}) is definable in (,<,+,1)(\mathbb{R},{<},+,1), and hence a finite union of polyhedra with rational vertices. We now show that either the conclusion of the proposition holds or

(1) X={tx:t and 0<t1 and xXbd([0,1]d)}.X=\left\{tx\ :\ t\in\mathbb{R}\text{ and }0<t\leq 1\text{ and }x\in X\cap\operatorname{bd}([0,1]^{d})\right\}.

Since (1) yields a contradiction, this is enough to finish the whole proof.

By Fact 2.3 we just need to show that (1) holds after intersecting both sides with (α)d\mathbb{Q}(\alpha)^{d}. For this, it suffices to show that for all z(α)dbd([0,1]d{0})z\in\mathbb{Q}(\alpha)^{d}\cap\operatorname{bd}([0,1]^{d}\setminus\left\{0\right\}),

either {tz:t(0,1]}X or {tz:t(0,1])}X=.\text{either }\{tz\ :t\in(0,1]\}\subseteq X\text{ or }\{tz:t\in(0,1])\}\cap X=\emptyset.

Let z(α)dbd([0,1]d{0})z\in\mathbb{Q}(\alpha)^{d}\cap\operatorname{bd}([0,1]^{d}\setminus\left\{0\right\}). The linear map f:df\colon\mathbb{R}\to\mathbb{R}^{d} sending 11 to zz is definable in (,<,+,1,X,xαx)(\mathbb{R},{<},+,1,X,x\mapsto\alpha x) since z(α)dz\in\mathbb{Q}(\alpha)^{d}, and thus sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable. Set Z:=f1(X)Z:=f^{-1}(X).
Note that ZZ is αN\alpha^{N}-product stable and βN\beta^{N}-product stable in [0,1][0,1] because XX is so. Thus if {tz:t(0,1]}X\{tz\ :\ t\in(0,1]\}\cap X is not definable in (,<,+,1)(\mathbb{R},{<},+,1), then ZZ satisfies the conclusion of the proposition. Hence we may assume that ZZ is definable in (,<,+,1)(\mathbb{R},{<},+,1), and thus is a finite union of intervals and points. We have to show that ZZ is empty or contains (0,1]\left(0,1\right].
Replacing α\alpha by α1\alpha^{-1} if necessary, assume α>1\alpha>1. Suppose xZx\in Z. Then αkNx0\alpha^{-kN}x\to 0 as kk\to\infty. Since ZZ contains αkNx\alpha^{-kN}x for kk\in\mathbb{N} and is a finite union of intervals and points, it contains an interval (0,ε)(0,\varepsilon). Then ZZ contains (0,αkNε)[0,1](0,\alpha^{kN}\varepsilon)\cap[0,1] for all kk\in\mathbb{N} and thus (0,1]Z\left(0,1\right]\subseteq Z. ∎

5.2. Ultimate periodicity

In this subsection, we show that 𝒮α\mathcal{S}_{\alpha}-recognizable sets that are both α\alpha- and β\beta-product stable in >0\mathbb{R}_{>0}, are eventually pp-sum stable for some pp. This roughly corresponds to the reduction in [14, Lemma 6.3], although we again have to use different arguments. In particular, we borrow some ideas and notation from Krebs [27].

Definition 5.5.

Let X,YX,Y\subseteq\mathbb{R} be such that YXY\subseteq X. We say XX has local period pp on YY if XYX\cap Y is pp-sum stable on YY. We say XX is ultimately periodic with period pp if there is aa\in\mathbb{R} such that XX has local period pp on [a,)[a,\infty).

The main result we prove in this subsection is the following.

Proposition 5.6.

Let α\alpha be a Pisot number, let X0X\subseteq\mathbb{R}_{\geq 0} be sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable such that Π(X)\Pi(X) is dense in >0\mathbb{R}_{>0}. Then XX is ultimately periodic.

Before we give the proof of Proposition 5.6, we need two lemmas.

Lemma 5.7.

Let XX\subseteq\mathbb{R}, and let a,b,c,d,p,qa,b,c,d,p,q\in\mathbb{R} be such that

  1. (1)

    a<b<c<da<b<c<d and cbp+qc-b\geq p+q,

  2. (2)

    XX has local period pp on [a,c][a,c], and

  3. (3)

    XX has local period qq on [b,d][b,d].

Then XX has local period pp on [a,d][a,d]. The same statement holds for open intervals instead of closed intervals.

Proof.

Let x[a,d]x\in[a,d] be such that x+p[a,d]x+p\in[a,d]. We want to show that xXx\in X if and only if x+pXx+p\in X. If x+pcx+p\leq c, then this follows immediately, since XX has local period pp on [a,c][a,c]. Now suppose x+p>cx+p>c. Since cbp+qc-b\geq p+q, there is nn\in\mathbb{N} such that

xnq[b,b+q][b,cp].x-nq\in[b,b+q]\subseteq[b,c-p].

Then xnq,xnq+p[a,c]x-nq,x-nq+p\in[a,c], and thus xnqXx-nq\in X if and only if xnq+pXx-nq+p\in X. Since XX has local period qq on [b,d][b,d], we have

xXxnqXxnq+pXx+pX.x\in X\iff x-nq\in X\iff x-nq+p\in X\iff x+p\in X.\qed
Lemma 5.8.

Let X>0X\subseteq\mathbb{R}_{>0}, let a,b,p>0a,b,p\in\mathbb{R}_{>0} be such that

  1. (1)

    a<ba<b, 2p<ba2p<b-a,

  2. (2)

    XX has local period pp on (a,b)(a,b), and

  3. (3)

    Π(X)\Pi(X) is dense in >0\mathbb{R}_{>0}.

Then XX is ultimately periodic.

Proof.

Let BB be the set of c>ac\in\mathbb{R}_{>a} such that XX has local period pp on (a,c)(a,c). It suffices to show BB unbounded. Towards a contradiction, assume that BB is bounded. Set d:=supBd:=\sup B. Since dbd\geq b, we have 2p<da2p<d-a. Let ε>0\varepsilon>0 be such that 2p+εp<d(1+ε)a2p+\varepsilon p<d-(1+\varepsilon)a and XX is 1+ε1+\varepsilon-product stable. Since X=(1+ε)XX=(1+\varepsilon)X, we know that XX has local period (1+ε)p(1+\varepsilon)p on the interval ((1+ε)a,(1+ε)d)\big{(}(1+\varepsilon)a,(1+\varepsilon)d\big{)}. Thus Lemma 5.7 yields that XX has local period pp on (a,(1+ε)d)\big{(}a,(1+\varepsilon)d\big{)}. This contradicts d=supBd=\sup B. ∎

Proof of Proposition 5.6.

Since 𝒮α\mathcal{S}_{\alpha}-normalization is sequentially regular, there is a deterministic Muller automaton 𝒜=(Q,(Σα{}),T,I,F)\mathcal{A}=(Q,(\Sigma_{\lceil\alpha\rceil}\cup\{\star\}),T,I,F) accepting a word if and only if it is an 𝒮α\mathcal{S}_{\alpha}-representation of an element of XX. For each state qQq\in Q, let AqA_{q} be the set of nn\in\mathbb{N} such that the automaton is in state qq after reading 10n10^{n}\star.
By van der Waerden’s theorem on arithmetic progressions there are qQq\in Q and k,mk,m\in\mathbb{N} such that m,m+k,m+2km,m+k,m+2k lie in AqA_{q}. Every real number in [α,α+1][\alpha^{\ell},\alpha^{\ell}+1] has an 𝒮α\mathcal{S}_{\alpha}-representation starting with 1010^{\ell}\star. Thus for z[0,1]z\in[0,1], we have

(2) αm+zXαm+k+zXαm+2k+zX.\alpha^{m}+z\in X\iff\alpha^{m+k}+z\in X\iff\alpha^{m+2k}+z\in X.

As Π(X)\Pi(X) is dense, there is tt\in\mathbb{R} such that XX is tt-product stable and

0<tαk<12αm+k.0<t-\alpha^{k}<\frac{1}{2\alpha^{m+k}}.

For ease of notation, set ε:=(tαk)αm+k\varepsilon:=(t-\alpha^{k})\alpha^{m+k} and ε:=(tαk)αm\varepsilon^{\prime}:=(t-\alpha^{k})\alpha^{m}. Since 0<ε<ε<120<\varepsilon^{\prime}<\varepsilon<\frac{1}{2}, we have

(3) 0<εε<1ε2.0<\varepsilon-\varepsilon^{\prime}<\frac{1-\varepsilon^{\prime}}{2}.

For z1t[0,1ε]z\in\frac{1}{t}\left[0,1-\varepsilon\right], we obtain by (2) and tt-product stability of XX that

αm+k+ε+tzX\displaystyle\alpha^{m+k}+\varepsilon+tz\in X αm+2k+ε+tzXt(αm+k+z)X\displaystyle\iff\alpha^{m+2k}+\varepsilon+tz\in X\iff t(\alpha^{m+k}+z)\in X
αm+k+zXαm+zX\displaystyle\iff\alpha^{m+k}+z\in X\iff\alpha^{m}+z\in X
t(αm+z)Xαm+k+ε+tzX.\displaystyle\iff t(\alpha^{m}+z)\in X\iff\alpha^{m+k}+\varepsilon^{\prime}+tz\in X.

Thus XX has local period εε\varepsilon-\varepsilon^{\prime} on [αm+k+ε,αm+k+1]\left[\alpha^{m+k}+\varepsilon^{\prime},\alpha^{m+k}+1\right]. With (3) Lemma 5.8 finishes the proof. ∎

5.3. Regular product stable

Let α,β\alpha,\beta be multiplicatively independent Pisot numbers such that β(α)\beta\notin\mathbb{Q}(\alpha). The goal of this subsection is to prove the following proposition.

Proposition 5.9.

Let X>0X\subseteq\mathbb{R}_{>0} be sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable and α\alpha- and β\beta-product stable in >0\mathbb{R}_{>0}. Then XX is either \emptyset or >0\mathbb{R}_{>0}.

Our proof is based on the argument given [6, Section 6.2]. We need the following lemma first.

Lemma 5.10.

Let X>0X\subseteq\mathbb{R}_{>0} be sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable and α\alpha- and β\beta-product stable in >0\mathbb{R}_{>0}. Then there is Y>0Y\subseteq\mathbb{R}_{>0} such that

  1. (1)

    YY is sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable,

  2. (2)

    If Y=Y=\emptyset, then X=X=\emptyset, and if Y=>0Y=\mathbb{R}_{>0}, then X=>0X=\mathbb{R}_{>0},

  3. (3)

    YY is α\alpha- and β\beta-product stable in >0\mathbb{R}_{>0},

  4. (4)

    αk,βkΣ(Y)\alpha^{k},\beta^{k}\in\Sigma(Y) for every kk\in\mathbb{Z}, and

  5. (5)

    there are mm\in\mathbb{N} and x(α)×Σ(Y)x\in\mathbb{Q}(\alpha)^{\times}\cap\Sigma(Y) such that xαmn1Σ(Y)\frac{x}{\alpha^{mn}-1}\in\Sigma(Y) for all n>0n\in\mathbb{N}_{>0}.

Proof.

Note that XX is product stable for the dense set αβ\alpha^{\mathbb{Z}}\beta^{\mathbb{Z}}. By Proposition 5.6 we know that XX is ultimately periodic. Let x0x\in\mathbb{R}_{\geq 0} and p>0p\in\mathbb{R}_{>0} be such that for all yxy\in\mathbb{R}_{\geq x}

yXy+pX.y\in X\iff y+p\in X.

Replacing xx by a larger number, we may assume x(α)x\in\mathbb{Q}(\alpha). Thus Σ((Xx)0)\Sigma((X-x)\cap\mathbb{R}_{\geq 0}) is sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable and nonempty, and by Facts 2.3 and 3.19 it contains some q(α)q\in\mathbb{Q}(\alpha). Set Y:=1qXY:=\frac{1}{q}X. It is easy to see that YY satisfies (1)-(3) and has local period 11 on [xq,)[\frac{x}{q},\infty). Let kk\in\mathbb{N}. By (3) the set YY also has local period αk\alpha^{-k} on [xαkq,)[\frac{x}{\alpha^{k}q},\infty), and thus using Lemma 5.7 we see that it has local period 11 on [xαkq,)\left[\frac{x}{\alpha^{k}q},\infty\right). Since kk is arbitrary, we get that 1Σ(Y)1\in\Sigma(Y). Now (4) follows from (3).

We now establish (5). Since Σ(Y)[0,1]\Sigma(Y)\cap[0,1] is sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable, we obtain by Fact 2.1 nonempty regular languages K1,,Km,L1,,Lm{0,,α}K_{1},\dots,K_{m},L_{1},\dots,L_{m}\subseteq\{0,\dots,\left\lfloor\alpha\right\rfloor\}^{*} such that LiL_{i} does not contain the empty word, LiLi=LiL_{i}L_{i}=L_{i} for each i{1,,m}i\in\{1,\dots,m\}, and

Σ(Y)[0,1]=i=1m{[wv1v2]𝒮α:wKi,v1,v2,Li}.\Sigma(Y)\cap[0,1]=\bigcup_{i=1}^{m}\left\{[wv_{1}v_{2}\cdots]_{\mathcal{S}_{\alpha}}\ :\ w\in K_{i},v_{1},v_{2},\dots\in L_{i}\right\}.

There is i{1,,m}i\in\{1,\dots,m\} such that LiL_{i} contains at least two elements of the same length. Indeed, otherwise all words in i=1mKiLiω\bigcup_{i=1}^{m}K_{i}L_{i}^{\omega} are ultimately periodic, and hence by Lemma 3.19

Σ(Y)[0,1](α),\Sigma(Y)\cap[0,1]\subseteq\mathbb{Q}(\alpha),

contradicting β1Σ(Y)[0,1]\beta^{-1}\in\Sigma(Y)\cap[0,1].

Now fix i{1,,m}i\in\{1,\dots,m\} such that LiL_{i} contains two distinct elements v1,v2v_{1},v_{2} of the same length, and fix wKiw\in K_{i}. Then for all nn\in\mathbb{N}

[w(v1nv2)ω]𝒮αΣ(Y)[0,1].[w(v_{1}^{n}v_{2})^{\omega}]_{\mathcal{S}_{\alpha}}\in\Sigma(Y)\cap[0,1].

Note that every number with terminating 𝒮α\mathcal{S}_{\alpha}-representation lies in Σ(Y)\Sigma(Y), and even in Π(Σ(Y))\Pi(\Sigma(Y)). Applying this to [w0ω]𝒮α[w0^{\omega}]_{\mathcal{S}_{\alpha}}, we obtain [(v1nv2)ω]𝒮α=[w(v1nv2)ω]𝒮α[w0ω]𝒮αΣ(Y)[(v_{1}^{n}v_{2})^{\omega}]_{\mathcal{S}_{\alpha}}=[w(v_{1}^{n}v_{2})^{\omega}]_{\mathcal{S}_{\alpha}}-[w0^{\omega}]_{\mathcal{S}_{\alpha}}\in\Sigma(Y) for all nn\in\mathbb{N}. And replacing α\alpha by α|v1|\alpha^{\left|v_{1}\right|} we may assume |v1|=|v2|=1\left|v_{1}\right|=\left|v_{2}\right|=1. Now set

x:=([v20ω]𝒮αα[v10ω]𝒮αα)(α1).x:=\Big{(}[v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha-[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha\Big{)}(\alpha-1).

Since xx has a terminating 𝒮α\mathcal{S}_{\alpha}-representation, we have that xΣ(Y)x\in\Sigma(Y). Then

xαn+11+[v10ω]𝒮αα\displaystyle\frac{x}{\alpha^{n+1}-1}+[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha =([v20ω]𝒮αα[v10ω]𝒮αα)α1αn+11+[v10ω]𝒮αα2(αn1+α1(α1))αn+11\displaystyle=\Big{(}[v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha-[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha\Big{)}\frac{\alpha-1}{\alpha^{n+1}-1}+\frac{[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{2}(\alpha^{n}-1+\alpha^{-1}(\alpha-1))}{\alpha^{n+1}-1}
=(α1)[v20ω]𝒮αα+[v10ω]𝒮αα2αn1α1αn+11\displaystyle=(\alpha-1)\frac{[v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha+[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{2}\frac{\alpha^{n}-1}{\alpha-1}}{\alpha^{n+1}-1}
=(α1)αn+1[v20ω]𝒮ααn+i=0n1[v10ω]𝒮ααiαn+11\displaystyle=(\alpha-1)\alpha^{n+1}\frac{[v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{-n}+\sum_{i=0}^{n-1}[v_{1}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{-i}}{\alpha^{n+1}-1}
=(α1)αn+1[v1nv20ω]𝒮ααn+11\displaystyle=(\alpha-1)\alpha^{n+1}\frac{[v_{1}^{n}v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}}{\alpha^{n+1}-1}
=(α1)i=0[v1nv20ω]𝒮ααi(n+1)\displaystyle=(\alpha-1)\sum_{i=0}^{\infty}[v_{1}^{n}v_{2}0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{-i(n+1)}
=(α1)[(v1nv2)ω]𝒮αΣ(Y)\displaystyle=(\alpha-1)[(v_{1}^{n}v_{2})^{\omega}]_{\mathcal{S}_{\alpha}}\in\Sigma(Y)

and so xαn+11Σ(Y)\frac{x}{\alpha^{n+1}-1}\in\Sigma(Y). ∎

Proof of Proposition 5.9.

Let Y>0Y\subseteq\mathbb{R}_{>0} be as given by Lemma 5.10. Replacing α\alpha by αm\alpha^{m}, let x(α)×Σ(Y)x\in\mathbb{Q}(\alpha)^{\times}\cap\Sigma(Y) be such that xαn1Σ(Y)\frac{x}{\alpha^{n}-1}\in\Sigma(Y) for all n>0n\in\mathbb{N}_{>0}. Set Z:=1xYZ:=\frac{1}{x}Y. Note that Σ(Z)\Sigma(Z) is an α\alpha-and β\beta-product stable subgroup and Σ(Z)=1xΣ(Y)\Sigma(Z)=\frac{1}{x}\Sigma(Y). In particular, 1Σ(Z)1\in\Sigma(Z). Hence Σ(Z)[0,1]\Sigma(Z)\cap[0,1] contains all numbers with terminating 𝒮α\mathcal{S}_{\alpha}-representation, and is product stable for them.

Now we show that all numbers with purely periodic 𝒮α\mathcal{S}_{\alpha}-representation are in Σ(Z)\Sigma(Z). Indeed, for v{0,,α}v\in\{0,\dots,\left\lfloor\alpha\right\rfloor\}^{*} we have that

[vω]𝒮α=i1[v0ω]𝒮ααi|v|=1α|v|1[v0ω]𝒮αΣ(Z),[v^{\omega}]_{\mathcal{S}_{\alpha}}=\sum_{i\geq 1}[v0^{\omega}]_{\mathcal{S}_{\alpha}}\alpha^{-i\left|v\right|}=\frac{1}{\alpha^{\left|v\right|}-1}\cdot[v0^{\omega}]_{\mathcal{S}_{\alpha}}\in\Sigma(Z),

because 1αn1Σ(Z)\frac{1}{\alpha^{n}-1}\in\Sigma(Z) for all n>0n\in\mathbb{N}_{>0}.
All numbers with ultimately periodic 𝒮α\mathcal{S}_{\alpha}-representation lie in Σ(Z)\Sigma(Z), as they may be written as sums of such numbers and ones with terminating representation. By Fact 2.3 we conclude that Σ(Z)=\Sigma(Z)=\mathbb{R} and the claim follows. ∎

6. Proof of the main theorems

In this section we finish the proof of Theorem A and B. By Proposition 2.14 we just need to handle the cases of subsets of n\mathbb{N}^{n} and subsets of [0,1]n[0,1]^{n}.

6.1. Subsets of n\mathbb{N}^{n}

We first consider the case of a subset of n\mathbb{N}^{n}. Here we prove the following analogue Bès’ Cobham-Semënov theorem for linear numeration systems [3].

Theorem 6.1.

Let α,β\alpha,\beta be quadratic irrational numbers such that (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta). Then every subset of n\mathbb{N}^{n} that is definable in both 𝒮α\mathcal{S}_{\alpha} and 𝒮β\mathcal{S}_{\beta}, is definable in (,+)(\mathbb{N},+).

Although we do not see how to obtain our result as a corollary, the proof of [3, Theorem 3.1] can be adjusted straightforwardly once we prove the following analogue of [3, Proposition 2.4].

Proposition 6.2.

Let α\alpha be a quadratic irrational number, and let u,v,w{0,,α}u,v,w\in\left\{0,\dots,\left\lfloor\alpha\right\rfloor\right\}^{*} be such that |v|0\left|v\right|\neq 0, and either [u]𝒮α0[u]_{\mathcal{S}_{\alpha}}\neq 0 or [v]𝒮α0[v]_{\mathcal{S}_{\alpha}}\neq 0. Then there is C>0C>0 such that

[uvP(α)nw]𝒮α=(C+o(1))Γα|v|n.[uv^{P(\alpha)n}w]_{\mathcal{S}_{\alpha}}=(C+o(1))\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}.
Proof.

We first argue that we may assume ww is the empty word. Indeed, first replace ww by the prefix of v|w|v^{\left|w\right|} of length |w|\left|w\right|. This will only change [uvP(α)nw]𝒮α[uv^{P(\alpha)n}w]_{\mathcal{S}_{\alpha}} by an additive constant. After this we may replace vv by the last |v|\left|v\right| digits of vwvw, potentially enlarging uu.

By Fact 2.10 there are non-zero constants C,C′′C^{\prime},C^{\prime\prime}\in\mathbb{R} such that

[u0P(α)n]𝒮α=(C+o(1))Γαn and [v0P(α)n]𝒮α=(C′′+o(1))Γαn.[u0^{P(\alpha)n}]_{\mathcal{S}_{\alpha}}=(C^{\prime}+o(1))\left\lVert\Gamma_{\alpha}\right\rVert^{n}\text{ and }[v0^{P(\alpha)n}]_{\mathcal{S}_{\alpha}}=(C^{\prime\prime}+o(1))\left\lVert\Gamma_{\alpha}\right\rVert^{n}.

Since [u]𝒮α0[u]_{\mathcal{S}_{\alpha}}\neq 0 or [v]𝒮α0[v]_{\mathcal{S}_{\alpha}}\neq 0, either CC^{\prime} or C′′C^{\prime\prime} is positive. Set

C=C+C′′((1Γα)11).C=C^{\prime}+C^{\prime\prime}((1-\left\lVert\Gamma_{\alpha}\right\rVert)^{-1}-1).

Let ε(0,1)\varepsilon\in(0,1). By Fact 2.9 we know that Γα>1\left\lVert\Gamma_{\alpha}\right\rVert>1. Hence the geometric series for Γα|v|\left\lVert\Gamma_{\alpha}\right\rVert^{-\left|v\right|} converges. Let MM\in\mathbb{N} be such that for all mMm\in\mathbb{N}_{\geq M}

|(1Γα)|v|i=0MΓαi|v||<ε and |[v0P(α)m|v|]𝒮αC′′Γαm|v||<Γαm|v|\left|(1-\left\lVert\Gamma_{\alpha}\right\rVert)^{-\left|v\right|}-\sum_{i=0}^{M}\left\lVert\Gamma_{\alpha}\right\rVert^{-i\left|v\right|}\right|<\varepsilon\text{ and }\left|[v0^{P(\alpha)m\left|v\right|}]_{\mathcal{S}_{\alpha}}-C^{\prime\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{m\left|v\right|}\right|<\left\lVert\Gamma_{\alpha}\right\rVert^{m\left|v\right|}

Let NMN\in\mathbb{N}_{\geq M} be such that for all nNMn\in\mathbb{N}_{\geq N-M}

|u0P(α)nCΓαn|<εΓαn and |[v0P(α)n]𝒮αC′′Γαn|<εM1Γα|v|n.\left|u0^{P(\alpha)n}-C^{\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{n}\right|<\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{n}\text{ and }\left|[v0^{P(\alpha)n}]_{\mathcal{S}_{\alpha}}-C^{\prime\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{n}\right|<\varepsilon M^{-1}\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}.

Finally, let QNQ\in\mathbb{N}_{\geq N} be such that

[vP(α)N]𝒮α<εΓα|v|Q.[v^{P(\alpha)N}]_{\mathcal{S}_{\alpha}}<\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|Q}.

Now for all nQn\in\mathbb{N}_{\geq Q}

|[uvP(α)n]𝒮αCΓα|v|n|=\displaystyle\left|[uv^{P(\alpha)n}]_{\mathcal{S}_{\alpha}}-C\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}\right|= |[u0|v|P(α)n]𝒮α+i=1M[v0P(α)(ni)|v|]𝒮α\displaystyle\Big{|}[u0^{\left|v\right|P(\alpha)n}]_{\mathcal{S}_{\alpha}}+\sum_{i=1}^{M}[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}
+i=M+1nN[v0P(α)(ni)|v|]𝒮α+[vP(α)N]𝒮α\displaystyle\quad+\sum_{i=M+1}^{n-N}[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}+[v^{P(\alpha)N}]_{\mathcal{S}_{\alpha}}
CΓα|v|nC′′((1Γα)11)Γα|v|n|\displaystyle\quad-C^{\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}-C^{\prime\prime}((1-\left\lVert\Gamma_{\alpha}\right\rVert)^{-1}-1)\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}\Big{|}
\displaystyle\leq |[u0|v|P(α)n]𝒮αCΓα|v|n|\displaystyle\left|[u0^{\left|v\right|P(\alpha)n}]_{\mathcal{S}_{\alpha}}-C^{\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}\right|
+|i=1MC′′Γα(ni)|v|C′′((1Γα)|v|1)Γα|v|n|\displaystyle\quad+\left|\sum_{i=1}^{M}C^{\prime\prime}\left\lVert\Gamma_{\alpha}\right\rVert^{(n-i)\left|v\right|}-C^{\prime\prime}((1-\left\lVert\Gamma_{\alpha}\right\rVert)^{-\left|v\right|}-1)\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}\right|
+i=1M|[v0P(α)(ni)|v|]𝒮αΓα(ni)|v||\displaystyle\quad+\sum_{i=1}^{M}\left|[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}-\left\lVert\Gamma_{\alpha}\right\rVert^{(n-i)\left|v\right|}\right|
+i=M+1nN[v0P(α)(ni)|v|]𝒮α+[vP(α)N]𝒮α\displaystyle\quad+\sum_{i=M+1}^{n-N}[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}+[v^{P(\alpha)N}]_{\mathcal{S}_{\alpha}}
<\displaystyle< εΓα|v|n+C′′εΓα|v|n+i=1M|[v0P(α)(ni)|v|]𝒮αΓα(ni)|v||\displaystyle\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}+C^{\prime\prime}\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}+\sum_{i=1}^{M}\left|[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}-\left\lVert\Gamma_{\alpha}\right\rVert^{(n-i)\left|v\right|}\right|
+i=M+1nN[v0P(α)(ni)|v|]𝒮α+εΓα|v|n\displaystyle\quad+\sum_{i=M+1}^{n-N}[v0^{P(\alpha)(n-i)\left|v\right|}]_{\mathcal{S}_{\alpha}}+\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}
\displaystyle\leq (C′′+2)εΓα|v|n+i=1MεM1Γα|v|n+i=M+1nN(C′′+1)Γα(ni)|v|\displaystyle(C^{\prime\prime}+2)\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}+\sum_{i=1}^{M}\varepsilon M^{-1}\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}+\sum_{i=M+1}^{n-N}(C^{\prime\prime}+1)\left\lVert\Gamma_{\alpha}\right\rVert^{(n-i)\left|v\right|}
\displaystyle\leq (C′′+3)εΓα|v|n+(C′′+1)Γα|v|ni=M+1Γα|v|i\displaystyle(C^{\prime\prime}+3)\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}+(C^{\prime\prime}+1)\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}\sum_{i=M+1}^{\infty}\left\lVert\Gamma_{\alpha}\right\rVert^{-\left|v\right|i}
<\displaystyle< (2C′′+4)εΓα|v|n.\displaystyle(2C^{\prime\prime}+4)\varepsilon\left\lVert\Gamma_{\alpha}\right\rVert^{\left|v\right|n}.

Proof of Theorem 6.1.

We use the proof of [3], using our Proposition 6.2 instead of their Proposition 2.4. Mainly, one just needs to replace the occurrences of uvnwuv^{n}w with uvpnwuv^{pn}w, in particular in the definition of XX on page 209. We leave the details to the reader. ∎

6.2. The general case

We are now ready to finish the proofs of Theorem A and B. We restate Theorem B using our notation.

Theorem 6.3.

Let α,β>1\alpha,\beta\in\mathbb{R}_{>1} be multiplicatively independent irrational Pisot numbers such that (α)(β)=\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q}, and let X[0,1]dX\subseteq[0,1]^{d} be both sequentially 𝒮α\mathcal{S}_{\alpha}- and 𝒮β\mathcal{S}_{\beta}-recognizable. Then XX is definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}).

Proof.

Let X[0,1]nX\subseteq[0,1]^{n} be both sequentially 𝒮α\mathcal{S}_{\alpha}- and 𝒮β\mathcal{S}_{\beta}-recognizable. Towards a contradiction, suppose that XX is not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). By Proposition 5.4, we can assume that n=1n=1 and XX is both α\alpha- and β\beta-product stable in [0,1][0,1]. Set

Z:={αkx:k,xX}.Z:=\{\alpha^{k}x\ :\ k\in\mathbb{N},x\in X\}.

Obviously, ZZ is α\alpha-product stable in >0\mathbb{R}_{>0}. We observe that ZZ is sequentially 𝒮α\mathcal{S}_{\alpha}-recognizable, because for all u{0,,α},v{0,,α}ωu\in\left\{0,\dots,\left\lfloor\alpha\right\rfloor\right\}^{*},v\in\left\{0,\dots,\left\lfloor\alpha\right\rfloor\right\}^{\omega}

[uv]𝒮αZ if and only if [uv]𝒮αX.[u\star v]_{\mathcal{S}_{\alpha}}\in Z\text{ if and only if }[\star uv]_{\mathcal{S}_{\alpha}}\in X.

Clearly, ZZ is α\alpha-product stable in >0\mathbb{R}_{>0}. Since XX is both α\alpha- and β\beta-product stable in [0,1][0,1], we get that

Z={βkx:k,xX}.Z=\{\beta^{k}x\ :\ k\in\mathbb{N},x\in X\}.

Thus ZZ is β\beta-product stable in >0\mathbb{R}_{>0}. By Proposition 5.9 we know that ZZ is either \emptyset or >0\mathbb{R}_{>0}. However, it follows from α\alpha-product stability that Z[0,1]=XZ\cap[0,1]=X. This contradicts that XX is not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). ∎

Proof of Theorem A.

By Proposition 2.14 we may assume that either XnX\subseteq\mathbb{N}^{n} or X[0,1]nX\subseteq[0,1]^{n}. If XnX\subseteq\mathbb{N}^{n}, then Theorem 6.1 applies. Suppose that X[0,1]nX\subseteq[0,1]^{n}. Then XX is both sequentially α\alpha- and sequentially β\beta-regular by Theorem 4.2 and we can apply Theorem 6.3. ∎

7. Conclusion

In this paper, we prove a Cobham-Semënov theorem for scalar multiplication: let α,β>0\alpha,\beta\in\mathbb{R}_{>0} be such that α,β\alpha,\beta are quadratic and (α)(β)\mathbb{Q}(\alpha)\neq\mathbb{Q}(\beta), then every set definable in both α\mathcal{R}_{\alpha} and β\mathcal{R}_{\beta}, is already definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). None of the assumptions on α\alpha and β\beta can be dropped. It is clear that if (α)=(β)\mathbb{Q}(\alpha)=\mathbb{Q}(\beta) and α\alpha is irrational, then both α\mathcal{R}_{\alpha} and β\mathcal{R}_{\beta} define multiplication by α\alpha, yet this function is not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}). Furthermore, suppose that α\alpha is not quadratic. As noted in the introduction, in this situation α\mathcal{R}_{\alpha} defines every arithmetical subset of m\mathbb{N}^{m}, since 1,α,α21,\alpha,\alpha^{2} are \mathbb{Q}-linearly independent. If β\beta is also not quadratic, all arithmetical subsets satisfy the assumption, but not all of them the conclusion of Theorem A. Even when β\beta is quadratic, one can check that the set of denominators of the convergents of β\beta is definable in both α\mathcal{R}_{\alpha} and β\mathcal{R}_{\beta}, assuming α\alpha is not quadratic. This set is not definable in (,<,+,)(\mathbb{R},{<},+,\mathbb{Z}) when β\beta is irrational, witnessing the failure of the conclusion of Theorem A.

As part of the proof of Theorem A, we establish in Theorem B a similar result for bounded subset of n\mathbb{R}^{n} that are α\alpha- and β\beta-recognizable in the sense of [14], where α,β>1\alpha,\beta\in\mathbb{R}_{>1} are multiplicatively independent irrational Pisot numbers such that (α)(β)=\mathbb{Q}(\alpha)\cap\mathbb{Q}(\beta)=\mathbb{Q}. Following the argument in [14, p.118], this theorem can be used to extend Adamczeski and Bell’s Cobham-style theorem for fractals [1, Theorem 1.4] and its higher dimensional analogues as proven in [14] and Chan and Hare [13] to α\alpha- and β\beta-self-similar sets as defined in [14, Definition 60].

There are several immediate questions we have to leave open. In particular, we do not know whether Theorem A holds if we replace definability by definability with parameters, and whether Theorem B holds for unbounded subsets of n\mathbb{R}^{n}.

References

  • [1] Boris Adamczewski and Jason Bell, An analogue of Cobham’s theorem for fractals, Trans. Amer. Math. Soc. 363 (2011), no. 8, 4421–4442. MR 2792994
  • [2] Bernd Becker, Christian Dax, Jochen Eisinger, and Felix Klaedtke, Lira: Handling constraints of linear arithmetics over the integers and the reals: (tool paper), International Conference on Computer Aided Verification, Springer, 2007, pp. 307–310.
  • [3] Alexis Bès, An extension of the Cobham-Semënov theorem, J. Symbolic Logic 65 (2000), no. 1, 201–211. MR 1782115
  • [4] Alexis Bès and Christian Choffrut, Theories of real addition with and without a predicate for integers, Log. Methods Comput. Sci. 17 (2021), no. 2, Paper No. 18, 27. MR 4269881
  • [5] by same author, Decidability of definability issues in the theory of real addition, Fund. Inform. 188 (2022), no. 1, 15–39. MR 4556493
  • [6] Bernard Boigelot, Julien Brusten, and Véronique Bruyère, On the sets of real numbers recognized by finite automata in multiple bases, Log. Methods Comput. Sci. 6 (2010), no. 1, 1:6, 17. MR 2594958
  • [7] Bernard Boigelot, Julien Brusten, and Jérôme Leroux, A generalization of Semenov’s theorem to automata over real numbers, Automated deduction—CADE-22, Lecture Notes in Comput. Sci., vol. 5663, Springer, Berlin, 2009, pp. 469–484. MR 2550354
  • [8] Bernard Boigelot, Sébastien Jodogne, and Pierre Wolper, An effective decision procedure for linear arithmetic over the integers and reals, ACM Trans. Comput. Log. 6 (2005), no. 3, 614–633. MR 2147298
  • [9] Bernard Boigelot, Stéphane Rassart, and Pierre Wolper, On the expressiveness of real and integer arithmetic automata, Automata, Languages and Programming (Berlin, Heidelberg), Springer Berlin Heidelberg, 1998, pp. 152–163.
  • [10] Véronique Bruyère and Georges Hansel, Bertrand numeration systems and recognizability, vol. 181, 1997, Latin American Theoretical INformatics (Valparaíso, 1995), pp. 17–43. MR 1463527
  • [11] Véronique Bruyère, Georges Hansel, Christian Michaux, and Roger Villemaire, Logic and pp-recognizable sets of integers, vol. 1, 1994, Journées Montoises (Mons, 1992), pp. 191–238. MR 1318968
  • [12] J. Richard Büchi, On a decision method in restricted second order arithmetic, Logic, Methodology and Philosophy of Science (Proc. 1960 Internat. Congr.), Stanford Univ. Press, Stanford, Calif., 1962, pp. 1–11. MR 0183636
  • [13] Davy Ho-Yuen Chan and Kevin G. Hare, A multi-dimensional analogue of Cobham’s theorem for fractals, Proc. Amer. Math. Soc. 142 (2014), no. 2, 449–456. MR 3133987
  • [14] Émilie Charlier, Julien Leroy, and Michel Rigo, An analogue of Cobham’s theorem for graph directed iterated function systems, Adv. Math. 280 (2015), 86–120. MR 3350214
  • [15] Swarat Chaudhuri, Sriram Sankaranarayanan, and Moshe Y. Vardi, Regular real analysis, 2013 28th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2013), IEEE Computer Soc., Los Alamitos, CA, 2013, pp. 509–518. MR 3323837
  • [16] Alan Cobham, On the base-dependence of sets of numbers recognizable by finite automata, Math. Systems Theory 3 (1969), 186–192. MR 250789
  • [17] Fabien Durand and Michel Rigo, On Cobham’s theorem, Handbook of automata theory. Vol. II. Automata in mathematics and selected applications, EMS Press, Berlin, 2021, pp. 947–986. MR 4380949
  • [18] Martin Fränzle, Karin Quaas, Mahsa Shirmohammadi, and James Worrell, Effective definability of the reachability relation in timed automata, Inform. Process. Lett. 153 (2020), 105871, 4. MR 4027733
  • [19] Christiane Frougny, Representations of numbers and finite automata, Math. Systems Theory 25 (1992), no. 1, 37–60. MR 1139094
  • [20] Philipp Hieronymi, Expansions of the ordered additive group of real numbers by two discrete subgroups, J. Symb. Log. 81 (2016), no. 3, 1007–1027. MR 3569117
  • [21] by same author, When is scalar multiplication decidable?, Ann. Pure Appl. Logic 170 (2019), no. 10, 1162–1175. MR 3979325
  • [22] Philipp Hieronymi, Dun Ma, Reed Oei, Luke Schaeffer, Christian Schulz, and Jeffrey Shallit, Decidability for Sturmian words, 30th EACSL Annual Conference on Computer Science Logic, LIPIcs. Leibniz Int. Proc. Inform., vol. 216, Schloss Dagstuhl. Leibniz-Zent. Inform., Wadern, 2022, pp. Art. No. 24, 23. MR 4405042
  • [23] Philipp Hieronymi, Danny Nguyen, and Igor Pak, Presburger arithmetic with algebraic scalar multiplications, Log. Methods Comput. Sci. 17 (2021), no. 3, Paper No. 4, 34. MR 4298407
  • [24] Philipp Hieronymi and Michael Tychonievich, Interpreting the projective hierarchy in expansions of the real line, Proc. Amer. Math. Soc. 142 (2014), no. 9, 3259–3267. MR 3223381
  • [25] Mohsen Khani and Afshin Zarei, The additive structure of integers with the lower Wythoff sequence, Arch. Math. Logic 62 (2023), no. 1-2, 225–237. MR 4535932
  • [26] Bakhadyr Khoussainov and Anil Nerode, Automata theory and its applications, Progress in Computer Science and Applied Logic, vol. 21, Birkhäuser Boston, Inc., Boston, MA, 2001. MR 1839464
  • [27] Thijmen J. P. Krebs, A more reasonable proof of Cobham’s theorem, Internat. J. Found. Comput. Sci. 32 (2021), no. 2, 203–207. MR 4218824
  • [28] M. Lothaire, Algebraic combinatorics on words, Encyclopedia of Mathematics and its Applications, vol. 90, Cambridge University Press, Cambridge, 2002. MR 1905123
  • [29] Chris Miller, Expansions of dense linear orders with the intermediate value property, J. Symbolic Logic 66 (2001), no. 4, 1783–1790. MR 1877021
  • [30] Alexander Ostrowski, Bemerkungen zur Theorie der Diophantischen Approximationen, Abh. Math. Sem. Univ. Hamburg 1 (1922), no. 1, 77–98. MR 3069389
  • [31] A. Rényi, Representations for real numbers and their ergodic properties, Acta Math. Acad. Sci. Hungar. 8 (1957), 477–493. MR 97374
  • [32] Michel Rigo, Numeration systems: A link between number theory and formal language theory, Developments in Language Theory (Berlin, Heidelberg) (Yuan Gao, Hanlin Lu, Shinnosuke Seki, and Sheng Yu, eds.), Springer Berlin Heidelberg, 2010, pp. 33–53.
  • [33] Andrew M. Rockett and Peter Szüsz, Continued fractions, World Scientific Publishing Co., Inc., River Edge, NJ, 1992. MR 1188878
  • [34] Johannes Schoisswohl, Laura Kovács, and Konstantin Korovin, Viras: Conflict-driven quantifier elimination for integer-real arithmetic, Proceedings of 25th Conference on Logic for Programming, Artificial Intelligence and Reasoning (Nikolaj Bjorner, Marijn Heule, and Andrei Voronkov, eds.), EPiC Series in Computing, vol. 100, EasyChair, 2024, pp. 147–164.
  • [35] A. L. Semenov, The Presburger nature of predicates that are regular in two number systems, Sibirsk. Mat. Ž. 18 (1977), no. 2, 403–418, 479. MR 0450050
  • [36] Thoralf Skolem, Über einige Satzfunktionen in der Arithmetik, Skr. Norske Vidensk. Akad., Oslo, Math.-naturwiss. Kl. 7 (1931), 1–28.
  • [37] Volker Weispfenning, Mixed real-integer linear quantifier elimination, Proceedings of the 1999 International Symposium on Symbolic and Algebraic Computation (Vancouver, BC), ACM, New York, 1999, pp. 129–136. MR 1802076
  • [38] E. Zeckendorf, Représentation des nombres naturels par une somme de nombres de Fibonacci ou de nombres de Lucas, Bull. Soc. Roy. Sci. Liège 41 (1972), 179–182. MR 308032