Termination of linear loops under commutative updates
Logic in Computer Science
2023-04-20 v2 Rings and Algebras
Abstract
We consider the following problem: given rational matrices and a polyhedral cone , decide whether there exists a non-zero vector whose orbit under multiplication by is contained in . This problem can be interpreted as verifying the termination of multi-path while loops with linear updates and linear guard conditions. We show that this problem is decidable for commuting invertible matrices . The key to our decision procedure is to reinterpret this problem in a purely algebraic manner. Namely, we discover its connection with modules over the polynomial ring as well as the polynomial semiring . The loop termination problem is then reduced to deciding whether a submodule of contains a ``positive'' element.
Keywords
Cite
@article{arxiv.2302.01003,
title = {Termination of linear loops under commutative updates},
author = {Ruiwen Dong},
journal= {arXiv preprint arXiv:2302.01003},
year = {2023}
}
Comments
6 pages