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.
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
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
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· Proc. ACM Program. Lang.· 0 citations
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
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.· Journal of automated reasoni...· 0 citations
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.· Proceedings of the ACM on Pr...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.