最优符号界综合
Optimal Symbolic Bound Synthesis
AI总结:
本文提出了最优符号界综合问题,利用Gröbner基与多面体锥的新颖组合技术,从等式和不等式假设中自动生成非线性算术表达式的符号界,并在工具AutoBound中实现,测试表明其效果可媲美人类分析师。
摘要:
在给定一组假设的情况下,寻找项的常数界的问题在优化和程序分析中有着广泛的应用。然而,在许多情况下,目标项可能是无界的。尽管如此,某种形式的符号界可能仍然是有用的。在本文中,我们引入了最优符号界综合问题,以及一种针对带有函数符号的非线性算术解决该问题的技术。这使我们能够从一组等式和不等式假设中,自动生成复杂算术表达式的符号界。我们的解决方案采用了一种强大数学对象的新颖组合——Gröbner基与多面体锥——来表示无限集的隐含不等式。我们通过用这个无限集来缩减目标项,从而获得一个可靠的符号界。我们在一个名为AutoBound的工具中实现了该方法,并在源自真实Solidity程序的问题上进行了测试。我们发现AutoBound在每种情况下都能产生相关的界,与人类分析师在同一组程序上产生的上界相匹配或几乎匹配。
英文摘要:
The problem of finding a constant bound on a term given a set of assumptions has wide applications in optimization as well as program analysis. However, in many contexts the objective term may be unbounded. Still, some sort of symbolic bound may be useful. In this paper we introduce the optimal symbolic-bound synthesis problem, and a technique that tackles this problem for non-linear arithmetic with function symbols. This allows us to automatically produce symbolic bounds on complex arithmetic expressions from a set of both equality and inequality assumptions. Our solution employs a novel combination of powerful mathematical objects -- Gröbner bases together with polyhedral cones -- to represent an infinite set of implied inequalities. We obtain a sound symbolic bound by reducing the objective term by this infinite set. We implemented our method in a tool, AutoBound, which we tested on problems originating from real Solidity programs. We find that AutoBound yields relevant bounds in each case, matching or nearly-matching upper bounds produced by a human analyst on the same set of programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。