首页> 外文会议>International Workshop on Computer Science Logic >Nested Hoare Triples and Frame Rules for Higher-Order Store
【24h】

Nested Hoare Triples and Frame Rules for Higher-Order Store

机译:高阶商店的嵌套Hoare三元组和框架规则

获取原文
获取外文期刊封面目录资料

摘要

Separation logic is a Hoare-style logic for reasoning about programs with heap-allocated mutable data structures. As a step toward extending separation logic to high-level languages with ML-style general (higher-order) storage, we investigate the compatibility of nested Hoare triples with several variations of higher-order frame rules. The interaction of nested triples and frame rules can be subtle, and the inclusion of certain frame rules is in fact unsound. A particular combination of rules can be shown consistent by means of a Kripke model where worlds live in a recursively denned ultrametric space. The resulting logic allows us to elegantly prove programs involving stored code. In particular, it leads to natural specifications and proofs of invariants required for dealing with recursion through the store.
机译:分离逻辑是一个Hoare风格的逻辑,了解具有堆分配的可变数据结构的程序。作为将分离逻辑扩展到高级别语言的步骤,以ML风格的一般(高阶)存储,我们调查嵌套的Hoare Triples与高阶帧规则的多个变体的兼容性。嵌套三元组和帧规则的交互可以是微妙的,并且包含某些帧规则实际上是不合作的。通过克里普克模型可以一致地示出规则的特定组合,其中万维克模型在递归欺骗的超空间中生活。由此产生的逻辑允许我们优雅地证明涉及存储的代码的程序。特别是,它导致通过商店处理递归所需的自然规格和不变性的证据。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号