On the linear ranking problem for integer linear-constraint loops

Author:

Ben-Amram Amir M.1,Genaim Samir2

Affiliation:

1. The Tel-Aviv Academic College, Tel Aviv, Israel

2. Complutense University of Madrid, Madrid, Spain

Abstract

In this paper we study the complexity of the Linear Ranking problem: given a loop, described by linear constraints over a finite set of integer variables, is there a linear ranking function for this loop? While existence of such a function implies termination, this problem is not equivalent to termination. When the variables range over the rationals or reals, the Linear Ranking problem is known to be PTIME decidable. However, when they range over the integers, whether for single-path or multipath loops, the complexity of the Linear Ranking problem has not yet been determined. We show that it is coNP-complete. However, we point out some special cases of importance of PTIME complexity. We also present complete algorithms for synthesizing linear ranking functions, both for the general case and the special PTIME cases.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference45 articles.

1. E. Albert P. Arenas S. Genaim G. Puebla and D. Zanardini . Costa: Design and implementation of a cost and termination analyzer for java bytecode. In F. S. de Boer M. M. Bonsangue S. Graf and W. P. de Roever editors Formal Methods for Components and Objects FMCO'07 volume 5382 of LNCS pages 113 -- 132 . Springer 2007 . E. Albert P. Arenas S. Genaim G. Puebla and D. Zanardini. Costa: Design and implementation of a cost and termination analyzer for java bytecode. In F. S. de Boer M. M. Bonsangue S. Graf and W. P. de Roever editors Formal Methods for Components and Objects FMCO'07 volume 5382 of LNCS pages 113--132. Springer 2007.

2. Closed-Form Upper Bounds in Static Cost Analysis

3. C. Alias A. Darte P. Feautrier and L. Gonnord . Multi-dimensional rankings program termination and complexity bounds of flowchart programs. In R. Cousot and M. Martel editors Static Analysis Symposium SAS'10 volume 6337 of LNCS pages 117 -- 133 . Springer 2010 . C. Alias A. Darte P. Feautrier and L. Gonnord. Multi-dimensional rankings program termination and complexity bounds of flowchart programs. In R. Cousot and M. Martel editors Static Analysis Symposium SAS'10 volume 6337 of LNCS pages 117--133. Springer 2010.

4. R. Bagnara P. M. Hill and E. Zaffanella . An improved tight closure algorithm for integer octagonal constraints. In F. Logozzo D. Peled and L. D. Zuck editors phVerification Model Checking and Abstract Interpretation VMCAI'08 volume 4905 of LNCS pages 8 -- 21 . Springer 2008 . R. Bagnara P. M. Hill and E. Zaffanella. An improved tight closure algorithm for integer octagonal constraints. In F. Logozzo D. Peled and L. D. Zuck editors phVerification Model Checking and Abstract Interpretation VMCAI'08 volume 4905 of LNCS pages 8--21. Springer 2008.

5. The Parma Polyhedra Library: Toward a complete set of numerical abstractions for the analysis and verification of hardware and software systems

Cited by 32 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. On Lexicographic Proof Rules for Probabilistic Termination;Formal Aspects of Computing;2023-06-23

2. Using graph neural networks for program termination;Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2022-11-07

3. Lifting C semantics for dataflow optimization;Proceedings of the 36th ACM International Conference on Supercomputing;2022-06-28

4. Data-driven loop bound learning for termination analysis;Proceedings of the 44th International Conference on Software Engineering;2022-05-21

5. What’s decidable about linear loops?;Proceedings of the ACM on Programming Languages;2022-01-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3