Reasoning about Pointers in Refinement Calculus (2003)
AUTHORS:
Back Ralph-Johan,
Fan Xiaocong,
Preoteasa Viorel
BOOKTITLE:
Proceedings of the Tenth Asia-Pacific Software Engineering Conference (APSEC'03)
INTERNALPDF:
internalpdf/inpBaFaPr03a.pdf
@inproceedings{ inpBaFaPr03a, author = "Back, Ralph-Johan and Fan, Xiaocong and Preoteasa, Viorel", title = "Reasoning about Pointers in Refinement Calculus", booktitle = "Proceedings of the Tenth Asia-Pacific Software Engineering Conference ({APSEC}'03)", lab = "Software Construction", month = "Dec", project = "refinement methods", flags = "copy", year = "2003", pdf = "inpBaFaPr03a.pdf", abstract = "Pointers are an important programming concept. They are used explicitely or implicitly in many programming languages. In particular, the semantics of object-oriented programming languages rely on pointers. We introduce a semantics for pointer structures. Pointers are seen as indexes and pointer fields are functions from these indexes to values. Using this semantics we turn all pointer operations into simple assignments and then we use refinement calculus techniques to construct a pointer-manipulating program that checks whether or not a single linked list has a loop.We also introduce an induction principle on pointer structures in order to reduce complexity of the proofs." }