DynamiTe: Dynamic Termination and Non-termination Proofs

10/12/2020
by   Ton Chanh Le, et al.
0

There is growing interest in termination reasoning for non-linear programs and, meanwhile, recent dynamic strategies have shown they are able to infer invariants for such challenging programs. These advances led us to hypothesize that perhaps such dynamic strategies for non-linear invariants could be adapted to learn recurrent sets (for non-termination) and/or ranking functions (for termination). In this paper, we exploit dynamic analysis and draw termination and non-termination as well as static and dynamic strategies closer together in order to tackle non-linear programs. For termination, our algorithm infers ranking functions from concrete transitive closures, and, for non-termination, the algorithm iteratively collects executions and dynamically learns conditions to refine recurrent sets. Finally, we describe an integrated algorithm that allows these algorithms to mutually inform each other, taking counterexamples from a failed validation in one endeavor and crossing both the static/dynamic and termination/non-termination lines, to create new execution samples for the other one.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/04/2021

On Lexicographic Proof Rules for Probabilistic Termination

We consider the almost-sure (a.s.) termination problem for probabilistic...
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
09/10/2021

Termination Analysis of Programs with Multiphase Control-Flow

Programs with multiphase control-flow are programs where the execution p...
research
08/14/2020

Proving Almost-Sure Termination of Probabilistic Programs via Incremental Pruning

The extension of classical imperative programs with real-valued random v...
research
03/14/2023

Termination of Graph Transformation Systems using Weighted Subgraph Counting

We introduce a termination method for the algebraic graph transformation...
research
04/22/2023

Fairness in Ranking Supermartingales

Lexicographic Ranking SuperMartingale (LexRSM) is a generalization of Ra...
research
10/18/2015

Termination Analysis of Polynomial Programs with Equality Conditions

In this paper, we investigate the termination problem of a family of pol...

Please sign up or login with your details

Forgot password? Click here to reset