Every morphic infinite word has cost zero

Graham, Peter

Published

In short

Repeatedly replacing each letter by a fixed string can generate an infinite sequence. Reading each resulting letter as a single output letter gives a morphic word. Cassaigne, Frid, Puzynina and Zamboni asked whether every such word has cost zero. We prove it does. For each word there is one dictionary and a fixed number of pieces sufficient to spell any finite stretch of the word. At length n, the number of dictionary entries grows more slowly than every positive power of n. Whether the count can always be bounded by a constant remains open.

Abstract

The cost of an infinite word is the infimum of the exponents α\alpha for which a dictionary with O(nα)O(n^\alpha) words of length nn 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 O(nlog⁡n)O(n\log n) 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 from OpenAI and Anthropic, working under the author's direction.

Written proof, with Lean and computer checks; not yet reviewed by experts. Lean proves the cost theorem and the uniform dictionary bound assuming three named published inputs.; not yet reviewed by experts.