Computer Science > Programming Languages
[Submitted on 18 Nov 2018 (v1), last revised 13 Jan 2019 (this version, v2)]
Title:Multiphase-Linear Ranking Functions and their Relation to Recurrent Sets
View PDFAbstract:Multiphase ranking functions (M$\Phi$RFs) are tuples $\langle f_1,\ldots,f_d \rangle$ of linear functions that are often used to prove termination of loops in which the computation progresses through a number of "phases". Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (Single-Path Constraint loops). The decision problem existence of a M$\Phi$RF asks to determine whether a given SLC loop admits a M$\Phi$RF, and the corresponding bounded decision problem restricts the search to M$\Phi$RFs of depth $d$, where the parameter $d$ is part of the input. The algorithmic and complexity aspects of the bounded problem have been completely settled in a recent work. In this paper we make progress regarding the existence problem, without a given depth bound. In particular, we present an approach that reveals some important insights into the structure of these functions. Interestingly, it relates the problem of seeking M$\Phi$RFs to that of seeking recurrent sets (used to prove non-termination). It also helps in identifying classes of loops for which M$\Phi$RFs are sufficient. Our research has led to a new representation for single-path loops, the difference polyhedron replacing the customary transition polyhedron. This representation yields new insights on M$\Phi$RFs and SLC loops in general. For example, a result on bounded SLC loops becomes straightforward.
Submission history
From: Samir Genaim [view email][v1] Sun, 18 Nov 2018 15:34:16 UTC (30 KB)
[v2] Sun, 13 Jan 2019 22:16:02 UTC (31 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.