Skip to main navigation Skip to search Skip to main content

Abstract interpretation for constraint handling rules

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Program analysis is essential for the optimized compilation of Constraint Handling Rules (CHRs) as well as the inference of behavioral properties such as confluence and termination. Up to now all program analyses for CHRs have been developed in an ad hoc fashion. In this work we bring the general program analysis methodology of abstract interpretation to CHRs: we formulate an abstract interpretation framework over the call-based operational semantics of CHRs. The abstract interpretation framework is non-obvious since it needs to handle the highly non-deterministic execution of CHRs. The use of the framework is illustrated with two instantiations: the CHR-specific late storage analysis and the more generally known groundness analysis. In addition, we discuss optimizations based on these analyses and present experimental results.

Original languageEnglish
Title of host publicationPPDP'05 - Proceedings of the Seventh ACM SIGPLAN Conference on Principles and Practice of Declarative Programming
Pages218-229
Number of pages12
Publication statusPublished - 1 Dec 2005
Externally publishedYes
EventACM SIGPLAN Conference on Principles and Practice of Declarative Programming 2005 - Lisbon, Portugal
Duration: 11 Jul 200513 Jul 2005
Conference number: 7th

Publication series

NamePPDP'05 - Proceedings of the Seventh ACM SIGPLAN Conference on Principles and Practice of Declarative Programming
Volume2005

Conference

ConferenceACM SIGPLAN Conference on Principles and Practice of Declarative Programming 2005
Abbreviated titlePPDP'05
Country/TerritoryPortugal
CityLisbon
Period11/07/0513/07/05

Keywords

  • Abstract interpretation
  • Constraint Handling Rules

Cite this