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

通过三角弱非线性循环对整数程序进行自动复杂度分析

Automatic Complexity Analysis of Integer Programs via Triangular Weakly Non-Linear Loops

Nils Lommen, Fabian Meyer, Jürgen Giesl

AI总结:

本文提出一种模块化方法,将子程序转换为 twn-loops 计算局部运行时间界限并提升为全局界限,在工具 KoAT 中实现了对其他最先进工具无法处理的整数程序的复杂度分析。

摘要:

关于判定终止性和计算三角弱非线性循环(twn-loops)的运行时间界限,已有若干结果。我们展示了如何利用此类程序子类的结果,在非完备方法的框架内计算完整整数程序的复杂度界限。为此,我们提出了一种新颖的模块化方法,为可转换为 twn-loops 的子程序计算局部运行时间界限。随后将这些局部界限提升为整个程序的全局运行时间界限。通过在工具 KoAT 中的实现,我们展示了该方法的强大能力,它能够分析所有其他最先进工具均无法处理的程序的复杂度。

英文摘要:

There exist several results on deciding termination and computing runtime bounds for triangular weakly non-linear loops (twn-loops). We show how to use results on such subclasses of programs where complexity bounds are computable within incomplete approaches for complexity analysis of full integer programs. To this end, we present a novel modular approach which computes local runtime bounds for subprograms which can be transformed into twn-loops. These local runtime bounds are then lifted to global runtime bounds for the whole program. The power of our approach is shown by our implementation in the tool KoAT which analyzes complexity of programs where all other state-of-the-art tools fail.

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

↑