We consider linear dynamical systems under floating-point rounding. In these systems, a matrix is repeatedly applied to a vector, but the numbers are rounded into floating-point representation after each step (i.e., stored as a fixed-precision mantissa and an exponent). The approach more faithfully models realistic implementations of linear loops, compared to the exact arbitrary-precision setting often employed in the study of linear dynamical systems. Our results are twofold: We show that for non-negative matrices there is a special structure to the sequence of vectors generated by the system: the mantissas are periodic and the exponents grow linearly. We leverage this to show decidability of $\omega$-regular temporal model checking against semialgebraic predicates. This contrasts with the unrounded setting, where even the non-negative case encompasses the long-standing open Skolem and Positivity problems. On the other hand, when negative numbers are allowed in the matrix, we show that the reachability problem is undecidable by encoding a two-counter machine. Again, this is in contrast with the unrounded setting where point-to-point reachability is known to be decidable in polynomial time.
翻译:我们把线性动态系统视为浮点四舍五入的线性动态系统。 在这些系统中,反复对矢量使用矩阵,但数字在每步后四舍五入为浮点表示(即以固定精度封存为曼蒂萨和缩略图) 。 这种方法比在研究线性动态系统时经常使用的确切任意精确度设置更忠实地模拟线性循环的实际实施。 我们的结果有两个方面: 我们显示,对于非负基质矩阵来说,系统产生的矢量序列有一个特殊结构: 曼蒂萨是定期的, 指数增长为线性。 我们利用这个方法来显示美元/ omega$- 定期时间模型检查的可降解性, 以对抗半星际的上游。 这与无界环境相比, 即使非负基也包含长期开放的Skolem和波度问题。 另一方面, 当允许负基质矩阵中出现负数时, 我们发现, 达标问题无法通过对两个计数的机器进行编码而成直线性。 这一点与无边点的多点是对比。