Year: 1995
Type: book-chapter
Abstract: The control of polyvariance is a key issue in partial deduction of logic programs.Certainly, only nitely many specialised versions of any procedure should be generated, while, on the other hand, overly severe limitations should not be imposed.In this paper, well-founded orderings serve as a starting point for tackling this so-called \global termination" problem.Polyvariance is determined by the set of distinct \partially deduced" atoms generated during partial deduction.Avoiding ad-hoc techniques, we formulate a quite general framework where this set is represented as a tree structure.Associating weights with nodes, we de ne a well-founded order among such structures, thus obtaining a foundation for certi ed global termination of partial deduction.We include an algorithm template, concrete instances of which can be used in actual implementations, prove termination and correctness, and report on the results of some experiments.Finally, we conjecture that the proposed framework can support further advances towards (fully automatic) optimal program specialisation.
Source: The MIT Press eBooks
Authors: Bern Martens, John Gallagher
Institutions: University of Bristol, KU Leuven
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W1530237295
