Deciding Conditional Termination
TL;DR: In this paper, the authors define the dual set of initial configurations from which a nonterminating execution exists, as the greatest fixpoint of the function that maps a set of states into its pre-image with respect to the transition relation, and show that this is the case for two classes of relations, namely octagonal and finite monoid affine relations.
read more
Abstract: We address the problem of conditional termination, which is that of defining the set of initial configurations from which a given program always terminates. First we define the dual set, of initial configurations from which a non-terminating execution exists, as the greatest fixpoint of the function that maps a set of states into its pre-image with respect to the transition relation. This definition allows to compute the weakest non-termination precondition if at least one of the following holds: (i) the transition relation is deterministic, (ii) the descending Kleene sequence overapproximating the greatest fixpoint converges in finitely many steps, or (iii) the transition relation is well founded. We show that this is the case for two classes of relations, namely octagonal and finite monoid affine relations. Moreover, since the closed forms of these relations can be defined in Presburger arithmetic, we obtain the decidability of the termination problem for such loops.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
•Posted Content
Ranking Functions for Linear-Constraint Loops
Amir M. Ben-Amram,Samir Genaim +1 more
TL;DR: In this paper, the complexity of the problem of finding a linear or lexicographical linear ranking function for a single-path or multipath linear loop is investigated, and it is shown that the problem is coNP-complete.
85
Bit-Precise Procedure-Modular Termination Analysis
TL;DR: This work presents a modular termination analysis for C programs using template-based interprocedural summarisation, and shows the advantage of interprocesural reasoning over monolithic analysis in terms of efficiency, while retaining comparable precision.
Termination of Triangular Integer Loops is Decidable
Florian Frohn,Jürgen Giesl +1 more
- 15 Jul 2019
TL;DR: This paper proves decidability for the case that the update matrix is triangular, and considers the problem whether termination of affine integer loops is decidable.
Polynomial Loops: Beyond Termination
Marcel Hark,Florian Frohn,Jürgen Giesl +2 more
- 27 May 2020
TL;DR: The halting problem is decidable for twn-loops over any ring Z ≤ S ≤ RA and the first computability results on the runtime complexity of such loops are presented, showing that the runtime of a terminating triangular linear loop over Z is at most linear.
Policy Iteration-Based Conditional Termination and Ranking Functions
Damien Massé
- 19 Jan 2014
TL;DR: It is shown that the proposed approach to conditional termination analysis based on abstract fixpoint computation by policy iteration can work on programs admitting a specific kind of segmented ranking functions, and that the results can be checked by the construction of a disjunctive ranking relation.
References
On Computable Numbers, with an Application to the Entscheidungsproblem
TL;DR: This chapter discusses the application of the diagonal process of the universal computing machine, which automates the calculation of circle and circle-free numbers.
•Book
Theory of Linear and Integer Programming
Alexander Schrijver
- 01 Dec 1986
TL;DR: Introduction and Preliminaries.
APPENDIX One (A) – On Computable Numbers, with an Application to the Entscheidungsproblem
A.M. Turing
- 01 Jan 1960
TL;DR: We use compact methodologies to verify that DHTs and local-area networks can cooperate to fulfill this aim.
4.6K