首页> 外文会议>European conference on object-oriented programming >A Formal Semantics for Isorecursive and Equirecursive State Abstractions
【24h】

A Formal Semantics for Isorecursive and Equirecursive State Abstractions

机译:等距和递归状态抽象的形式语义

获取原文

摘要

Methodologies for static program verification and analysis often support recursive predicates in specifications, in order to reason about recursive data structures. Intuitively, a predicate instance represents the complete unrolling of its definition; this is the equirecursive interpretation. However, this semantics is unsuitable for static verification, when the recursion becomes unbounded. For this reason, most static verifiers differentiate between, e.g., a predicate instance and its corresponding body, while providing a facility to map between the two; this is the isorecursive semantics. While this latter interpretation is usually implemented in practice, only the equirecursive semantics is typically treated in theoretical work. In this paper, we provide both an isorecursive and an equirecursive formal semantics for recursive definitions in the context of Chalice, a verification methodology based on implicit dynamic frames. We show that development of such formalisations requires addressing several subtle issues, such as the possibility of infinitely-recursive definitions and the need for the isorecursive semantics to correctly reflect the restrictions that make it readily implementable. These questions are made more challenging still in the context of implicit dynamic frames, where the use of heap-dependent expressions provides further pitfalls for a correct formal treatment.
机译:静态程序验证和分析的方法通常支持规范中的递归谓词,以便推理出递归数据结构。直觉上,谓词实例代表其定义的完整展开。这是等递归的解释。但是,当递归变得不受限制时,此语义不适合静态验证。因此,大多数静态验证程序会在例如谓词实例及其对应的主体之间进行区分,同时提供在两者之间进行映射的便利。这是等规语义。尽管通常在实践中执行后一种解释,但是在理论工作中通常只处理等递归语义。在本文中,我们在Chalice上下文中为递归定义提供了等规和等规形式语义,这是一种基于隐式动态框架的验证方法。我们表明,这种形式化的发展需要解决一些细微的问题,例如无限递归定义的可能性以及对等递归语义正确反映使其易于实现的限制的需求。在隐式动态框架的背景下,这些问题变得更具挑战性,在隐式动态框架中,依赖于堆的表达式的使用为正确的形式化处理提供了进一步的陷阱。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号