Modular Automatic Complexity Analysis of Recursive Integer Programs
By: Nils Lommen, Jürgen Giesl
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.
Similar Papers
Recursive numeral systems are highly regular and easy to process
Computation and Language
Makes number words easier to learn and use.
Recursive numeral systems are highly regular and easy to process
Computation and Language
Makes language rules simpler and easier to learn.
The Ghosts of Empires: Extracting Modularity from Interleaving-Based Proofs (Extended Version)
Programming Languages
Creates trustworthy computer checks for tricky programs.