arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.01077cs.LOcs.PL
收藏

可编程逻辑控制器程序的可编程下限的推断

Inferring Lower Runtime Bounds for Integer Programs

Florian Frohn, Matthias Naaf, Marc Brockschmidt, Jürgen Giesl

摘要:

我们提出了一种技术来推断整数程序的最坏情况下的运行时复杂性的下限,在早期的工作相比,我们的方法不限于尾递归。我们的技术构造程序执行的符号表示使用迭代的框架,下近似程序简化。这种简化的核心是一种基于递归求解和排序函数变化的(欠近似)程序加速方法。之后,我们推导出的渐近下界从所得到的简化程序使用一个特殊用途的微积分和SMT编码。我们实现了我们的技术在我们的工具LoAT,并表明它推断出一个大类的例子的非平凡的下限。

英文摘要:

We present a technique to infer lower bounds on the worst-case runtime complexity of integer programs, where in contrast to earlier work, our approach is not restricted to tail-recursion. Our technique constructs symbolic representations of program executions using a framework for iterative, under-approximating program simplification. The core of this simplification is a method for (under-approximating) program acceleration based on recurrence solving and a variation of ranking functions. Afterwards, we deduce asymptotic lower bounds from the resulting simplified programs using a special-purpose calculus and an SMT encoding. We implemented our technique in our tool LoAT and show that it infers non-trivial lower bounds for a large class of examples.

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

↑