arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0110035cs.PLcs.LO
收藏

关于元程序的终止性

On termination of meta-programs

Alexander Serebrenik, Danny De Schreye

摘要:

术语{ \em元编程}指的是编写将其他程序作为数据并利用其语义的程序的能力。本文的目的是提出一种方法,使我们能够执行一个正确的终止分析广泛的实用元解释器,包括否定和执行不同的任务在执行过程中。它是基于结合的权力,一般秩序,用于证明终止的长期重写系统和程序,并在著名的可接受性条件,用于证明终止的逻辑程序。该方法建立证明解释程序的终止所需的排序与证明元解释器连同该解释程序的终止所需的排序之间的关系。如果建立了这种关系,其中一个关系的终止意味着另一个关系的终止,即,元解释器保留终止。在元解释器中,正确分析的是构造元解释器的证明树,不同类型的跟踪器和推理器。不带附录出现在逻辑程序设计理论与实践中。

英文摘要:

The term {\em meta-programming} refers to the ability of writing programs that have other programs as data and exploit their semantics. The aim of this paper is presenting a methodology allowing us to perform a correct termination analysis for a broad class of practical meta-interpreters, including negation and performing different tasks during the execution. It is based on combining the power of general orderings, used in proving termination of term-rewrite systems and programs, and on the well-known acceptability condition, used in proving termination of logic programs. The methodology establishes a relationship between the ordering needed to prove termination of the interpreted program and the ordering needed to prove termination of the meta-interpreter together with this interpreted program. If such a relationship is established, termination of one of those implies termination of the other one, i.e., the meta-interpreter preserves termination. Among the meta-interpreters that are analysed correctly are a proof trees constructing meta-interpreter, different kinds of tracers and reasoners. To appear without appendix in Theory and Practice of Logic Programming.

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

↑