首页> 外文会议>Unifying theories of programming >Reasoning about Loops in Total and General Correctness
【24h】

Reasoning about Loops in Total and General Correctness

机译:关于总体正确性和一般正确性的循环的推理

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

摘要

We introduce a calculus for reasoning about programs in total correctness which blends UTP designs with von Wright's notion of a demonic refinement algebra. We demonstrate its utility in verifying the familiar loop-invariant rule for refining a total-correctness specification by a while loop. Total correctness equates non-termination with completely chaotic behaviour, with the consequence that any situation which admits non-termination must also admit arbitrary terminating behaviour. General correctness is more discriminating in allowing non-termination to be specified together with more particular terminating behaviour. We therefore introduce an analogous calculus for reasoning about programs in general correctness which blends UTP prescriptions with a demonic refinement algebra. We formulate a loop-invariant rule for refining a general-correctness specification by a while loop, and we use our general-correctness calculus to verify the new rule.
机译:我们介绍了一种用于对程序进行完全正确性推理的演算,该演算将UTP设计与von Wright的恶魔精炼代数概念进行了融合。我们展示了它在验证熟悉的循环不变规则方面的效用,该规则用于通过while循环完善总正确性规范。完全正确性将不终止等同于完全混乱的行为,其结果是,任何允许不终止的情况也必须允许任意终止行为。在允许指定非终止以及更特定的终止行为时,一般正确性更具区分性。因此,我们引入了一种类似的演算来对程序的总体正确性进行推理,该程序将UTP处方与恶魔般的代数融合在一起。我们制定了一个循环不变规则,以通过while循环完善一般正确性规范,然后使用我们的一般正确性演算来验证新规则。

著录项

  • 来源
    《Unifying theories of programming》|2008年|p.62-81|共20页
  • 会议地点 Dublin(IE);Dublin(IE)
  • 作者单位

    School of Computing University of Teesside, Middlesbrough, UK;

    School of Information Technology and Electrical Engineering University of Queensland, Brisbane, Australia;

    Department of Computer Science University of York, York, UK;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 程序设计、软件工程;
  • 关键词

  • 入库时间 2022-08-26 14:06:34

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号