Skip to main navigation Skip to search Skip to main content

Multiphase-Linear Ranking Functions and Their Relation to Recurrent Sets

  • Amir M. Ben-Amram
  • , Jesús J. Doménech
  • , Samir Genaim

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

18 Scopus citations

Abstract

Multiphase ranking functions (M (Forumala Presented). RFs) are used to prove termination of loops in which the computation progresses through a number of phases. They consist of linear functions (Forumala Presented). where (Forumala Presented). decreases during the ith phase. This work provides new insights regarding M (Forumala Presented). RFs for loops described by a conjunction of linear constraints ((Forumala Presented). loops). In particular, we consider the existence problem (does a given (Forumala Presented). loop admit a M (Forumala Presented). RF). The decidability and complexity of the problem, in the case that d is restricted by an input parameter, have been settled in recent work, while in this paper we make progress regarding the existence problem without a given depth bound. Our new approach, while falling short of a decision procedure for the general case, reveals some important insights into the structure of these functions. Interestingly, it relates the problem of seeking M (Forumala Presented). RFs to that of seeking recurrent sets (used to prove nontermination). It also helps in identifying classes of loops for which M (Forumala Presented). RFs are sufficient, and thus have linear runtime bounds. For the depth-bounded existence problem, we obtain a new polynomial-time procedure that can provide witnesses for negative answers as well. To obtain this procedure we introduce a new representation for (Forumala Presented). loops, the difference polyhedron replacing the customary transition polyhedron. We find that this representation yields new insights on M (Forumala Presented). RFs and (Forumala Presented). loops in general, and some results on termination and nontermination of bounded (Forumala Presented). loops become straightforward.

Original languageEnglish
Title of host publicationStatic Analysis - 26th International Symposium, SAS 2019, Proceedings
EditorsBor-Yuh Evan Chang
PublisherSpringer Science and Business Media Deutschland GmbH
Pages459-480
Number of pages22
ISBN (Print)9783030323035
DOIs
StatePublished - 1 Jan 2019
Externally publishedYes
Event26th International Static Analysis Symposium, SAS 2019 held as part of the 3rd World Congress on Formal Methods, FM 2019 - Porto, Portugal
Duration: 8 Oct 201911 Oct 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11822 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference26th International Static Analysis Symposium, SAS 2019 held as part of the 3rd World Congress on Formal Methods, FM 2019
Country/TerritoryPortugal
CityPorto
Period8/10/1911/10/19

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Multiphase-Linear Ranking Functions and Their Relation to Recurrent Sets'. Together they form a unique fingerprint.

Cite this