...
首页> 外文期刊>The Journal of object technology >Modular Verification of Linked Lists with Views via Separation Logic
【24h】

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 .NET. 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 through multiple, possibly overlapping, views of the same underlying list. For modularity, we build on 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.
机译:我们提出了分离逻辑规范以及带有视图的链接列表的验证,这些视图是来自.NET的C5集合库的数据结构。视图是众所周知的迭代器概念的概括。具有视图的链接列表构成了一个有趣的案例研究,可用于验证,因为它们允许通过同一基础列表的多个可能重叠的视图进行突变。对于模块性,我们建立在一个高阶分离逻辑的片段上,并使用抽象谓词给出一个可以证明客户端正确的规范。我们介绍了一种带有视图的新型列表数学模型,并为数据结构上的操作制定了简洁的模块化抽象规范。为了表明具体实现可以实现该规范,我们以新颖的方式使用分数权限来捕获视图及其基础列表之间的数据共享。最后,我们为进行此案例研究提出了未来研究的方向,并提出了建议。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号