Affiliation:
1. University of Wisconsin—Madison and Gramma Tech, Inc., Madison, WI
2. University of Wisconsin—Madison, Mountain View, CA
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.
Funder
ONR
UW—Madison Office of the Vice Chancellor for Research and Graduate Education
AFRL
DARPA CRASH
DARPA MUSE
NSF
ARL
DARPA STAC
Wisconsin Alumni Research Foundation
DARPA
Publisher
Association for Computing Machinery (ACM)
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Exploiting the Sparseness of Control-Flow and Call Graphs for Efficient and On-Demand Algebraic Program Analysis;Proceedings of the ACM on Programming Languages;2023-10-16
2. Algebraic Program Analysis;Computer Aided Verification;2021
3. Templates and recurrences: better together;Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation;2020-06-06
4. Deterministic parallel fixpoint computation;Proceedings of the ACM on Programming Languages;2020-01
5. Program Analyses Using Newton’s Method (Invited Paper);Networked Systems;2019