Termination of Linear Loops over the Integers

02/20/2019
by   Mehran Hosseini, et al.
0

We consider the problem of deciding termination of single-path while loops with integer variables, affine updates, and affine guard conditions. The question is whether such a loop terminates on all integer initial values. This problem is known to be decidable for the subclass of loops whose update matrices are diagonalisable, but the general case has remained open since being conjectured decidable by Tiwari in 2004. In this paper we show decidability of determining termination for arbitrary update matrices, confirming Tiwari's conjecture. For the class of loops considered in this paper, the question of deciding termination on a specific initial value is a longstanding open problem in number theory. The key to our decision procedure is in showing how to circumvent the difficulties inherent in deciding termination on a fixed initial value.

READ FULL TEXT
research
02/20/2019

On Termination of Integer Linear Loops

We consider the problem of determining termination of single-path loops ...
research
02/02/2023

Termination of linear loops under commutative updates

We consider the following problem: given d × d rational matrices A_1, …,...
research
05/21/2019

Termination of Triangular Integer Loops is Decidable

We consider the problem whether termination of affine integer loops is d...
research
11/04/2022

This is not the End: Rethinking Serverless Function Termination

Elastic scaling is one of the central benefits provided by serverless pl...
research
01/12/2019

All-Instances Restricted Chase Termination: The Guarded Case

The chase procedure is a fundamental algorithmic tool in database theory...
research
05/28/2021

Reflections on Termination of Linear Loops

This paper shows how techniques for linear dynamical systems can be used...
research
10/03/2019

Extensions of the Algorithmic Lovasz Local Lemma

We consider recent formulations of the algorithmic Lovasz Local Lemma by...

Please sign up or login with your details

Forgot password? Click here to reset