Reflections on Termination of Linear Loops
Open Access
- 15 July 2021
- book chapter
- Published by Springer Nature
- p. 51-74
Abstract
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.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- Proving Termination Starting from the End2013
- The Abstract Domain of Segmented Ranking Functions2013
- Proving Conditional TerminationLecture Notes in Computer Science, 2007
- Linear Ranking with Reachability2005
- Symbolic Implementation of the Best Transformer2004
- A Complete Method for the Synthesis of Linear Ranking Functions2004
- Termination of Linear Programs2004
- Fast algorithms for the characteristics polynomialTheoretical Computer Science, 1985
- Factoring polynomials with rational coefficientsMathematische Annalen, 1982
- A lattice-theoretical fixpoint theorem and its applicationsPacific Journal of Mathematics, 1955