Sharing and groundness dependencies in logic programs

Citation
M. Codish et al., Sharing and groundness dependencies in logic programs, ACM T PROGR, 21(5), 1999, pp. 948-976
Citations number
28
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS
ISSN journal
01640925 → ACNP
Volume
21
Issue
5
Year of publication
1999
Pages
948 - 976
Database
ISI
SICI code
0164-0925(199909)21:5<948:SAGDIL>2.0.ZU;2-V
Abstract
We investigate Jacobs and Langen's Sharing domain, introduced for the analy sis of variable sharing in logic programs, and show that it is isomorphic t o Marriott and Sondergaard's Pos domain, introduced for the analysis of gro undness dependencies. Our key idea is to view the sets of variables in a Sh aring domain element as the models of a corresponding Boolean function. Thi s leads to a recasting of sharing analysis in terms of the property of "not being affected by the binding of a single variable." Such an "unaffectedne ss dependency" analysis has close connections with groundness dependency an alysis using positive Boolean functions. This new view improves our underst anding of sharing analysis, and leads to an elegant expression of its combi nation with groundness dependency analysis based on the reduced product of Sharing and Pos. It also opens up new avenues for the efficient implementat ion of sharing analysis, for example using reduced order binary decision di agrams, as well as efficient implementation of the reduced product, using d omain factorizations.