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.
机构:
Univ Sao Paulo, Dept Genet, Ribeirao Preto, Brazil
Univ Sao Paulo, Postgrad Program Genet, Ribeirao Preto Med Sch, Ribeirao Preto, Brazil
Univ Fed Paraiba, Univ Hosp, Joao Pessoa, Paraiba, BrazilUniv Fed Maranhao, Univ Hosp, Sao Luis, Maranhao, Brazil