On Decidable Growth-Rate Properties of Imperative Programs

Computer Science – Logic in Computer Science

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

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

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

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.

Rate now

     

Profile ID: LFWR-SCP-O-532216

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.