arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02823cs.LO
收藏

多项式空间中循环程序的紧多项式界

Tight Polynomial Bounds for Loop Programs in Polynomial Space

A. M. Ben-Amram, G. W. Hamilton

AI总结:

本文证明多项式空间中循环程序的紧多项式界问题是PSPACE完全的,并提出一种空间高效的分析算法,通过单变量界算法及几何归约实现多元界的计算。

摘要:

我们考虑以下问题:给定一个程序,根据其输入值,找出计算结束(或任何给定程序点)时某些变量值的紧渐近界。我们关注多项式有界变量的情况,以及一种弱编程语言,对于这种语言,我们最近已证明多项式有界变量的紧界是可计算的。这些界是多元多项式集合。虽然其可计算性已经解决,但该程序分析问题的复杂性仍然悬而未决。在本文中,我们证明该问题是PSPACE完全的。主要贡献是一个新的、空间高效的分析算法。该算法通过几个步骤获得。首先,我们为单变量界开发了一个算法,这是一个已经是PSPACE困难的子问题。然后,通过将该问题归约到单变量情形,实现了多元界的判定过程;这种归约与单变量问题的解法正交,并利用了对表示多元界的向量集合的几何观察。最后,我们改造单变量界算法以产生多元界。

英文摘要:

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 this problem to the univariate case; this reduction is orthogonal to the solution of the univariate problem and uses observations on the geometry of a set of vectors that represent multivariate bounds. Finally, we transform the univariate-bound algorithm to produce multivariate bounds.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑