Groundness analysis for Prolog: implementation and evaluation of domain prop

  • Authors:
  • Baudouin Le Charlier;Pascal van Hentenryck

  • Affiliations:
  • Univ. of Namur, Namur, Belgium;Brown Univ., Providence, RI

  • Venue:
  • PEPM '93 Proceedings of the 1993 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

The domain Prop [22,8] is aconceptually simple and elegant abstract domain to compute groundnessinformation for Prolog programs. In particular, abstract substitutionsare represented by Boolean functions built using the logical connectives⇔,∨,∧.Prop has raised much theoreticalinterest recently but little is known about the practical accuracy andefficiency of this domain.In this paper, we describe an implementation ofProp and we use it to instantiate ageneric abstract interpretation algorithm [14, 10, 17, 15]. A keyfeature of the implementation is the use of ordered binary decision graphs. The implementation has been compared systematically to two otherabstract domains, Mode and Pattern, from the point of view ofgroundness analysis.The experimental results indicate that(1)Prop is very accurate to infergroundness information; (2) this domain is quite practical in terms ofefficiency, although it is theoretically exponential (in the number ofclause variables).