On the interaction between sharing and linearity
Gianluca Amato, Francesca Scozzari

TL;DR
This paper introduces a new infinite domain, ShLin-w, that explicitly models the interaction between sharing and linearity in logic program analysis, providing optimal unification algorithms for derived domains.
Contribution
It defines ShLin-w, a general framework for sharing and linearity analysis, and derives optimal unification algorithms for classical and more precise abstractions.
Findings
ShLin-w explicitly models sharing-linearity interaction.
Optimal unification algorithms are developed for derived domains.
Algorithms are effective for single binding substitutions.
Abstract
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-w which can be thought of as a general framework from which other domains can be easily derived by abstraction. ShLin-w makes the interaction between sharing and linearity explicit. We provide a constructive characterization of the optimal abstract unification operator on ShLin-w and we lift it to two well-known abstractions of ShLin-w. Namely, to the classical Sharing X Lin abstract domain and to the more precise ShLin-2 abstract domain by Andy King. In the case of single binding…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
