[Paper Review] Tightening the Complexity of Equivalence Problems for Commutative Grammars
This paper establishes that the language equivalence problem for regular and context-free commutative grammars is coNEXP-complete, resolving a long-standing open question. By reducing validity in the Π₂ fragment of Presburger arithmetic to language inclusion in regular commutative grammars, the authors prove coNEXP-hardness and tighten the upper bound to coNEXP, also extending the result to communication-free Petri nets and reversal-bounded counter automata.
We show that the language equivalence problem for regular and context-free commutative grammars is coNEXP-complete. In addition, our lower bound immediately yields further coNEXP-completeness results for equivalence problems for communication-free Petri nets and reversal-bounded counter automata. Moreover, we improve both lower and upper bounds for language equivalence for exponent-sensitive commutative grammars.
Motivation & Objective
- To resolve the long-standing open question about the exact complexity of language equivalence for regular and context-free commutative grammars.
- To close the gap between the previously known Π²⁰-hard and coNEXP upper bounds for this problem.
- To extend the complexity results to related formal models, including communication-free Petri nets and reversal-bounded counter automata.
- To improve the upper bound for exponent-sensitive commutative grammars from 2-EXPSPACE to co-2NEXP.
- To clarify the non-monotonic complexity behavior of equivalence problems in the commutative vs. non-commutative setting.
Proposed method
- Reduction from the Π₂ fragment of Presburger arithmetic (coNEXP-complete) to language inclusion in regular commutative grammars.
- Leveraging a known construction from ‘HH14’ on ℤ-VASS to build a correspondence between integer vector addition systems and commutative grammars.
- Encoding counter operations in commutative grammars using non-terminal symbols to simulate state transitions and symbol production.
- Projecting language inclusion in commutative grammars onto Parikh images to work within the free commutative monoid.
- Applying results from Hague and Lin on reversal-bounded counter automata to derive coNEXP upper bounds via existential Presburger formulas.
- Using the equivalence of reachability sets in reversal-bounded counter automata to the validity of Π₂ sentences in Presburger arithmetic.
Experimental results
Research questions
- RQ1What is the exact complexity of language equivalence for regular and context-free commutative grammars?
- RQ2Can the Π²⁰-hardness result for regular commutative grammars be extended to context-free ones?
- RQ3What is the precise complexity of equivalence for exponent-sensitive commutative grammars, and can the 2-EXPSPACE upper bound be improved?
- RQ4How do the complexity results for commutative grammars transfer to communication-free Petri nets and reversal-bounded counter automata?
- RQ5Why does the complexity of language equivalence increase dramatically from PSPACE (non-commutative) to coNEXP (commutative) when alphabet size is unbounded?
Key findings
- The language equivalence problem for regular and context-free commutative grammars is coNEXP-complete, resolving an open problem posed by Huynh in 1985.
- The coNEXP-hardness result is established via a reduction from the Π₂ fragment of Presburger arithmetic, which is known to be coNEXP-complete.
- The upper bound for equivalence in exponent-sensitive commutative grammars is improved from 2-EXPSPACE to co-2NEXP.
- The equivalence problem for 0-reversal bounded counter automata is coNEXP-complete, with the hardness holding even for unary-encoded constants.
- Communication-free Petri nets and reversal-bounded counter automata inherit the coNEXP-completeness result due to their close correspondence with commutative grammars.
- The complexity of language equivalence is non-monotonic: it is Π²⁰-complete when the alphabet size is fixed, but jumps to coNEXP-complete when the alphabet is unbounded.
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.