Skip to content
Review Open access

Termination Analysis of Linear-Constraint Programs

Sep 2025 · Foundations and Trends® in Programming Languages · Vol abs/2509.06752, pp. 1-145 · 1 citation · 127 references
Computer Science

TL;DR

An overview of techniques in termination analysis for programs with numerical variables and transitions defined by linear constraints is provided, showing how different approaches offer a trade-off between expressive power and computational complexity.

Abstract

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.

Read PDF

Similar papers

Preprint Aug 2026

Inferring Empirical Sound Resource Bounds via Symbolic Execution and Linear Programming (Extended Version)

A novel hybrid approach that systematically derives upper bounds for the worst-case resource consumption of functional programs by combines dynamic symbolic execution to exhaustively explore all possible computation paths within a constrained input space with mixed-integer linear programming to derive empirically sound...

Samuel Frontull, M. Meitinger, Georg Moser · 0 citations
Preprint Aug 2026

Termination analysis with interpolation-based transition invariant generation

A new termination analysis approach based on the generation of well-founded transition invariants that leverages Craig interpolation for transition invariant generation, capturing the structural reasons for termination.

Konstantin Britikov, Martin Blicha, Grigory Fedyukovich et al. · 0 citations
Open access Aug 2026

QuickChecking Convergence of Rewriting Systems (Functional Pearl)

A QuickCheck testing method based on generating and shrinking random execution traces based on checking if the first and last terms of a generated trace share the same deterministic normal form that efficiently finds counterexamples and enables fast, robust shrinking.

Koen Claessen · 0 citations
Preprint Aug 2026

Multiobjective Preexpectation Reasoning for Probabilistic Programs

The transformer and synthesis rules sound against an operational MDP semantics, without requiring a finite state space: this approach can be seen as a symbolic approach - at program level - for multiobjective optimization over infinite MDPs.

Lena Verscht, Hannah Mertens, Kevin Batz et al. · 0 citations
Open access Aug 2026

Proving Total Correctness of Top-Down Solvers with Widening and Narrowing

The top-down solver TD is a generic fixpoint algorithm that can be used to compute partial post-solutions of equation systems for abstract interpretation. We consider two extensions of the TD to deal with infinite strictly ascending chains. For the TD extended with warrowing, we formally prove that it always returns pa...

Sarah Tilscher, Alexandra Graß, Helmut Seidl et al. · 0 citations
Open access Aug 2026

Type-Directed Discretization of Probabilistic Programs

The empirical evaluation shows two complementary strengths of Slice when paired with discrete backends: it enables exact inference for challenging continuous programs that lie beyond the reach of previous exact systems, and is competitive with state-of-the-art exact inference systems for continuous programs.

Katherine Wu, Jules Jacobs, Kevin Batz et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.