期刊文献+

基于Kripke结构的程序正确性证明 被引量:1

Proof of program correctness based on Kripke structure
下载PDF
导出
摘要 为了方便证明程序的正确性,引入了Kripke结构,提出基于Kripke结构的程序正确性证明。重新定义了适合证明的Kripke结构,并描述了将程序流程图转换为Kripke结构状态图的方法。给出了证明程序正确性的相关定理和基于Kripke结构的程序正确性证明方法。证明方法为:首先,把程序流程图转换为状态图;然后,根据状态之间的转移关系列出每个状态下的状态谓词;最后,证明每个状态谓词为真。根据状态谓词进行证明,能够反映出程序执行的状态。用该方法对一个实例进行了完整的证明。 In order to prove program correctness conveniently,Kripke structure was introduced to propose the proof of program correctness.Kripke structure was redefined to be adequate for proof,and the approach of converting program flow chart to Kripke structure state diagram was described.The related theories of proof of program correctness and the method of proof of program correctness based on Kripke structure were also given.First the program flow chart was converted to state diagram,and then the state predicate in every state was listed according to the transformational relation between states.Finally,every state predicate was proved to be true.Proof through the state predicates can reflect the state of program execution.A whole proving process was carried out through an example.
作者 林杰 余建坤
出处 《计算机应用》 CSCD 北大核心 2011年第5期1425-1427,共3页 journal of Computer Applications
关键词 KRIPKE结构 程序正确性证明 状态图 谓词 Kripke structure proof of program correctness state diagram predicate
  • 相关文献

参考文献22

二级参考文献27

  • 1刘育刚,吕光楣.PROLOG运行机制的辅助理解工具[J].小型微型计算机系统,1993,14(10):49-53. 被引量:4
  • 2Zhen-HuaDuan,MaciejKoutny.A Framed Temporal Logic Programming Language[J].Journal of Computer Science & Technology,2004,19(3):341-351. 被引量:9
  • 3胡蓬,何英,石纯一,王克宏,王凤林.一种静态的协商算法[J].计算机学报,1996,19(6):466-471. 被引量:5
  • 4K R Apt.While程序中的Hoare逻辑[J].计算机科学,1986,(2):67-74.
  • 5陆汝玲.计算机语言的形式语义[M].北京:科学出版社,1992.327.
  • 6HK伯格.程序验证和规范形式方法[M].北京:科学出版社,1989.34.
  • 7Plaisted D A.机器定理证明的抽象映射[J].计算机科学,1984,(6):46-57.
  • 8H K伯格.程序验证和规范的形式方法[M].北京:科学出版社,1989..
  • 9Duan Z, Yang X,Koutny M. Framed Temporal Logic Programming[J]. Science of Computer Programming, 2008, 70 (1):31- 61
  • 10Duan Z. An Extended interval Temporal Logic and A Framing Technique for Temporal Logic Programming [D]. University of Newcastle upon Tyne, 1996

共引文献10

同被引文献9

引证文献1

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部