arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.06752cs.PLcs.LO
收藏

线性约束程序的终止分析

Termination Analysis of Linear-Constraint Programs

Complutense University of Madrid(马德里康普顿斯大学);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);University of Oxford(牛津大学)

Amir M. Ben-Amram, Samir Genaim, Joël Ouaknine, James Worrell

AI总结:

本文综述了线性约束程序终止分析的技术,涵盖可判定性结果、排名函数和非终止见证等方法,探讨了不同方法在表达力与计算复杂性间的权衡。

摘要:

本文综述了针对具有数值变量和由线性约束定义的转移的程序终止分析技术。由于存在不可判定问题,这一程序分析子领域具有挑战性。本文系统地探讨了缓解这种固有困难的方法,包括基础的可判定性结果、排名函数的使用以及离散的well-founded转移不变量。本文还讨论了非终止见证,用于证明程序不会终止。我们研究了这些方法的算法和复杂性方面,展示了不同方法在表达能力和计算复杂性之间如何权衡。本文不讨论终止分析在现实编程语言中的实现方式,也不考虑更丰富的抽象模型,如包含非线性算术、概率选择或术语重写系统的模型。

英文摘要:

This paper provides an overview of techniques in termination analysis for programs with numerical variables and transitions defined by linear constraints. This subarea of program analysis is challenging due to the existence of undecidable problems, and this Survey systematically explores approaches that mitigate this inherent difficulty. These include foundational decidability results, the use of ranking functions, and disjunctive well-founded transition invariants. The Survey also discusses non-termination witnesses, used to prove that a program will not halt. We examine the algorithmic and complexity aspects of these methods, showing how different approaches offer a trade-off between expressive power and computational complexity. The Survey does not discuss how termination analysis is performed on real-world programming languages, nor does it consider more expressive abstract models that include non-linear arithmetic, probabilistic choice, or term rewriting systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑