Affiliation:
1. The Academic College of Tel-Aviv Yaffo
2. Complutense University of Madrid
3. Technical University of Madrid
Abstract
In this article we study the decidability of termination of several variants of simple integer loops, without branching in the loop body and with affine constraints as the loop guard (and possibly a precondition). We show that termination of such loops is undecidable in some cases, in particular, when the body of the loop is expressed by a set of linear inequalities where the coefficients are from Z ∪ {
r
} with
r
an arbitrary irrational; when the loop is a sequence of instructions, that compute either linear expressions or the step function; and when the loop body is a piecewise linear deterministic update with two pieces. The undecidability result is proven by a reduction from counter programs, whose termination is known to be undecidable. For the common case of integer linear-constraint loops with rational coefficients we have not succeeded in proving either decidability or undecidability of termination, but we show that a Petri net can be simulated with such a loop; this implies some interesting lower bounds. For example, termination for a partially specified input is at least EXPSPACE-hard.
Funder
GPD Research Group
PROMETIDOS-CM project
DOVES project
Seventh Framework Programme
Publisher
Association for Computing Machinery (ACM)
Cited by
13 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Termination of triangular polynomial loops;Formal Methods in System Design;2023-12-04
2. What Else is Undecidable About Loops?;Relational and Algebraic Methods in Computer Science;2023
3. Summarization of branching loops;Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing;2022-04-25
4. O-Minimal Invariants for Discrete-Time Dynamical Systems;ACM Transactions on Computational Logic;2022-01-14
5. Termination of Triangular Integer Loops is Decidable;Computer Aided Verification;2019