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 条
  • [1] Abadi M., 1996, A Theory Of Objects, DOI DOI 10.1007/978-1-4419-8598-9
  • [2] Aho Alfred V., 1986, ADDISON WESLEY SERIE
  • [3] AIKEN A, 1994, ACM S PRINC PROGR LA, P163
  • [4] APPEK AW, 1997, MODERN COMPILER IMPL
  • [5] Bancilhon F., 1986, P 5 ACM SIGACT SIGMO, P1
  • [6] Bondorf A., 1993, Journal of Functional Programming, V3, P315, DOI 10.1017/S0956796800000769
  • [7] Tabled evaluation with delaying for general logic programs
    Chen, WD
    Warren, DS
    [J]. JOURNAL OF THE ACM, 1996, 43 (01) : 20 - 74
  • [8] Dijkstra E.W., 1959, Numerische mathematik, V1, P269, DOI [10.1007/BF01386390, DOI 10.1007/BF01386390]
  • [9] DOWNING W, 1984, J LOGIC PROGRAM, V1, P267
  • [10] Eisner Jason, 1999, P 37 ANN M ASS COMP, P457, DOI 10.3115/1034678.1034748