首页> 外文期刊>Information and computation >The expressive power of CHR with priorities
【24h】

The expressive power of CHR with priorities

机译:优先考虑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. Recently the language has been extended by introducing user-definable (static or dynamic) rule priorities. The resulting language allows a better control over execution while retaining a declarative and flexible style of programming. In this paper we study the expressive power of this language. We first show that, in the presence of priorities, differently from the case of standard CHR, considering more than two atoms in the heads of rules does not augment the expressive power of the language. Next we show that also dynamic priorities do not augment the expressive power w.r.t. static priorities. These results are proved by providing explicitly a translation of one language into another one, which preserves a reference semantics. Finally we show that CHR with priorities is strictly more expressive than standard CHR (under the theoretical operational semantics). This result is obtained by adapting to the CHR case a notion of language encoding which allows to compare Turing powerful languages.
机译:约束处理规则(CHR)是一种承诺选择的声明性语言,最初是为编写约束求解器而设计的,如今已成为一种通用语言。最近,通过引入用户可定义的(静态或动态)规则优先级来扩展了该语言。最终的语言可以更好地控制执行,同时保留声明性和灵活的编程风格。在本文中,我们研究了这种语言的表达能力。我们首先表明,在存在优先级的情况下,与标准CHR的情况不同,在规则的开头考虑两个以上的原子不会增强语言的表达能力。接下来我们表明动态优先级也不会增加表达能力w.r.t.静态优先级。通过明确地将一种语言翻译成另一种语言并保留参考语义,可以证明这些结果。最后,我们证明具有优先级的CHR严格比标准CHR(在理论操作语义上)具有更高的表达力。通过将允许比较图灵强大语言的语言编码概念适应于CHR情况,可以获得此结果。

著录项

  • 来源
    《Information and computation》 |2013年第7期|62-82|共21页
  • 作者单位

    Department of Computer Science and Engineering/Lab. Focus INRIA, University of Bologna, Via Mura Anteo Zamboni 7,40127 Bologna, Italy;

    Department of Computer Science and Engineering/Lab. Focus INRIA, University of Bologna, Via Mura Anteo Zamboni 7,40127 Bologna, Italy;

    Department of Economic Studies, University of Chieti-Pescara, Viale Pindaro 42,65127 Pescara, Italy;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Expressive power; Language encoding; Constraints;

    机译:表现力;语言编码;约束条件;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号