Abstract
In [3] a general fold operation has been introduced for definite programs wrt computed answer substitution semantics. It differs from the fold operation defined by Tamaki and Sato in [26,25] because its application does not depend on the transformation history. This paper extends the results in [3] by giving a more powerful sufficient condition for the preservation of computed answer substitutions. Such a condition is meant to deal with the critical case when the atom introduced by folding depends on the clause to which the fold applies. The condition compares the dependency degree between the fonding atom and the folded clause, with the semantic delay between the folding atom and the ones to be folded. The result is also extended to a more general replacement operation, by showing that it can be decomposed into a sequence of definition, general folding and unfolding operations.
Original language | English |
---|---|
Title of host publication | Programming Language Implementation and Logic Programming |
Subtitle of host publication | 4th International Symposium, PLILP'92 Leuven, Belgium, August 26–28, 1992 Proceedings |
Editors | Maurice Bruynooghe, Martin Wirsing |
Place of Publication | Berlin, Heidelberg |
Publisher | Springer |
Pages | 172-186 |
Number of pages | 15 |
ISBN (Electronic) | 978-3-540-47297-1 |
ISBN (Print) | 978-3-540-55844-6 |
DOIs | |
Publication status | Published - 1992 |
Event | 4th International Symposium on Programming Language Implementation and Logic Programming, PLILP 1992 - Leuven, Belgium Duration: 26 Aug 1992 → 28 Aug 1992 Conference number: 4 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 631 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 4th International Symposium on Programming Language Implementation and Logic Programming, PLILP 1992 |
---|---|
Abbreviated title | PLILP |
Country/Territory | Belgium |
City | Leuven |
Period | 26/08/92 → 28/08/92 |
Keywords
- Program transformation
- Folding
- Computed answer substitution semantics