Reflections on Termination of Linear Loops

05/28/2021
by   Shaowei Zhu, et al.
0

This paper shows how techniques for linear dynamical systems can be used to reason about the behavior of general loops. We present two main results. First, we show that every loop that can be expressed as a transition formula in linear integer arithmetic has a best model as a deterministic affine transition system. Second, we show that for any linear dynamical system f with integer eigenvalues and any integer arithmetic formula G, there is a linear integer arithmetic formula that holds exactly for the states of f for which G is eventually invariant. Combining the two, we develop a monotone conditional termination analysis for general loops.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/03/2018

Undecidability of Inferring Linear Integer Invariants

We show that the problem of determining the existence of an inductive in...
research
11/08/2022

When Less Is More: Consequence-Finding in a Weak Theory of Arithmetic

This paper presents a theory of non-linear integer/real arithmetic and a...
research
05/21/2019

Termination of Triangular Integer Loops is Decidable

We consider the problem whether termination of affine integer loops is d...
research
09/08/2017

Monitoring of Traffic Manoeuvres with Imprecise Information

In monitoring, we algorithmically check if a single behavior satisfies a...
research
08/29/2023

When Can You Tile an Integer Rectangle with Integer Squares?

This paper characterizes when an m × n rectangle, where m and n are inte...
research
02/20/2019

Termination of Linear Loops over the Integers

We consider the problem of deciding termination of single-path while loo...
research
11/29/2022

Branch-Well-Structured Transition Systems and Extensions

We propose a relaxation to the definition of a well-structured transitio...

Please sign up or login with your details

Forgot password? Click here to reset