The correspondence between the logical algorithms language and CHR

  • Authors:
  • Leslie De Koninck;Tom Schrijvers;Bart Demoen

  • Affiliations:
  • Department of Computer Science, K.U. Leuven, Belgium;Department of Computer Science, K.U. Leuven, Belgium;Department of Computer Science, K.U. Leuven, Belgium

  • Venue:
  • ICLP'07 Proceedings of the 23rd international conference on Logic programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper investigates the relationship between the Logical Algorithms language (LA) of Ganzinger and McAllester and Constraint Handling Rules (CHR). We present a translation scheme from LA to CHRrp: CHR with rule priorities and show that the meta-complexity theorem for LA can be applied to a subset of CHRrp via inverse translation. This result is compared with previous work. Inspired by the high-level implementation proposal of Ganzinger and McAllester, we demonstrate how LA programs can be compiled into CHR rules that interact with a scheduler written in CHR. This forms the first actual implementation of LA. Our implementation achieves the complexity required for the metacomplexity theorem to hold and can execute a subset of CHRrp with strong complexity bounds.