关于线性回路终止性的思考
Reflections on Termination of Linear Loops
摘要:
本文展示了如何线性动力系统的技术可以用来推理一般循环的行为。我们提出了两个主要结果。首先,我们证明了每一个可以表示为线性整数运算中的转换公式的循环都有一个最佳模型作为确定性仿射转换系统。其次,我们证明了,对于任何线性动力系统$f$与整数特征值和任何整数算术公式$G$,有一个线性整数算术公式,恰好为$G$的状态,其中$f$最终不变。结合这两个,我们开发了一个单调的条件终止分析一般循环。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。