Termination Analysis of Programs with Multiphase Control-Flow

Jesús J. Domenech
(Universidad Complutense de Madrid)
Samir Genaim
(Universidad Complutense de Madrid)

Programs with multiphase control-flow are programs where the execution passes through several (possibly implicit) phases. Proving termination of such programs (or inferring corresponding runtime bounds) is often challenging since it requires reasoning on these phases separately. In this paper we discuss techniques for proving termination of such programs, in particular: (1) using multiphase ranking functions, where we will discuss theoretical aspects of such ranking functions for several kinds of program representations; and (2) using control-flow refinement, in particular partial evaluation of Constrained Horn Clauses, to simplify the control-flow allowing, among other things, to prove termination with simpler ranking functions.

In Hossein Hojjat and Bishoksan Kafle : Proceedings 8th Workshop on Horn Clauses for Verification and Synthesis (HCVS 2021), Virtual, 28th March 2021, Electronic Proceedings in Theoretical Computer Science 344, pp. 13–21.
Published: 13th September 2021.

ArXived at: https://dx.doi.org/10.4204/EPTCS.344.2 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org