Transforming Proof Tableaux of Hoare Logic into Inference Sequences of Rewriting Induction

CoRR Pub Date : 2018-02-16 DOI:10.4204/EPTCS.265.4
Shinnosuke Mizutani, Naoki Nishida
{"title":"Transforming Proof Tableaux of Hoare Logic into Inference Sequences of Rewriting Induction","authors":"Shinnosuke Mizutani, Naoki Nishida","doi":"10.4204/EPTCS.265.4","DOIUrl":null,"url":null,"abstract":"A proof tableau of Hoare logic is an annotated program with pre- and post-conditions, which corresponds to an inference tree of Hoare logic. In this paper, we show that a proof tableau for partial correctness can be transformed into an inference sequence of rewriting induction for constrained rewriting. We also show that the resulting sequence is a valid proof for an inductive theorem corresponding to the Hoare triple if the constrained rewriting system obtained from the program is terminating. Such a valid proof with termination of the constrained rewriting system implies total correctness of the program w.r.t. the Hoare triple. The transformation enables us to apply techniques for proving termination of constrained rewriting to proving total correctness of programs together with proof tableaux for partial correctness.","PeriodicalId":10720,"journal":{"name":"CoRR","volume":"12 1","pages":"35-51"},"PeriodicalIF":0.0000,"publicationDate":"2018-02-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"CoRR","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.265.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A proof tableau of Hoare logic is an annotated program with pre- and post-conditions, which corresponds to an inference tree of Hoare logic. In this paper, we show that a proof tableau for partial correctness can be transformed into an inference sequence of rewriting induction for constrained rewriting. We also show that the resulting sequence is a valid proof for an inductive theorem corresponding to the Hoare triple if the constrained rewriting system obtained from the program is terminating. Such a valid proof with termination of the constrained rewriting system implies total correctness of the program w.r.t. the Hoare triple. The transformation enables us to apply techniques for proving termination of constrained rewriting to proving total correctness of programs together with proof tableaux for partial correctness.
将Hoare逻辑的证明表转化为改写归纳的推理序列
霍尔逻辑的证明表是一个带有前置和后置条件的注释程序,它对应于霍尔逻辑的推理树。在本文中,我们证明了部分正确性的证明表可以转化为约束重写的重写归纳推理序列。我们还证明了如果从该程序得到的约束重写系统是终止的,则所得序列是对应于Hoare三元组的一个归纳定理的有效证明。这样一个具有约束重写系统终止的有效证明意味着程序的完全正确性。这种转换使我们能够应用证明约束重写终止的技术来证明程序的全部正确性,以及部分正确性的证明表。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信