Targeting Completeness: Automated Complexity Analysis of Integer Programs
Abstract
There exist several approaches to infer runtime or resource bounds for integer programs automatically. In this paper, we study the subclass of periodic rational solvable loops (prs-loops), where questions regarding the runtime and the size of variable values are decidable. We show how to use these results for the complexity analysis of full integer programs. To this end, we present a modular approach which computes local runtime and size bounds for subprograms which correspond to prs-loops. These local bounds are then lifted to global runtime and size bounds for the whole integer program. Furthermore, we introduce several techniques to transform larger programs into prs-loops to increase the scope of our approach. The power of our procedure is shown by our implementation in the complexity analysis tool KoAT.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2024
- DOI:
- arXiv:
- arXiv:2412.01832
- Bibcode:
- 2024arXiv241201832L
- Keywords:
-
- Computer Science - Logic in Computer Science
- E-Print:
- arXiv admin note: text overlap with arXiv:2307.06921