Computer Science – Logic in Computer Science
Scientific paper
2010-05-04
EPTCS 23, 2010, pp. 1-14
Computer Science
Logic in Computer Science
Scientific paper
10.4204/EPTCS.23.1
In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple "core" programming language - an imperative language with bounded loops, and arithmetics limited to addition and multiplication - it was possible to decide precisely whether a program had certain growth-rate properties, namely polynomial (or linear) bounds on computed values, or on the running time. This work emphasized the role of the core language in mitigating the notorious undecidability of program properties, so that one deals with decidable problems. A natural and intriguing problem was whether more elements can be added to the core language, improving its utility, while keeping the growth-rate properties decidable. In particular, the method presented could not handle a command that resets a variable to zero. This paper shows how to handle resets. The analysis is given in a logical style (proof rules), and its complexity is shown to be PSPACE-complete (in contrast, without resets, the problem was PTIME). The analysis algorithm evolved from the previous solution in an interesting way: focus was shifted from proving a bound to disproving it, and the algorithm works top-down rather than bottom-up.
No associations
LandOfFree
On Decidable Growth-Rate Properties of Imperative Programs does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with On Decidable Growth-Rate Properties of Imperative Programs, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and On Decidable Growth-Rate Properties of Imperative Programs will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-532216