Sharing and Groundness Dependencies in Logic Programs. Codish, M., Søndergaard, H., & Stuckey, P. J. ACM Transactions on Programming Languages and Systems, 21(5):948–976, 1999.
doi  abstract   bibtex   
We investigate Jacobs and Langen's Sharing domain, introduced for the analysis of variable sharing in logic programs, and show that it is isomorphic to Marriott and Søndergaard's Pos domain, introduced for the analysis of groundness dependencies. Our key idea is to view the sets of variables in a Sharing domain element as the models of a corresponding Boolean function. This 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 ``unaffectedness dependency'' analysis has close connections with groundness dependency analysis using positive Boolean functions. This new view improves our understanding of sharing analysis, and leads to an elegant expression of its combination with groundness dependency analysis based on the reduced product of Sharing and Pos. It also opens up new avenues for the efficient implementation of sharing analysis, for example using reduced order binary decision diagrams, as well as efficient implementation of the reduced product, using domain factorizations.
@Article{Cod-Son-Stu_TOPLAS99,
  author   = {Michael Codish and 
		Harald S{\o}ndergaard and 
		Peter J. Stuckey},
  title    = {Sharing and Groundness Dependencies in Logic Programs},
  journal  = {ACM Transactions on Programming Languages and Systems},
  volume   = {21},
  number   = {5},
  pages    = {948--976},
  year     = {1999},
  doi      = {10.1145/330249.330252},
  abstract = {We investigate Jacobs and Langen's <i>Sharing</i> domain, 
		introduced for the analysis of variable sharing in logic 
		programs, and show that it is isomorphic to Marriott and 
		S{\o}ndergaard's <i>Pos</i> domain, introduced for the 
		analysis of groundness dependencies.  Our key idea
		is to view the sets of variables in a <i>Sharing </i>
		domain element as the models of a corresponding Boolean 
		function.  This leads to a recasting of sharing analysis 
		in terms of the property of ``not being affected by the 
		binding of a <i>single</i> variable.''  Such an
		``unaffectedness dependency'' analysis has close 
		connections with groundness dependency analysis using 
		positive Boolean functions.  This new view improves our 
		understanding of sharing analysis, and leads to an elegant
		expression of its combination with groundness dependency
		analysis based on the reduced product of <i>Sharing </i>
		and <i>Pos</i>.  It also opens up new avenues for the 
		efficient implementation of sharing analysis, for example 
		using reduced order binary decision diagrams, as well as
		efficient implementation of the reduced product, using 
		domain factorizations.},
  keywords  = {Boolean logic, Abstract domains, Abstract interpretation, Logic programming},
}

Downloads: 0