【24h】

Proving Program Properties Specified with Subtype Marks

机译:验证用子类型标记指定的程序属性

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

摘要

This paper presents a method that facilitates formal reasoning about the correctness of programs. In this method, properties of programs (e.g. pre- and postconditions of functions) are described in terms of type invariants. Subtype marks are annotations attached to types and denote type invariants. A large amount of program properties expressed with subtype marks are verifiable fully automatically by an appropriate type system; the rest can be proven with a proof system. In this paper an eager pure functional language with a type system supporting subtype marks is briefly described. By assigning an interpretation to subtype marks, a concept of program correctness is introduced. The soundness of the presented type system is investigated.
机译:本文提出了一种方法,可以促进关于程序正确性的形式化推理。在这种方法中,程序的属性(例如,函数的前置条件和后置条件)是根据类型不变量描述的。子类型标记是附加到类型的注释,表示类型不变量。适当的类型系统可以完全自动验证用子类型标记表示的大量程序属性。其余的可以通过证明系统来证明。在本文中,简要描述了带有支持子类型标记的类型系统的渴望的纯功能语言。通过为子类型标记分配解释,引入了程序正确性的概念。研究了所提出类型系统的可靠性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号