English

Edit distance in substitution systems

Combinatorics 2025-09-19 v3 Dynamical Systems

Abstract

Let σ\sigma be a primitive substitution on an alphabet A\mathcal{A}, and let Wn\mathcal{W}_n be the set of words of length nn determined by σ\sigma (i.e., wWnw \in \mathcal{W}_n if ww is a subword of σk(a)\sigma^k(a) for some aAa \in \mathcal{A} and k1k \geq 1). It is known that the corresponding substitution dynamical system is loosely Kronecker (also known as zero-entropy loosely Bernoulli), so the diameter of Wn\mathcal{W}_n in the edit distance is o(n)o(n). We improve this upper bound to O(n/logn)O(n/\sqrt{\log n}). The main challenge is handling the case where σ\sigma is non-uniform; a better bound is available for the uniform case. Finally, we show that for the Thue--Morse substitution, the diameter of Wn\mathcal{W}_n is at least n/61\sqrt {n/6} - 1.

Cite

@article{arxiv.2501.00440,
  title  = {Edit distance in substitution systems},
  author = {Andrew Best and Yuval Peres},
  journal= {arXiv preprint arXiv:2501.00440},
  year   = {2025}
}

Comments

25 pages, 4 figures; updated introduction

R2 v1 2026-06-28T20:53:21.385Z