Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2631948.2631966acmotherconferencesArticle/Chapter ViewAbstractPublication PagesissacConference Proceedingsconference-collections
research-article

A recursive decision method for termination of linear programs

Published: 28 July 2014 Publication History

Abstract

In their CAV 2004 and 2006 papers, Tiwari and Braverman have proved that, for a class of linear programs over the reals, termination is decidable. In this paper, we propose a new algorithm to decide whether a program of the same class terminates or not. In our approach, a program with an assignment matrix having a single Jordan block or having several Jordan blocks with the same eigenvalue is treated as a basic program to which we reduce a program with arbitrary assignment matrices in a recursive process. Furthermore, if a basic program is non-terminating, our method constructs at least one point on which a given basic program does not terminate. In contrast, for a non-terminating basic program, in most cases, the methods of Tiwari and Braverman provide only a so-called N-nonterminating point. Also, different from their methods, we do not need to guess a dominant term from every loop condition in our recursive procedure.

References

[1]
D. Babic, A. J. Hu, and Z. Rakamaric. Proving termination by divergence. In Software Engineering and Formal Methods, 2007. SEFM 2007. Fifth IEEE International Conference on, pages 93--102. IEEE, 2007.
[2]
A. R. Bradley, Z. Manna, and H. B. Sipma. Linear ranking with reachability. In Computer Aided Verification, pages 491--504. Springer, 2005.
[3]
M. Braverman. Termination of integer linear programs. In Computer aided verification, pages 372--385. Springer, 2006.
[4]
Y. Chen, B. Xia, L. Yang, N. Zhan, and C. Zhou. Discovering non-linear ranking functions by solving semi-algebraic systems. In Theoretical Aspects of Computing--ICTAC 2007, pages 34--49. Springer, 2007.
[5]
M. A. Colón and H. B. Sipma. Practical methods for proving program termination. In Computer Aided Verification, pages 442--454. Springer, 2002.
[6]
M. A. Colóon and H. B. Sipma. Synthesis of linear ranking functions. In Tools and Algorithms for the Construction and Analysis of Systems, pages 67--81. Springer, 2001.
[7]
P. Cousot. Proving program invariance and termination by parametric abstraction, lagrangian relaxation and semidefinite programming. In Verification, Model Checking, and Abstract Interpretation, pages 1--24. Springer, 2005.
[8]
K. Liu, Z. Shan, J. Wang, J. He, Z. Zhang, and Y. Qin. Overview on major research plan of trustworthy software. Bulletin of national natural science foundation of China, 22(3): 145--151(in Chinese with English abstract), 2008.
[9]
A. Podelski and A. Rybalchenko. A complete method for the synthesis of linear ranking functions. In Verification, Model Checking, and Abstract Interpretation, pages 239--251. Springer, 2004.
[10]
A. Tiwari. Termination of linear programs. In Computer Aided Verification, pages 70--82. Springer, 2004.
[11]
B. Xia, L. Yang, N. Zhan, and Z. Zhang. Symbolic decision procedure for termination of linear programs. Formal Aspects of Computing, 23(2): 171--190, 2011.
[12]
B. Xia and Z. Zhang. Termination of linear programs with nonlinear constraints. Journal of Symbolic Computation, 45(11): 1234--1249, 2010.
[13]
L. Yang and S. Xia. Automated proving for a class of constructive geometric inequalities. Chinese Journal of Computer, 26(7): 769--778, 2003.
[14]
L. Yang, N. Zhan, B. Xia, and C. Zhou. Program verification by using discoverer. In Verified Software: Theories, Tools, Experiments, pages 528--538. Springer, 2008.
[15]
L. Yang, C. Zhou, N. Zhan, and B. Xia. Recent advances in program verification through computer algebra. Frontiers of Computer Science in China, 4(1): 1--16, 2010.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
SNC '14: Proceedings of the 2014 Symposium on Symbolic-Numeric Computation
July 2014
154 pages
ISBN:9781450329637
DOI:10.1145/2631948
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

  • 973 Program: National Basic Research Program of China
  • KLMM: Key Laboratory of Mathematics Mechanization
  • MapleSoft
  • ORCCA: Ontario Research Centre for Computer Algebra
  • NSFC: Natural Science Foundation of China
  • Chinese Academy of Engineering: Chinese Academy of Engineering
  • NAG: Numerical Algorithms Group

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 28 July 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. linear loops
  2. semi-algebraic sets
  3. termination analysis

Qualifiers

  • Research-article

Funding Sources

Conference

SNC '14
Sponsor:
  • 973 Program
  • KLMM
  • ORCCA
  • NSFC
  • Chinese Academy of Engineering
  • NAG
SNC '14: Symbolic-Numeric Computation 2014
July 28 - 31, 2014
Shanghai, China

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media