首页> 外文会议>International Conference on Mathematics of Program Construction(MPC 2004); 20040712-20040714; Stirling; GB >Chasing Bottoms A Case Study in Program Verification in the Presence of Partial and Infinite Values
【24h】

Chasing Bottoms A Case Study in Program Verification in the Presence of Partial and Infinite Values

机译:追根溯源一个存在部分和无限值的程序验证案例研究

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

摘要

This work is a case study in program verification: We have written a simple parser and a corresponding pretty-printer in a non-strict functional programming language with lifted pairs and functions (Haskell). A natural aim is to prove that the programs are, in some sense, each other's inverses. The presence of partial and infinite values in the domains makes this exercise interesting, and having lifted types adds an extra spice to the task. We have tackled the problem in different ways, and this is a report on the merits of those approaches. More specifically, we first describe a method for testing properties of programs in the presence of partial and infinite values. By testing before proving we avoid wasting time trying to prove statements that are not valid. Then we prove that the programs we have written are in fact (more or less) inverses using first fixpoint induction and then the approximation lemma.
机译:这项工作是程序验证中的一个案例研究:我们用非严格的函数式编程语言编写了一个简单的解析器和一个相应的漂亮打印机,并带有对和函数(Haskell)。一个自然的目的是证明这些程序在某种意义上是彼此相反的。域中存在局部值和无限值使此练习变得有趣,而提升类型则为任务增加了额外的趣味。我们以不同的方式解决了这个问题,这是关于这些方法的优点的报告。更具体地说,我们首先描述一种在存在部分和无限值的情况下测试程序属性的方法。通过在证明之前进行测试,我们避免了浪费时间试图证明无效的语句。然后我们证明我们编写的程序实际上(或多或少)是使用第一个固定点归纳和然后的近似引理求逆的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号