arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.01832cs.LO
收藏

目标完整性:整数程序的自动化复杂性分析

Targeting Completeness: Automated Complexity Analysis of Integer Programs

Nils Lommen, Éléanore Meyer, Jürgen Giesl

AI总结:

本文研究周期性有理可解循环(prs-loops)子类,提出模块化方法计算局部边界并提升为全局边界,结合程序转换技术扩大适用范围,在KoAT工具中实现并验证了对整数程序自动化复杂性分析的完整性。

摘要:

目前已有多种方法可以自动推断整数程序的运行时或资源边界。本文研究了周期性有理可解循环(prs-loops)这一子类,在该子类中,关于运行时和变量值大小的问题是可判定的,因此我们可以获得对此类子类完整的技术。我们展示了如何将这些结果用于任意一般整数程序的复杂性分析。为此,我们提出了一种模块化方法,为对应于prs-loops的子程序计算局部运行时和大小边界。然后将这些局部边界提升为整个整数程序的全局运行时和大小边界。此外,我们引入了几种技术,将较大的程序转换为prs-loops以扩大该方法的适用范围。通过我们在复杂性分析工具KoAT中的实现,展示了该程序的强大能力。

英文摘要:

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 and where we can therefore obtain techniques that are complete for such subclasses. We show how to use these results for the complexity analysis of arbitrary general 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 the approach. The power of the procedure is shown by our implementation in the complexity analysis tool KoAT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑