Newtonian program analysis via tensor product
-
Published:2016-04-08
Issue:1
Volume:51
Page:663-677
-
ISSN:0362-1340
-
Container-title:ACM SIGPLAN Notices
-
language:en
-
Short-container-title:SIGPLAN Not.
Author:
Reps Thomas1,
Turetsky Emma2,
Prabhu Prathmesh3
Affiliation:
1. University of Wisconsin-Madison, USA / GrammaTech, USA
2. GrammaTech, USA
3. Google, USA
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 on numerical-analysis problems, multiplicative commutativity is relied on to rearrange expressions of the form ``c*X + X*d'' into ``(c+d) * X.'' Such equations 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: ``c*X + X*d'' cannot be rearranged into ``(c+d) * X.'' Such equations correspond to path problems described by linear context-free languages (LCFLs). In this paper, 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.
Funder
Defense Advanced Research Projects Agency
UW-Madison Office of the Vice Chancellor for Research and Graduate Education
U.S. Army Research Laboratory
Wisconsin Alumni Research Foundation
National Science Foundation
Office of Naval Research
Air Force Research Laboratory
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Newtonian Program Analysis of Probabilistic Programs;Proceedings of the ACM on Programming Languages;2024-04-29
2. Convergence of datalog over (Pre-) Semirings;Journal of the ACM;2024-04-10
3. Reachability in Continuous Pushdown VASS;Proceedings of the ACM on Programming Languages;2024-01-05
4. Newton’s Method – There and Back Again;Lecture Notes in Computer Science;2024
5. Tensor Wiener Filter;IEEE Transactions on Signal Processing;2022