Multiphase-Linear Ranking Functions and their Relation to Recurrent Sets

11/18/2018
by   Amir M. Ben-Amram, et al.
0

Multiphase ranking functions (MΦRFs) are tuples 〈 f_1,...,f_d 〉 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ΦRF asks to determine whether a given SLC loop admits a MΦRF, and the corresponding bounded decision problem restricts the search to MΦ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ΦRFs to that of seeking recurrent sets (used to prove non-termination). It also helps in identifying classes of loops for which MΦ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ΦRFs and SLC loops in general. For example, a result on bounded SLC loops becomes straightforward.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/12/2020

DynamiTe: Dynamic Termination and Non-termination Proofs

There is growing interest in termination reasoning for non-linear progra...
research
09/10/2021

Termination Analysis of Programs with Multiphase Control-Flow

Programs with multiphase control-flow are programs where the execution p...
research
10/23/2017

Ranking Functions for Vector Addition Systems

Vector addition systems are an important model in theoretical computer s...
research
08/07/2020

Distilling Programs to Prove Termination

The problem of determining whether or not any program terminates was sho...
research
01/27/2019

Existence Problem of Telescopers for Rational Functions in Three Variables: the Mixed Cases

We present criteria on the existence of telescopers for trivariate ratio...
research
02/02/2023

Termination of linear loops under commutative updates

We consider the following problem: given d × d rational matrices A_1, …,...

Please sign up or login with your details

Forgot password? Click here to reset