[Paper Review] Parikh Images of Regular Languages: Complexity and Applications
This paper establishes a polynomial-time algorithm to compute the Parikh image of an NFA over a fixed-size alphabet as a finite union of linear sets with at most k generators and total size 2^O(k² log n), resolving an open question on succinct representation. It introduces a novel normal form theorem for semilinear sets using convex geometry, enabling applications in integer programming, LTL model checking, and PAC learning of semilinear sets with tight complexity bounds.
We show that the Parikh image of the language of an NFA with n states over an alphabet of size k can be described as a finite union of linear sets with at most k generators and total size 2^{O(k^2 log n)}, i.e., polynomial for all fixed k >= 1. Previously, it was not known whether the number of generators could be made independent of n, and best upper bounds on the total size were exponential in n. Furthermore, we give an algorithm for performing such a translation in time 2^{O(k^2 log(kn))}. Our proof exploits a previously unknown connection to the theory of convex sets, and establishes a normal form theorem for semilinear sets, which is of independent interests. To complement these results, we show that our upper bounds are tight and that the results cannot be extended to context-free languages. We give four applications: (1) a new polynomial fragment of integer programming, (2) precise complexity of membership for Parikh images of NFAs, (3) an answer to an open question about polynomial PAC-learnability of semilinear sets, and (4) an optimal algorithm for LTL model checking over discrete-timed reversal-bounded counter systems.
Motivation & Objective
- To resolve the open problem of whether the Parikh image of an NFA over a fixed alphabet size k can be represented with a number of generators independent of the number of states n.
- To establish a normal form for semilinear sets in N^k with at most k generators and size bounded by 2^O(k² log n), improving over exponential bounds in prior work.
- To provide tight complexity bounds for the Parikh image computation and show that these bounds are optimal for NFAs.
- To extend the applicability of Parikh's theorem to practical verification and learning problems by enabling efficient translations between automata and semilinear representations.
Proposed method
- Leverages Carathéodory’s theorem from convex geometry to derive a normal form for semilinear sets in N^k, ensuring at most k generators per linear component.
- Reduces the problem of computing Parikh images of NFAs to constructing a finite union of linear sets with bounded generators and size, using a novel translation algorithm.
- Applies the normal form to derive a 2^O(k² log(kn))-time algorithm for translating NFAs to semilinear sets with total size 2^O(k² log n).
- Uses the normal form to show that membership in Parikh images of NFAs can be decided in time 2^O(k² log(kn) + log log b), polynomial in n and log b for fixed k.
- Replaces prior exponential-size translations in LTL model checking and PAC learning with polynomial-size representations, improving efficiency.
- Proves optimality of bounds by constructing NFAs whose Parikh images require Ω(n^{k-1}) linear sets, showing the exponent in the time bound cannot be improved.
Experimental results
Research questions
- RQ1Can the Parikh image of an NFA over a fixed-size alphabet k be represented using a number of generators independent of the number of states n?
- RQ2Is there a normal form for semilinear sets in N^k with at most k generators and size polynomial in the input size for fixed k?
- RQ3What is the precise complexity of deciding membership in the Parikh image of an NFA over a k-letter alphabet?
- RQ4Can the results be extended to context-free languages, or are they inherently limited to regular languages?
- RQ5Can the new normal form be used to achieve polynomial-time PAC-learnability of semilinear sets in any fixed dimension k ≥ 1?
Key findings
- The Parikh image of an NFA with n states over a k-letter alphabet can be represented as a union of at most 2^O(k² log n) linear sets, each with at most k generators, and the total size is bounded by 2^O(k² log n).
- The translation from NFA to semilinear representation can be computed in time 2^O(k² log(kn)), which is polynomial for any fixed k ≥ 1.
- The paper establishes a normal form theorem for semilinear sets in N^k: any such set can be expressed as a union of 2^O(k log(kn)) linear sets with at most k generators, and all numbers in the representation are bounded by 2^O(k log(kn)).
- The bounds are tight: for every fixed k ≥ 1, there exist NFAs with n states whose Parikh images require Ω(n^{k-1}) linear sets, proving the exponent in the time complexity cannot be improved.
- The results lead to a polynomial-time algorithm for LTL model checking over reversal-bounded counter systems with discrete clocks, improving on the prior double-exponential bound.
- Semilinear sets in unary representation over any fixed dimension k ≥ 1 are polynomially PAC-learnable, resolving an open question left by Abe [1] for k > 2.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.