# Modular Automatic Complexity Analysis of Recursive Integer Programs

arXiv: https://arxiv.org/abs/2512.18851 · HTML: https://mlsanity.com/paper/2512.18851/

## Key facts

- Cited by 1 papers in the map (data through 26 Nov 2026).
- Submitted 21 Dec 2025.

## Built on by (most cited first, 1 of 1)

- [Ranking Function Generation with LLMs for Termination](https://mlsanity.com/paper/2610.35523/) (2026)

## Abstract (arXiv)

In earlier work, we developed a modular approach for automatic complexity analysis of integer programs. However, these integer programs do not allow non-tail recursive calls or subprocedures. In this paper, we consider integer programs with function calls and present a natural extension of our modular complexity analysis approach to the recursive setting based on a new form of ranking functions. Hence, our approach combines already existing powerful techniques on the "imperative" parts of the program and our novel ranking functions on the recursive parts. The strength of this combination is demonstrated by our implementation in the complexity analysis tool KoAT.
