Tight Polynomial Bounds for Loop Programs in Polynomial Space

10/06/2020
by   A. M. Ben-Amram, et al.
0

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. While their computability has been settled, the complexity of this program-analysis problem remained open. In this paper, we establish its complexity class to be PSPACE. Intuitively, we show that it is possible to compute these tight bounds by interpreting the program using a novel, compact abstract representation which nevertheless achieves completeness. One of the keys to this reduction in size is the restriction to univariate bounds. Then, a solution 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 a different technique altogether. Another auxiliary result is the proof of a bound on the degree of polynomial bounds for such programs; we show that the degree is at most exponential in the program size.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/24/2019

Tight Polynomial Worst-Case Bounds for Loop Programs

In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple progr...
research
10/30/2020

Typable Fragments of Polynomial Automatic Amortized Resource Analysis

Being a fully automated technique for resource analysis, automatic amort...
research
07/13/2021

Tight bounds on the Fourier growth of bounded functions on the hypercube

We give tight bounds on the degree ℓ homogenous parts f_ℓ of a bounded f...
research
01/27/2022

Two-Commodity Flow is Equivalent to Linear Programming under Nearly-Linear Time Reductions

We give a nearly-linear time reduction that encodes any linear program a...
research
03/08/2022

mwp-Analysis Improvement and Implementation: Realizing Implicit Computational Complexity

Implicit Computational Complexity (ICC) drives better understanding of c...
research
01/08/2019

Complexity Bounds for the Controllability of Temporal Networks with Conditions, Disjunctions, and Uncertainty

In temporal planning, many different temporal network formalisms are use...
research
06/24/2021

An implementation of flow calculus for complexity analysis (tool paper)

Abstract. We present a tool to automatically perform the data-size analy...

Please sign up or login with your details

Forgot password? Click here to reset