【24h】

Beyond Shapes: Lists with Ordered Data

机译:超越形状:具有排序数据的列表

获取原文
获取原文并翻译 | 示例

摘要

Standard analysis on recursive data structures restrict their attention to shape properties (for instance, a program that manipulates a list returns a list), excluding properties that deal with the actual content of these structures. For instance, these analysis would not establish that the result of merging two ordered lists is an ordered list. Separation logic, one of the prominent framework for these kind of analysis, proposed a heap model that could represent data, but, to our knowledge, no predicate dealing with data has ever been integrated to the logic while preserving decidability. We establish decidability for (first-order) separation logic with a predicate that allows to compare two successive data in a list. We then consider the extension where two data in arbitrary positions may be compared, and establish the undecidability in general. We define a guarded fragment that turns out to be both decidable and sufficiently expressive to prove the preservation of the loop invariant of a standard program merging ordered lists. We finally consider the extension with the magic-wand and prove that, by constrast with the data-free case, even a very restricted use of the magic wand already introduces undecidability.
机译:对递归数据结构的标准分析将注意力集中在形状属性上(例如,处理列表的程序会返回一个列表),不包括处理这些结构实际内容的属性。例如,这些分析不能确定合并两个有序列表的结果是有序列表。分离逻辑是这类分析的重要框架之一,它提出了一个可以表示数据的堆模型,但是据我们所知,在保留可判定性的同时,还没有将处理数据的谓词集成到逻辑中。我们使用谓词建立(一阶)分离逻辑的可判定性,该谓词允许比较列表中的两个连续数据。然后,我们考虑可以将任意位置的两个数据进行比较的扩展,并确定一般情况下的不确定性。我们定义了一个受保护的片段,该片段被证明是可确定的并且具有足够的表达力,以证明标准程序合并有序列表的循环不变性得以保留。我们最终考虑了魔术棒的扩展,并证明了通过与无数据的情况进行对比,即使是非常严格的魔术棒使用也已经带来了不确定性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号