通过分离逻辑对带有视图的链表进行模块化验证

J. B. Jensen, L. Birkedal, P. Sestoft
{"title":"通过分离逻辑对带有视图的链表进行模块化验证","authors":"J. B. Jensen, L. Birkedal, P. Sestoft","doi":"10.1145/1924520.1924524","DOIUrl":null,"url":null,"abstract":"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.\n We conclude by suggesting directions for future research that arose from conducting this case study.","PeriodicalId":383341,"journal":{"name":"J. Object Technol.","volume":"520 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":"{\"title\":\"Modular verification of linked lists with views via separation logic\",\"authors\":\"J. B. Jensen, L. Birkedal, P. Sestoft\",\"doi\":\"10.1145/1924520.1924524\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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.\\n We conclude by suggesting directions for future research that arose from conducting this case study.\",\"PeriodicalId\":383341,\"journal\":{\"name\":\"J. Object Technol.\",\"volume\":\"520 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-06-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"14\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"J. Object Technol.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1924520.1924524\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Object Technol.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1924520.1924524","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

摘要

我们给出了带有视图的链表的分离逻辑规范和验证,这是c#的C5集合库中的一种数据结构。视图是众所周知的迭代器概念的泛化。带视图的链表形成了一个有趣的验证案例研究,因为它们允许对同一底层列表的多个可能重叠的视图进行突变。对于模块化,我们在一个高阶分离逻辑片段中表示我们的规范,并使用抽象谓词给出一个规范,在这个规范中客户端可以被证明是正确的。我们引入了一种新的带视图列表的数学模型,并对数据结构上的操作给出了简洁的模块化抽象规范。为了表明具体实现实现了规范,我们以一种新颖的方式使用分数权限来捕获视图及其底层列表之间的数据共享。最后,我们提出了进行本案例研究的未来研究方向。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Modular verification of linked lists with views via separation logic
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书