首页> 外文会议>International Conference on Mathematics of Program Construction >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 flxpoint induction and then the approximation lemma.
机译:这项工作是在程序验证中进行一个案例研究:我们已经用升降的对和功能(Haskell)编写了一个简单的解析器和相应的漂亮打印机。自然目的是证明这些程序在某种意义上是彼此的反转。域中的部分和无限值的存在使得这种运动有趣,并且具有升降的类型为任务增加了额外的香料。我们以不同的方式解决了这个问题,这是一份关于这些方法的优点的报告。更具体地,我们首先描述在存在部分和无限值的情况下测试程序的性质的方法。通过测试之前,我们避免浪费时间试图证明无效的陈述。然后,我们证明我们所写的程序实际上(或多或少)使用第一个FLXPOINT诱导和近似引理的逆转录。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号