Abstract
Extending Frid's ordinary-length recurrence (2019, Theorem 4), we prove the sharp factor-two and unbounded equal-cost assertions of Ambrož, Kadlec, Masáková and Pelantová, arXiv:1812.00711v2, Section 6, p. 13, final paragraph and Tables 1–2, p. 14, by identifying the combined pal-antipal length of each zero-start Thue–Morse prefix with the minimum weight of a signed binary expansion of its length. Desubstitution proves this formula and the sharp comparison with ordinary palindromic length. We determine all first equal-cost occurrences and the exact logarithmic upper growth rate of the combined length. Frid's recurrence also yields prefixes attaining the factor-two endpoint at every positive combined cost.
Citation
Haobo Ma, Wenlin Zhang. A signed-weight extension of Frid's recurrence for the Thue–Morse prefix problems of Ambrož, Kadlec, Masáková and Pelantová. Version 2. https://doi.org/10.5281/zenodo.24488906
Formalization
Published Lean source accompanies this paper. Exact statement coverage and independently checked contributions are recorded on its Mathesis page.