School of Computing

Correctness of Closure Collapsing

Xuan Li, Andy King, and Lunjin Lu

Technical Report 2-06, University of Kent, Computing Laboratory, University of Kent, Canterbury, CT2 7NF, April 2006.

Abstract

A description in the Jacobs and Langen domain is a set of sharing groups where each sharing group is a set of program variables. The presence of a sharing group in a description indicates that all the variables in the group can be bound to terms that contain a common variable. The expressiveness of the domain, alas, is compromised by its intractability. Not only are descriptions potentially exponential in size, but abstract unification is formulated in terms of an operation, called closure under union, that is also exponential. This paper shows how abstract unification can be reformulated so that closures can be collapsed in two senses. Firstly, one closure operation can be folded into another so as to reduce the total number of closures that need to be computed. Secondly, the remaining closures can be applied to smaller descriptions. Therefore, although the operation remains exponential, the overhead of closure calculation is reduced. Experimental evaluation suggests that the cost of analysis can be substantially reduced by collapsing closures.

Download publication 360 kbytes (PostScript)

Bibtex Record

@techreport{2370,
author = {Xuan Li and Andy King and Lunjin Lu},
title = {Correctness of {C}losure {C}ollapsing},
month = {April},
year = {2006},
pages = {182-196},
keywords = {determinacy analysis, Craig interpolants},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/2006/2370},
    publication_type = {techreport},
    submission_id = {29042_1145359251},
    number = {2-06},
    address = {University of Kent, Canterbury, CT2 7NF},
    institution = {University of Kent, Computing Laboratory},
}

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014