• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2010, Vol. 32 ›› Issue (9): 84-88.doi: 10.3969/j.issn.1007130X.2010.

• 论文 • 上一篇    下一篇

循环不变式开发技术研究

万松松1,2,薛锦云1,3,谢武平1   

  1. (1.江西师范大学省高性能计算重点实验室,江西 南昌 330022;2.江西科技师范学院,江西 南昌 330013;
    3.中国科学院软件研究所计算机科学重点实验室,北京 100080)
  • 收稿日期:2010-03-05 修回日期:2010-06-08 出版日期:2010-09-02 发布日期:2010-09-02
  • 作者简介:万松松(1982),女,江西南昌人,研究生,助教,研究方向为软件形式化与自动化。
  • 基金资助:

    国家自然科学基金资助项目(60773054);国家973计划资助项目(2003CCA02800);科技部国际科技合作项目(2008DFA11940)

Analysis of Loop Invariant Development Technology

WAN Songsong1,2,XUE Jinyun1,3,XIE Wuping1   

  1. (1.Key Laboratory for Highperformance Computing Technology,Jiangxi Normal University,Nanchang 330022;
    2.Jiangxi Science and  Technology Normal University,Nanchang 330013;
    3.Key Labortory for Cmoputer Science,Institute of Software,Chinese Academy of Sciences,Bejing 10080,China)
  • Received:2010-03-05 Revised:2010-06-08 Online:2010-09-02 Published:2010-09-02

摘要:

高可靠性软件是当今软件开发的热点问题。确保算法程序逻辑结构正确最理想的途径是算法程序的形式化推导和证明,而循环不变式是算法程序形式推导和证明的关键。循环不变式的开发一直是算法程序设计领域中最具挑战性、最富有创造性、也是最困难的问题之一。本文研究了众多现有循环不变式开发方法中较为典型的几种方法,指出了它们的基本原理、技术难点、特点及效果,旨在探寻循环不变式本质特征,从而为研究更简单、有效的生成方法提出指导。

关键词: 循环不变式, PAR方法, 高可靠性软件, 谓词抽象

Abstract:

Nowadays,highreliability software is a hot issue in software development. The best way to insure the logical structure of algorithms is the formal derivation and proof,and loop invariant is the key to deriving and proving algorithms formally. But the development of loop invariant is always the most difficult,the most creative and the most challenging issue. This paper studies several typical methods of the existing loop invariant development technology,points out  their basic principles,methods,characteristics and effect. This paper analyses several loop invariant development technologies,and points out some problems,to explore the essential characteristics of loop invariant,thus try to give the research guidance for simple and effective methods.

Key words: loop invariant;PAR method;highreliability software;predict abstract