Arrow Research search
Back to I&C

I&C 2014

Fast offline partial evaluation of logic programs

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

One of the most important challenges in partial evaluation is the design of automatic methods for ensuring the termination of the process. In this work, we introduce sufficient conditions for the strong (i. e. , independent of a computation rule) termination and quasi-termination of logic programs which rely on the construction of size-change graphs. We then present a fast binding-time analysis that takes the output of the termination analysis and annotates logic programs so that partial evaluation terminates. In contrast to previous approaches, the new binding-time analysis is conceptually simpler and considerably faster, scaling to medium-sized or even large examples.

Authors

Keywords

  • Partial evaluation
  • Termination analysis
  • Logic programming

Context

Venue
Information and Computation
Archive span
1987-2026
Indexed papers
3021
Paper id
481897200687640094
v2026.09.13