Verification of multi-linked heaps

作者:

Highlights:

摘要

We define the class of single-parent heap systems, which rely on a singly-linked heap in order to model destructive updates on tree structures. This encoding has the advantage of relying on a relatively simple theory of linked lists in order to support abstraction computation. To facilitate the application of this encoding, we provide a program transformation that, given a program operating on a multi-linked heap without sharing, transforms it into one over a single-parent heap. It is then possible to apply shape analysis by predicate and ranking abstraction. The technique has been successfully applied on examples with lists (reversal and bubble sort) and trees with of fixed arity (balancing of, and insertion into, a binary sort tree).

论文关键词:Heaps,Shape analysis,Verification,Abstraction,Ranking abstraction,Small model,Model checking,Termination,Trees,Lists

论文评审过程:Received 25 April 2010, Revised 1 May 2011, Accepted 5 August 2011, Available online 16 August 2011.

论文官网地址:https://doi.org/10.1016/j.jcss.2011.08.003