[Paper Review] Decidability for Sturmian words
This paper establishes the decidability of the first-order theory of Sturmian words over Presburger arithmetic by proving that first-order expansions of Presburger arithmetic with a single Sturmian word are uniformly ω-automatic. The key contribution is a decision procedure implemented in the tool Pecan, which automatically verifies classical theorems and derives new results on antisquares and antipalindromes in characteristic Sturmian words.
We show that the first-order theory of Sturmian words over Presburger arithmetic is decidable. Using a general adder recognizing addition in Ostrowski numeration systems by Baranwal, Schaeffer and Shallit, we prove that the first-order expansions of Presburger arithmetic by a single Sturmian word are uniformly $ω$-automatic, and then deduce the decidability of the theory of the class of such structures. Using an implementation of this decision algorithm called Pecan, we automatically reprove classical theorems about Sturmian words in seconds, and are able to obtain new results about antisquares and antipalindromes in characteristic Sturmian words.
Motivation & Objective
- To establish the decidability of the first-order theory of Sturmian words over Presburger arithmetic.
- To extend known decidability results from individual Sturmian words to the entire class of such structures.
- To develop an automated decision procedure for combinatorial properties of Sturmian words using ω-automaticity and numeration systems.
- To implement and validate the decision algorithm via a tool called Pecan for practical verification of theorems.
- To explore the limits of decidability by investigating undecidability in related structures involving non-quadratic irrationals.
Proposed method
- Leveraging the ω-automaticity of first-order expansions of Presburger arithmetic with a Sturmian word, proven via Ostrowski numeration systems and finite automata for addition.
- Using a general adder recognizing addition in Ostrowski numeration systems, as constructed by Baranwal, Schaeffer, and Shallit, to establish uniform ω-automaticity.
- Proving that the class of structures $\mathcal{K}_{\text{sturmian}}$ and $\mathcal{K}_{\text{char}}$ are uniformly ω-automatic, implying decidability of their first-order theories.
- Implementing the decision algorithm in a tool named Pecan to automatically verify logical statements about Sturmian words.
- Analyzing the logical structure of Sturmian words through model-theoretic techniques, including definability and automata-theoretic representations.
- Investigating the boundary of decidability by showing that extensions with a unary function symbol $\lambda$ lead to undecidability for non-quadratic irrationals.
Experimental results
Research questions
- RQ1Is the first-order theory of all Sturmian words decidable over Presburger arithmetic?
- RQ2Can the decidability of individual Sturmian word structures be extended to the entire class of such structures?
- RQ3To what extent can automated tools like Pecan reprove or discover new results about combinatorial properties of Sturmian words?
- RQ4What is the computational boundary of decidability when extending the language with additional functions, such as $\lambda(x) = \lfloor \alpha x \rfloor$?
- RQ5Are there natural non-quadratic irrationals, such as $e$ or $\pi$, for which the theory remains decidable?
Key findings
- The first-order theory $\mathrm{FO}(\mathcal{K}_{\text{sturmian}})$ and $\mathrm{FO}(\mathcal{K}_{\text{char}})$ are decidable, extending prior results that only held for specific irrationals like quadratic numbers.
- The class of structures $\mathcal{N}_{\alpha,\rho}$ is uniformly $\omega$-automatic, which implies the decidability of their first-order theories.
- The implementation Pecan automatically re-proves classical theorems—such as the balanced property and subword complexity—within seconds.
- Pecan discovers new results, including structural properties of antisquares and antipalindromes in characteristic Sturmian words.
- The theory $\mathrm{FO}(\mathcal{K}_{\lambda})$, involving a unary function symbol $\lambda(x) = \lfloor \alpha x \rfloor$, is undecidable for non-quadratic irrationals $\alpha$, due to definability of universal Turing machines.
- The decidability of $\mathrm{FO}(\mathcal{K}_{\lambda,q})$ for quadratic irrationals remains an open question, with no immediate reduction from $\mathrm{FO}(\mathcal{K}_q)$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.