Modular verification of linked lists with views via separation logic
- Jonas Braband Jensen,
- Lars Birkedal,
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 4:1--4:7 (7 pages)Publication milestones
- Published - 31/12/2010
Publication status
Published - 31/12/2010
Place of publication
New York, NY, USAPublisher
Association for Computing Machinery, United StatesISBN (Electronic)
978-1-4503-0540-2Publication IDs
- Scopus: 79957992985
Host publication title
Proceedings of the 12th Workshop on Formal Techniques for Java-Like ProgramsAbstract
We present a separation logic specification and verification of linked lists with views, a data structure from the C5 collection library for C#. A view is a generalization of the well-known concept of an iterator. Linked lists with views form an interesting case study for verification since they allow mutation of multiple possibly-overlapping views of the same underlying list. For modularity, we present our specification in a fragment of higher-order separation logic and use abstract predicates to give a specification with respect to which clients can be proved correct. We introduce a novel mathematical model of lists with views, and formulate succinct modular abstract specifications of the operations on the data structure. To show that the concrete implementation realizes the specification, we use fractional permissions in a novel way to capture the sharing of data between views and their underlying list.
We conclude by suggesting directions for future research that arose from conducting this case study.
We conclude by suggesting directions for future research that arose from conducting this case study.
Publication metrics
PlumX, opens in new tab
Captures
6
Citations
3
