paperbot · PL 论文追踪

RSS

Newtonian Program Analysis via Tensor Product

TOPLAS 39(2)2017引用 5
Thomas Reps, Emma Turetsky, Prathmesh Prabhu

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Recently, Esparza et al. generalized Newton’s method—a numerical-analysis algorithm for finding roots of real-valued functions—to a method for finding fixed-points of systems of equations over semirings. Their method provides a new way to solve interprocedural dataflow-analysis problems. As in its real-valued counterpart, each iteration of their method solves a simpler “linearized” problem. One of the reasons this advance is exciting is that some numerical analysts have claimed that “‘all’ effective and fast iterative [numerical] methods are forms (perhaps very disguised) of Newton’s method.” However, there is an important difference between the dataflow-analysis and numerical-analysis contexts: When Newton’s method is used in numerical-analysis problems, commutativity of multiplication is relied on to rearrange an expression of the form “ a * X * b + c * X * d ” into “( a * b + c * d )* X .” Equations with such expressions correspond to path problems described by regular languages. In contrast, when Newton’s method is used for interprocedural dataflow analysis, the “multiplication” operation involves function composition and hence is non-commutative: “ a * X * b + c * X * d ” cannot be rearranged into “( a * b + c * d )* X .” Equations with such expressions correspond to path problems described by linear context-free languages (LCFLs). In this article, we present an improved technique for solving the LCFL sub-problems produced during successive rounds of Newton’s method. Our method applies to predicate abstraction, on which most of today’s software model checkers rely.

链接与引用

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

BibTeX
@article{RepsTP17,
  title = {Newtonian Program Analysis via Tensor Product},
  author = {Thomas Reps and Emma Turetsky and Prathmesh Prabhu},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {39},
  number = {2},
  year = {2017},
  doi = {10.1145/3024084}
}