首页> 外文期刊>Frontiers of computer science in China >Proving total correctness and generating preconditions for loop programs via symbolic-numeric computation methods
【24h】

Proving total correctness and generating preconditions for loop programs via symbolic-numeric computation methods

机译:通过符号数字计算方法证明循环程序的整体正确性并生成前提条件

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

摘要

We present a symbolic-numeric hybrid method, based on sum-of-squares (SOS) relaxation and rational vector recovery, to compute inequality invariants and ranking functions for proving total correctness and generating preconditions for programs. The SOS relaxation method is used to compute approximate invariants and approximate ranking functions with floating point coefficients. Then Gauss-Newton refinement and rational vector recovery are applied to approximate polynomials to obtain candidate polynomials with rational coefficients, which exactly satisfy the conditions of invariants and ranking functions. In the end, several examples are given to show the effectiveness of our method.
机译:我们提出一种基于平方和(SOS)松弛和有理向量恢复的符号数字混合方法,以计算不等式不变性和排名函数,以证明总体正确性并生成程序的前提条件。 SOS松弛方法用于计算近似不变量和具有浮点系数的近似排名函数。然后将高斯-牛顿细化和有理矢量恢复应用于近似多项式,以获得具有有理系数的候选多项式,该多项式正好满足不变性和排序函数的条件。最后,通过几个例子说明了该方法的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号