期刊文献+

基于不变式生成的循环停机性验证

A Proving the Termination of Loops Based on the Generation of Invariants
下载PDF
导出
摘要 循环的停机性验证是程序验证中的一个难点。程序不变式用来描述程序变量的取值关系,其中线性不变式可以帮助描述程序变量间的线性关系,循环不变式能够有效刻画循环中的变量关系。本文基于线性不变式和多项式循环不变式的生成,将循环的停机性验证转化为求解一个最优化问题,给出了一个实用的程序停机性验证框架。基于该框架可以自动地验证程序的停机性,并给出循环的复杂度上界。实验结果说明了该方法的实用性。 Proving the termination of loops is a difficult part of program verification.Program invariants can describe the relations of program variables.Linear invariants can describe the linear relations of variables,and the relations of variables in the loops can be presented by loop invariants.By generating linear invariants and polynomial loop invariants,we transform proving the termination of loops to solving an optimization problem,then we present a practical framework of proving termination.Using the framework,the termination of loops can be proved automatically,and the complexity bounds of loops can be computed.The experimental results show the practicality of the method.
出处 《计算机工程与科学》 CSCD 北大核心 2012年第4期108-113,共6页 Computer Engineering & Science
基金 国家自然科学基金资助项目(60703075 60973105 90718017) 国家教育部博士点基金资助项目(20070006055)
关键词 不变式 停机性验证 最优化问题 复杂度上界 invariant proving termination optimization problem complexity bound
  • 相关文献

参考文献29

  • 1Tiwari A. Termination of Linear Programs [c] // Proc of CAV' 04,2004 : 70-82.
  • 2Colon M, Sipma H. Synthesis of Linear Ranking Functions [C]//Proc of TACAS'01, 2001:67-81.
  • 3Colon M, Sipma H. Practical Methods for Proving Program Tcrmination[C]//Proc of CAV' 02, 2002 : 227-240.
  • 4Podelski A, Rybalchenko A. Transition Predicate Abstrac tion and Fair Termination [C]//Proc of POPL ' 05, 2005 :132-144.
  • 5Podelski A, Rybalchenko A. A Complete Method for the Synthesis of Linear Ranking Functions[C]//Proc of VM- CAI'04, 2004:465-486.
  • 6Cook B, Gulwani S, Lev-Ami T,et al. Proving Conditional Termination[C]//Proc of CAV' 08, 2008 :328-340.
  • 7Bradley A R, Manna Z, Sipma H B. Termination of Polynomial Programs[C]//Proc of VMCAI' 05, 2005:113-129.
  • 8Lee C S, Jones N D, Ben-Amram A M. The Size-Change Principle for Program Termination[C]//Proc of POPL' 01, 2001:81-92.
  • 9Zantema H. Classifying Termination of Term Rewriting[R]. Technical Report, RUU-CS-91-42, Utrecht University, Netherlands, 1991.
  • 10BenCherifa A,Lescanne P. Termination of Rewriting Sys terns by Polynomial Interpretations and Its Implementation [J]. SCP, 1987, 9(2),137-160.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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