首页> 外文会议>Fundamental Approaches to Software Engineering; Lecture Notes in Computer Science; 4422 >Practical Reasoning About Invocations and Implementations of Pure Methods
【24h】

Practical Reasoning About Invocations and Implementations of Pure Methods

机译:关于纯方法的调用和实现的实践推理

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

User-defined functions used in the specification of objectoriented programs are called pure methods. Providing sound and practical support for pure methods in a verification system faces many challenges, especially when pure methods have executable implementations and can be invoked from code at run time. This paper describes a design for reasoning about pure methods in the context of sound, modular verification. The design addresses (1) how to axiomatize pure methods as mathematical functions enabling reasoning about their result values; (2) preconditions and frame conditions for pure methods enabling reasoning about the implementation of a pure method. Two important considerations of the design are that it work with object invariants and that its logical encoding be suitable for fully automatic theorem provers. The design has been implemented in the Spec# programming system.
机译:在面向对象程序的规范中使用的用户定义函数称为纯方法。为验证系统中的纯方法提供可靠而实用的支持面临许多挑战,尤其是当纯方法具有可执行的实现并且可以在运行时从代码中调用时。本文介绍了一种在合理的模块化验证环境中对纯方法进行推理的设计。该设计解决了(1)如何将纯方法公理化为数学函数,从而能够推理其结果值; (2)纯方法的前提条件和框架条件,可以对纯方法的实现进行推理。设计的两个重要考虑因素是,它可以处理对象不变式,并且其逻辑编码适合全自动定理证明。该设计已在Spec#编程系统中实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号