English

Termination Analysis of Programs with Multiphase Control-Flow

Programming Languages 2021-09-13 v1 Logic in Computer Science

Abstract

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.

Keywords

Cite

@article{arxiv.2109.04630,
  title  = {Termination Analysis of Programs with Multiphase Control-Flow},
  author = {Jesús J. Domenech and Samir Genaim},
  journal= {arXiv preprint arXiv:2109.04630},
  year   = {2021}
}

Comments

In Proceedings HCVS 2021, arXiv:2109.03988

R2 v1 2026-06-24T05:50:49.504Z