Skip to main content
QUICK REVIEW

[Paper Review] An approach to computing downward closures

Georg Zetzsche|arXiv (Cornell University)|Mar 3, 2015
semigroups and automata theoryComputer Science17 references9 citations
TL;DR

This paper presents a general method for computing the downward closure of word languages by reducing the problem to checking a simultaneous unboundedness property (SUP). It proves that for language classes closed under rational transductions and with effectively semilinear Parikh images, downward closures are computable, extending to matrix languages and indexed languages—offering a unified, simplified approach for previously established and new classes.

ABSTRACT

The downward closure of a word language is the set of all (not necessarily contiguous) subwords of its members. It is well-known that the downward closure of any language is regular. While the downward closure appears to be a powerful abstraction, algorithms for computing a finite automaton for the downward closure of a given language have been established only for few language classes. This work presents a simple general method for computing downward closures. For language classes that are closed under rational transductions, it is shown that the computation of downward closures can be reduced to checking a certain unboundedness property. This result is used to prove that downward closures are computable for (i) every language class with effectively semilinear Parikh images that are closed under rational transductions, (ii) matrix languages, and (iii) indexed languages (equivalently, languages accepted by higher-order pushdown automata of order 2).

Motivation & Objective

  • To develop a general, systematic approach for computing downward closures of word languages, which are otherwise difficult to compute for many language classes.
  • To address the challenge that while downward closures are always regular, computing a finite automaton for them is undecidable in general.
  • To identify sufficient conditions under which downward closures become computable, particularly focusing on closure properties and Parikh image semilinearity.
  • To extend the computability of downward closures beyond context-free and Petri net languages to include matrix languages and indexed languages.
  • To unify and simplify existing algorithms for downward closure computation by reducing them to a single core problem: the simultaneous unboundedness problem (SUP).

Proposed method

  • Reduce the problem of computing downward closures to solving the simultaneous unboundedness problem (SUP), which checks whether a language in $a_1^* \cdots a_n^*$ contains words with arbitrarily large exponents for all letters.
  • Leverage the fact that if a language class is closed under rational transductions and has effectively semilinear Parikh images, then SUP is decidable, implying downward closure computability.
  • Use rational transductions to transform the original language into a form where SUP can be checked, exploiting closure under such operations.
  • Construct a finite automaton for the downward closure by analyzing the structure of derivation trees and slice decompositions in grammars, particularly for indexed and matrix languages.
  • Apply the method to finite index scattered context grammars to simulate derivations and generate the correct subword sets, ensuring regularity of the resulting language.
  • Use pre-order traversal of slice trees to generate initial sentential forms and define production sequences that simulate push and pop operations in parallel, preserving correctness.

Experimental results

Research questions

  • RQ1Can the downward closure of a language be computed in a general and systematic way for language classes beyond context-free and Petri net languages?
  • RQ2Under what conditions is the simultaneous unboundedness problem (SUP) decidable, and how does this relate to the computability of downward closures?
  • RQ3Can the computability of downward closures be extended to matrix languages and indexed languages using a unified framework?
  • RQ4To what extent can the downward closure computation be reduced to checking semilinearity and closure under rational transductions?
  • RQ5How does the proposed method simplify or unify existing algorithms for computing downward closures in known language classes?

Key findings

  • The downward closure of any language is regular, but computing a finite automaton for it is undecidable in general.
  • For language classes closed under rational transductions and with effectively semilinear Parikh images, downward closures are computable via the simultaneous unboundedness problem (SUP).
  • The method re-proves computability for context-free languages and stacked counter automata, and extends it to multiple context-free languages and matrix languages.
  • The downward closure is computable for indexed languages (equivalently, languages accepted by higher-order pushdown automata of order 2), resolving a long-standing open problem.
  • The approach simplifies existing algorithms by reducing them to a single core problem—SUP—thereby unifying and streamlining the computation process.
  • The construction of a finite automaton for the downward closure is achieved through a finite index scattered context grammar that simulates derivation trees and slice structures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.