Loopster++: Termination Analysis for Multi-path Linear Loop

Hui Jin,Weimin Ge,Yao Zhang,Xiaohong Li,Zhidong Deng
DOI: https://doi.org/10.1007/978-3-030-92635-9_28
2021-01-01
Abstract:Loop structure is widely adopted in many applications, e.g. collaborative applications, social network applications, and edge computing. And the termination of the loop is of great significance to the correctness of the program. Most of the previous relative studies focused on determining the termination of a loop program by synthesizing the ranking functions, but not every ranking function can be synthesized. Although a class of linear loop program termination has been proven to be decidable, it is always difficult to analyze the termination of a multi-path linear loop. Xie et al. [20] presented Loopster to quickly check the termination of the multi-path loop program by analyzing the termination of each path and the dependency between paths. But it relies on the monotonicity of variables which is very complicated to check when the variables increase.
What problem does this paper attempt to address?