Sciweavers

VMCAI
2007
Springer

On Flat Programs with Lists

13 years 10 months ago
On Flat Programs with Lists
Abstract. In this paper we analyze the complexity of checking safety and termination properties, for a very simple, yet non-trivial, class of programs with singly-linked list data structures. Since, in general, programs with lists are known to have the power of Turing machines, we restrict the control structure, by forbidding nested loops and destructive updates. Surprisingly, even with these simplifying conditions, verifying safety and termination for programs working on heaps with more than one cycle are undecidable, whereas decidability can be established when the input heap may have at most one loop. The proofs for both the undecidability and the decidability results rely on non-trivial number-theoretic results.
Marius Bozga, Radu Iosif
Added 09 Jun 2010
Updated 09 Jun 2010
Type Conference
Year 2007
Where VMCAI
Authors Marius Bozga, Radu Iosif
Comments (0)