A transformation system for definite programs based on termination analysis

J. Cook, J. P. Gallagher*

*Corresponding author

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningpeer review

Abstract

We present a goal replacement rule whose main applicability condition is based on termination properties of the resulting transformed program. The goal replacement rule together with a multi-step unfolding rule forms a powerful and elegant transformation system for definite programs. It also sheds new light on the relationship between folding and goal replacement, and between different folding rules. Our explicit termination condition contrasts with other transformation systems in the literature, which contain conditions on folding and goal replacement, often rather complex, in order to avoid “introducing a loop” into a program. We prove that the goal replacement rule preserves the success set of a definite program. We define an extended version of goal replacement that also preserves the finite failure set. A powerful folding rule can be constructed as a special case of goal replacement, allowing folding with recursive rules, with no distinction between old and new predicates. A proof that Seki’s transformation system preserves recurrence, an important termination property, is outlined.
OriginalsprogEngelsk
TitelLogic Program Synthesis and Transformation - Meta-Programming in Logic : 4th International Workshops LOPSTR 1994 and META 1994, Proceedings
RedaktørerLaurent Fribourg, Franco Turini
Antal sider18
ForlagSpringer Verlag
Publikationsdato1994
Sider51-68
ISBN (Trykt)9783540587927
DOI
StatusUdgivet - 1994
Udgivet eksterntJa
Begivenhed4th International Workshop on Logic Program Synthesis and Transformation, LOPSTR 1994 and Metaprogramming in Logic, META 1994 - Pisa, Italien
Varighed: 20 jun. 199421 jun. 1994

Konference

Konference4th International Workshop on Logic Program Synthesis and Transformation, LOPSTR 1994 and Metaprogramming in Logic, META 1994
Land/OmrådeItalien
ByPisa
Periode20/06/199421/06/1994
NavnLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Vol/bind883 LNCS
ISSN0302-9743

Citer dette