Context-Free Commutative Grammars with Integer Counters and Resets

preprint2016arXivOpen access

Abstract

We study the computational complexity of reachability, coverability and inclusion for extensions of context-free commutative grammars with integer counters and reset operations on them. Those grammars can alternatively be viewed as an extension of communication-free Petri nets. Our main results are that reachability and coverability are inter-reducible and both NP-complete. In particular, this class of commutative grammars enjoys semi-linear reachability sets. We also show that the inclusion problem is, in general, coNEXP-complete and already Π2PΠ_2^\text{P}-complete for grammars with only one non-terminal symbol. Showing the lower bound for the latter result requires us to develop a novel Π2PΠ_2^\text{P}-complete variant of the classic subset sum problem.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.