Differential Methods in Logic Program Analysis. Garcı́a de la Banda, M., Marriott, K., Stuckey, P. J., & Søndergaard, H. Journal of Logic Programming, 35(1):1–37, 1998. doi abstract bibtex Program analysis based on abstract interpretation has proven very useful in compilation of constraint and logic programming languages. Unfortunately, the traditional goal-dependent framework is inherently imprecise. This is because it handles call and return in such a way that dataflow information may be re-asserted unnecessarily, leading to a loss of precision for many description domains. For a few specific domains, the literature contains proposals to overcome the problem, and some implementations use various unpublished tricks that sometimes avoid the precision loss. The purpose of this paper is to map the landscape of goal-dependent, goal-independent, and combined approaches to generic analysis of logic programs. This includes formalising existing methods and tricks in a way that is independent of specific description domains. Moreover, we suggest new methods for overcoming the loss of precision—altogether eight different semantics are considered and compared. We provide theoretical results determining the relative accuracy of the approaches. These show that two of our new semantics are uniformally more accurate than existing approaches. Experiments that we have performed (for two description domains) with implementations of the eight different approaches enable a discussion of their relative runtime performances. We discuss the expected effect on other domains as well and conclude that our new methods can be trusted to yield significantly more accurate analysis for a small extra implementation effort, without compromising the efficiency of analysis.
@article{Gar-Mar-Stu-Son_JLP98,
author = {Maria {Garc{\'\i}a de la Banda} and
Kim Marriott and
Peter J. Stuckey and
Harald S{\o}ndergaard},
title = {Differential Methods in Logic Program Analysis},
journal = {Journal of Logic Programming},
volume = {35},
number = {1},
pages = {1--37},
year = {1998},
doi = {10.1016/s0743-1066(97)10002-4},
abstract = {Program analysis based on abstract interpretation has proven
very useful in compilation of constraint and logic programming
languages. Unfortunately, the traditional goal-dependent
framework is inherently imprecise. This is because it handles
call and return in such a way that dataflow information may be
re-asserted unnecessarily, leading to a loss of precision for
many description domains. For a few specific domains, the
literature contains proposals to overcome the problem, and some
implementations use various unpublished tricks that sometimes
avoid the precision loss. The purpose of this paper is to map
the landscape of goal-dependent, goal-independent, and combined
approaches to generic analysis of logic programs. This includes
formalising existing methods and tricks in a way that is
independent of specific description domains. Moreover, we
suggest new methods for overcoming the loss of
precision---altogether eight different semantics are
considered and compared. We provide theoretical results
determining the relative accuracy of the approaches. These
show that two of our new semantics are uniformally more
accurate than existing approaches. Experiments that we have
performed (for two description domains) with implementations
of the eight different approaches enable a discussion of their
relative runtime performances. We discuss the expected effect
on other domains as well and conclude that our new methods
can be trusted to yield significantly more accurate analysis
for a small extra implementation effort, without compromising
the efficiency of analysis.},
keywords = {Abstract interpretation, Logic programming, Sharing analysis},
}
Downloads: 0
{"_id":"SNYvHZBZbcCeBQsoL","bibbaseid":"garcadelabanda-marriott-stuckey-sndergaard-differentialmethodsinlogicprogramanalysis-1998","author_short":["Garcı́a de la Banda, M.","Marriott, K.","Stuckey, P. J.","Søndergaard, H."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["Maria"],"propositions":[],"lastnames":["Garcı́a de la Banda"],"suffixes":[]},{"firstnames":["Kim"],"propositions":[],"lastnames":["Marriott"],"suffixes":[]},{"firstnames":["Peter","J."],"propositions":[],"lastnames":["Stuckey"],"suffixes":[]},{"firstnames":["Harald"],"propositions":[],"lastnames":["Søndergaard"],"suffixes":[]}],"title":"Differential Methods in Logic Program Analysis","journal":"Journal of Logic Programming","volume":"35","number":"1","pages":"1–37","year":"1998","doi":"10.1016/s0743-1066(97)10002-4","abstract":"Program analysis based on abstract interpretation has proven very useful in compilation of constraint and logic programming languages. Unfortunately, the traditional goal-dependent framework is inherently imprecise. This is because it handles call and return in such a way that dataflow information may be re-asserted unnecessarily, leading to a loss of precision for many description domains. For a few specific domains, the literature contains proposals to overcome the problem, and some implementations use various unpublished tricks that sometimes avoid the precision loss. The purpose of this paper is to map the landscape of goal-dependent, goal-independent, and combined approaches to generic analysis of logic programs. This includes formalising existing methods and tricks in a way that is independent of specific description domains. Moreover, we suggest new methods for overcoming the loss of precision—altogether eight different semantics are considered and compared. We provide theoretical results determining the relative accuracy of the approaches. These show that two of our new semantics are uniformally more accurate than existing approaches. Experiments that we have performed (for two description domains) with implementations of the eight different approaches enable a discussion of their relative runtime performances. We discuss the expected effect on other domains as well and conclude that our new methods can be trusted to yield significantly more accurate analysis for a small extra implementation effort, without compromising the efficiency of analysis.","keywords":"Abstract interpretation, Logic programming, Sharing analysis","bibtex":"@article{Gar-Mar-Stu-Son_JLP98,\n author = {Maria {Garc{\\'\\i}a de la Banda} and \n\t\tKim Marriott and\n\t\tPeter J. Stuckey and \n\t\tHarald S{\\o}ndergaard},\n title = {Differential Methods in Logic Program Analysis},\n journal = {Journal of Logic Programming},\n volume = {35},\n number = {1},\n pages = {1--37},\n year = {1998},\n doi = {10.1016/s0743-1066(97)10002-4},\n abstract = {Program analysis based on abstract interpretation has proven\n\t\tvery useful in compilation of constraint and logic programming\n\t\tlanguages. Unfortunately, the traditional goal-dependent \n\t\tframework is inherently imprecise. This is because it handles \n\t\tcall and return in such a way that dataflow information may be \n\t\tre-asserted unnecessarily, leading to a loss of precision for\n\t\tmany description domains. For a few specific domains, the \n\t\tliterature contains proposals to overcome the problem, and some\n\t\timplementations use various unpublished tricks that sometimes \n\t\tavoid the precision loss. The purpose of this paper is to map \n\t\tthe landscape of goal-dependent, goal-independent, and combined\n\t\tapproaches to generic analysis of logic programs. This includes\n\t\tformalising existing methods and tricks in a way that is \n\t\tindependent of specific description domains. Moreover, we \n\t\tsuggest new methods for overcoming the loss of \n\t\tprecision---altogether eight different semantics are \n\t\tconsidered and compared. We provide theoretical results \n\t\tdetermining the relative accuracy of the approaches. These \n\t\tshow that two of our new semantics are uniformally more \n\t\taccurate than existing approaches. Experiments that we have \n\t\tperformed (for two description domains) with implementations \n\t\tof the eight different approaches enable a discussion of their\n\t\trelative runtime performances. We discuss the expected effect \n\t\ton other domains as well and conclude that our new methods \n\t\tcan be trusted to yield significantly more accurate analysis \n\t\tfor a small extra implementation effort, without compromising \n\t\tthe efficiency of analysis.},\n keywords = {Abstract interpretation, Logic programming, Sharing analysis},\n}\n\n","author_short":["Garcı́a de la Banda, M.","Marriott, K.","Stuckey, P. J.","Søndergaard, H."],"key":"Gar-Mar-Stu-Son_JLP98","id":"Gar-Mar-Stu-Son_JLP98","bibbaseid":"garcadelabanda-marriott-stuckey-sndergaard-differentialmethodsinlogicprogramanalysis-1998","role":"author","urls":{},"keyword":["Abstract interpretation","Logic programming","Sharing analysis"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://people.eng.unimelb.edu.au/harald/bibbase.bib","dataSources":["yWvm3kzg5vKQAPLm7","ofmsZryxNDBSpE7j5","9aC4cxLD8D6oJ3FLN","wpkuJrZJJtqra3FbL","BNGFBQQncqevukxoe","q5pWX4XZgAS4TQBof","yb3uN577XrYa7qf57","9jmvjAEoFta6emcgS","XqcrNTrCCBr9mSd37","W7ih7WyQivP4EDh83"],"keywords":["abstract interpretation","logic programming","sharing analysis"],"search_terms":["differential","methods","logic","program","analysis","garcı́a de la banda","marriott","stuckey","søndergaard"],"title":"Differential Methods in Logic Program Analysis","year":1998}