The 2-Dimensional Constraint Loop Problem Is Decidable
Résumé
A linear constraint loop is specified by a system of linear inequalities that define the relation between the values of the program variables before and after a single execution of the loop body. In this paper we consider the problem of determining whether such a loop terminates, i.e., whether all maximal executions are finite, regardless of how the loop is initialised and how the non-determinism in the loop body is resolved. We focus on the variant of the termination problem in which the loop variables range over ℝ. Our main result is that the termination problem is decidable over the reals in dimension 2. A more abstract formulation of our main result is that it is decidable whether a binary relation on ℝ² that is given as a conjunction of linear constraints is well-founded.
Mots clés
2012 ACM Subject Classification Theory of computation → Program verification Keywords and phrases Linear Constraints Loops Minkowski-Weyl Convex Sets Asymptotic Expansions Digital Object Identifier 10.4230/LIPIcs.ICALP.2024.140 Category Track B: Automata Logic Semantics and Theory of Programming ]
2012 ACM Subject Classification Theory of computation → Program verification Keywords and phrases Linear Constraints Loops
Minkowski-Weyl
Convex Sets
Asymptotic Expansions Digital Object Identifier 10.4230/LIPIcs.ICALP.2024.140 Category Track B: Automata
Logic
Semantics
and Theory of Programming ]
Linear Constraints Loops
Asymptotic Expansions
Theory of computation → Program verification
Domaines
Informatique [cs]Origine | Fichiers produits par l'(les) auteur(s) |
---|