Polynomial Loops: Beyond Termination
EPiC series in computing, vol. 73, pp. 279–259
Abstract
In the last years, several works were concerned with identifying classes of programs where termination is decidable. We consider triangular weakly non-linear loops (twn-loops) over a ring Z ≤ S ≤ R_A , where R_A is the set of all real algebraic numbers. Essentially, the body of such a loop is a single assignment (x_1, ..., x_d) ← (c_1 · x_1 + pol_1, ..., c_d · x_d + pol_d) where each x_i is a variable, c_i ∈ S, and each pol_i is a (possibly non-linear) polynomial over S and the variables x_{i+1}, ..., x_d. Recently, we showed that termination of such loops is decidable for S = R_A and non-termination is semi-decidable for S = Z and S = Q. In this paper, we show that the halting problem is decidable for twn-loops over any ring Z ≤ S ≤ R_A. In contrast to the termination problem, where termination on all inputs is considered, the halting problem is concerned with termination on a given input. This allows us to compute witnesses for non-termination. Moreover, we present the first computability results on the runtime complexity of such loops. More precisely, we show that for twn-loops over Z one can always compute a polynomial f such that the length of all terminating runs is bounded by f( || (x_1, ..., x_d) || ), where || · || denotes the 1-norm. As a corollary, we obtain that the runtime of a terminating triangular linear loop over Z is at most linear.
Authors 3
-
Affiliation as printed
LuFG Informatik 2 , RWTH Aachen University , Germany
LuFG Informatik 2, RWTH Aachen University, Germany
-
Max Planck Institute for Informatics
Affiliation as printed
Max Planck Institute for Informatics and Saarland Informatics Campus , Saarbrücken , Germany
Max Planck Institute for Informatics and Saarland Informatics Campus, Saarbrücken, Germany
-
Affiliation as printed
LuFG Informatik 2 , RWTH Aachen University , Germany
LuFG Informatik 2, RWTH Aachen University, Germany
Cited by 13 stored of 13
13 results
No patents citing this paper on Lens.org (checked 2026-10-06).
References 53
-
W2981410213details pending0citations
-
W2957046311details pending0citations
-
W3102371072details pending0citations
-
W3105212949details pending0citations
-
W2962849754details pending0citations
-
W3099870977details pending0citations
-
W3100037762details pending0citations
-
W6769703460details pending0citations
-
W6891662472details pending0citations