arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv cs/0011043cs.SCcs.LOcs.PL
收藏

重写微积分:基础与应用

Rewriting Calculus: Foundations and Applications

Horatiu Cirstea

摘要:

本论文致力于研究一种演算,它描述了条件重写规则的应用以及在同一表示层次上得到的结果。我们引入重写演算,也称为rho演算,它推广了一阶项重写和非决定性演算,并使非决定性的表示成为可能。在我们的方法中,抽象操作符和应用操作符都是微积分的对象。在重写演算中减少的结果是表示应用程序失败的空集,或者表示确定性结果的单例,或者具有表示结果的非确定性选择的几个元素的集合。在这篇论文中,我们专注于重写演算的性质,其中使用语法匹配来将变量绑定到它们的当前值。我们定义的评估策略,确保汇合的演算,我们表明,这些策略变得微不足道的限制一般重写演算,以更简单的演算,如Alzuda演算。重写演算在无类型的情况下不终止,但对于简单类型的演算得到了强规范化。在重写演算扩展了一个操作符,允许测试应用程序的失败,我们定义的条款表示最内层和最外层的规范化相对于一组重写规则。通过使用这些术语,我们得到了一个自然和简洁的描述的条件重写。最后,从表示的条件重写规则,我们展示了如何重写演算可以用来给一个语义ELAN,一种语言的基础上的应用程序的重写规则控制的策略。

英文摘要:

This thesis is devoted to the study of a calculus that describes the application of conditional rewriting rules and the obtained results at the same level of representation. We introduce the rewriting calculus, also called the rho-calculus, which generalizes the first order term rewriting and lambda-calculus, and makes possible the representation of the non-determinism. In our approach the abstraction operator as well as the application operator are objects of calculus. The result of a reduction in the rewriting calculus is either an empty set representing the application failure, or a singleton representing a deterministic result, or a set having several elements representing a not-deterministic choice of results. In this thesis we concentrate on the properties of the rewriting calculus where a syntactic matching is used in order to bind the variables to their current values. We define evaluation strategies ensuring the confluence of the calculus and we show that these strategies become trivial for restrictions of the general rewriting calculus to simpler calculi like the lambda-calculus. The rewriting calculus is not terminating in the untyped case but the strong normalization is obtained for the simply typed calculus. In the rewriting calculus extended with an operator allowing to test the application failure we define terms representing innermost and outermost normalizations with respect to a set of rewriting rules. By using these terms, we obtain a natural and concise description of the conditional rewriting. Finally, starting from the representation of the conditional rewriting rules, we show how the rewriting calculus can be used to give a semantics to ELAN, a language based on the application of rewriting rules controlled by strategies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑