English

Decidability, Complexity, and Expressiveness of First-Order Logic Over the Subword Ordering

Logic in Computer Science 2021-09-27 v2 Formal Languages and Automata Theory

Abstract

We consider first-order logic over the subword ordering on finite words, where each word is available as a constant. Our first result is that the Σ1\Sigma_1 theory is undecidable (already over two letters). We investigate the decidability border by considering fragments where all but a certain number of variables are alternation bounded, meaning that the variable must always be quantified over languages with a bounded number of letter alternations. We prove that when at most two variables are not alternation bounded, the Σ1\Sigma_1 fragment is decidable, and that it becomes undecidable when three variables are not alternation bounded. Regarding higher quantifier alternation depths, we prove that the Σ2\Sigma_2 fragment is undecidable already for one variable without alternation bound and that when all variables are alternation bounded, the entire first-order theory is decidable.

Keywords

Cite

@article{arxiv.1701.07470,
  title  = {Decidability, Complexity, and Expressiveness of First-Order Logic Over the Subword Ordering},
  author = {Simon Halfon and Philippe Schnoebelen and Georg Zetzsche},
  journal= {arXiv preprint arXiv:1701.07470},
  year   = {2021}
}

Comments

26 pages, 1 table

R2 v1 2026-06-22T18:00:30.545Z