当前位置: X-MOL 学术arXiv.cs.PL › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Reflections on Termination of Linear Loops
arXiv - CS - Programming Languages Pub Date : 2021-05-28 , DOI: arxiv-2105.13941
Shaowei Zhu, Zachary Kincaid

This paper shows how techniques for linear dynamical systems can be used to reason about the behavior of general loops. We present two main results. First, we show that every loop that can be expressed as a transition formula in linear integer arithmetic has a best model as a deterministic affine transition system. Second, we show that for any linear dynamical system $f$ with integer eigenvalues and any integer arithmetic formula $G$, there is a linear integer arithmetic formula that holds exactly for the states of $f$ for which $G$ is eventually invariant. Combining the two, we develop a monotone conditional termination analysis for general loops.

中文翻译:

对线性环路终止的思考

本文展示了如何使用线性动力系统的技术来推理一般循环的行为。我们提出了两个主要结果。首先,我们展示了可以表示为线性整数算法中的转换公式的每个循环都具有作为确定性仿射转换系统的最佳模型。其次,我们证明对于任何具有整数特征值的线性动力系统 $f$ 和任何整数算术公式 $G$,有一个线性整数算术公式完全适用于 $f$ 的状态,其中 $G$ 最终是不变的. 将两者结合起来,我们为一般循环开发了单调条件终止分析。
更新日期:2021-05-31
down
wechat
bug