[Paper Review] Decision Algorithms for Fibonacci-Automatic Words, with Applications to Pattern Avoidance
This paper presents a decision algorithm for Fibonacci-automatic words, enabling mechanical verification of properties in the infinite Fibonacci word using logical predicates and automata. It re-proves known results on squares, palindromes, and cubes, and establishes a new avoidability result: there exists an aperiodic infinite binary word avoiding the pattern $xxx^R$, proven purely algorithmically via the implemented system.
We implement a decision procedure for answering questions about a class of infinite words that might be called (for lack of a better name) "Fibonacci-automatic". This class includes, for example, the famous Fibonacci word f = 01001010..., the fixed point of the morphism 0 -> 01 and 1 -> 0. We then recover many results about the Fibonacci word from the literature (and improve some of them), such as assertions about the occurrences in f of squares, cubes, palindromes, and so forth. As an application of our method we prove a new result: there exists an aperiodic infinite binary word avoiding the pattern x x x^R. This is the first avoidability result concerning a nonuniform morphism proven purely mechanically.
Motivation & Objective
- To develop a decision procedure for logical properties of Fibonacci-automatic words, extending the framework of $k$-automatic sequences to the Fibonacci numeration system.
- To mechanically verify or reprove known results about the Fibonacci word, such as occurrences of squares, cubes, and palindromes.
- To prove new results in combinatorics on words, particularly avoidability results, using a fully automated algorithmic approach.
- To implement and validate a software system capable of processing logical queries over Fibonacci representations and generating corresponding automata.
Proposed method
- The method uses the logical theory $({\mathbb{N}}, +, <, F)$, where $F$ is the predicate for the Fibonacci word, to express properties as first-order logical predicates.
- Properties are encoded as logical formulas involving quantifiers, comparisons, and indexing into the Fibonacci word.
- These formulas are translated into finite automata that accept tuples of integers in Fibonacci representation.
- The automaton construction relies on closure properties of regular languages and the decidability of Presburger arithmetic extended with the Fibonacci word predicate.
- The implementation uses a Java-based system with automaton minimization (via dk.brics.automaton), GraphViz for visualization, and Maple for polynomial computations.
- The system supports user queries in a logic-like language, performs determinization and minimization at each step, and ensures correctness via extensive testing against known results.
Experimental results
Research questions
- RQ1Can logical properties of the Fibonacci word be decided mechanically using automata and logic?
- RQ2Does there exist an aperiodic infinite binary word that avoids the pattern $xxx^R$?
- RQ3Can the Parikh vector of prefixes of the Fibonacci word be synchronized in a way that allows morphic images to remain Fibonacci-automatic?
- RQ4Can the method reprove or improve upon known results about squares, cubes, and palindromes in the Fibonacci word?
- RQ5Can the framework be extended to other numeration systems beyond base-$k$ and Fibonacci?
Key findings
- The paper successfully re-proves known results about the Fibonacci word, including the absence of cubes and the structure of squares, using only mechanical computation.
- It proves that the morphic image $h(\mathbf{f})$ of the Fibonacci word under any non-empty morphism $h$ is Fibonacci-automatic, extending closure properties.
- It establishes a new avoidability result: there exists an aperiodic infinite binary word avoiding the pattern $xxx^R$, proven purely mechanically via the decision procedure.
- The implementation correctly validates hundreds of test cases, including known facts from the literature, and even detects minor errors in prior work.
- The system generates automata for complex predicates such as the existence of abelian cubes of a given order, with explicit automata provided for verification.
- The method is generalizable: it works for any numeration system where addition and ordering are computable by finite automata, including Pisot systems.
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.