The Complexity of Downward Closures of Indexed Languages
Richard Mandel, Corto Mascle, Georg Zetzsche
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 30bc7a29-1c52-45cd-8480-107d033d7947Builds on5
- Context-bounded verification of liveness properties for multithreaded shared-memory programsPascal Baumann, Rupak Majumdar, Ramanathan S. Thinniyam, Georg ZetzschePOPL 2021 · 7 citations
- Verifying Unboundedness via AmalgamationAshwani Anand, Sylvain Schmitz, Lia Schütze, Georg ZetzscheLICS 2024 · 5 citations
- Context-bounded verification of thread poolsPascal Baumann, Rupak Majumdar, Ramanathan S. Thinniyam, Georg ZetzschePOPL 2022 · 3 citations
- Bounded Treewidth, Multiple Context-Free Grammars, and Downward ClosuresC. Aiswarya, Pascal Baumann, Prakash Saivasan, Lia Schütze et al.POPL 2026 · 1 citation
- On the Satisfiability of Context-free String Constraints with Subword-OrderingC. Aiswarya, Soumodev Mal, Prakash SaivasanLICS 2022 · 1 citation
Related papers
- Slice closures of indexed languages and word equations with counting constraintsLaura Ciobanu, Georg ZetzscheLICS 2024 · 2 citations
- On Indexing and Compressing Finite AutomataNicola Cotumaccio, Nicola PrezzaSODA 2021 · 26 citations
- Algebraic Closure of Matrix Sets Recognized by 1-VASSRida Ait El Manssour, Mahsa Naraghi, Mahsa Shirmohammadi, James WorrellSODA 2026 · 1 citation
- Efficient Algorithms for Recognizing Weighted Tree-Adjoining LanguagesAlexandra Butoi, Tim Vieira, Ryan Cotterell, David ChiangEMNLP 2023
- Regular Languages meet Prefix SortingJarno Alanko, Giovanna D'Agostino, Alberto Policriti, Nicola PrezzaSODA 2020 · 20 citations
