,
Corto Mascle
,
Georg Zetzsche
Creative Commons Attribution 4.0 International license
Indexed languages are a classical notion in formal language theory, which has attracted attention in recent decades due to its role in higher-order model checking: They are precisely the languages accepted by order-2 pushdown automata. The downward closure of an indexed language - the set of all (scattered) subwords of its members - is well-known to be a regular over-approximation. It is known since 2015 that the downward closure of a given indexed language is effectively computable. However, the algorithm comes with no complexity bounds, and it has remained open whether a primitive-recursive construction exists. We settle this question and provide a triply (resp. quadruply) exponential construction of a non-deterministic (resp. deterministic) automaton. We also prove (asymptotically) matching lower bounds. For the upper bounds, we rely on recent advances in semigroup theory, which let us compute bounded-size summaries of words with respect to a finite semigroup. By replacing stacks with their summaries, we are able to transform an indexed grammar into a context-free one with the same downward closure, and then apply existing bounds for context-free grammars.
@InProceedings{mandel_et_al:LIPIcs.LICS.2026.69,
author = {Mandel, Richard and Mascle, Corto and Zetzsche, Georg},
title = {{The Complexity of Downward Closures of Indexed Languages}},
booktitle = {41st Annual Symposium on Logic in Computer Science (LICS 2026)},
pages = {69:1--69:28},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-434-5},
ISSN = {1868-8969},
year = {2026},
volume = {380},
editor = {Faggian, Claudia and Katoen, Joost-Pieter},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.LICS.2026.69},
URN = {urn:nbn:de:0030-drops-268562},
doi = {10.4230/LIPIcs.LICS.2026.69},
annote = {Keywords: Higher-order pushdown automata, well quasi-orders, semigroup algebra}
}