CLP projection for constraint handling rules

  • Authors:
  • Remy Haemmerle;Pedro Lopez-Garcia;Manuel V. Hermenegildo

  • Affiliations:
  • Technical University of Madrid, Madrid, Spain;IMDEA Software Institute & Spanish National Research Council, Madrid, Spain;IMDEA Software Institute & Technical University of Madrid, Madrid, Spain

  • Venue:
  • Proceedings of the 13th international ACM SIGPLAN symposium on Principles and practices of declarative programming
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper introduces and studies the notion of CLP projection for Constraint Handling Rules (CHR). The CLP projection consists of a naive translation of CHR programs into Constraint Logic Programs (CLP). We show that the CLP projection provides a safe operational and declarative approximation for CHR programs. We demonstrate moreover that a confluent CHR program has a least model, which is precisely equal to the least model of its CLP projection (closing hence a ten year-old conjecture by Abdennadher et al.). Finally, we illustrate how the notion of CLP projection can be used in practice to apply CLP analyzers to CHR. In particular, we show results from applying AProVE to prove termination, and CiaoPP to infer both complexity upper bounds and types for CHR programs.