Download PDF

Inernational Conference on Logic Programming, Date: 2008/12/09 - 2008/12/13, Location: Udine, Italy

Publication date: 2008-01-01
Volume: 5366 Pages: 516 - 530
ISBN: 3540899812, 978-3-540-89981-5 ISSN: 0302-9743
Publisher: Springer

Lecture notes in computer science

Author:

Schrijvers, Tom
Sulzmann, Martin ; DelaBanda, MG ; Pontelli, E

Keywords:

Constraint Handling Rules, transactions, Science & Technology, Technology, Computer Science, Artificial Intelligence, Computer Science, Theory & Methods, Computer Science, UNION-FIND, CONFLUENCE

Abstract:

CHR is a highly concurrent language, and yet it is by no means a trivial task to write correct concurrent CHR programs. We propose a new semantics for CHR, which allows specifying and reasoning about transactions. Transactions alleviate the complexity of writing concurrent programs by offering entire derivations to run atomically and in isolation. We derive several program transformations based on our semantics that transform particular classes of transitional CHR programs to non-transactional ones. These transformations are useful because they obviate a general purpose transaction manager, and may lift unnecessary sequentialization present in the transactional semantics.