通过三角弱非线性循环实现整数程序的自动化复杂度分析(WST短篇版本)
Automated Complexity Analysis of Integer Programs via Triangular Weakly Non-Linear Loops (Short WST Version)
AI总结:
本研究提出一种模块化方法,将三角弱非线性循环的运行时间界研究成果用于整数程序复杂度分析,通过计算子程序局部界并提升为全局界,实现了现有顶尖工具无法完成的复杂度分析。
摘要:
目前已有若干关于判定三角弱非线性循环(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分析而来,可能存在错误,请以论文正文为准。