首页> 外文会议>Mathematics of Program Construction >A Hoare Logic for Call-by-Value FunctionalPrograms
【24h】

A Hoare Logic for Call-by-Value FunctionalPrograms

机译:按值调用功能程序的Hoare逻辑

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

摘要

We present a Hoare logic for a call-by-value programming language equipped with recursive, higher-order functions, algebraic data types, and a polymorphic type system in the style of Hindley and Milner. It is the theoretical basis for a tool that extracts proof obligations out of programs annotated with logical assertions. These proof obligations, expressed in a typed, higher-order logic, are discharged using off-the-shelf automated or interactive theorem provers. Although the technical apparatus that we exploit is by now standard, its application to call-by-value functional programming languages appears to be new, and (we claim) deserves attention. As a sample application, we check the partial correctness of a balanced binary search tree implementation.
机译:我们提供了一种按值编程语言的Hoare逻辑,该语言配备了递归的高阶函数,代数数据类型以及Hindley和Milner风格的多态类型系统。它是从带有逻辑断言的程序中提取证明义务的工具的理论基础。这些证明义务以类型化的高阶逻辑表示,使用现成的自动或交互式定理证明者来履行。尽管我们目前使用的技术设备是标准的,但它在按值调用功能编程语言中的应用似乎是新的,并且(我们声称)值得关注。作为一个示例应用程序,我们检查平衡的二进制搜索树实现的部分正确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号