首页> 外文会议> >An observationally complete program logic for imperative higher-order functions
【24h】

An observationally complete program logic for imperative higher-order functions

机译:指令式高阶函数的观察上完整的程序逻辑

获取原文

摘要

We propose a simple compositional program logic for an imperative extension of call-by-value PCF, built on Hoare logic and our preceding work on program logics for pure higher-order functions. A systematic use of names and operations on them allows precise and general description of complex higher-order imperative behaviour. The logic offers a foundation for general treatment of aliasing and local state on its basis, with minimal extensions. After establishing soundness, we prove that valid assertions for programs completely characterise their behaviour up to observational congruence, which is proved using a variant of finite canonical forms. The use of the logic is illustrated through reasoning examples which are hard to assert and infer using existing program logics.
机译:我们提出了一种简单的组合程序逻辑,用于按值调用PCF的命令性扩展,它基于Hoare逻辑以及我们之前针对纯高阶函数的程序逻辑进行的工作。系统地使用名称及其上的操作可以对复杂的高阶命令式行为进行精确而通用的描述。该逻辑为别名和局部状态的一般处理提供了基础,并且扩展最少。建立健全性之后,我们证明程序的有效断言可以完全表征其行为,直到观察到的一致性为止,这是通过使用有限规范形式的变体来证明的。通过推理示例说明了逻辑的使用,这些示例很难使用现有的程序逻辑来断言和推断。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号