On the Decidability of Termination for Polynomial Loops

10/25/2019
by   Florian Frohn, et al.
0

We consider the termination problem for triangular weakly non-linear loops (twn-loops) over a ring Z≤S≤R. The body of such a loop consists of a single assignment (x_1, ..., x_d) ← (c_1 · x_1 + p_1, ..., c_d · x_d + p_d) where each x_i is a variable, c_i ∈S, and each p_i is a (possibly non-linear) polynomial over S and the variables x_i+1, ..., x_d. We present a reduction from the question of termination to the existential fragment of the first-order theory of S and R (Th_∃(S,R)). For loops over R, our reduction entails decidability of termination. For loops over Z or Q, it proves semi-decidability of non-termination. Furthermore, we show how to transform loops where the right-hand side of the assignment in the loop body consists of arbitrary polynomials into twn-loops. Then the original loop terminates iff the transformed loop terminates over a certain subset of R, which can also be checked via our reduction to Th_∃(S,R). This transformation allows us to prove Co-NP-completeness for the termination problem over Z, Q, and R for an important class of loops which can always be transformed into twn-loops.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/20/2019

On Termination of Integer Linear Loops

We consider the problem of determining termination of single-path loops ...
research
05/27/2019

Proving Non-Termination via Loop Acceleration

We present the first approach to prove non-termination of integer progra...
research
02/02/2023

Termination of linear loops under commutative updates

We consider the following problem: given d × d rational matrices A_1, …,...
research
03/14/2023

Termination of Graph Transformation Systems using Weighted Subgraph Counting

We introduce a termination method for the algebraic graph transformation...
research
07/27/2023

Linear Termination over N is Undecidable

Recently it was shown that it is undecidable whether a term rewrite syst...
research
08/21/2020

How to Design While Loops

Beginning students find the syntactic construct known as a while loop di...
research
04/20/2018

A Reduction from Unbounded Linear Mixed Arithmetic Problems into Bounded Problems

We present a combination of the Mixed-Echelon-Hermite transformation and...

Please sign up or login with your details

Forgot password? Click here to reset