10th Asia-Pacific Software Engineering Conference (APSEC'03) Reasoning about Pointers in Refinement Calculus Chiang Mai, Thailand December 10-December 12 ISBN: 0-7695-2011-1
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.
Citation:
Ralph-Johan Back, Xiaocong Fan, Viorel Preoteasa, "Reasoning about Pointers in Refinement Calculus," apsec, pp.425, 10th Asia-Pacific Software Engineering Conference (APSEC'03), 2003 Usage of this product signifies your acceptance of the Terms of Use. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||