On the complexity analysis of static analyses

被引:22
作者
Mcallester, D [1 ]
机构
[1] AutoReason Com, New Providence, NJ 07975 USA
关键词
algorithms; languages; theory; complexity analysis; logic programming; models of computation; program analysis; programming languages;
D O I
10.1145/581771.581774
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper argues that for many algorithms, and static analysis algorithms in particular, bottom-up logic program presentations are clearer and simpler to analyze, for both correctness and complexity, than classical pseudo-code presentations. The main technical contribution consists of two theorems which allow, in many cases, the asymptotic running time of a bottom-up logic program to e determined by inspection. It is well known that a datalog program runs in O(n(k)) time where k is the largest number of free variables in any single rule. The theorems given here are significantly more refined. A variety of algorithms are presented and analyzed as examples.
引用
收藏
页码:512 / 537
页数:26
相关论文
共 41 条
  • [11] FAHNDRICH M, 1998, P 1998 ACM SIGPLAN C, P85
  • [12] Heintze N., 1990, Proceedings. Fifth Annual IEEE Symposium on Logic in Computer Science (90CH2897-7), P42, DOI 10.1109/LICS.1990.113732
  • [13] On the cubic bottleneck in subtyping and flow analysis
    Heintze, N
    McAllester, D
    [J]. 12TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1997, : 342 - 351
  • [14] HEINTZE N, 1990, ACM S PRINC PROGR LA, P197
  • [15] HEINTZE N, 1994, ACM C LISP FUNCT PRO, P306
  • [16] HEINTZE N, 1997, C PROGR LANG DES IMP, P26
  • [17] Henglein F, 1999, THEOR PRACT OBJ SYST, V5, P57, DOI 10.1002/(SICI)1096-9942(199901/03)5:1<57::AID-TAPO5>3.0.CO
  • [18] 2-U
  • [19] EFFICIENT INFERENCE OF PARTIAL TYPES
    KOZEN, D
    PALSBERG, J
    SCHWARTZBACH, MI
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (02) : 306 - 324
  • [20] Lari K., 1990, Computer Speech and Language, V4, P35, DOI 10.1016/0885-2308(90)90022-X