Fast Offline Partial Evaluation of Large Logic Programs

Michael Leuschel and Germán Vidal
Logic-Based Program Synthesis and Transformation (revised and selected papers from LOPSTR 2008), Springer LNCS 5438, pp. 119-134, 2009.
© Springer-Verlag

In this paper, we present a fast binding-time analysis (BTA) by integrating a size-change analysis, which is independent of a selection rule, into a classical BTA for offline partial evaluation of logic programs. In contrast to previous approaches, the new BTA is conceptually simpler and considerably faster, scaling to medium-sized or even large examples and, moreover, it ensures both the so called local and global termination. We also show that through the use of selective hints, we can achieve both good specialisation results and a fast BTA and specialisation process.

Available: PDF BibTeX-Entry


Germán Vidal