【24h】

Conditional Narrowing without Conditions

机译:无条件的条件缩小

获取原文
获取原文并翻译 | 示例

摘要

We present a new evaluation strategy for functional logic programs described by weakly orthogonal conditional term rewriting systems. Our notion of weakly orthogonal conditional rewrite system extends a notion of Bergstra and Klop and covers a large part of programs defined by conditional equations. Our strategy combines the flexibility of logic programming (computation of solutions for logic variables) with efficient evaluation methods from functional programming. In particular, it is the first known narrowing strategy for this class of programs that evaluates ground terms deterministically. This is achieved by a transformation of conditional term rewriting systems (CTRS) into unconditional ones which is sound and complete w.r.t. the semantics of the original CTRS. We show that the transformation preserves weak orthogonality for the terms of interest. This property allows us to apply a relatively efficient evaluation strategy for weakly orthogonal unconditional term rewriting systems (parallel narrowing) on the transformed programs.
机译:我们为弱正交条件项重写系统描述的函数逻辑程序提出了一种新的评估策略。我们的弱正交条件重写系统概念扩展了Bergstra和Klop的概念,并涵盖了由条件方程式定义的大部分程序。我们的策略将逻辑编程的灵活性(逻辑变量的解决方案计算)与功能编程的有效评估方法结合在一起。特别是,此类程序的第一个已知缩小策略可以确定性地评估基本项。这是通过将条件词重写系统(CTRS)转换为无条件的,完善且完整的系统来实现的。原始CTRS的语义。我们表明,变换保留了感兴趣项的弱正交性。此属性使我们可以对转换后的程序上的弱正交无条件术语重写系统(平行变窄)应用相对有效的评估策略。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号