| Precise pair-sharing analysis of logic programs |
| Full text |
Pdf
(242 KB)
|
| Source
|
International Conference on Principles and Practice of Declarative Programming
archive
Proceedings of the 4th ACM SIGPLAN international conference on Principles and practice of declarative programming
table of contents
Pittsburgh, PA, USA
Pages: 99 - 108
Year of Publication: 2002
ISBN:1-58113-528-9
|
|
Authors
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 0, Downloads (12 Months): 6, Citation Count: 1
|
|
|
ABSTRACT
The paper presents a novel approach to pair-sharing analysis of logic programs. The pair-sharing domain ASub of Søndergaard is known to be more efficient than the set-sharing domain Sharing of Jacobs and Langen and gains accuracy because of linearity tracking. However, it is less accurate because of weaker groundness information, and the fact that it loses track of where new groundness eliminates sharing. In this paper we present a new domain which inherits the advantages of both ASub and Sharing and is uniformly more accurate in terms of pair-sharing than each of the two domains.The proposed domain expresses pair-sharing in terms of existence of <i>traversable paths</i> in <i>relation graphs</i> derived from program constraints. Each edge of a relation graph has an attached <i>groundness formula</i> which defines under what groundness conditions it still causes sharing. This allows the domain to maintain information about when groundness can eliminate sharing. Relation graphs are augmented by separate groundness information (usually Def or Pos). The groundness analysis and groundness formulae can be represented using efficient ROBDD methods.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
T. Armstrong, K. Marriott, P. Schachte, and H. Søndergaard. Boolean functions for dependency analysis: Algebraic properties and efficient representation. In 1st International Symposium on Static Analysis, volume 864 of LNCS, pages 266--280. Springer-Verlag, 1994.
|
| |
3
|
|
 |
4
|
|
 |
5
|
|
| |
6
|
M. García de la Banda, K. Marriott, P.J. Stuckey, and H. Søndergaard. Differential methods in logic program analysis. Journal of Logic Programming, 35(1):1--37, 1998.
|
| |
7
|
M. Hermenegildo, F. Bueno, D. Cabeza, M. Carro, M. García de la Banda, and G. Puebla P. López-García. The CIAO multi-dialect compiler and system: An experimentation workbench for future (C)LP systems. In Parallelism and Implementation of Logic and Constraint Logic Programming, pages 65--85. Nova Science, 1999.
|
| |
8
|
|
| |
9
|
|
| |
10
|
V. Lagoon and P.J. Stuckey. Precise pair-sharing analysis of logic programs. Technical report, Department of Computer Science and Software Engineering, University of Melbourne, 2002. http://www.cs.mu.oz.au/~pjs/papers.html+.
|
| |
11
|
|
 |
12
|
|
| |
13
|
|
| |
14
|
D. A. Plaisted. The occur-chack problem in Prolog. In Int. Symp. on Logic Programming, pages 272--280. IEEE Computer Society Press, 1984.
|
| |
15
|
|
|