Expressiveness of Multiple Heads in CHR
نویسندگان
چکیده
Constraint Handling Rules (CHR) is a general purpose, committedchoice 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 Turing completeness of CHR, provided that the underlying signature (for the constraint theory) does not contain function symbols. Next we show that, also when considering 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.
منابع مشابه
Empowerment of Female Heads of Households in Iran: A Systematic Review
Introduction: The number of female heads of households has increased in recent years due to widespread social and demographic changes in Iranian society. At the same time, most of these women are part of the vulnerable strata of society, and so their empowerment is important. Method: The method used in this research is systematic review. The statistical population of the present study includes...
متن کاملEmpowerment of Female Heads of Households in Iran: A Systematic Review
Introduction: The number of female heads of households has increased in recent years due to widespread social and demographic changes in Iranian society. At the same time, most of these women are part of the vulnerable strata of society, and so their empowerment is important. Method: The method used in this research is systematic review. The statistical population of the present study includes...
متن کاملA On the expressive power of multiple heads in CHR
Constraint Handling Rules (CHR) is a committed-choice declarative language which has been originally designed for writing constraint solvers and which is nowadays a general purpose language. CHR programs consist of multi-headed guarded rules which allow to rewrite constraints into simpler ones until a solved form is reached. Many empirical evidences suggest that multiple heads augment the expre...
متن کاملExpressiveness of Concurrent Languages
The aim of this thesis is to go through different approaches for proving expressiveness properties in several concurrent languages. We analyse four different calculi exploiting for each one a different technique. We begin with the analysis of a synchronous language, we explore the expressiveness of a fragment of CCS! (a variant of Milner’s CCS where replication is considered instead of recursio...
متن کاملThe Simple and Multiple Relationships between Experiential Avoidance, Communication Skills, and Emotional Expressiveness among Married Women in Bandar Abbas City in 2022: A Descriptive Study
Background and Objectives: Emotional expression is an important element of a normal and dynamic relationship. Therefore, it is essential to identify effective factors on emotional expressiveness in married women. As a result, the present study was conducted with the aim of determining the simple and multiple relationships between experiential avoidance, communication skills, and emotional expre...
متن کامل