Skip to main content
QUICK REVIEW

[Paper Review] Two-Way Parikh Automata

Emmanuel Filiot, Shibashis Guha|arXiv (Cornell University)|Jan 1, 2019
semigroups and automata theoryComputer Science7 references2 citations
TL;DR

This paper investigates two-way Parikh automata (2PA), extending one-way Parikh automata with a two-way input head. It establishes that emptiness is PSpace-complete for bounded-visit 2PA and undecidable in general for non-deterministic 2PA. For semi-linear constraints expressed as Σi-Presburger formulas, it provides tight complexity bounds, showing that inclusion, universality, and equivalence problems for Σi-2DPA are ΠExp_i-complete, with complexity dominated by formula satisfiability for i > 1.

ABSTRACT

Parikh automata extend automata with counters whose values can only be tested at the end of the computation, with respect to membership into a semi-linear set. Parikh automata have found several applications, for instance in transducer theory, as they enjoy decidable emptiness problem. In this paper, we study two-way Parikh automata. We show that emptiness becomes undecidable in the non-deterministic case. However, it is PSpace-C when the number of visits to any input position is bounded and the semi-linear set is given as an existential Presburger formula. We also give tight complexity bounds for the inclusion, equivalence and universality problems. Finally, we characterise precisely the complexity of those problems when the semi-linear constraint is given by an arbitrary Presburger formula.

Motivation & Objective

  • To analyze the decidability and complexity of fundamental decision problems—emptiness, inclusion, equivalence, and universality—for two-way Parikh automata (2PA).
  • To characterize the expressive power of 2PA relative to one-way Parikh automata and unambiguous automata.
  • To determine the precise complexity of problems when the acceptance condition is given by Σi-Presburger formulas, especially for i > 1.
  • To establish tight complexity bounds in the weak exponential hierarchy for classes of 2PA with bounded visit constraints.

Proposed method

  • Extends one-way Parikh automata with a two-way input head, allowing the head to move left and right over the input.
  • Analyzes emptiness via a small witnesses property and careful complexity analysis of the conversion from 2DPA to unambiguous PA.
  • Uses alternating Turing machines and quantifier alternation to derive upper bounds for problems involving Σi-Presburger formulas.
  • Applies closure properties of 2DPA under Boolean operations to reduce inclusion and universality to emptiness problems.
  • Employs reductions from satisfiability and validity of Σi-Presburger formulas to prove lower bounds.
  • Leverages known results on word transducers and crossing sequences to show that unambiguous PA are equivalent to two-way deterministic finite transducers, enabling the 2DPA-UPA correspondence.

Experimental results

Research questions

  • RQ1Is the emptiness problem decidable for non-deterministic two-way Parikh automata, and if so, what is its complexity?
  • RQ2What is the exact complexity of emptiness for bounded-visit two-way Parikh automata with existential Presburger constraints?
  • RQ3How do the inclusion, universality, and equivalence problems for two-way deterministic Parikh automata scale when acceptance is defined by Σi-Presburger formulas?
  • RQ4What is the relationship between two-way deterministic Parikh automata and unambiguous one-way Parikh automata in terms of expressive power and complexity?
  • RQ5Does the complexity of decision problems for 2PA become dominated by the complexity of Presburger formula reasoning when i > 1?

Key findings

  • Emptiness of bounded-visit two-way Parikh automata is PSpace-complete, even when the number of visits per input position is bounded by a constant.
  • Emptiness becomes undecidable for general non-deterministic two-way Parikh automata.
  • The inclusion, universality, and equivalence problems for Σi-2DPA are ΠExp_i-complete, with complexity dominated by the satisfiability of Σi-Presburger formulas for i > 1.
  • For i = 1, the complexity of emptiness remains PSpace-complete, while satisfiability of Σ1-formulas is NP-complete, showing a separation in complexity regimes.
  • Two-way deterministic Parikh automata are expressively equivalent to unambiguous one-way Parikh automata, with a doubly exponential blowup in the conversion.
  • The membership problem for 2PA is NP-complete, matching the complexity of one-way Parikh automata.

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.