Tight Polynomial Bounds for Loop Programs in Polynomial Space
A. M. Ben-Amram, G. W. Hamilton

TL;DR
This paper establishes the PSPACE-completeness of computing tight asymptotic bounds for polynomially-bounded variables in loop programs and introduces a space-efficient analysis algorithm for this problem.
Contribution
It presents the first space-efficient algorithm for computing tight polynomial bounds in loop programs, reducing the multivariate case to the univariate case.
Findings
The problem is PSPACE-complete.
A new space-efficient analysis algorithm is developed.
Reduction from multivariate to univariate bounds is achieved.
Abstract
We consider the following problem: given a program, find tight asymptotic bounds on the values of some variables at the end of the computation (or at any given program point) in terms of its input values. We focus on the case of polynomially-bounded variables, and on a weak programming language for which we have recently shown that tight bounds for polynomially-bounded variables are computable. These bounds are sets of multivariate polynomials. While their computability has been settled, the complexity of this program-analysis problem remained open. In this paper, we show the problem to be PSPACE-complete. The main contribution is a new, space-efficient analysis algorithm. This algorithm is obtained in a few steps. First, we develop an algorithm for univariate bounds, a sub-problem which is already PSPACE-hard. Then, a decision procedure for multivariate bounds is achieved by reducing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
