Hostname: page-component-74656f9884-54qdv Total loading time: 0 Render date: 2026-11-10T05:33:32.584Z Has data issue: false hasContentIssue false

On the interaction between sharing and linearity

Published online by Cambridge University Press:  24 September 2009

GIANLUCA AMATO
Affiliation:
Dipartimento di Science, Università “G. d'Annunzio” di Chieti–Pescara, Pescara, Italy (e-mail: amato@sci.unich.it, scozzari@sci.unich.it)
FRANCESCA SCOZZARI
Affiliation:
Dipartimento di Science, Università “G. d'Annunzio” di Chieti–Pescara, Pescara, Italy (e-mail: amato@sci.unich.it, scozzari@sci.unich.it)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

In the analysis of logic programs, abstract domains for detecting sharing and linearity information are widely used. Devising abstract unification algorithms for such domains has proved to be rather hard. At the moment, the available algorithms are correct but not optimal; i.e., they cannot fully exploit the information conveyed by the abstract domains. In this paper, we define a new (infinite) domain ShLinω which can be thought of as a general framework from which other domains can be easily derived by abstraction. ShLinω makes the interaction between sharing and linearity explicit. We provide a constructive characterization of the optimal abstract unification operator on ShLinω, and we lift it to two well-known abstractions of ShLinω, namely, to the classical Sharing × Lin abstract domain and to the more precise ShLin2 abstract domain by Andy King. In the case of single-binding substitutions, we obtain optimal abstract unification algorithms for such domains.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2009