【24h】

Reasoning about Function Objects

机译:关于功能对象的推理

获取原文

摘要

Modern object-oriented languages support higher-order implementations through function objects such as delegates in C#, agents in Eiffel, or closures in Scala. Function objects bring a new level of abstraction to the object-oriented programming model, and require a comparable extension to specification and verification techniques. We introduce a verification methodology that extends function objects with auxiliary side-effect free (pure) methods to model logical artifacts: preconditions, postconditions and modifies clauses. These pure methods can be used to specify client code abstractly, that is, independently from specific instantiations of the function objects. To demonstrate the feasibility of our approach, we have implemented an automatic prover, which verifies several non-trivial examples.
机译:现代面向对象语言通过C#,埃菲尔的代理商等函数对象支持高阶实现,或者在Scala中封闭。函数对象为面向对象的编程模型带来了新的抽象级别,并需要对规范和验证技术进行可比扩展。我们介绍了一种验证方法,将函数对象扩展到辅助副作用(纯)方法,以模拟逻辑伪影:前提条件,后置条件和修改子句。这些纯方法可用于抽象地指定客户端代码,即独立于函数对象的特定实例化。为了展示我们方法的可行性,我们已经实施了一个自动证明,验证了几个非琐碎的例子。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号