EVALUATION OF THE DOMAIN PROP

被引:26
作者
VANHENTENRYCK, P
CORTESI, A
LECHARLIER, B
机构
[1] UNIV VENEZIA,I-30170 MESTRE,ITALY
[2] UNIV NAMUR,B-5000 NAMUR,BELGIUM
来源
JOURNAL OF LOGIC PROGRAMMING | 1995年 / 23卷 / 03期
基金
美国国家科学基金会;
关键词
D O I
10.1016/0743-1066(94)00029-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The domain Prop [11, 30] is a conceptually simple and elegant abstract domain to compute groundness information for Prolog programs, where abstract substitutions are represented by Boolean functions. Prop has raised much theoretical interest recently, but little is known about the practical accuracy and efficiency of this domain. Experimental evaluation of Prop is particularly important since Prop theoretically needs to solve a co-NP-Complete problem. However, this complexity issue may not matter much in practice because the size of the abstract substitutions is bounded since Prop would only work on the clause variables in many frameworks. The purpose of this paper is to study the performance of domain Prop. Its first contribution is to describe an implementation of the domain Prop and to use it to instantiate a generic abstract interpretation algorithm [17, 23, 27]. A key feature of the implementation is the use of ordered binary decision graphs to provide a compact representation of many Boolean functions. Its second contribution is to describe the design and implementation of a new domain, Pat(Prop), combining the domain Prop with structural information about the subterms. This new domain may significantly improve the accuracy of the domain Prop on programs manipulating difference-lists. Both implementations (resp. 6000 and 12,000 lines of C) have been evaluated systematically, and their efficiency and accuracy for groundness inference have been compared with several other abstract domains. The interest of Pat(Prop) and Prop for on-line analysis is also investigated.
引用
收藏
页码:237 / 278
页数:42
相关论文
共 40 条
[1]  
[Anonymous], 1986, ART PROLOG ADV PROGR
[2]   A GENERAL FRAMEWORK FOR SEMANTICS-BASED BOTTOM-UP ABSTRACT INTERPRETATION OF LOGIC PROGRAMS [J].
BARBUTI, R ;
GIACOBAZZI, R ;
LEVI, G .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1993, 15 (01) :133-181
[3]   A PRACTICAL FRAMEWORK FOR THE ABSTRACT INTERPRETATION OF LOGIC PROGRAMS [J].
BRUYNOOGHE, M .
JOURNAL OF LOGIC PROGRAMMING, 1991, 10 (02) :91-124
[4]  
BRUYNOOGHE M, 1992, LECT NOTES COMPUT SC, V649, P294
[5]  
BRUYNOOGHE M, 1988, 5TH P INT C S LOG PR, P669
[6]  
BRUYNOOGHE M, 1987, 1987 P S LOG PROGR S, P192
[7]  
BRYANT RE, 1986, IEEE T COMPUT, V35, P677, DOI 10.1109/TC.1986.1676819
[8]  
CODISH M, 1993, NOV P INT S LOG PROG
[9]  
CODOGNET C, 1990, OCT P N AM C LOG PRO
[10]  
CORSINI A, 1989, COMPLETE FRAMEWORK A