paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Inferring Lower Runtime Bounds for Integer Programs

推断整数程序的运行时下界
TOPLAS 42(3)2020匹配度 4/10 · 该论文属于静态分析与程序分析领域,提出整数程序运行时下界推断技术并有工具实现,符合用户对理论形式化与工程实现的偏好;但它不涉及 LLM/Agent 与静态分析的交叉,也不是浮点程序分析或贝叶斯程序分析,与用户当前核心研究方向(PL→AI、AI→PL)匹配度有限。引用 13 inbox
Florian Frohn, Matthias Naaf, Marc Brockschmidt, Jürgen Giesl
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:提出一种可处理非尾递归的整数程序最坏情况运行时下界推断技术,并在工具 LoAT 中实现。

该文研究整数程序最坏情况运行时间的下界推断。与此前工作不同,方法不局限于尾递归。作者利用迭代的、欠近似程序化简框架构造程序执行的符号表示,其核心是基于递推求解和一种 ranking function 变体的欠近似程序加速;随后通过专用演算与 SMT 编码从化简后的程序推导渐近下界。作者在工具 LoAT 中实现该技术,并在大量例子中成功推断出非平凡的下界,表明其适用性超出尾递归情形。

问题
如何自动推断整数程序最坏情况运行时间的非平凡下界,且不限制程序为尾递归形式。
方法
通过欠近似化简构造执行符号表示,用递推求解与 ranking function 变体加速程序,再以专用演算和 SMT 编码推导渐近下界。
评估
在工具 LoAT 中实现,并在一大类例子中验证能推断出非平凡下界。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{abs-1911-01077,
  title = {Inferring Lower Runtime Bounds for Integer Programs},
  author = {Florian Frohn and Matthias Naaf and Marc Brockschmidt and Jürgen Giesl},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {42},
  number = {3},
  year = {2020},
  doi = {10.1145/3410331}
}