English

Deciding Polynomial Termination Complexity for VASS Programs

Logic in Computer Science 2021-12-07 v3

Abstract

We show that for every fixed k3k\geq 3, the problem whether the termination/counter complexity of a given demonic VASS is O(nk)\mathcal{O}(n^k), Ω(nk)\Omega(n^{k}), and Θ(nk)\Theta(n^{k}) is coNP-complete, NP-complete, and DP-complete, respectively. We also classify the complexity of these problems for k2k\leq 2. This shows that the polynomial-time algorithm designed for strongly connected demonic VASS in previous works cannot be extended to the general case. Then, we prove that the same problems for VASS games are PSPACE-complete. Again, we classify the complexity also for k2k\leq 2. Interestingly, tractable subclasses of demonic VASS and VASS games are obtained by bounding certain structural parameters, which opens the way to applications in program analysis despite the presented lower complexity bounds.

Keywords

Cite

@article{arxiv.2102.06889,
  title  = {Deciding Polynomial Termination Complexity for VASS Programs},
  author = {Michal Ajdarów and Antonín Kučera},
  journal= {arXiv preprint arXiv:2102.06889},
  year   = {2021}
}
R2 v1 2026-06-23T23:07:40.723Z