2004
DOI: 10.1145/982158.982160
|View full text |Cite
|
Sign up to set email alerts
|

An unfold/fold transformation framework for definite logic programs

Abstract: Given a logic program P , an unfold/fold program transformation system derives a sequence of programs P = P 0 , P 1 , . . . , P n , such that P i+1 is derived from P i by application of either an unfolding or a folding step. Unfold/fold transformations have been widely used for improving program efficiency and for reasoning about programs. Unfolding corresponds to a resolution step and hence is semantics-preserving. Folding, which replaces an occurrence of the right hand side of a clause with its head, may on … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
42
0

Year Published

2004
2004
2022
2022

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 17 publications
(42 citation statements)
references
References 36 publications
0
42
0
Order By: Relevance
“…Since the pioneering work by Tamaki and Sato [28], various authors have proposed suitable extra conditions which guarantee the total correctness of transformations determined by applications of the unfolding, folding, and goal replacement rules [5,8,11,13,16,24,28,29]. The essential idea presented by Tamaki and Sato in [28] is that the replacement of G 1 by G 2 determines a totally correct transformation if, in addition to the condition M(P ) |= ∀X(∃Y 1 G 1 ↔ ∃Y 2 G 2 ), we have that, for every ground substitution σ for the variables in X, if there exist a ground substitution ϑ 1 for the variables in Y 1 and a proof π 1 of G 1 σ ϑ 1 in P , then there exist a ground substitution ϑ 2 for the variables in Y 2 and a proof π 2 of G 2 σ ϑ 2 in P , such that the measure of π 2 is not larger than the measure of π 1 .…”
Section: R: P(f (X)) ← P(f (X)) Q(a) ← Q(x) ← P(f (X)) and We Have Thmentioning
confidence: 99%
See 3 more Smart Citations
“…Since the pioneering work by Tamaki and Sato [28], various authors have proposed suitable extra conditions which guarantee the total correctness of transformations determined by applications of the unfolding, folding, and goal replacement rules [5,8,11,13,16,24,28,29]. The essential idea presented by Tamaki and Sato in [28] is that the replacement of G 1 by G 2 determines a totally correct transformation if, in addition to the condition M(P ) |= ∀X(∃Y 1 G 1 ↔ ∃Y 2 G 2 ), we have that, for every ground substitution σ for the variables in X, if there exist a ground substitution ϑ 1 for the variables in Y 1 and a proof π 1 of G 1 σ ϑ 1 in P , then there exist a ground substitution ϑ 2 for the variables in Y 2 and a proof π 2 of G 2 σ ϑ 2 in P , such that the measure of π 2 is not larger than the measure of π 1 .…”
Section: R: P(f (X)) ← P(f (X)) Q(a) ← Q(x) ← P(f (X)) and We Have Thmentioning
confidence: 99%
“…Thus, the replacement of p(f (X)) by q(X) satisfies the condition by Tamaki and Sato (and, indeed, this transformation is totally correct), while the replacement of q(X) by p(f (X)) does not satisfy that condition (and, indeed, this transformation is not totally correct). More sophisticated proof measures are defined in [24,29]. However, in [24,29] and also in [28] one cannot find any general methodology for comparing proof measures and checking the conditions which ensure the total correctness of the transformations based on goal replacements.…”
Section: R: P(f (X)) ← P(f (X)) Q(a) ← Q(x) ← P(f (X)) and We Have Thmentioning
confidence: 99%
See 2 more Smart Citations
“…-In concurrent languages like CHR, we also can eliminate communication channels, synchronization points and don't care nondeterminism [EGM01]. -Verification and model checking can be done by program transformation [DP99,FPP01,RKRR04]. -Agent can be specialized to a specific context (Example in [EGM01]).…”
Section: Introductionmentioning
confidence: 99%