This paper aims to provide 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 paper 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 paper also discusses non-termination witnesses, used to prove that a program will not halt. The authors examine the algorithmic and complexity aspects of these methods, showing how different approaches offer a trade-off between expressive power and computational complexity. The paper 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.
Article navigation
24 July 2026
Research Article|
July 24 2026
Termination analysis of linear-constraint programs
Amir M. Ben-Amram;
Amir M. Ben-Amram
Independent Researcher
, Qiryat Ono, Israel
Search for other works by this author on:
Samir Genaim;
Department of Computer Systems and Computation,
Complutense University of Madrid
, Madrid, Spain
Corresponding author Samir Genaim sgenaim@ucm.es
Search for other works by this author on:
Joël Ouaknine;
Joël Ouaknine
Max Planck Institute for Software Systems,
Saarland Informatics Campus
, Saarbrücken, Germany
Search for other works by this author on:
James Worrell
James Worrell
Department of Computer Science,
University of Oxford
, Oxford, UK
Search for other works by this author on:
Corresponding author Samir Genaim sgenaim@ucm.es
Received:
July 07 2025
Revision Received:
December 01 2025
Accepted:
January 26 2026
Online ISSN: 2325-1131
Print ISSN: 2325-1107
Funding
Funding Group:
- Award Group:
- Funder(s): Spanish MCI, Comunidad de Madrid, AEI and FEDER (EU) projects
- Award Id(s): PID2021-122830OB-C41,PID2024-157044OBC31,TEC-2024/COM-235
- Funder(s):
- Award Group:
- Funder(s): BOVIR project
- Award Id(s): PR17/24–31926
- Funder(s):
- Award Group:
- Funder(s): Keble College, Oxford
- Award Id(s): ID. 101167561,389792660
- Funder(s):
- Funding Statement(s): Samir Genaim was funded partially by the Spanish MCI, Comunidad de Madrid, AEI and FEDER (EU) projects PID2021-122830OB-C41, PID2024-157044OB-C31, TEC-2024/COM-235 and the BOVIR project PR17/24–31926. Joël Ouaknine is also affiliated with Keble College, Oxford as Link to A new kind of community focused on education, research and impactemmy.network Fellow; he was supported by ERC Grant DynAMiCs (ID. 101167561) and by DFG grant 389792660 as part of TRR 248 (see Link to perspicuous-computingLink to the website of perspicuous). James Worrell was supported by UKRI Fellowship EP/X033813/1.
© 2026 Amir M. Ben-Amram, Samir Genaim, Joël Ouaknine and James Worrell.
2026
Amir M. Ben-Amram, Samir Genaim, Joël Ouaknine and James Worrell
Licensed re-use rights only
Foundations and Trends in Programming Languages (2026) 10 (1-2): 1–145.
Article history
Received:
July 07 2025
Revision Received:
December 01 2025
Accepted:
January 26 2026
Citation
Ben-Amram AM, Genaim S, Ouaknine J, Worrell J (2026), "Termination analysis of linear-constraint programs". Foundations and Trends in Programming Languages, Vol. 10 No. 1-2 pp. 1–145, doi: https://doi.org/10.1108/FTPGL-07-2025-0071
Download citation file:
4
Views
Recommended for you
These recommendations are informed by your reading behaviors and indicated interests.
