English

Termination Analysis of Linear-Constraint Programs

Programming Languages 2026-01-27 v2 Logic in Computer Science

Abstract

This Survey 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.

Keywords

Cite

@article{arxiv.2509.06752,
  title  = {Termination Analysis of Linear-Constraint Programs},
  author = {Amir M. Ben-Amram and Samir Genaim and Joël Ouaknine and James Worrell},
  journal= {arXiv preprint arXiv:2509.06752},
  year   = {2026}
}

Comments

Final version for FNT-PL

R2 v1 2026-07-01T05:26:34.156Z