Partial evaluation as a means for inferencing data structures in an applicative language: a theory and implementation in the case of prolog
Open accessThe DOI matches its Crossref record.
Abstract
An operational semantics of the Prolog programming language is introduced. Meta-IV is used to specify the semantics. One purpose of the work is to provide a specification of an implementation of a Prolog interpreter. Another one is an application of this specification to a formal description of program optimization techniques based on the principle of partial evaluation.Transformations which account for pruning, forward data structure propagation and opening (which also provides backward data structure propagation) are formally introduced and proved to preserve meaning of programs. The so defined transformations provide means to inference data structures in an applicative language. The theoretical investigation is then shortly related to research in rule-based systems and logic.An efficient well-integrated partial evaluation system is available in Qlog --- a Lisp programming environment for Prolog.
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
Cited by
Tutorial notes on partial evaluation
Consel, C., & Danvy, O. (1993) · Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '93 · doi:10.1145/158511.158707 · Cited by 316
An experiment in partial evaluation: The generation of a compiler generator
Jones, N. D., Sestoft, P., & Søndergaard, H. (1985) · Lecture Notes in Computer Science · doi:10.1007/3-540-15976-2_6 · Cited by 219
Transformation of logic programs: Foundations and techniques
Pettorossi, A., & Proietti, M. (1994) · The Journal of Logic Programming · doi:10.1016/0743-1066(94)90028-0 · Cited by 197
Tutorial on specialisation of logic programs
Gallagher, J. P. (1993) · Proceedings of the 1993 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation - PEPM '93 · doi:10.1145/154630.154640 · Cited by 171
Conjunctive 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
“Partial deduction was developed by Komorowski [33] and formalised by Lloyd and Shepherdson [55].”
MethodThe derivation of an algorithm for program specialisation
Gallagher, J., & Bruynooghe, M. (1991) · New Generation Computing · doi:10.1007/bf03037167 · Cited by 73
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
A 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
Preserving universal termination through unfold/fold
Bossi, A., & Cocco, N. (1994) · Lecture Notes in Computer Science · doi:10.1007/3-540-58431-5_19 · Cited by 33
“Unfold in logic programs was originally considered in Komorowski [ 13 ] and formally studied by Sato and Tamaki [24] and others.”
MethodOnline 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
Transformation of left terminating programs: The reordering problem
Bossi, A., Cocco, N., & Etalle, S. (1996) · Lecture Notes in Computer Science · doi:10.1007/3-540-60939-3_3 · Cited by 18
Metadata
- Authors
- Komorowski, H. J.
- Venue
- Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '82
- Publisher
- ACM Press
- Published
- 1982
- Pages
- 255-267
- OpenAlex
- W2147335415
- Cited by
- 102
- References
- 0
- FWCI
- 3.26
- Type
- conference paper
- 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.