We present a technique exploiting Datalog with aggregates to improve the performance of programs with arithmetic (in)equalities. Our approach employs a source-to-source program transformation which approximates the propagation technique from Constraint Programming. The experimental evaluation of the approach shows good run time speed-ups on a range of non-recursive as well as recursive programs. Furthermore, our technique improves upon the previously reported in the literature constraint magic set transformation approach.
@inproceedings{campagna:2011:ciclops,
author = {Campagna, Dario and Sarna-Starosta, Beata and Schrijvers, Tom},
editor = {Abreu, Salvador and Santos Costa, Vitor},
booktitle = {Implementation of Constraint and Logic Programming Systems, 11th International colloquium, Proceedings},
title = {{Approximating constraint propagation in Datalog}},
year = {2011},
abstract = {We present a technique exploiting Datalog with aggregates to improve the
performance of programs with arithmetic (in)equalities. Our approach employs
a source-to-source program transformation which approximates the propagation
technique from Constraint Programming. The experimental evaluation of the
approach shows good run time speed-ups on a range of non-recursive as well
as recursive programs. Furthermore, our technique improves upon the previously
reported in the literature constraint magic set transformation approach.
},
}