The Correctness of Set-Sharing

  • Authors:
  • Patricia M. Hill;Roberto Bagnara;Enea Zaffanella

  • Affiliations:
  • -;-;-

  • Venue:
  • SAS '98 Proceedings of the 5th International Symposium on Static Analysis
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is important that practical data flow analysers are backed by reliably proven theoretical results. Abstract interpretation provides a sound mathematical framework and necessary generic properties for an abstract domain to be well-defined and sound with respect to the concrete semantics. In logic programming, the abstract domain Sharing is a standard choice for sharing analysis for both practical work and further theoretical study. In spite of this, we found that there were no satisfactory proofs for the key properties of commutativity and idempotence that are essential for Sharing to be well-defined and that published statements of the safeness property assumed the occur-check. This paper provides a generalisation of the abstraction function for Sharing that can be applied to any language, with or without the occur-check. The results for safeness, idempotence and commutativity for abstract unification using this abstraction function are given.