TY - JOUR
T1 - Decidability properties for fragments of CHR
AU - Gabbrielli, Maurizio
AU - Mauro, Jacopo
AU - Meo, Maria Chiara
AU - Sneyers, Jon
PY - 2010/7/1
Y1 - 2010/7/1
N2 - We study the decidability of termination for two CHR dialects which, similarly to the Datalog like languages, are defined by using a signature which does not allow function symbols (of arity > 0). Both languages allow the use of the = built-in in the body of rules, thus are built on a host language that supports unification. However each imposes one further restriction. The first CHR dialect allows only range-restricted rules, that is, it does not allow the use of variables in the body or in the guard of a rule if they do not appear in the head. We show that the existence of an infinite computation is decidable for this dialect. The second dialect instead limits the number of atoms in the head of rules to one. We prove that in this case, the existence of a terminating computation is decidable. These results show that both dialects are strictly less expressive1 than Turing Machines. It is worth noting that the language (without function symbols) without these restrictions is as expressive as Turing Machines.
AB - We study the decidability of termination for two CHR dialects which, similarly to the Datalog like languages, are defined by using a signature which does not allow function symbols (of arity > 0). Both languages allow the use of the = built-in in the body of rules, thus are built on a host language that supports unification. However each imposes one further restriction. The first CHR dialect allows only range-restricted rules, that is, it does not allow the use of variables in the body or in the guard of a rule if they do not appear in the head. We show that the existence of an infinite computation is decidable for this dialect. The second dialect instead limits the number of atoms in the head of rules to one. We prove that in this case, the existence of a terminating computation is decidable. These results show that both dialects are strictly less expressive1 than Turing Machines. It is worth noting that the language (without function symbols) without these restrictions is as expressive as Turing Machines.
KW - constraint programming
KW - expressivity
KW - well-structured transition systems
U2 - 10.1017/S1471068410000311
DO - 10.1017/S1471068410000311
M3 - Journal article
AN - SCOPUS:77957229832
SN - 1471-0684
VL - 10
SP - 611
EP - 626
JO - Theory and Practice of Logic Programming
JF - Theory and Practice of Logic Programming
IS - 4-6
ER -