Every morphic infinite word has cost zero
Version 1 / Dec 04, 2026 / CC BY 4.0
Abstract
The cost of an infinite word is the infimum of the exponents for which a dictionary with words of length spells every finite factor (contiguous subword) in a bounded number of pieces. A morphic word is the letter-to-letter image of an infinite word generated by iterating a substitution on a letter. We prove that every morphic word has cost zero. One dictionary and one piece bound work for all positive exponents. This answers a question of Cassaigne, Frid, Puzynina and Zamboni, who established cost zero for words of factor complexity and bounded the zero-dimension of their increasing-run example between four and six. For polynomial growth, Smith's description of the word reduces the dictionary count to a divisor bound. For exponential growth, the same argument covers the stretches between exponentially growing letters. The remaining prefixes and suffixes come from only logarithmically many levels at each length. Lean checks the cost theorem and the uniform dictionary bound with three published results of Durand, Deviatov and Smith stated as axioms. This work has not yet been reviewed by experts. The proof, Lean formalization, finite tests and text were produced by AI models, working under the author's direction.
Provenance statement
Tools used
- OpenAI
- OpenAI
- Anthropic
- Anthropic
References
- J.-P. Allouche and J. Shallit, Automatic Sequences: Theory, Applications, Generalizations , Cambridge University Press, 2003, Ch. 7 (https://doi.org/10.1017/CBO9780511546563.008).DOI
- J. Cassaigne, A. E. Frid, S. Puzynina and L. Q. Zamboni, Cost and dimension of words of zero topological entropy (https://doi.org/10.24033/bsmf.2794), Bull. Soc. Math. France 147 (2019), 639--660. arXiv:1607.04728 (https://arxiv.org/abs/1607.04728).arXivDOI
- J. Cassaigne, C. Mauduit and F. Nicolas, Asymptotic behavior of growth functions of D0L-systems (https://arxiv.org/abs/0804.1327), arXiv preprint 0804.1327, 2009.link
- J. Cassaigne and F. Nicolas, Factor complexity (https://doi.org/10.1017/CBO9780511777653.005), in Combinatorics, Automata and Number Theory , Cambridge University Press, 2010.DOI
- A. Cobham, On the Hartmanis--Stearns problem for a class of tag machines (https://doi.org/10.1109/SWAT.1968.20), Ninth Annual Symposium on Switching and Automata Theory (1968), 51--60.DOI
- R. Deviatov, On subword complexity of morphic sequences (https://doi.org/10.1007/978-3-540-79709-8_17), Computer Science in Russia, LNCS 5010 (2008), 146--157.DOI
- R. Devyatov, On factor complexity of morphic sequences (https://doi.org/10.17323/1609-4514-2018-18-2-211-303), Mosc. Math. J. 18 (2018), 211--303.DOI
- F. Durand, Cobham's theorem for substitutions (https://doi.org/10.4171/JEMS/294), J. Eur. Math. Soc. 13 (2011), 1799--1814.DOI
- J.-J. Pansiot, Complexité des facteurs des mots infinis engendrés par morphismes itérés (https://doi.org/10.1007/3-540-13345-3_34), ICALP, LNCS 172 (1984), 380--389.DOI
- A. Salomaa and M. Soittola, Automata-Theoretic Aspects of Formal Power Series (https://doi.org/10.1007/978-1-4612-6264-0), Springer, 1978.DOI
Show all 11 referencesShow fewer references
- T. Smith, A characterization of morphic words with polynomial growth (https://arxiv.org/abs/1903.09905), Discrete Math. Theor. Comput. Sci. 22 (1), (2020), paper 3. doi:10.23638/DMTCS-22-1-3 (https://doi.org/10.23638/DMTCS-22-1-3).DOI
Version history
- v1 · 6 pagesSubmitted by Peter GrahamThe Zenodo archive is at https://doi.org/10.5281/zenodo.24830141. The paper text is licensed under CC BY 4.0. The Lean development and computer checks are available under Apache-2.0 in the tagged release at https://github.com/6/clank-lab/tree/morphic-word-cost-zero-v1/results/morphic-word-cost-zero.CurrentDec 04, 2026