Termination Analysis of Programs with Multiphase Control-Flow

09/10/2021
by   Jesús J. Doménech, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/29/2019

Control-Flow Refinement by Partial Evaluation, and its Application to Termination and Cost Analysis

Control-flow refinement refers to program transformations whose purpose ...
research
07/23/2019

Resource Analysis driven by (Conditional) Termination Proofs

When programs feature a complex control flow, existing techniques for re...
research
08/07/2020

Distilling Programs to Prove Termination

The problem of determining whether or not any program terminates was sho...
research
02/22/2021

Supermartingales, Ranking Functions and Probabilistic Lambda Calculus

We introduce a method for proving almost sure termination in the context...
research
02/07/2021

Neural Termination Analysis

We introduce a novel approach to the automated termination analysis of c...
research
11/18/2018

Multiphase-Linear Ranking Functions and their Relation to Recurrent Sets

Multiphase ranking functions (MΦRFs) are tuples 〈 f_1,...,f_d 〉 of linea...
research
10/12/2020

DynamiTe: Dynamic Termination and Non-termination Proofs

There is growing interest in termination reasoning for non-linear progra...

Please sign up or login with your details

Forgot password? Click here to reset