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

  • Wang Lin
  • , Min Wu*
  • , Zhengfeng Yang
  • , Zhenbing Zeng
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

5 Scopus citations

Abstract

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.

Original languageEnglish
Pages (from-to)192-202
Number of pages11
JournalFrontiers of Computer Science
Volume8
Issue number2
DOIs
StatePublished - Apr 2014

Keywords

  • precondition generation
  • semidefinite programming
  • sum-of-squares relaxation
  • symbolic computation
  • total correctness

Fingerprint

Dive into the research topics of 'Proving total correctness and generating preconditions for loop programs via symbolic-numeric computation methods'. Together they form a unique fingerprint.

Cite this