Transformation of logic programs: Foundations and techniques
Open accessThe DOI matches its Crossref record; 93 of the 93 references it cites were found in a registry or an index.
Abstract
We present an overview of some techniques which have been proposed for the transformation of logic programs. We consider the so-called “rules + strategies” approach, and we address the following two issues: the correctness of some basic transformation rules w.r.t. a given semantics and the use of strategies for guiding the application of the rules and improving efficiency. We will also show through some examples the use and the power of the transformational approach, and we will briefly illustrate its relationship to other methodologies for program development.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Cousot, P., & Cousot, R. (1977) · Proceedings of the 4th ACM SIGACT-SIGPLAN symposium on Principles of programming languages - POPL '77 · doi:10.1145/512950.512973 · Cited by 6,279
Introduction to Metamathematics
Rasiowa, H. (1952) · Medical Entomology and Zoology · Cited by 4,307
Handbook of theoretical computer science
Leeuwen, J. V. (1990) · Medical Entomology and Zoology · Cited by 4,259
Foundations of Logic Programming
Lloyd, J. W. (1984) · Springer eBooks · doi:10.1007/978-3-642-96826-6 · Cited by 4,128
(1988) · Cited by 3,452
Foundations of Logic Programming
Lloyd, J. W. (1987) · Springer eBooks · doi:10.1007/978-3-642-83189-8 · Cited by 2,736
Clark, K. L. (1978) · Logic and Data Bases · doi:10.1007/978-1-4684-3384-5_11 · Cited by 2,000
Partial evaluation and automatic program generation
Jones, N. D., Gomard, C. K., & Sestoft, P. (1993) · Research at the University of Copenhagen (University of Copenhagen) · Cited by 1,581
The Semantics of Predicate Logic as a Programming Language
Van Emden, M. H., & Kowalski, R. A. (1976) · Journal of the ACM · doi:10.1145/321978.321991 · Cited by 1,449
A Transformation System for Developing Recursive Programs
Burstall, R. M., & Darlington, J. (1977) · Journal of the ACM · doi:10.1145/321992.321996 · Cited by 1,300
Sterling, L., Shapiro, E., & Garrett, R. (1987) · IEEE Expert · doi:10.1109/mex.1987.4307074 · Cited by 1,101
Foundations of Deductive Databases and Logic Programming
(1988) · Elsevier eBooks · doi:10.1016/c2013-0-07699-2 · Cited by 974
Algorithms+Data Structures = Programs
(2024) · Data Structures and Algorithms in Java · doi:10.1017/9781009260350.002 · Cited by 953
Deforestation: transforming programs to eliminate trees
Wadler, P. (1990) · Theoretical Computer Science · doi:10.1016/0304-3975(90)90147-a · Cited by 699
Kowalski, R. (1979) · Communications of the ACM · doi:10.1145/359131.359136 · Cited by 600
“Memo” Functions and Machine Learning
MICHIE, D. (1968) · Nature · doi:10.1038/218019a0 · Cited by 551
A kripke-kleene semantics for logic programs*
Fitting, M. (1985) · The Journal of Logic Programming · doi:10.1016/s0743-1066(85)80005-4 · Cited by 534
Kunen, K. (1987) · The Journal of Logic Programming · doi:10.1016/0743-1066(87)90007-0 · Cited by 439
Unfold/fold Transformation of Logic Programs
Tamaki, H., & Sato, T. (1984) · Cited by 385
Partial evaluation in logic programming
Lloyd, J. W., & Shepherdson, J. C. (1991) · The Journal of Logic Programming · doi:10.1016/0743-1066(91)90027-m · Cited by 381
Unfounded sets and well-founded semantics for general logic programs
Gelder, A. V., Ross, K. A., & Schlipf, J. S. (1988) · ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS) · doi:10.1145/308386.308444 · Cited by 380
The concept of a supercompiler
Turchin, V. F. (1986) · ACM Transactions on Programming Languages and Systems · doi:10.1145/5956.5957 · Cited by 363
Computational logic: essays in honor of Alan Robinson
Lassez, J.-L., & Plotkin, G. D. (1991) · The MIT Press eBooks · Cited by 326
Proving Theorems about LISP Functions
Boyer, R. S., & Moore, J. S. (1975) · Journal of the ACM · doi:10.1145/321864.321875 · Cited by 284
Proving and applying program transformations expressed with second-order patterns
Huet, G., & Lang, B. (1978) · Acta Informatica · doi:10.1007/bf00264598 · Cited by 283
Finite Differencing of Computable Expressions
Paige, R., & Koenig, S. (1982) · ACM Transactions on Programming Languages and Systems · doi:10.1145/357172.357177 · Cited by 281
Introduction to Logic Programming
Apt, K. R. (1988) · Department of Computer Science [CS] · Cited by 265
Algebraic Methods in Semantics
Nivat, M., & Reynolds, J. (1985) · Cited by 258
Warren, D. S. (1992) · Communications of the ACM · doi:10.1145/131295.131299 · Cited by 232
Proceedings of the international conference on fifth-generation computer systems
(1982) · Computers and Standards · doi:10.1016/0167-8051(82)90048-1 · Cited by 193
Unfold/Fold Transformations of Logic Programs.
Gardner, P. A., & Shepherdson, J. C. (1991) · Bristol Research (University of Bristol) · Cited by 175
Deforestation: Transforming programs to eliminate trees
Wadler, P. L. (1988) · Lecture notes in computer science · doi:10.1007/3-540-19027-9_23 · Cited by 175
Negation and Control in Prolog
Naish, L. (1986) · Springer eBooks · doi:10.1007/bfb0021681 · Cited by 170
Hogger, C. J. (1981) · Journal of the ACM · doi:10.1145/322248.322258 · Cited by 143
Meta-programming in logic programming
Abramson, H., & Rogers, M. H. (1989) · The MIT Press eBooks · Cited by 135
A First Order Theory of Data and Programs.
Clark, K., & Tärnlund, S.-Å. (1977) · IFIP Congress · Cited by 120
Partial Evaluation of Prolog Programs and its Application to Meta Programming.
Takeuchi, A., & Furukawa, K. (1986) · IFIP Congress · Cited by 115
An experimental program transformation and synthesis system
Darlington, J. (1981) · Artificial Intelligence · doi:10.1016/0004-3702(81)90014-x · Cited by 105
Komorowski, H. J. (1982) · Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '82 · doi:10.1145/582153.582181 · Cited by 102
Unfold/fold transformation of stratified programs
Seki, H. (1991) · Theoretical Computer Science · doi:10.1016/0304-3975(91)90007-o · Cited by 94
(1984) · SLP · Cited by 91
Denotational and operational semantics for prolog
Debray, S., & Mishra, P. (1988) · The Journal of Logic Programming · doi:10.1016/0743-1066(88)90007-6 · Cited by 82
Deville, Y., & Lau, K.-K. (1994) · The Journal of Logic Programming · doi:10.1016/0743-1066(94)90029-9 · Cited by 77
Unfolding-definition-folding, in this order, for avoiding unnecessary variables in logic programs
Proietti, M., & Pettorossi, A. (1995) · Theoretical Computer Science · doi:10.1016/0304-3975(94)00227-a · Cited by 77
Self-citationLoop checking in partial deduction
Bol, R. N. (1993) · The Journal of Logic Programming · doi:10.1016/0743-1066(93)90022-9 · Cited by 76
Venken, R. (1984) · European Conference on Artificial Intelligence · Cited by 75
Functional computations in logic programs
Debray, S., & Warren, D. S. (1989) · ACM Transactions on Programming Languages and Systems · doi:10.1145/65979.65984 · Cited by 74
The derivation of an algorithm for program specialisation
Gallagher, J., & Bruynooghe, M. (1991) · New Generation Computing · doi:10.1007/bf03037167 · Cited by 73
Inductive assertion method for logic programs
Drabent, W., & Małuszyński, J. (1988) · Theoretical Computer Science · doi:10.1016/0304-3975(88)90099-0 · Cited by 70
A general criterion for avoiding infinite unfolding during partial deduction
Bruynooghe, M., De Schreye, D., & Martens, B. (1992) · New Generation Computing · doi:10.1007/bf03037527 · Cited by 67
Bruynooghe, M., Schreye, D. D., & Krekels, B. (1989) · The Journal of Logic Programming · doi:10.1016/0743-1066(89)90033-2 · Cited by 66
A transformation system for deductive database modules with perfect model semantics
Maher, M. J. (1993) · Theoretical Computer Science · doi:10.1016/0304-3975(93)90013-j · Cited by 66
River, B. (2006) · Cited by 65
Safra, M., & Shapiro, E. Y. (1988) · The MIT Press eBooks · Cited by 62
Unfold⧸fold transformation of general logic programs for the well-founded semantics
Seki, H. (1993) · The Journal of Logic Programming · doi:10.1016/0743-1066(93)90021-8 · Cited by 59
Equivalence-preserving first-order unfold/fold transformation systems
Sato, T. (1992) · Theoretical Computer Science · doi:10.1016/0304-3975(92)90287-p · Cited by 58
Specialisation of Prolog and FCP programs using abstract interpretation
Gallagher, J. P., Codish, M., & Shapiro, E. Y. (1988) · New Generation Computing · doi:10.1007/bf03037136 · Cited by 57
A partial evaluation procedure for logic programs
Benkerimi, K., & Lloyd, J. W. (1990) · Conference on Logic Programming · Cited by 56
A method for specializing logic programs
Bossi, A., Cocco, N., & Dulli, S. (1990) · ACM Transactions on Programming Languages and Systems · doi:10.1145/78942.78947 · Cited by 53
Preservation of stronger equivalence in unfold/fold logic program transformation
Kawamura, T., & Kanamori, T. (1990) · Theoretical Computer Science · doi:10.1016/0304-3975(90)90065-p · Cited by 48
Basic transformation operations which preserve computed answer substitutions of logic programs
Bossi, A., & Cocco, N. (1993) · The Journal of Logic Programming · doi:10.1016/0743-1066(93)90023-a · Cited by 46
Logimix: A Self-Applicable Partial Evaluator for Prolog
Mogensen, T. Æ., & Bondorf, A. (1993) · Workshops in computing · doi:10.1007/978-1-4471-3560-9_15 · Cited by 45
Predicate logic: a calculus for deriving programs
Clark, K., & Sickel, S. (1977) · International Joint Conference on Artificial Intelligence · Cited by 42
Semantics preserving transformation rules for Prolog
Proietti, M., & Pettorossi, A. (1991) · Proceedings of the 1991 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation - PEPM '91 · doi:10.1145/115865.115895 · Cited by 40
Self-citationProietti, M., & Pettorossi, A. (1993) · The Journal of Logic Programming · doi:10.1016/0743-1066(93)90025-c · Cited by 37
Self-citationProietti, M., & Pettorossi, A. (1991) · Lecture notes in computer science · doi:10.1007/3-540-54444-5_111 · Cited by 36
Self-citationA self-applicable partial evaluator and its use in incremental compilation
Fujita, H., & Furukawa, K. (1988) · New Generation Computing · doi:10.1007/bf03037133 · Cited by 35
Proving termination properties of prolog programs: A semantic approach
Baudinet, M. (1992) · The Journal of Logic Programming · doi:10.1016/0743-1066(92)90045-5 · Cited by 35
Comparison of abstract interpretations
Cortesi, A., Filé, G., & Winsborough, W. H. (1992) · Lecture notes in computer science · doi:10.1007/3-540-55719-9_101 · Cited by 35
Sound and complete partial deduction with unfolding based on well-founded measures
Martens, B., De Schreye, D., & Horváth, T. (1994) · Theoretical Computer Science · doi:10.1016/0304-3975(94)90203-8 · Cited by 32
Unfold/fold transformations of logic programs
Shepherdson, J. C. (1992) · Mathematical Structures in Computer Science · doi:10.1017/s0960129500001419 · Cited by 32
Issues in the Partial Evaluation of Meta-Interpreters.
Owen, S. (1988) · The MIT Press eBooks · Cited by 25
Transforming normal programs by replacement
Bossi, A., Cocco, N., & Etalle, S. (1992) · Lecture notes in computer science · doi:10.1007/3-540-56282-6_18 · Cited by 24
Mixed computation of Prolog programs
Fuller, D., & Abramsky, S. (1988) · New Generation Computing · doi:10.1007/bf03037134 · Cited by 24
Construction of Logic Programs Based on Generalized Unfold/Fold Rules.
Kanamori, T., & Horiuchi, K. (1987) · Cited by 22
Toward the partial evaluation of CLP languages
Hickey, T. J., & Smith, D. A. (1991) · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · doi:10.1145/115865.115871 · Cited by 20
Online partial deduction of logic programs
Prestwich, S. (1993) · Proceedings of the 1993 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation - PEPM '93 · doi:10.1145/154630.154642 · Cited by 18
Composing recursive logic programs withClausal join
Lakhotia, A., & STERLING, L. S. (1988) · New Generation Computing · doi:10.1007/bf03037138 · Cited by 18
Boulanger, D., & Bruynooghe, M. (1993) · Journal of Symbolic Computation · doi:10.1016/s0747-7171(06)80003-9 · Cited by 18
On the Transformation of a Prolog Program to a more efficient binary Program
Demoen, B. (1993) · Workshops in computing · doi:10.1007/978-1-4471-3560-9_17 · Cited by 17
Bossi, A., Cocco, N., & Etalle, S. (2006) · Springer eBooks · doi:10.1007/3-540-55844-6_135 · Cited by 16
A General Criterion for Avoiding Infinite Unfolding During Partial Deduction of Logic Programs.
Bruynooghe, M., Schreye, D. D., & Martens, B. (1991) · Lirias (KU Leuven) · Cited by 16
Semantics preserving transformation rules for Prolog
Proietti, M., & Pettorossi, A. (1991) · ACM SIGPLAN Notices · doi:10.1145/115866.115895 · Cited by 13
Self-citationRules and strategies for program transformation
Pettorossi, A., & Proietti, M. (1993) · Lecture notes in computer science · doi:10.1007/3-540-57499-9_23 · Cited by 12
Self-citationSynthesis of Programs from Unfold/Fold Proofs
Proietti, M., & Pettorossi, A. (1994) · Workshops in computing · doi:10.1007/978-1-4471-3234-9_13 · Cited by 11
Self-citationOn the transformation of logic programs with instantiation based computation rules
Schreye, D. D., & Bruynooghe, M. (1989) · Journal of Symbolic Computation · doi:10.1016/s0747-7171(89)80046-x · Cited by 11
Pure partial evaluation and instantiation
Kursawe, P. (1988) · Publikationsdatenbank der Fraunhofer-Gesellschaft (Fraunhofer-Gesellschaft) · Cited by 9
A transformation system for deductive database modules with perfect model semantics
Maher, M. J. (1989) · Lecture notes in computer science · doi:10.1007/3-540-52048-1_35 · Cited by 9
Compiling bottom-up and mixed derivations into top-down executable logic programs
Schreye, D. D., Martens, B., Sablon, G., & Bruynooghe, M. (1991) · Journal of Automated Reasoning · doi:10.1007/bf00249018 · Cited by 8
Unfold/fold transformations preserving termination properties
Amtoft, T. (1992) · Lecture notes in computer science · doi:10.1007/3-540-55844-6_136 · Cited by 7
Difference-list transformation for Prolog
Marriott, K., & Søndergaard, H. (1993) · New Generation Computing · doi:10.1007/bf03037156 · Cited by 6
Specialization of prolog programs with partially static goals and binarization
Neumerkel, U. (1992) · reposiTUm (TU Wien) · Cited by 5
Meta-programming for reordering literals in deductive databases
Träff, J. L., & Prestwich, S. (1992) · Lecture notes in computer science · doi:10.1007/3-540-56282-6_19 · Cited by 2
Cited by
Dialectic proof procedures for assumption-based, admissible argumentation
Dung, P. M., Kowalski, R. A., & Toni, F. (2006) · Artificial Intelligence · doi:10.1016/j.artint.2005.07.002 · Cited by 244
“In [11] we showed how to derive from the specification the top-most level of constructive proof procedures, using logic program transformation techniques [31].”
MethodConjunctive partial deduction: foundations, control, algorithms, and experiments
De Schreye, D., Glück, R., Jørgensen, J., Leuschel, M., Martens, B., & Sørensen, M. H. (1999) · The Journal of Logic Programming · doi:10.1016/s0743-1066(99)00030-8 · Cited by 96
Controlling generalization and polyvariance in partial deduction of normal logic programs
Leuschel, M., Martens, B., & De Schreye, D. (1998) · ACM Transactions on Programming Languages and Systems · doi:10.1145/271510.271525 · Cited by 98
Ensuring Global Termination of Partial Deduction While Allowing Flexible Polyvariance
Martens, B., & Gallagher, J. (1995) · Logic Programming · doi:10.7551/mitpress/4298.003.0059 · Cited by 69
Induction as Consequence Finding
Inoue, K. (2004) · Machine Learning · doi:10.1023/b:mach.0000023149.72125.e2 · Cited by 64
“In some cases, this is reduced to the folding operation in logic programming ( Pettorossi & Proietti, 1994 ).”
Background
Metadata
- Authors
- Pettorossi, A., & Proietti, M.
- Venue
- The Journal of Logic Programming
- Publisher
- Elsevier BV
- Published
- 1994-05
- Volume
- 19-20
- Pages
- 261-320
- ISSN
- 0743-1066 (ISSN-L)
- OpenAlex
- W1988185893
- Cited by
- 197
- References
- 93
- FWCI
- 22.41
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.