TY - GEN
T1 - On multiphase-linear ranking functions
AU - Ben-Amram, Amir M.
AU - Genaim, Samir
N1 - Publisher Copyright:
© Springer International Publishing AG 2017
PY - 2017/1/1
Y1 - 2017/1/1
N2 - Multiphase ranking functions (MΦRFs) were proposed as a means to prove the termination of a loop in which the computation progresses through a number of “phases”, and the progress of each phase is described by a different linear ranking function. Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (single-path loops). We provide a complete polynomial-time solution to the problem of existence and of synthesis of MΦRF of bounded depth (number of phases), when variables range over rational or real numbers; a complete solution for the (harder) case that variables are integer, with a matching lower-bound proof, showing that the problem is coNP-complete; and a new theorem which bounds the number of iterations for loops with MΦRFs. Surprisingly, the bound is linear, even when the variables involved change in non-linear way. We also consider a type of lexicographic ranking functions more expressive than types of lexicographic functions for which complete solutions have been given so far. We prove that for the above type of loops, lexicographic functions can be reduced to MΦRFs, and thus the questions of complexity of detection, synthesis, and iteration bounds are also answered for this class.
AB - Multiphase ranking functions (MΦRFs) were proposed as a means to prove the termination of a loop in which the computation progresses through a number of “phases”, and the progress of each phase is described by a different linear ranking function. Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (single-path loops). We provide a complete polynomial-time solution to the problem of existence and of synthesis of MΦRF of bounded depth (number of phases), when variables range over rational or real numbers; a complete solution for the (harder) case that variables are integer, with a matching lower-bound proof, showing that the problem is coNP-complete; and a new theorem which bounds the number of iterations for loops with MΦRFs. Surprisingly, the bound is linear, even when the variables involved change in non-linear way. We also consider a type of lexicographic ranking functions more expressive than types of lexicographic functions for which complete solutions have been given so far. We prove that for the above type of loops, lexicographic functions can be reduced to MΦRFs, and thus the questions of complexity of detection, synthesis, and iteration bounds are also answered for this class.
UR - https://www.scopus.com/pages/publications/85026728255
U2 - 10.1007/978-3-319-63390-9_32
DO - 10.1007/978-3-319-63390-9_32
M3 - Conference contribution
AN - SCOPUS:85026728255
SN - 9783319633893
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 601
EP - 620
BT - Computer Aided Verification - 29th International Conference, CAV 2017, Proceedings
A2 - Kuncak, Viktor
A2 - Majumdar, Rupak
PB - Springer Verlag
T2 - 29th International Conference on Computer Aided Verification, CAV 2017
Y2 - 24 July 2017 through 28 July 2017
ER -