A finer reparameterisation theorem for MSO and FO queries on strings
Logic in Computer Science
2026-05-25 v2 Formal Languages and Automata Theory
Abstract
We show a theorem on monadic second-order k-ary queries on finite words. It may be illustrated by the following example: if the number of results of a query on binary strings is O(number of 0s number of 1s), then each result can be MSO-definably identified from a 0-position, a 1-position and some finite data. Our proofs also handle the case of first-order logic / aperiodic monoids. Thus we can state and prove the folklore theorem that dimension minimisation holds for first-order string-to-string interpretations.
Cite
@article{arxiv.2512.06466,
title = {A finer reparameterisation theorem for MSO and FO queries on strings},
author = {Lê Thành Dũng Nguyên and Paweł Parys},
journal= {arXiv preprint arXiv:2512.06466},
year = {2026}
}
Comments
5 pages; not submitted to a journal yet, some details need to be fleshed out. New in v2: proof of counterexample, via N-rational series; added recent references