Constraint Handling Rules (CHR) is a general purpose, committed- choice declarative language which, differently from other similar languages, uses multi-headed (guarded) rules. In this paper we prove that multiple heads augment the expressive power of the language. In fact, we first show that restricting to single head rules affects the Tur- ing completeness of CHR, provided that the underlying signature (for the constra- int theory) does not contain function symbols. Next we show that, also when con- sidering generic constraint theories, under some rather reasonable assumptions it is not possible to encode CHR (with multi-headed rules) into a single-headed CHR language while preserving the semantics of programs. As a corollary we obtain that, under these assumptions, CHR can be encoded neither in (constraint) logic programming nor in pure Prolog.

C. Di Giusto, M. Gabbrielli, M.C. Meo (2009). Expressiveness of Multiple Heads in CHR. BERLIN : Springer-Verlag.

Expressiveness of Multiple Heads in CHR

DI GIUSTO, CINZIA;GABBRIELLI, MAURIZIO;
2009

Abstract

Constraint Handling Rules (CHR) is a general purpose, committed- choice declarative language which, differently from other similar languages, uses multi-headed (guarded) rules. In this paper we prove that multiple heads augment the expressive power of the language. In fact, we first show that restricting to single head rules affects the Tur- ing completeness of CHR, provided that the underlying signature (for the constra- int theory) does not contain function symbols. Next we show that, also when con- sidering generic constraint theories, under some rather reasonable assumptions it is not possible to encode CHR (with multi-headed rules) into a single-headed CHR language while preserving the semantics of programs. As a corollary we obtain that, under these assumptions, CHR can be encoded neither in (constraint) logic programming nor in pure Prolog.
2009
Proceedings of SOFSEM 2009: Theory and Practice of Computer Science, 35th Conference on Current Trends in Theory and Practice of Computer Science
205
216
C. Di Giusto, M. Gabbrielli, M.C. Meo (2009). Expressiveness of Multiple Heads in CHR. BERLIN : Springer-Verlag.
C. Di Giusto; M. Gabbrielli; M.C. Meo
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/73559
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 6
  • ???jsp.display-item.citation.isi??? 7
social impact