Lune

LICS2024Top-tier venue

Slice closures of indexed languages and word equations with counting constraints

Laura Ciobanu, Georg Zetzsche

Abstract

Indexed languages are a classical notion in formal language theory. As the language equivalent of second-order pushdown automata, they have received considerable attention in higher-order model checking. Unfortunately, counting properties are notoriously difficult to decide for indexed languages: So far, all results about non-regular counting properties show undecidability.

In this paper, we initiate the study of slice closures of (Parikh images of) indexed languages. A slice is a set of vectors of natural numbers such that membership of 𝒖, 𝒖 +𝒗, 𝒖 +𝒘 implies membership of 𝒖 + 𝒗 + 𝒘. Our main result is that given an indexed language 𝐿, one can compute a semilinear representation of the smallest slice containing 𝐿's Parikh image.

We present two applications. First, one can compute the set of all affine relations satisfied by the Parikh image of an indexed language. In particular, this answers affirmatively a question by Kobayashi: Is it decidable whether in a given indexed language, every word has the same number of 𝑎's as 𝑏's.

As a second application, we show decidability of (systems of) word equations with rational constraints and a class of counting constraints: These allow us to look for solutions where a counting function (defined by an automaton) is not zero. For example, one can decide whether a word equation with rational constraints has a solution where the number of occurrences of 𝑎 differs between variables 𝑋 and 𝑌 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Subcubic certificates for CFL reachabilityDmitry Chistikov, Rupak Majumdar, Philipp SchepperPOPL 2022 · 17 citations
  2. Context-Bounded Verification of Context-Free SpecificationsPascal Baumann, Moses Ganardi, Rupak Majumdar, Ramanathan S. Thinniyam et al.POPL 2023 · 3 citations

Related papers

  1. The Complexity of Downward Closures of Indexed LanguagesRichard Mandel, Corto Mascle, Georg ZetzscheLICS 2026
  2. A Uniform Framework for Handling Position Constraints in String SolvingYu-Fang Chen, Vojtech Havlena, Michal Hecko, Lukás Holík et al.PLDI 2025
  3. Algebraic Closure of Matrix Sets Recognized by 1-VASSRida Ait El Manssour, Mahsa Naraghi, Mahsa Shirmohammadi, James WorrellSODA 2026 · 1 citation
  4. Reasoning on Data Words over Numeric DomainsDiego Figueira, Anthony Widjaja LinLICS 2022 · 3 citations
  5. Decision Procedures for Sequence TheoriesArtur Jez, Anthony W. Lin, Oliver Markgraf, Philipp RümmerCAV 2023 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines