@inproceedings{2c6aa33ba92c458d8c7e1ff64bdedb44,
title = "Linear maps",
abstract = "Verification of large programs is impossible without proof techniques that allow local reasoning and information hiding. In this paper, we take the approach of modeling the heap as a collection of partial functions with disjoint domains. We call each such partial function a linear map. Programmers may select objects from linear maps, update linear maps or transfer addresses and their contents from one linear map to another. Programmers may also declare new linear map variables and pass linear maps as arguments to procedures. The program logic prevents any of these operations from duplicating locations and thereby breaking the key heap representation invariant: the domains of all linear maps remain disjoint. Linear maps facilitate modular reasoning because programs that use them are also able to use simple, classical frame rules to preserve information about heap state across procedure calls. We illustrate our approach through examples, prove that our verification rules are sound, and show that operations on linear maps may be erased and replaced by equivalent operations on a single, global heap.",
keywords = "Languages, Reliability, Theory, Verification",
author = "Lahiri, {Shuvendu K.} and Shaz Qadeer and David Walker",
year = "2011",
doi = "10.1145/1929529.1929531",
language = "English (US)",
isbn = "9781450304870",
series = "PLPV'11 - Proceedings of the 5th ACM Workshop on Programming Languages Meets Program Verification",
pages = "3--14",
booktitle = "PLPV'11 - Proceedings of the 5th ACM Workshop on Programming Languages Meets Program Verification",
note = "5th ACM Workshop on Programming Languages Meets Program Verification, PLPV 2011 ; Conference date: 29-01-2011 Through 29-01-2011",
}